From 2f3ee12a3e6805e4ff1c547428ef6c44c21ac251 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Valdemaras=20Rep=C5=A1ys?= Date: Thu, 19 Dec 2024 18:39:19 +0200 Subject: [PATCH] adjust default colors --- packages/next/prose-ui.css | 52 ++++++++++++++++++------------------ packages/styles/src/index.ts | 52 ++++++++++++++++++------------------ 2 files changed, 52 insertions(+), 52 deletions(-) diff --git a/packages/next/prose-ui.css b/packages/next/prose-ui.css index bbc8915..adc04e4 100644 --- a/packages/next/prose-ui.css +++ b/packages/next/prose-ui.css @@ -12,19 +12,19 @@ --shiki-token-link: var(--p-code-block-color-link) } :root { - --p-color-text-high: 0 0% 0%; - --p-color-text: 210 13% 13%; - --p-color-text-low: 220 6% 40%; - --p-color-text-lower: 226 5% 53%; - --p-color-text-lowest: 231 6% 57%; - --p-color-text-disabled: 231 10% 75%; - --p-color-accent-high: 154 60% 32%; - --p-color-accent: 152 56% 39%; - --p-color-accent-low: 151 40% 54%; - --p-color-syntax-syntax1: 210 80% 40%; - --p-color-syntax-syntax2: 156 60% 35%; - --p-color-syntax-syntax3: 212 50% 40%; - --p-color-syntax-syntax4: 256 39% 50%; + --p-color-text-high: 219 100% 100%; + --p-color-text: 219 5% 89%; + --p-color-text-low: 219 6% 70%; + --p-color-text-lower: 219 6% 65%; + --p-color-text-lowest: 219 6% 60%; + --p-color-text-disabled: 219 6% 70%; + --p-color-accent-high: 150 95% 75%; + --p-color-accent: 150 90% 65%; + --p-color-accent-low: 150 15% 30%; + --p-color-syntax-syntax1: 150 66% 66%; + --p-color-syntax-syntax2: 40 50% 66%; + --p-color-syntax-syntax3: 340 50% 75%; + --p-color-syntax-syntax4: 210 77% 69%; --p-color-note: 210 13% 13%; --p-color-info: 208 88% 43%; --p-color-warning: 35 100% 34%; @@ -39,19 +39,19 @@ --p-color-outline: 152 56% 39% } :is(.dark) { - --p-color-text-high: 0 0% 100%; - --p-color-text: 220 9% 94%; - --p-color-text-low: 216 7% 71%; - --p-color-text-lower: 222 5% 49%; - --p-color-text-lowest: 219 6% 44%; - --p-color-text-disabled: 212 8% 38%; - --p-color-accent-high: 151 65% 54%; - --p-color-accent: 151 55% 45%; - --p-color-accent-low: 151 45% 34%; - --p-color-syntax-syntax1: 210 80% 66%; - --p-color-syntax-syntax2: 156 60% 75%; - --p-color-syntax-syntax3: 212 50% 70%; - --p-color-syntax-syntax4: 256 40% 70%; + --p-color-text-high: 219 0% 100%; + --p-color-text: 219 100% 100%; + --p-color-text-low: 219 6% 70%; + --p-color-text-lower: 219 6% 65%; + --p-color-text-lowest: 219 6% 60%; + --p-color-text-disabled: 219 6% 53%; + --p-color-accent-high: 150 95% 75%; + --p-color-accent: 150 90% 65%; + --p-color-accent-low: 150 15% 30%; + --p-color-syntax-syntax1: 150 66% 66%; + --p-color-syntax-syntax2: 40 50% 66%; + --p-color-syntax-syntax3: 340 50% 75%; + --p-color-syntax-syntax4: 210 77% 69%; --p-color-note: 220 9% 94%; --p-color-info: 210 100% 72%; --p-color-warning: 46 100% 54%; diff --git a/packages/styles/src/index.ts b/packages/styles/src/index.ts index da7bbac..f973645 100644 --- a/packages/styles/src/index.ts +++ b/packages/styles/src/index.ts @@ -91,23 +91,23 @@ export const getCoreSpec = (): CoreSpec => ({ export const getLightColorsSpec = (): ColorSpec => ({ color: { text: { - high: '0 0% 0%', - base: hsl(slate.slate12), - low: hsl(slate.slate11), - lower: hsl(slate.slate10), - lowest: hsl(slate.slate9), - disabled: hsl(slate.slate8), + high: '219 100% 100%', + base: '219 5% 89%', + low: '219 6% 70%', + lower: '219 6% 65%', + lowest: '219 6% 60%', + disabled: '219 6% 70%', }, accent: { - high: hsl(green.green11), - base: hsl(green.green10), - low: hsl(green.green8), + high: '150 95% 75%', + base: '150 90% 65%', + low: '150 15% 30%', }, syntax: { - syntax1: '210 80% 40%', - syntax2: '156 60% 35%', - syntax3: '212 50% 40%', - syntax4: '256 39% 50%', + syntax1: '150 66% 66%', + syntax2: '40 50% 66%', + syntax3: '340 50% 75%', + syntax4: '210 77% 69%', }, note: hsl(slate.slate12), info: hsl(blue.blue11), @@ -129,23 +129,23 @@ export const getLightColorsSpec = (): ColorSpec => ({ export const getDarkColorsSpec = (): ColorSpec => ({ color: { text: { - high: '0 0% 100%', - base: hsl(slateDark.slate12), - low: hsl(slateDark.slate11), - lower: hsl(slateDark.slate10), - lowest: hsl(slateDark.slate9), - disabled: hsl(slateDark.slate8), + high: '219 0% 100%', + base: '219 100% 100%', + low: '219 6% 70%', + lower: '219 6% 65%', + lowest: '219 6% 60%', + disabled: '219 6% 53%', }, accent: { - high: hsl(greenDark.green11), - base: hsl(greenDark.green10), - low: hsl(greenDark.green8), + high: '150 95% 75%', + base: '150 90% 65%', + low: '150 15% 30%', }, syntax: { - syntax1: '210 80% 66%', - syntax2: '156 60% 75%', - syntax3: '212 50% 70%', - syntax4: '256 40% 70%', + syntax1: '150 66% 66%', + syntax2: '40 50% 66%', + syntax3: '340 50% 75%', + syntax4: '210 77% 69%', }, note: hsl(slateDark.slate12), info: hsl(blueDark.blue11),