Skip to content

Commit 0dae1e5

Browse files
feat(ui): add Mosaic input color token
1 parent 75a7158 commit 0dae1e5

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

packages/ui/src/mosaic/components/input/input.styles.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ export const styles = stylex.create({
3434
':focus-visible': `2px solid ${colorVars['--cl-color-primary']}`,
3535
':focus-visible:where([aria-invalid="true"])': 'none',
3636
},
37-
backgroundColor: colorVars['--cl-color-card'],
37+
backgroundColor: colorVars['--cl-color-input'],
3838
boxSizing: 'border-box',
3939
color: 'inherit',
4040
display: 'block',

packages/ui/src/mosaic/tokens.stylex.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ const colorDefaults = {
4747
'--cl-color-card': 'light-dark(oklch(1 0 0), oklch(0.205 0 0))',
4848
'--cl-color-card-foreground': 'light-dark(oklch(0.145 0 0), oklch(0.985 0 0))',
4949

50+
'--cl-color-input': 'light-dark(oklch(1 0 0), oklch(0.2046 0 0))',
5051
'--cl-color-input-placeholder': '#a3a3a3',
5152

5253
'--cl-color-border': 'light-dark(oklch(0.9219 0 0), oklch(0.3715 0 0))',

0 commit comments

Comments
 (0)