@didaoktv/didaoui-uniapp 1.3.0 → 1.3.1
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.
|
@@ -147,7 +147,7 @@ export default {
|
|
|
147
147
|
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
|
|
148
148
|
font-size: 16px;
|
|
149
149
|
line-height: 1.6;
|
|
150
|
-
color: #
|
|
150
|
+
color: var(--dd-fg, #{$dd-fg});
|
|
151
151
|
padding: 16px;
|
|
152
152
|
word-wrap: break-word;
|
|
153
153
|
|
|
@@ -195,7 +195,7 @@ export default {
|
|
|
195
195
|
|
|
196
196
|
/* 链接样式 */
|
|
197
197
|
:deep(a) {
|
|
198
|
-
color: #
|
|
198
|
+
color: var(--dd-link, #{$dd-link});
|
|
199
199
|
text-decoration: none;
|
|
200
200
|
|
|
201
201
|
&:hover {
|
|
@@ -226,15 +226,15 @@ export default {
|
|
|
226
226
|
:deep(blockquote) {
|
|
227
227
|
margin: 8px 0;
|
|
228
228
|
padding: 0 10px;
|
|
229
|
-
border-left: 4px solid #
|
|
230
|
-
color: #
|
|
229
|
+
border-left: 4px solid var(--dd-border-default, #{$dd-border-default});
|
|
230
|
+
color: var(--dd-text-secondary, #{$dd-text-secondary});
|
|
231
231
|
}
|
|
232
232
|
|
|
233
233
|
/* 代码样式 */
|
|
234
234
|
:deep(&-code) {
|
|
235
235
|
font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace;
|
|
236
236
|
font-size: 14px;
|
|
237
|
-
background-color: #
|
|
237
|
+
background-color: var(--dd-surface-container, #{$dd-surface-container});
|
|
238
238
|
padding: 3px 6px;
|
|
239
239
|
border-radius: 3px;
|
|
240
240
|
display: flex;
|
|
@@ -247,7 +247,7 @@ export default {
|
|
|
247
247
|
:deep(pre) {
|
|
248
248
|
font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace;
|
|
249
249
|
font-size: 14px;
|
|
250
|
-
background-color: #
|
|
250
|
+
background-color: var(--dd-surface-container, #{$dd-surface-container});
|
|
251
251
|
padding: 16px;
|
|
252
252
|
overflow: auto;
|
|
253
253
|
border-radius: 6px;
|
|
@@ -293,36 +293,12 @@ export default {
|
|
|
293
293
|
height: 1px;
|
|
294
294
|
padding: 0;
|
|
295
295
|
margin: 24px 0;
|
|
296
|
-
background-color: #
|
|
296
|
+
background-color: var(--dd-rule, #{$dd-rule});
|
|
297
297
|
border: 0;
|
|
298
298
|
}
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
&.dark {
|
|
302
|
-
color: #ccc;
|
|
303
|
-
background-color: #1e1e1e;
|
|
304
|
-
|
|
305
|
-
:deep(&-code) {
|
|
306
|
-
background-color: #2d2d2d;
|
|
307
|
-
color: #dcdcdc;
|
|
308
|
-
}
|
|
309
|
-
|
|
310
|
-
:deep(pre) {
|
|
311
|
-
background-color: #2d2d2d;
|
|
312
|
-
color: #dcdcdc;
|
|
313
|
-
}
|
|
314
|
-
|
|
315
|
-
:deep(blockquote) {
|
|
316
|
-
margin: 8px 0;
|
|
317
|
-
padding: 0 10px;
|
|
318
|
-
border-left: 4px solid #ccc;
|
|
319
|
-
color: #bbb;
|
|
320
|
-
}
|
|
321
|
-
|
|
322
|
-
:deep(a) {
|
|
323
|
-
color: #4da6ff;
|
|
324
|
-
}
|
|
325
|
-
}
|
|
299
|
+
// ponytail: .dark 本地类已废弃——CSS 变量随全局 .light/.dark 自动翻转,
|
|
300
|
+
// 保留空块避免消费方 class="dark" 断裂,升级路径:下个大版本直接删
|
|
301
|
+
&.dark {}
|
|
326
302
|
}
|
|
327
303
|
|
|
328
304
|
/* 代码块行号样式 */
|
|
@@ -113,14 +113,15 @@ function onConfirm() {
|
|
|
113
113
|
@import '../../scss/variables';
|
|
114
114
|
@import '../../scss/mixins';
|
|
115
115
|
:deep(.uni-picker-view-mask) {
|
|
116
|
-
background-image: linear-gradient(180deg,
|
|
116
|
+
background-image: linear-gradient(180deg, var(--dd-surface-container, #{$dd-surface-container}), transparent 60%),
|
|
117
|
+
linear-gradient(0deg, var(--dd-surface-container, #{$dd-surface-container}), transparent 60%);
|
|
117
118
|
}
|
|
118
119
|
.dd-picker {
|
|
119
120
|
&__mask {
|
|
120
121
|
position: fixed;
|
|
121
122
|
inset: 0;
|
|
122
123
|
z-index: $dd-z-index-overlay;
|
|
123
|
-
background:
|
|
124
|
+
background: var(--dd-color-overlay-strong, #{$dd-color-overlay-strong});
|
|
124
125
|
opacity: 0;
|
|
125
126
|
pointer-events: none;
|
|
126
127
|
@include dd-transition(opacity 0.3s);
|
|
@@ -121,7 +121,7 @@ function stepStatus(i: number): 'done' | 'current' | 'pending' {
|
|
|
121
121
|
&__track {
|
|
122
122
|
flex: 1;
|
|
123
123
|
height: 12rpx;
|
|
124
|
-
background: #
|
|
124
|
+
background: var(--dd-surface-container-high, #{$dd-surface-container-high});
|
|
125
125
|
border-radius: $dd-radius-full;
|
|
126
126
|
overflow: hidden;
|
|
127
127
|
position: relative;
|
|
@@ -207,7 +207,7 @@ function stepStatus(i: number): 'done' | 'current' | 'pending' {
|
|
|
207
207
|
width: 24rpx;
|
|
208
208
|
height: 24rpx;
|
|
209
209
|
border-radius: 50%;
|
|
210
|
-
background: #
|
|
210
|
+
background: var(--dd-surface-container-high, #{$dd-surface-container-high});
|
|
211
211
|
flex-shrink: 0;
|
|
212
212
|
@include dd-transition(all 0.3s ease);
|
|
213
213
|
|
|
@@ -226,7 +226,7 @@ function stepStatus(i: number): 'done' | 'current' | 'pending' {
|
|
|
226
226
|
flex: 1;
|
|
227
227
|
height: $dd-space-1;
|
|
228
228
|
margin: 0 $dd-space-1;
|
|
229
|
-
background: #
|
|
229
|
+
background: var(--dd-surface-container-high, #{$dd-surface-container-high});
|
|
230
230
|
@include dd-transition(background 0.3s ease);
|
|
231
231
|
|
|
232
232
|
&--done {
|