'tiny' fix: repository info, code style, and bugs.
- Updated repository information like README, License, and app's version to 0.1.0 for better versioning; - (Possibly) fixed PWA and page theme features; - Fixed linting code format.
This commit is contained in:
@@ -8,14 +8,14 @@ body {
|
||||
height: 100vh;
|
||||
width: 100vw;
|
||||
|
||||
transition: background-color .3s;
|
||||
transition: background-color 0.3s;
|
||||
|
||||
font-family: $main-font;
|
||||
}
|
||||
|
||||
* {
|
||||
transition: all .3s;
|
||||
transition: color .01s;
|
||||
transition: all 0.3s;
|
||||
transition: color 0.01s;
|
||||
}
|
||||
|
||||
.light-mode body {
|
||||
|
||||
@@ -6,8 +6,8 @@
|
||||
$colorMode.preference === 'dark' ? 'light' : 'dark'
|
||||
"
|
||||
>
|
||||
<IconMoon v-if="$colorMode.preference !== 'dark'" />
|
||||
<IconSun v-else/>
|
||||
<IconMoon v-if="$colorMode.preference !== 'dark'" />
|
||||
<IconSun v-else />
|
||||
</button>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
@@ -1,6 +1,16 @@
|
||||
<template>
|
||||
<picture>
|
||||
<nuxt-img v-if="$colorMode.value !== 'dark'" src="/images/ToToday-Dark.svg" alt="ToToday logo" width="250"/>
|
||||
<nuxt-img v-else src="/images/ToToday-Light.svg" alt="ToToday logo" width="250"/>
|
||||
<nuxt-img
|
||||
v-if="$colorMode.value != 'dark'"
|
||||
src="/images/ToToday-Dark.svg"
|
||||
alt="ToToday logo"
|
||||
width="250"
|
||||
/>
|
||||
<nuxt-img
|
||||
v-else
|
||||
src="/images/ToToday-Light.svg"
|
||||
alt="ToToday logo"
|
||||
width="250"
|
||||
/>
|
||||
</picture>
|
||||
</template>
|
||||
|
||||
Reference in New Issue
Block a user