plain-design 1.0.0-beta.26 → 1.0.0-beta.28
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/plain-design.commonjs.min.js +1 -1
- package/dist/plain-design.min.css +16 -16
- package/dist/plain-design.min.js +1 -1
- package/dist/report.html +2 -2
- package/package.json +1 -1
- package/src/packages/components/Alert/alert.scss +1 -1
- package/src/packages/components/Application/theme/theme.ts +1 -0
- package/src/packages/components/ArrowStepGroup/arrow-step.scss +4 -4
- package/src/packages/components/Badge/badge.scss +1 -1
- package/src/packages/components/Button/button.scss +1 -1
- package/src/packages/components/CarouselGroup/carousel.scss +1 -1
- package/src/packages/components/CheckboxInner/checkbox-inner.scss +1 -1
- package/src/packages/components/DatePicker/date.scss +1 -1
- package/src/packages/components/Dialog/dialog.scss +1 -1
- package/src/packages/components/Dialog/index.tsx +2 -2
- package/src/packages/components/Image/image.scss +3 -3
- package/src/packages/components/LoadingMask/index.tsx +1 -1
- package/src/packages/components/PageThemeUtils/index.tsx +1 -1
- package/src/packages/components/Pagination/pagination.scss +2 -2
- package/src/packages/components/ProgressBar/progress-bar.scss +1 -1
- package/src/packages/components/Slider/slider.scss +1 -1
- package/src/packages/components/StepGroup/step-group.scss +3 -3
- package/src/packages/components/ThemeEditor/theme-editor.scss +1 -1
- package/src/packages/components/useMessage/message.scss +1 -1
- package/src/packages/components/useNotice/notice.scss +1 -1
- package/src/packages/components/usePopup/popup-item.scss +1 -1
package/package.json
CHANGED
@@ -230,6 +230,7 @@ export function createThemeConfigurationData(prefix: string | null, config?: Dee
|
|
230
230
|
...secondaryColorList,
|
231
231
|
...createGrayColors(dark, false),
|
232
232
|
...createGrayColors(dark, true),
|
233
|
+
...base.primary === '#ffffff' ? { 'pbfc': 'black' } : { 'pbfc': 'white' },
|
233
234
|
...dark ? {
|
234
235
|
'background-hover': '#3c3c4d',
|
235
236
|
'scrollbar-color': '#141414',
|
@@ -32,7 +32,7 @@
|
|
32
32
|
align-items: center;
|
33
33
|
justify-content: center;
|
34
34
|
padding: 0 16px;
|
35
|
-
color:
|
35
|
+
color: plv(pbfc);
|
36
36
|
}
|
37
37
|
|
38
38
|
.#{componentName(triangle)} {
|
@@ -73,7 +73,7 @@
|
|
73
73
|
&.arrow-step-status-process, &.arrow-step-status-finish {
|
74
74
|
.arrow-step-content {
|
75
75
|
background-color: plv(primary-6);
|
76
|
-
color:
|
76
|
+
color: plv(pbfc);
|
77
77
|
}
|
78
78
|
|
79
79
|
.#{componentName(triangle)} {
|
@@ -84,7 +84,7 @@
|
|
84
84
|
&.arrow-step-status-success {
|
85
85
|
.arrow-step-content {
|
86
86
|
background-color: plv(success-6);
|
87
|
-
color:
|
87
|
+
color: plv(pbfc);
|
88
88
|
}
|
89
89
|
|
90
90
|
.#{componentName(triangle)} {
|
@@ -95,7 +95,7 @@
|
|
95
95
|
&.arrow-step-status-error {
|
96
96
|
.arrow-step-content {
|
97
97
|
background-color: plv(error-6);
|
98
|
-
color:
|
98
|
+
color: plv(pbfc);
|
99
99
|
}
|
100
100
|
|
101
101
|
.#{componentName(triangle)} {
|
@@ -254,9 +254,9 @@ export const Dialog = designComponent({
|
|
254
254
|
showing.start();
|
255
255
|
if (!state.init) {
|
256
256
|
state.init = true;
|
257
|
-
await delay();
|
257
|
+
await delay(23);
|
258
258
|
if (!refs.content) {
|
259
|
-
await delay();
|
259
|
+
await delay(23);
|
260
260
|
}
|
261
261
|
} else {
|
262
262
|
await nextTick();
|
@@ -6,7 +6,7 @@
|
|
6
6
|
right: 0;
|
7
7
|
bottom: 0;
|
8
8
|
background-color: rgba(black, 0.85);
|
9
|
-
color:
|
9
|
+
color: plv(pbfc);
|
10
10
|
display: flex;
|
11
11
|
align-items: center;
|
12
12
|
justify-content: center;
|
@@ -213,7 +213,7 @@
|
|
213
213
|
&.image-uploader-status-fail {
|
214
214
|
.image-uploader-fail {
|
215
215
|
background-color: rgba(black, 0.85);
|
216
|
-
color:
|
216
|
+
color: plv(pbfc);
|
217
217
|
}
|
218
218
|
}
|
219
219
|
|
@@ -247,7 +247,7 @@
|
|
247
247
|
}
|
248
248
|
|
249
249
|
.#{componentName(icon)} {
|
250
|
-
color:
|
250
|
+
color: plv(pbfc);
|
251
251
|
}
|
252
252
|
}
|
253
253
|
}
|
@@ -158,7 +158,7 @@ export const ThemePrimaryColors: Record<string, { label: string, primary: string
|
|
158
158
|
geek: { label: '极客蓝', primary: '#2f54eb', },
|
159
159
|
purple: { label: '酱紫', primary: '#722ed1', },
|
160
160
|
magenta: { label: '洋红', primary: '#eb2f96', },
|
161
|
-
light: { label: '极昼', primary: '#
|
161
|
+
light: { label: '极昼', primary: '#ffffff', },
|
162
162
|
dark: { label: '黑夜', primary: '#000000', },
|
163
163
|
};
|
164
164
|
|
@@ -47,7 +47,7 @@
|
|
47
47
|
&:active, &.pagination-pager-button-active {
|
48
48
|
background-color: plv(primary-6);
|
49
49
|
border-color: plv(primary-6);
|
50
|
-
color:
|
50
|
+
color: plv(pbfc);
|
51
51
|
}
|
52
52
|
}
|
53
53
|
|
@@ -118,7 +118,7 @@
|
|
118
118
|
&.pagination-pager-button-active {
|
119
119
|
background-color: plv(gray-light-6);
|
120
120
|
border-color: plv(gray-light-6);
|
121
|
-
color:
|
121
|
+
color: plv(pbfc);
|
122
122
|
}
|
123
123
|
}
|
124
124
|
}
|
@@ -200,7 +200,7 @@
|
|
200
200
|
.step-icon {
|
201
201
|
border-color: plv(primary-6);
|
202
202
|
background-color: plv(primary-6);
|
203
|
-
color:
|
203
|
+
color: plv(pbfc);
|
204
204
|
}
|
205
205
|
|
206
206
|
.step-dot {
|
@@ -227,7 +227,7 @@
|
|
227
227
|
.step-icon {
|
228
228
|
border-color: plv(primary-6);
|
229
229
|
background-color: plv(primary-6);
|
230
|
-
color:
|
230
|
+
color: plv(pbfc);
|
231
231
|
}
|
232
232
|
|
233
233
|
.step-title {
|
@@ -266,7 +266,7 @@
|
|
266
266
|
.step-icon {
|
267
267
|
border-color: plv(error-6);
|
268
268
|
background-color: plv(error-6);
|
269
|
-
color:
|
269
|
+
color: plv(pbfc);
|
270
270
|
}
|
271
271
|
|
272
272
|
.step-title {
|
@@ -29,7 +29,7 @@
|
|
29
29
|
width: calc(#{plv(box-size-normal-height)} * 1.5);
|
30
30
|
border-radius: calc(#{plv(box-size-normal-height)} * 1.5);
|
31
31
|
background-color: plv(primary-6);
|
32
|
-
color:
|
32
|
+
color: plv(pbfc);
|
33
33
|
display: flex;
|
34
34
|
align-items: center;
|
35
35
|
justify-content: center;
|