Skip to content

Commit 3dce660

Browse files
committed
update token mapping
1 parent 11227f4 commit 3dce660

File tree

5 files changed

+10
-5
lines changed

5 files changed

+10
-5
lines changed

.changeset/shiny-pans-work.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@frontify/fondue-components": major
3+
---
4+
5+
fix: update token usage

packages/components/src/components/Checkbox/styles/checkboxStyles.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { sv } from '#/utilities/styleUtilities';
55

66
export const checkboxStyles = sv({
77
base:
8-
'tw-peer tw-relative tw-inline-flex tw-bg-surface tw-text-white tw-shrink-0 tw-rounded-medium tw-border tw-border-line-strong group-hover:tw-border-line-strong hover:tw-border-line-strong tw-transition-colors ' +
8+
'tw-peer tw-relative tw-inline-flex tw-bg-surface tw-text-white tw-shrink-0 tw-rounded-medium tw-border tw-border-line-mid group-hover:tw-border-line-strong hover:tw-border-line-strong tw-transition-colors ' +
99
'data-[state="checked"]:tw-border-transparent data-[state="indeterminate"]:tw-border-transparent ' +
1010
'disabled:tw-border-line-strong disabled:tw-bg-surface disabled:tw-cursor-not-allowed data-[state="checked"]:disabled:tw-bg-disabled ' +
1111
'data-[readonly="true"]:tw-pointer-events-none ' +

packages/components/src/components/RadioList/styles/radiolist.module.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
width: 1rem;
3030
height: 1rem;
3131
border-radius: 100%;
32-
border: 1px solid var(--color-line-strong);
32+
border: 1px solid var(--color-line-mid);
3333
cursor: pointer;
3434

3535
transition: border cubic-bezier(0.4, 0, 0.2, 1) 150ms;

packages/components/src/components/Slider/styles/slider.module.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
height: sizeToken.get(5);
5353

5454
background-color: var(--color-surface-default);
55-
border: 1px solid var(--color-line-strong);
55+
border: 1px solid var(--color-line-mid);
5656
border-radius: 100%;
5757
outline: 0 solid var(--color-shadow-default);
5858

packages/components/src/components/Textarea/styles/textarea.module.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
color: var(--color-primary-default);
2323
background-color: var(--color-surface-default);
2424
border-radius: var(--border-radius-medium);
25-
border: var(--border-width-default) solid var(--color-line-strong);
25+
border: var(--border-width-default) solid var(--color-line-mid);
2626

2727
& {
2828
@include focusStyle.focus-outline;
@@ -219,7 +219,7 @@
219219
align-items: center;
220220
justify-content: center;
221221
background-color: var(--color-surface-default);
222-
border: var(--border-width-default) solid var(--color-line-strong);
222+
border: var(--border-width-default) solid var(--color-line-mid);
223223
border-radius: 9999px;
224224

225225
&::before {

0 commit comments

Comments
 (0)