Skip to content

Commit

Permalink
fix: lightness updates for standard bg
Browse files Browse the repository at this point in the history
  • Loading branch information
maxholman committed Jan 9, 2023
1 parent 24c1b77 commit 0119f6d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion lib/panel.css.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const variantRules: Record<
}
> = {
standard: {
backgroundColor: hsl(0, 0, contrastSchemeVars.level0.l),
backgroundColor: hsl(0, 0, contrastSchemeVars.level0point5.l),
},
neutral: {
backgroundColor: hsl(0, 0, contrastSchemeVars.level1.l),
Expand Down
6 changes: 3 additions & 3 deletions lib/schemes/color.css.ts
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ const darkStyleRule: ComplexStyleRule = {
l: '10%',
},
level0point5: {
l: '10%',
l: '12%',
},
level1: {
l: '20%',
Expand Down Expand Up @@ -233,7 +233,7 @@ const lightStyleRule: ComplexStyleRule = {
l: '100%',
},
level0point5: {
l: '95%',
l: '98%',
},
level1: {
l: '90%',
Expand Down Expand Up @@ -277,7 +277,7 @@ export const defaultBgFgClass = style({
backgroundColor: hsl(
colorThemeVars.tones.accent.h,
0,
contrastSchemeVars.level0.l,
contrastSchemeVars.level0point5.l,
),
color: hsl(colorThemeVars.tones.accent.h, 0, contrastSchemeVars.level5.l),
});
Expand Down

0 comments on commit 0119f6d

Please sign in to comment.