Skip to content

Commit f6e1a15

Browse files
committed
fix chip tokens
1 parent 93afcbe commit f6e1a15

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

core/src/components/chip/chip.ionic.scss

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,11 @@
1414

1515
@include globals.padding(globals.$ion-space-150, globals.$ion-space-200);
1616
@include globals.border-radius(var(--border-radius));
17+
@include globals.typography(globals.$ion-body-sm-medium);
1718

1819
gap: globals.$ion-space-100;
1920

2021
font-family: globals.$ion-font-family;
21-
font-weight: globals.$ion-font-weight-medium;
22-
23-
line-height: globals.$ion-font-line-height-full;
2422
}
2523

2624
// Outline Chip
@@ -35,8 +33,7 @@
3533
// ---------------------------------------------
3634

3735
:host(.ion-focused) {
38-
outline: var(--focus-ring-width) globals.$ion-border-style-solid var(--focus-ring-color);
39-
outline-offset: var(--focus-ring-width);
36+
@include globals.focused-state(null, null, var(--focus-ring-color));
4037
}
4138

4239
// Chip: Hover
@@ -63,8 +60,8 @@
6360
// Chip: Disabled
6461
// ---------------------------------------------
6562

66-
:host(.chip-disabled) {
67-
opacity: 0.6;
63+
:host(.chip-disabled)::after {
64+
@include globals.disabled-state();
6865
}
6966

7067
// Chip Shapes

0 commit comments

Comments
 (0)