im fucking losing it
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:
ngn
2025-01-21 12:26:15 +03:00
parent b3a8c61d88
commit 38b831243e
6 changed files with 8 additions and 15 deletions

View File

@ -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>

View File

@ -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'
}