重构:提交全新项目代码
This commit is contained in:
19
packages/ui-web/src/component/checkbox/Checkbox.css
Normal file
19
packages/ui-web/src/component/checkbox/Checkbox.css
Normal file
@@ -0,0 +1,19 @@
|
||||
@layer components {
|
||||
.checkbox-root {
|
||||
&[data-unchecked] {
|
||||
border: 1px solid var(--color-gray-300);
|
||||
background-color: transparent;
|
||||
}
|
||||
&[data-checked] {
|
||||
background-color: var(--brand-bg);
|
||||
}
|
||||
}
|
||||
.checkbox-indicator {
|
||||
display: flex;
|
||||
color: var(--color-gray-50);
|
||||
|
||||
&[data-unchecked] {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user