Better theme support
This commit is contained in:
@ -26,14 +26,14 @@ export default {
|
||||
|
||||
<template>
|
||||
<nav class="flex items-center justify-between flex-wrap p-4">
|
||||
<div class="flex items-center flex-no-shrink text-white mr-6">
|
||||
<div class="flex items-center flex-no-shrink text-contrast mr-6">
|
||||
<router-link to="/">
|
||||
<h1 class="font-bold text-2xl">Safe<color class="text-purple">Twitch</color></h1>
|
||||
</router-link>
|
||||
</div>
|
||||
|
||||
<search-bar class="mt-4 mr-4 hidden sm:inline-block sm:mt-0"></search-bar>
|
||||
<div class="text-white hidden sm:block">
|
||||
<div class="text-contrast hidden sm:block">
|
||||
<a
|
||||
href="https://codeberg.org/dragongoose/safetwitch"
|
||||
class="mt-4 mr-4 sm:inline-block sm:mt-0"
|
||||
@ -56,7 +56,7 @@ export default {
|
||||
</div>
|
||||
|
||||
<div :class="open ? 'block' : 'hidden'" class="w-full flex-grow">
|
||||
<div class="p-4 flex flex-col items-center space-y-5 text-white">
|
||||
<div class="p-4 flex flex-col items-center space-y-5 text-contrast">
|
||||
<search-bar></search-bar>
|
||||
<ul class="inline-flex space-x-3 md:space-x-6 font-medium">
|
||||
<a href="https://codeberg.org/dragongoose/safetwitch">{{ $t('nav.code') }}</a>
|
||||
|
Reference in New Issue
Block a user