Skip to content

Commit 56f8ae2

Browse files
committed
fix: rate 的自定义处理
1 parent 665d55a commit 56f8ae2

File tree

5 files changed

+15
-8
lines changed

5 files changed

+15
-8
lines changed

src/config.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -389,7 +389,8 @@
389389
"show": true,
390390
"taro": true,
391391
"author": "Alex.hxy",
392-
"v15": true
392+
"v15": true,
393+
"dd": true
393394
},
394395
{
395396
"version": "3.0.0",
@@ -401,7 +402,8 @@
401402
"show": false,
402403
"taro": true,
403404
"author": "Alex.hxy",
404-
"v15": true
405+
"v15": true,
406+
"dd": true
405407
},
406408
{
407409
"version": "2.0.0",

src/packages/configprovider/demos/h5/demo2.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { ConfigProvider, Cell, Rate, Button } from '@nutui/nutui-react'
33

44
const Demo2 = () => {
55
const darkTheme = {
6-
nutuiColorPrimary: 'green',
6+
nutuiColorPrimaryIcon: 'green',
77
nutuiColorPrimaryStop1: 'green',
88
nutuiColorPrimaryStop2: 'green',
99
}

src/packages/configprovider/demos/taro/demo2.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { ConfigProvider, Cell, Button, Rate } from '@nutui/nutui-react-taro'
33

44
const Demo2 = () => {
55
const darkTheme = {
6-
nutuiColorPrimary: 'green',
6+
nutuiColorPrimaryIcon: 'green',
77
nutuiColorPrimaryStop1: 'green',
88
nutuiColorPrimaryStop2: 'green',
99
}

src/packages/overlay/demos/h5/demo5.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ const Demo5 = () => {
1717
borderRadius: '8px',
1818
alignItems: 'center',
1919
justifyContent: 'center',
20-
color: 'red',
2120
}
2221
const handleToggleShow = () => {
2322
setVisible(true)

src/styles/variables.scss

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,15 @@ $color-primary-gradient-1: linear-gradient(
1212
$color-primary-stop-1 0%,
1313
$color-primary-stop-2 100%
1414
) !default;
15-
$color-primary-icon: var(--nutui-red-6) !default;
16-
$color-primary-icon-disabled: var(--nutui-gray-8) !default;
17-
$color-primary-specialdisabled: var(--nutui-red-3) !default;
15+
$color-primary-icon: var(--nutui-color-primary-icon, #ff3333) !default;
16+
$color-primary-icon-disabled: var(
17+
--nutui-color-primary-icon-disabled,
18+
#dadce0
19+
) !default;
20+
$color-primary-specialdisabled: var(
21+
--nutui-color-primary-specialdisabled,
22+
#ffadbe
23+
) !default;
1824

1925
// 默认色
2026
$color-default: var(--nutui-color-default) !default;

0 commit comments

Comments
 (0)