Merged in feat-StaticChip-component (pull request #3401)
feat: create new StaticChip component * feat: create new StaticChip componeny * refactor: remove deprecated Chip * fix: update type * refactor: remove div Approved-by: Erik Tiekstra
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
.chip {
|
||||
border-radius: var(--Corner-radius-sm);
|
||||
padding: 0 var(--Space-x1);
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: var(--Space-x05);
|
||||
}
|
||||
|
||||
.size-xs {
|
||||
height: 24px;
|
||||
}
|
||||
|
||||
.size-sm {
|
||||
height: 26px;
|
||||
}
|
||||
|
||||
.size-lg {
|
||||
height: 32px;
|
||||
}
|
||||
|
||||
.color-subtle {
|
||||
background-color: var(--Surface-Secondary-Subtle);
|
||||
color: var(--Text-Interactive-Default);
|
||||
}
|
||||
|
||||
.color-disabled {
|
||||
background-color: var(--Surface-UI-Fill-Disabled);
|
||||
border: 1px solid var(--Border-Interactive-Disabled);
|
||||
color: var(--Text-Interactive-Disabled);
|
||||
}
|
||||
|
||||
.color-neutral {
|
||||
background-color: var(--Surface-Primary-Default);
|
||||
color: var(--Text-Interactive-Default);
|
||||
}
|
||||
Reference in New Issue
Block a user