Skip to content

Commit

Permalink
fix: replace form select focus border-width with color
Browse files Browse the repository at this point in the history
  • Loading branch information
Robbert committed Sep 25, 2021
1 parent 5ba7c39 commit 31c821b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 deletions.
9 changes: 3 additions & 6 deletions components/select/bem.scss
Original file line number Diff line number Diff line change
Expand Up @@ -73,12 +73,9 @@
var(--utrecht-select-border-color, var(--utrecht-form-input-border-color))
)
);
border-width: var(
--utrecht-select-focus-border-width,
var(
--utrecht-form-input-focus-border-width,
var(--utrecht-select-border-width, var(--utrecht-form-input-border-width))
)
color: var(
--utrecht-select-focus-color,
var(--utrecht-form-input-focus-color, var(--utrecht-select-color, var(--utrecht-form-input-color)))
);
}

Expand Down
4 changes: 2 additions & 2 deletions components/select/modifier.tokens.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@
"inherits": true
}
},
"border-width": {
"color": {
"css": {
"syntax": "<length>",
"syntax": "<color>",
"inherits": true
}
}
Expand Down

0 comments on commit 31c821b

Please sign in to comment.