Skip to content

Commit 91e7cd8

Browse files
committed
fix: 删除一些不和谐的配色
1 parent bc67588 commit 91e7cd8

File tree

4 files changed

+10
-11
lines changed

4 files changed

+10
-11
lines changed

packages/core/src/Radio/README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ function Demo() {
1616
<Radio>Radio</Radio>
1717
<Radio checked>Radio checked</Radio>
1818
</>
19-
2019
);
2120
}
2221

@@ -66,7 +65,7 @@ export default Demo
6665

6766
### 单选
6867

69-
```jsx mdx:preview
68+
```jsx mdx:preview&background=#bebebe29
7069
import React, { useState } from 'react';
7170
import { View } from 'react-native';
7271
import { Radio } from '@uiw/react-native';

packages/core/src/Rating/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ export default Demo
4646

4747
### 默认选中及总数
4848

49-
```jsx mdx:preview
49+
```jsx mdx:preview&background=#bebebe29
5050
import React from 'react';
5151
import { Rating, Icon } from '@uiw/react-native';
5252
function Demo() {
@@ -68,7 +68,7 @@ export default Demo
6868

6969
### 评分组件加上文案展示及样式修改
7070

71-
```jsx mdx:preview
71+
```jsx mdx:preview&background=#bebebe29
7272
import React from 'react';
7373
import { Rating, Icon } from '@uiw/react-native';
7474

@@ -83,7 +83,7 @@ export default Demo
8383

8484
### 只读
8585

86-
```jsx mdx:preview
86+
```jsx mdx:preview&background=#bebebe29
8787
import React from 'react';
8888
import { Rating, Icon } from '@uiw/react-native';
8989
function Demo() {

packages/core/src/Slider/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,9 +85,9 @@ function Demo() {
8585
<Slider
8686
value={value}
8787
onChange={(cValue) => setValue(cValue)}
88-
thumbTintColor="pink"
89-
maximumTrackTintColor="pink"
90-
minimumTrackTintColor="purple"
88+
thumbTintColor="#008ef0"
89+
maximumTrackTintColor="#333"
90+
minimumTrackTintColor="white"
9191
/>
9292
);
9393
}

packages/core/src/Switch/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,9 @@ import React from 'react';
4444
function Demo() {
4545
return (
4646
<Switch
47-
color="red"
48-
thumbStyle={{backgroundColor: 'skyblue'}}
49-
trackStyle={{backgroundColor: 'pink'}}
47+
color="#008ef055"
48+
thumbStyle={{backgroundColor: '#333a'}}
49+
trackStyle={{backgroundColor: '#008ef0'}}
5050
/>
5151
);
5252
}

0 commit comments

Comments
 (0)