diff --git a/LICENSE b/LICENSE
index eb6029e..9c2f8be 100644
--- a/LICENSE
+++ b/LICENSE
@@ -1,6 +1,6 @@
MIT License
-Copyright (c) 2022 Project Lored
+Copyright (c) 2022 Lored
Copyright (c) 2022 Gustavo "Guz" L. de Mello
Permission is hereby granted, free of charge, to any person obtaining a copy
diff --git a/nuxt.config.js b/nuxt.config.js
index 0082da7..e05f2c8 100644
--- a/nuxt.config.js
+++ b/nuxt.config.js
@@ -2,6 +2,7 @@ export default {
srcDir: 'src/',
buildDir: 'dist',
target: 'static',
+ ssr: false,
// Global page headers: https://go.nuxtjs.dev/config-head
head: {
@@ -34,13 +35,12 @@ export default {
'@nuxt/image',
'@nuxtjs/color-mode',
-
- '@nuxtjs/pwa'
+
+ '@nuxtjs/pwa',
],
// Modules: https://go.nuxtjs.dev/config-modules
- modules: [
- ],
+ modules: [],
// PWA module configuration: https://go.nuxtjs.dev/pwa
pwa: {
diff --git a/package.json b/package.json
index 79362cc..1537400 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "ToToday",
- "version": "0.1.0",
+ "version": "0.7.0",
"private": true,
"scripts": {
"dev": "nuxt",
diff --git a/src/assets/styles/_colors.scss b/src/assets/styles/_colors.scss
new file mode 100644
index 0000000..b4cbdd3
--- /dev/null
+++ b/src/assets/styles/_colors.scss
@@ -0,0 +1,39 @@
+$eerie-black0: #161320;
+$eerie-black1: #1a1826;
+$eerie-black2: #1e1e2e;
+$eerie-black3: #302d41;
+
+$independence-gray0: #575268;
+$independence-gray1: #6e6c7e;
+$independence-gray2: #988ba2;
+$independence-gray3: #c3bac6;
+
+$azure-white: #d9e0ee;
+
+$lavender0: #c9cbff;
+
+$sky0: #8fe8f7;
+$sky1: #89dceb;
+$sky2: #79c4d1;
+$sky3: #63a0ab;
+$sky4: #3e646b;
+
+$blue0: #96cdfb;
+$blue1: #8fcdef;
+$blue2: #7099ba;
+$blue3: #49647a;
+$blue4: #23303b;
+
+$green0: #b3f5bc;
+$green1: #abe9b3;
+$green2: #97cf9e;
+$green3: #7ba881;
+$green4: #4c6950;
+
+$begonia-red0: #fc6d6d;
+$begonia-red1: #e36262;
+$begonia-red2: #bd5151;
+$begonia-red3: #7d3636;
+$begonia-red4: #3d1a1a;
+
+$pale2: #b5a6a3;
diff --git a/src/assets/styles/_mixins.scss b/src/assets/styles/_mixins.scss
index 40b29f9..6546e05 100644
--- a/src/assets/styles/_mixins.scss
+++ b/src/assets/styles/_mixins.scss
@@ -31,3 +31,15 @@
justify-content: center;
text-align: center;
}
+
+@mixin colorFadeAnim($fromColor, $toColor, $duration, $id) {
+ @keyframes colorFadeAnim-#{$id} {
+ from {
+ stroke: $fromColor;
+ }
+ to {
+ stroke: $toColor;
+ }
+ }
+ animation: colorFadeAnim-#{$id} $duration;
+}
diff --git a/src/assets/styles/_variables.scss b/src/assets/styles/_variables.scss
index 1a85447..761e3ad 100644
--- a/src/assets/styles/_variables.scss
+++ b/src/assets/styles/_variables.scss
@@ -1,12 +1,16 @@
@import '~assets/styles/fonts.css';
+@import '~assets/styles/_colors.scss';
-$light-background: #fff;
-$light-primary: #000;
-$light-secondary: #afafaf;
+$light-background: $azure-white;
+$light-primary: $eerie-black0;
+$light-secondary: $independence-gray1;
-$dark-background: #181b23;
-$dark-primary: #eaf3f2;
-$dark-secondary: #697699;
+$dark-background: $eerie-black1;
+$dark-primary: $azure-white;
+$dark-secondary: $eerie-black3;
$main-font: 'Red Display', arial, helvetica, sans-serif;
$secondary-font: 'Fira Code', monospace, sans-serif;
+
+$checked-color: $green0;
+$unchecked-color: $begonia-red0;
diff --git a/src/assets/styles/global.scss b/src/assets/styles/global.scss
index 597b70c..f4e472b 100644
--- a/src/assets/styles/global.scss
+++ b/src/assets/styles/global.scss
@@ -21,11 +21,21 @@ body {
.light-mode body {
background-color: $light-background;
color: $light-primary;
+ * {
+ stroke: $light-secondary;
+ }
}
.dark-mode body {
background-color: $dark-background;
color: $dark-primary;
+ * {
+ stroke: $dark-secondary;
+ }
+}
+
+.preventAnimLoad * .preventAnim {
+ animation-duration: 0s !important;
}
/*
diff --git a/src/components/PageFooter.vue b/src/components/PageFooter.vue
index 9d9306f..8db8ddd 100644
--- a/src/components/PageFooter.vue
+++ b/src/components/PageFooter.vue
@@ -1,10 +1,10 @@
+
+