From 5a2c72cd538d9fa48a69aefa26b02972cbafe876 Mon Sep 17 00:00:00 2001 From: Dave Montanez Date: Fri, 2 Aug 2024 14:45:23 -0500 Subject: [PATCH] update colors to match Freespoke brand --- astro.config.mjs | 2 +- package-lock.json | 2 +- src/styles/custom.css | 29 +++++++++++++++++++++++++++++ 3 files changed, 31 insertions(+), 2 deletions(-) create mode 100644 src/styles/custom.css diff --git a/astro.config.mjs b/astro.config.mjs index 0be9da3..eb2636f 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -26,7 +26,7 @@ export default defineConfig({ autogenerate: { directory: 'privacy' }, } ], - customCss: ['./src/tailwind.css'], + customCss: ['./src/tailwind.css', './src/styles/custom.css'], }), tailwind({ applyBaseStyles: false }), ], diff --git a/package-lock.json b/package-lock.json index fff22cc..c245738 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,5 +1,5 @@ { - "name": "starlight", + "name": "docs", "version": "0.0.1", "lockfileVersion": 3, "requires": true, diff --git a/src/styles/custom.css b/src/styles/custom.css new file mode 100644 index 0000000..96e57e4 --- /dev/null +++ b/src/styles/custom.css @@ -0,0 +1,29 @@ +/* Dark mode colors. */ +:root { + --sl-color-accent-low: #0d2928; + --sl-color-accent: #007a76; + --sl-color-accent-high: #149590; + --sl-color-white: #ffffff; + --sl-color-gray-1: #eeeeee; + --sl-color-gray-2: #c2c2c2; + --sl-color-gray-3: #8b8b8b; + --sl-color-gray-4: #585858; + --sl-color-gray-5: #383838; + --sl-color-gray-6: #272727; + --sl-color-black: #181818; +} +/* Light mode colors. */ +:root[data-theme='light'] { + --sl-color-accent-low: #149590; + --sl-color-accent: #149590; + --sl-color-accent-high: #083a38; + --sl-color-white: #181818; + --sl-color-gray-1: #272727; + --sl-color-gray-2: #383838; + --sl-color-gray-3: #585858; + --sl-color-gray-4: #8b8b8b; + --sl-color-gray-5: #c2c2c2; + --sl-color-gray-6: #eeeeee; + --sl-color-gray-7: #f6f6f6; + --sl-color-black: #ffffff; +}