File tree Expand file tree Collapse file tree 3 files changed +13
-6
lines changed
Expand file tree Collapse file tree 3 files changed +13
-6
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ " @cloudflare/kumo " : patch
3+ ---
4+
5+ fix(tokens): correct text-kumo-subtle dark mode value to provide visible contrast
Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ export const THEME_CONFIG: ThemeConfig = {
5353 theme : {
5454 kumo : {
5555 light : "var(--color-neutral-500, oklch(55.6% 0 0))" ,
56- dark : "var(--color-kumo- neutral-50 , oklch(97.5 % 0 0))" ,
56+ dark : "var(--color-neutral-400 , oklch(70.8 % 0 0))" ,
5757 } ,
5858 } ,
5959 } ,
@@ -166,7 +166,8 @@ export const THEME_CONFIG: ThemeConfig = {
166166 } ,
167167 "kumo-badge-inverted" : {
168168 newName : "" ,
169- description : "Text color for inverted badge (white in light, black in dark)" ,
169+ description :
170+ "Text color for inverted badge (white in light, black in dark)" ,
170171 theme : {
171172 kumo : {
172173 light : "var(--color-white, #fff)" ,
@@ -194,7 +195,7 @@ export const THEME_CONFIG: ThemeConfig = {
194195 dark : "#5b697c" ,
195196 } ,
196197 } ,
197- } ,
198+ } ,
198199 "kumo-elevated" : {
199200 newName : "" ,
200201 theme : {
@@ -554,7 +555,8 @@ export const THEME_CONFIG: ThemeConfig = {
554555 // Inverted
555556 "kumo-badge-inverted" : {
556557 newName : "" ,
557- description : "Inverted badge background (near-black in light, white in dark)" ,
558+ description :
559+ "Inverted badge background (near-black in light, white in dark)" ,
558560 theme : {
559561 kumo : {
560562 light : "var(--color-neutral-950, oklch(14.5% 0 0))" ,
Original file line number Diff line number Diff line change 2525
2626 --text-color-kumo-subtle : light-dark (
2727 var (--color-neutral-500 , oklch (55.6% 0 0 )),
28- var (--color-kumo- neutral-50 , oklch (97.5 % 0 0 ))
28+ var (--color-neutral-400 , oklch (70.8 % 0 0 ))
2929 );
3030
3131 --text-color-kumo-inactive : light-dark (
351351 --text-color-kumo-default : var (--color-neutral-100 , oklch (97% 0 0 ));
352352 --text-color-kumo-inverse : var (--color-neutral-900 , oklch (20.5% 0 0 ));
353353 --text-color-kumo-strong : var (--color-neutral-400 , oklch (70.8% 0 0 ));
354- --text-color-kumo-subtle : var (--color-kumo- neutral-50 , oklch (97.5 % 0 0 ));
354+ --text-color-kumo-subtle : var (--color-neutral-400 , oklch (70.8 % 0 0 ));
355355 --text-color-kumo-inactive : var (--color-neutral-600 , oklch (70.8% 0 0 ));
356356 --text-color-kumo-placeholder : var (--color-neutral-500 , oklch (55.6% 0 0 ));
357357 --text-color-kumo-brand : # f6821f ;
You can’t perform that action at this time.
0 commit comments