Skip to content

Commit c9dc647

Browse files
committed
adjust default colors
1 parent 2426f53 commit c9dc647

File tree

2 files changed

+52
-52
lines changed

2 files changed

+52
-52
lines changed

packages/next/prose-ui.css

+26-26
Original file line numberDiff line numberDiff line change
@@ -12,19 +12,19 @@
1212
--shiki-token-link: var(--p-code-block-color-link)
1313
}
1414
:root {
15-
--p-color-text-high: 0 0% 0%;
16-
--p-color-text: 210 13% 13%;
17-
--p-color-text-low: 220 6% 40%;
18-
--p-color-text-lower: 226 5% 53%;
19-
--p-color-text-lowest: 231 6% 57%;
20-
--p-color-text-disabled: 231 10% 75%;
21-
--p-color-accent-high: 154 60% 32%;
22-
--p-color-accent: 152 56% 39%;
23-
--p-color-accent-low: 151 40% 54%;
24-
--p-color-syntax-syntax1: 210 80% 40%;
25-
--p-color-syntax-syntax2: 156 60% 35%;
26-
--p-color-syntax-syntax3: 212 50% 40%;
27-
--p-color-syntax-syntax4: 256 39% 50%;
15+
--p-color-text-high: 219 100% 100%;
16+
--p-color-text: 219 5% 89%;
17+
--p-color-text-low: 219 6% 70%;
18+
--p-color-text-lower: 219 6% 65%;
19+
--p-color-text-lowest: 219 6% 60%;
20+
--p-color-text-disabled: 219 6% 70%;
21+
--p-color-accent-high: 150 95% 75%;
22+
--p-color-accent: 150 90% 65%;
23+
--p-color-accent-low: 150 15% 30%;
24+
--p-color-syntax-syntax1: 150 66% 66%;
25+
--p-color-syntax-syntax2: 40 50% 66%;
26+
--p-color-syntax-syntax3: 340 50% 75%;
27+
--p-color-syntax-syntax4: 210 77% 69%;
2828
--p-color-note: 210 13% 13%;
2929
--p-color-info: 208 88% 43%;
3030
--p-color-warning: 35 100% 34%;
@@ -39,19 +39,19 @@
3939
--p-color-outline: 152 56% 39%
4040
}
4141
:is(.dark) {
42-
--p-color-text-high: 0 0% 100%;
43-
--p-color-text: 220 9% 94%;
44-
--p-color-text-low: 216 7% 71%;
45-
--p-color-text-lower: 222 5% 49%;
46-
--p-color-text-lowest: 219 6% 44%;
47-
--p-color-text-disabled: 212 8% 38%;
48-
--p-color-accent-high: 151 65% 54%;
49-
--p-color-accent: 151 55% 45%;
50-
--p-color-accent-low: 151 45% 34%;
51-
--p-color-syntax-syntax1: 210 80% 66%;
52-
--p-color-syntax-syntax2: 156 60% 75%;
53-
--p-color-syntax-syntax3: 212 50% 70%;
54-
--p-color-syntax-syntax4: 256 40% 70%;
42+
--p-color-text-high: 219 0% 100%;
43+
--p-color-text: 219 100% 100%;
44+
--p-color-text-low: 219 6% 70%;
45+
--p-color-text-lower: 219 6% 65%;
46+
--p-color-text-lowest: 219 6% 60%;
47+
--p-color-text-disabled: 219 6% 53%;
48+
--p-color-accent-high: 150 95% 75%;
49+
--p-color-accent: 150 90% 65%;
50+
--p-color-accent-low: 150 15% 30%;
51+
--p-color-syntax-syntax1: 150 66% 66%;
52+
--p-color-syntax-syntax2: 40 50% 66%;
53+
--p-color-syntax-syntax3: 340 50% 75%;
54+
--p-color-syntax-syntax4: 210 77% 69%;
5555
--p-color-note: 220 9% 94%;
5656
--p-color-info: 210 100% 72%;
5757
--p-color-warning: 46 100% 54%;

packages/styles/src/index.ts

+26-26
Original file line numberDiff line numberDiff line change
@@ -91,23 +91,23 @@ export const getCoreSpec = (): CoreSpec => ({
9191
export const getLightColorsSpec = (): ColorSpec => ({
9292
color: {
9393
text: {
94-
high: '0 0% 0%',
95-
base: hsl(slate.slate12),
96-
low: hsl(slate.slate11),
97-
lower: hsl(slate.slate10),
98-
lowest: hsl(slate.slate9),
99-
disabled: hsl(slate.slate8),
94+
high: '219 100% 100%',
95+
base: '219 5% 89%',
96+
low: '219 6% 70%',
97+
lower: '219 6% 65%',
98+
lowest: '219 6% 60%',
99+
disabled: '219 6% 70%',
100100
},
101101
accent: {
102-
high: hsl(green.green11),
103-
base: hsl(green.green10),
104-
low: hsl(green.green8),
102+
high: '150 95% 75%',
103+
base: '150 90% 65%',
104+
low: '150 15% 30%',
105105
},
106106
syntax: {
107-
syntax1: '210 80% 40%',
108-
syntax2: '156 60% 35%',
109-
syntax3: '212 50% 40%',
110-
syntax4: '256 39% 50%',
107+
syntax1: '150 66% 66%',
108+
syntax2: '40 50% 66%',
109+
syntax3: '340 50% 75%',
110+
syntax4: '210 77% 69%',
111111
},
112112
note: hsl(slate.slate12),
113113
info: hsl(blue.blue11),
@@ -129,23 +129,23 @@ export const getLightColorsSpec = (): ColorSpec => ({
129129
export const getDarkColorsSpec = (): ColorSpec => ({
130130
color: {
131131
text: {
132-
high: '0 0% 100%',
133-
base: hsl(slateDark.slate12),
134-
low: hsl(slateDark.slate11),
135-
lower: hsl(slateDark.slate10),
136-
lowest: hsl(slateDark.slate9),
137-
disabled: hsl(slateDark.slate8),
132+
high: '219 0% 100%',
133+
base: '219 100% 100%',
134+
low: '219 6% 70%',
135+
lower: '219 6% 65%',
136+
lowest: '219 6% 60%',
137+
disabled: '219 6% 53%',
138138
},
139139
accent: {
140-
high: hsl(greenDark.green11),
141-
base: hsl(greenDark.green10),
142-
low: hsl(greenDark.green8),
140+
high: '150 95% 75%',
141+
base: '150 90% 65%',
142+
low: '150 15% 30%',
143143
},
144144
syntax: {
145-
syntax1: '210 80% 66%',
146-
syntax2: '156 60% 75%',
147-
syntax3: '212 50% 70%',
148-
syntax4: '256 40% 70%',
145+
syntax1: '150 66% 66%',
146+
syntax2: '40 50% 66%',
147+
syntax3: '340 50% 75%',
148+
syntax4: '210 77% 69%',
149149
},
150150
note: hsl(slateDark.slate12),
151151
info: hsl(blueDark.blue11),

0 commit comments

Comments
 (0)