im fucking losing it
All checks were successful
Build and publish the docker image / build (push) Successful in 1m15s
All checks were successful
Build and publish the docker image / build (push) Successful in 1m15s
Signed-off-by: ngn <ngn@ngn.tf>
This commit is contained in:
@ -24,8 +24,7 @@ export default {
|
||||
:placeholder="$t('main.search')"
|
||||
v-model="searchInput"
|
||||
@keyup.enter="redirectToSearch"
|
||||
class="rounded-md text-white bg-none placeholder:text-black w-full outline-none"
|
||||
style="border-bottom: solid 1px white"
|
||||
class="rounded-md text-white bg-black placeholder:text-black w-full outline-none"
|
||||
/>
|
||||
</div>
|
||||
</template>
|
||||
|
@ -215,7 +215,7 @@ export function getFollows(): string[] {
|
||||
* @default string light
|
||||
*/
|
||||
export function getTheme(): string {
|
||||
const selectedTheme = localStorage.getItem('theme') || import.meta.env.SAFETWITCH_DEFAULT_THEME
|
||||
const selectedTheme = localStorage.getItem('theme') || "dark"
|
||||
|
||||
if (selectedTheme === '') {
|
||||
return 'light'
|
||||
@ -226,7 +226,7 @@ export function getTheme(): string {
|
||||
if (t.length === 0) {
|
||||
console.error(`Theme ${selectedTheme} does not exist... Perhaps improperly setup instance defaults or improper config?
|
||||
Stored Theme: ${localStorage.getItem('theme')}
|
||||
Default Theme: ${import.meta.env.SAFETWITCH_DEFAULT_THEME}
|
||||
Default Theme: black
|
||||
`)
|
||||
return 'light'
|
||||
}
|
||||
|
Reference in New Issue
Block a user