Skip to content

Commit

Permalink
fix(checkbox): show icon in neutral mode (#896)
Browse files Browse the repository at this point in the history
  • Loading branch information
nowseemee authored Feb 22, 2022
1 parent 4bae4a9 commit 839c3de
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/components/src/components/checkbox/checkbox.css
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ scale-checkbox {
--color-icon-checked-active: var(--scl-color-white);
--width-icon: var(--scl-spacing-12);
--height-icon: var(--scl-spacing-12);
--stroke-width: var(--stroke-width-checkbox, 0.5px);
}

:host,
Expand Down Expand Up @@ -112,7 +113,7 @@ scale-checkbox [part='icon'] svg {
scale-checkbox [part='icon'] svg rect,
scale-checkbox [part='icon'] svg path {
stroke: currentColor;
stroke-width: 0.5px;
stroke-width: var(--stroke-width);
}

scale-checkbox [part='container'] {
Expand Down
4 changes: 4 additions & 0 deletions packages/components/src/global/whitelabel.css
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,7 @@
*/

@import '~@telekom/scale-design-tokens/dist/design-tokens.css';

:root {
--stroke-width-checkbox: 50px;
}

0 comments on commit 839c3de

Please sign in to comment.