From 499c7e176512813ddf2698fad17d814576bb2d1c Mon Sep 17 00:00:00 2001 From: Steve Bauman Date: Sun, 5 May 2024 21:58:44 -0400 Subject: [PATCH] Rework colors --- assets/css/app.css | 38 +++++++++++++++--------------- assets/css/content.css | 2 +- assets/loading.html | 2 +- components/Canvas.vue | 2 +- components/FileDropdown.vue | 2 +- components/FormDivider.vue | 2 +- components/Preview.vue | 8 +++---- composables/usePreferencesStore.js | 2 +- pages/index.vue | 6 ++--- 9 files changed, 32 insertions(+), 32 deletions(-) diff --git a/assets/css/app.css b/assets/css/app.css index 2598541..61ece69 100644 --- a/assets/css/app.css +++ b/assets/css/app.css @@ -23,15 +23,15 @@ @layer base { :root { - --color-ui-gray-50: theme('colors.gray.900'); - --color-ui-gray-100: theme('colors.gray.800'); - --color-ui-gray-200: theme('colors.gray.700'); - --color-ui-gray-300: theme('colors.gray.600'); - --color-ui-gray-400: theme('colors.gray.800'); - --color-ui-gray-500: theme('colors.gray.400'); - --color-ui-gray-600: theme('colors.gray.50'); - --color-ui-gray-700: theme('colors.gray.100'); - --color-ui-gray-800: theme('colors.gray.200'); + --color-ui-gray-50: theme('colors.zinc.900'); + --color-ui-gray-100: theme('colors.zinc.800'); + --color-ui-gray-200: theme('colors.zinc.700'); + --color-ui-gray-300: theme('colors.zinc.600'); + --color-ui-gray-400: theme('colors.zinc.800'); + --color-ui-gray-500: theme('colors.zinc.400'); + --color-ui-gray-600: theme('colors.zinc.50'); + --color-ui-gray-700: theme('colors.zinc.100'); + --color-ui-gray-800: theme('colors.zinc.200'); --color-ui-gray-900: theme('colors.white'); --color-ui-violet-500: theme('colors.violet.800'); @@ -40,16 +40,16 @@ } [color-scheme="dark"] { - --color-ui-gray-50: theme('colors.gray.50'); - --color-ui-gray-100: theme('colors.gray.100'); - --color-ui-gray-200: theme('colors.gray.200'); - --color-ui-gray-300: theme('colors.gray.300'); - --color-ui-gray-400: theme('colors.gray.400'); - --color-ui-gray-500: theme('colors.gray.500'); - --color-ui-gray-600: theme('colors.gray.600'); - --color-ui-gray-700: theme('colors.gray.700'); - --color-ui-gray-800: theme('colors.gray.800'); - --color-ui-gray-900: theme('colors.gray.900'); + --color-ui-gray-50: theme('colors.zinc.50'); + --color-ui-gray-100: theme('colors.zinc.100'); + --color-ui-gray-200: theme('colors.zinc.200'); + --color-ui-gray-300: theme('colors.zinc.300'); + --color-ui-gray-400: theme('colors.zinc.400'); + --color-ui-gray-500: theme('colors.zinc.500'); + --color-ui-gray-600: theme('colors.zinc.600'); + --color-ui-gray-700: theme('colors.zinc.900'); + --color-ui-gray-800: theme('colors.zinc.950'); + --color-ui-gray-900: theme('colors.black'); --color-ui-violet-500: theme('colors.violet.500'); --color-ui-violet-600: theme('colors.violet.600'); diff --git a/assets/css/content.css b/assets/css/content.css index 80ae86c..a2d2b1a 100644 --- a/assets/css/content.css +++ b/assets/css/content.css @@ -51,7 +51,7 @@ } hr { - @apply my-6; + @apply my-6 border-ui-gray-900; } img { diff --git a/assets/loading.html b/assets/loading.html index 5a76c3d..c897721 100644 --- a/assets/loading.html +++ b/assets/loading.html @@ -36,7 +36,7 @@ scheme = 'dark'; } -document.getElementById('loader').style.backgroundColor = scheme === 'dark' ? '#374151' : 'white'; +document.getElementById('loader').style.backgroundColor = scheme === 'dark' ? '#09090B' : 'white';