Skip to content

Commit c89d352

Browse files
fix(react): add styles for preview chip
1 parent 52347ad commit c89d352

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

packages/react/src/components/Chip/chip.scss

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,31 @@
136136
}
137137
}
138138

139+
&-preview {
140+
background: var(--oxygen-customComponents-Chip-properties-experimental-background);
141+
border-radius: var(--oxygen-customComponents-Chip-properties-border-radius);
142+
border: var(--oxygen-customComponents-Chip-properties-border);
143+
font-weight: var(--oxygen-customComponents-Chip-properties-font-weight);
144+
line-height: var(--oxygen-customComponents-Chip-properties-line-height);
145+
146+
.MuiChip-icon {
147+
fill: var(--oxygen-customComponents-Chip-properties-experimental-border-color);
148+
149+
path {
150+
stroke: var(--oxygen-customComponents-Chip-properties-experimental-border-color);
151+
stroke-width: var(--oxygen-customComponents-Chip-properties-icon-stroke-width);
152+
}
153+
}
154+
155+
.MuiChip-label {
156+
background-clip: var(--oxygen-customComponents-Chip-properties-background-clip);
157+
-webkit-background-clip: text;
158+
color: var(--oxygen-customComponents-Chip-properties-text-fill-color);
159+
background-image: var(--oxygen-customComponents-Chip-properties-experimental-text-color);
160+
text-transform: var(--oxygen-customComponents-Chip-properties-text-transform);
161+
}
162+
}
163+
139164
&-coming-soon {
140165
background: var(--oxygen-customComponents-Chip-properties-coming-soon-background);
141166
border-radius: var(--oxygen-customComponents-Chip-properties-border-radius);

0 commit comments

Comments
 (0)