Skip to content

Commit ace35a5

Browse files
authored
feat(checkbox): v15 (#2880)
1 parent e8620cc commit ace35a5

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

src/config.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -481,6 +481,7 @@
481481
"sort": 4,
482482
"show": true,
483483
"taro": true,
484+
"v15": true,
484485
"author": "oasis"
485486
},
486487
{

src/packages/checkbox/checkbox.scss

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313
color: $color-primary;
1414
transition-duration: 0.3s;
1515
transition-property: color, border-color, background-color;
16+
box-shadow: 0px 2px 4px 0px #ff0f2333;
17+
border-radius: 50%;
1618

1719
&.nut-checkbox-icon-disabled {
1820
color: $color-primary-disabled-special;
@@ -31,6 +33,8 @@
3133

3234
&-icon-indeterminate {
3335
color: $color-primary;
36+
box-shadow: 0px 2px 4px 0px #ff0f2333;
37+
border-radius: 50%;
3438

3539
&.nut-checkbox-icon-disabled {
3640
color: $color-primary-disabled-special;
@@ -39,6 +43,7 @@
3943

4044
&-icon-disabled {
4145
color: $color-text-disabled;
46+
box-shadow: none;
4247
}
4348

4449
&-reverse {

0 commit comments

Comments
 (0)