@taskon/widget-react 0.0.1-beta.4 → 0.0.1-beta.5

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.
Files changed (38) hide show
  1. package/dist/CommunityTaskList.css +110 -110
  2. package/dist/EligibilityInfo.css +69 -69
  3. package/dist/Quest.css +241 -241
  4. package/dist/chunks/{CommunityTaskList-C9Gv8KOF.js → CommunityTaskList-CrMvOB8w.js} +725 -441
  5. package/dist/chunks/{EligibilityInfo-D-Fuy9GE.js → EligibilityInfo-Beww12QX.js} +1569 -597
  6. package/dist/chunks/{LeaderboardWidget-BV2D2q1N.js → LeaderboardWidget-DwuSpVl0.js} +2 -2
  7. package/dist/chunks/{PageBuilder-DQoU4Mwf.js → PageBuilder-DsX6Tv0N.js} +5 -5
  8. package/dist/chunks/{Quest-B5NyVr3o.js → Quest-CuD2LElS.js} +661 -473
  9. package/dist/chunks/{TaskOnProvider-93UxARFo.js → TaskOnProvider-xUeP2Nro.js} +78 -65
  10. package/dist/chunks/{ThemeProvider-CPI_roeh.js → ThemeProvider-Bt4UZ33y.js} +30 -6
  11. package/dist/chunks/{UserCenterWidget-BRtigY_S.js → UserCenterWidget-CB0hnj-L.js} +67 -30
  12. package/dist/chunks/{UserCenterWidget-cADBSVg7.js → UserCenterWidget-CvU6K4AC.js} +2 -2
  13. package/dist/chunks/communitytask-es-1zawvXEX.js +311 -0
  14. package/dist/chunks/communitytask-ja-CmW6nP-L.js +311 -0
  15. package/dist/chunks/communitytask-ko-BD0hzQSi.js +311 -0
  16. package/dist/chunks/communitytask-ru-DhySaZL8.js +311 -0
  17. package/dist/chunks/createLocaleLoader-BameiEhU.js +65 -0
  18. package/dist/chunks/{dynamic-import-helper-DwXlQC0S.js → dynamic-import-helper-WmIF58Sb.js} +1 -1
  19. package/dist/chunks/quest-es-D-b5xcme.js +948 -0
  20. package/dist/chunks/quest-ja-Dxd2vqBF.js +948 -0
  21. package/dist/chunks/quest-ko-CSmRWgK_.js +948 -0
  22. package/dist/chunks/quest-ru-CkEKv1_F.js +948 -0
  23. package/dist/chunks/taskwidget-es-Do9b3Mqw.js +245 -0
  24. package/dist/chunks/taskwidget-ja-CqSu-yWA.js +245 -0
  25. package/dist/chunks/taskwidget-ko-EHgXFV4B.js +245 -0
  26. package/dist/chunks/taskwidget-ru-CMbLQDK4.js +245 -0
  27. package/dist/community-task.js +1 -1
  28. package/dist/core.d.ts +17 -5
  29. package/dist/core.js +8 -7
  30. package/dist/index.d.ts +56 -5
  31. package/dist/index.js +18 -16
  32. package/dist/leaderboard.js +2 -2
  33. package/dist/page-builder.js +1 -1
  34. package/dist/quest.d.ts +682 -0
  35. package/dist/quest.js +3 -1
  36. package/dist/user-center.d.ts +3 -1
  37. package/dist/user-center.js +5 -5
  38. package/package.json +4 -1
@@ -114,9 +114,9 @@
114
114
  border: 1px solid var(--taskon-color-text);
115
115
  background: transparent;
116
116
  color: var(--taskon-color-text);
117
- font-size: 14px;
117
+ font-size: var(--taskon-font-size);
118
118
  font-weight: 500;
119
- line-height: 18px;
119
+ line-height: 1.29;
120
120
  cursor: pointer;
121
121
  transition: opacity 0.2s ease;
122
122
  white-space: nowrap;
@@ -185,9 +185,9 @@
185
185
  border: none;
186
186
  background: var(--taskon-color-bg-surface-strong);
187
187
  color: var(--taskon-color-text);
188
- font-size: 12px;
188
+ font-size: var(--taskon-font-size-sm);
189
189
  font-weight: 500;
190
- line-height: 16px;
190
+ line-height: 1.33;
191
191
  cursor: pointer;
192
192
  transition: opacity 0.2s ease;
193
193
  white-space: nowrap;
@@ -255,9 +255,9 @@
255
255
  border-radius: var(--taskon-border-radius-sm);
256
256
  border: 1px solid var(--taskon-color-border);
257
257
  color: var(--taskon-color-text-disabled);
258
- font-size: 14px;
258
+ font-size: var(--taskon-font-size);
259
259
  font-weight: 500;
260
- line-height: 18px;
260
+ line-height: 1.29;
261
261
  cursor: not-allowed;
262
262
  white-space: nowrap;
263
263
  }
@@ -271,8 +271,8 @@
271
271
  .taskon-community-task-done-countdown {
272
272
  margin-top: 10px;
273
273
  color: var(--taskon-color-text-disabled);
274
- font-size: 14px;
275
- line-height: 18px;
274
+ font-size: var(--taskon-font-size);
275
+ line-height: 1.29;
276
276
  }
277
277
 
278
278
  /* 倒计时行 */
@@ -309,7 +309,7 @@
309
309
  .taskon-community-validation-tip-text {
310
310
  margin: 0;
311
311
  color: var(--taskon-color-warning);
312
- font-size: 12px;
312
+ font-size: var(--taskon-font-size-sm);
313
313
  font-style: normal;
314
314
  font-weight: 400;
315
315
  line-height: normal;
@@ -323,8 +323,8 @@
323
323
 
324
324
  .taskon-community-task-progress-tip {
325
325
  margin-top: 8px;
326
- font-size: 12px;
327
- line-height: 16px;
326
+ font-size: var(--taskon-font-size-sm);
327
+ line-height: 1.33;
328
328
  color: var(--taskon-color-warning);
329
329
  }
330
330
 
@@ -465,8 +465,8 @@
465
465
  border-radius: var(--taskon-border-radius-sm);
466
466
  background: var(--taskon-color-bg-surface-subtle);
467
467
  color: var(--taskon-color-text-tertiary);
468
- font-size: 13px;
469
- line-height: 16px;
468
+ font-size: var(--taskon-font-size-sm);
469
+ line-height: 1.33;
470
470
  z-index: 1;
471
471
  }
472
472
 
@@ -482,9 +482,9 @@
482
482
  .taskon-community-task-title {
483
483
  margin: 0;
484
484
  padding-right: 50px;
485
- font-size: 16px;
485
+ font-size: var(--taskon-font-size-lg);
486
486
  font-weight: 600;
487
- line-height: 20px;
487
+ line-height: 1.25;
488
488
  color: var(--taskon-color-text);
489
489
  word-break: break-word;
490
490
  }
@@ -507,8 +507,8 @@
507
507
 
508
508
  .taskon-community-task-time {
509
509
  margin-top: 10px;
510
- font-size: 14px;
511
- line-height: 16px;
510
+ font-size: var(--taskon-font-size);
511
+ line-height: 1.14;
512
512
  }
513
513
 
514
514
  .taskon-community-task-time-label {
@@ -539,7 +539,7 @@
539
539
  border: none;
540
540
  background: var(--taskon-color-primary-bg);
541
541
  color: var(--taskon-color-primary);
542
- font-size: 14px;
542
+ font-size: var(--taskon-font-size);
543
543
  font-weight: 500;
544
544
  line-height: 34px;
545
545
  cursor: pointer;
@@ -585,9 +585,9 @@
585
585
  border: 1px solid var(--taskon-color-text);
586
586
  background: transparent;
587
587
  color: var(--taskon-color-text);
588
- font-size: 14px;
588
+ font-size: var(--taskon-font-size);
589
589
  font-weight: 500;
590
- line-height: 18px;
590
+ line-height: 1.29;
591
591
  cursor: pointer;
592
592
  transition: all 0.2s ease-in-out;
593
593
  }
@@ -615,8 +615,8 @@
615
615
 
616
616
  .taskon-community-task-cooldown {
617
617
  color: var(--taskon-color-text-tertiary);
618
- font-size: 14px;
619
- line-height: 18px;
618
+ font-size: var(--taskon-font-size);
619
+ line-height: 1.29;
620
620
  text-align: right;
621
621
  }
622
622
 
@@ -655,9 +655,9 @@
655
655
  align-items: center;
656
656
  border-radius: var(--taskon-border-radius-sm);
657
657
  background: var(--taskon-color-bg-surface-subtle);
658
- font-size: 14px;
658
+ font-size: var(--taskon-font-size);
659
659
  font-weight: 600;
660
- line-height: 18px;
660
+ line-height: 1.29;
661
661
  min-width: 0;
662
662
  }
663
663
 
@@ -711,8 +711,8 @@
711
711
  .taskon-community-task-won {
712
712
  display: flex;
713
713
  align-items: center;
714
- font-size: 16px;
715
- line-height: 20px;
714
+ font-size: var(--taskon-font-size-lg);
715
+ line-height: 1.25;
716
716
  min-height: 27px;
717
717
  }
718
718
 
@@ -779,9 +779,9 @@
779
779
  .taskon-community-task-won-status {
780
780
  margin-left: auto;
781
781
  color: var(--taskon-color-success);
782
- font-size: 14px;
782
+ font-size: var(--taskon-font-size);
783
783
  font-weight: 600;
784
- line-height: 18px;
784
+ line-height: 1.29;
785
785
  }
786
786
 
787
787
  /* 周期任务完成状态 - 单次奖励 + 累计奖励 */
@@ -819,8 +819,8 @@
819
819
 
820
820
  .taskon-community-task-won-text {
821
821
  color: var(--taskon-color-text-tertiary);
822
- font-size: 14px;
823
- line-height: 18px;
822
+ font-size: var(--taskon-font-size);
823
+ line-height: 1.29;
824
824
  }
825
825
 
826
826
  .taskon-community-task-won-reward {
@@ -843,9 +843,9 @@
843
843
  height: 34px;
844
844
  padding: 0 10px;
845
845
  border-radius: var(--taskon-border-radius-sm);
846
- font-size: 14px;
846
+ font-size: var(--taskon-font-size);
847
847
  font-weight: 500;
848
- line-height: 18px;
848
+ line-height: 1.29;
849
849
  }
850
850
 
851
851
  /* 审核失败:错误语义色 */
@@ -878,8 +878,8 @@
878
878
 
879
879
  .taskon-community-task-field {
880
880
  margin-top: 10px;
881
- font-size: 14px;
882
- line-height: 18px;
881
+ font-size: var(--taskon-font-size);
882
+ line-height: 1.29;
883
883
  display: flex;
884
884
  align-items: center;
885
885
  gap: 4px;
@@ -965,7 +965,7 @@
965
965
  align-items: center;
966
966
  gap: 10px;
967
967
  color: var(--taskon-color-text-tertiary);
968
- font-size: 16px;
968
+ font-size: var(--taskon-font-size-lg);
969
969
  font-style: normal;
970
970
  font-weight: 600;
971
971
  line-height: normal;
@@ -988,7 +988,7 @@
988
988
  white-space: nowrap;
989
989
  text-overflow: ellipsis;
990
990
  margin: 10px 0 0;
991
- font-size: 16px;
991
+ font-size: var(--taskon-font-size-lg);
992
992
  font-style: normal;
993
993
  font-weight: 600;
994
994
  line-height: normal;
@@ -1007,7 +1007,7 @@
1007
1007
 
1008
1008
  .taskon-eligibility-mask-cond-title {
1009
1009
  color: var(--taskon-color-text-secondary);
1010
- font-size: 14px;
1010
+ font-size: var(--taskon-font-size);
1011
1011
  font-style: normal;
1012
1012
  font-weight: 500;
1013
1013
  line-height: normal;
@@ -1029,7 +1029,7 @@
1029
1029
  border: none;
1030
1030
  border-radius: var(--taskon-border-radius-sm);
1031
1031
  height: 22px;
1032
- font-size: 12px;
1032
+ font-size: var(--taskon-font-size-sm);
1033
1033
  font-weight: 500;
1034
1034
  cursor: pointer;
1035
1035
  transition: opacity 0.2s;
@@ -1093,7 +1093,7 @@
1093
1093
  gap: 15px;
1094
1094
  height: 24px;
1095
1095
  margin-top: 6px;
1096
- font-size: 14px;
1096
+ font-size: var(--taskon-font-size);
1097
1097
  font-style: normal;
1098
1098
  font-weight: 500;
1099
1099
  line-height: normal;
@@ -1152,8 +1152,8 @@
1152
1152
  border: none;
1153
1153
  background: transparent;
1154
1154
  color: var(--taskon-color-text-tertiary);
1155
- font-size: 13px;
1156
- line-height: 16px;
1155
+ font-size: var(--taskon-font-size-sm);
1156
+ line-height: 1.33;
1157
1157
  cursor: pointer;
1158
1158
  transition: color 0.2s ease;
1159
1159
  }
@@ -1199,8 +1199,8 @@
1199
1199
 
1200
1200
  .taskon-community-pow-desc {
1201
1201
  margin-top: 10px;
1202
- font-size: 14px;
1203
- line-height: 20px;
1202
+ font-size: var(--taskon-font-size);
1203
+ line-height: 1.43;
1204
1204
  color: var(--taskon-color-text-secondary);
1205
1205
  }
1206
1206
 
@@ -1209,7 +1209,7 @@
1209
1209
  .taskon-community-pow-link {
1210
1210
  display: inline-block;
1211
1211
  margin-top: 8px;
1212
- font-size: 14px;
1212
+ font-size: var(--taskon-font-size);
1213
1213
  color: var(--taskon-color-primary);
1214
1214
  text-decoration: none;
1215
1215
  cursor: pointer;
@@ -1223,9 +1223,9 @@
1223
1223
 
1224
1224
  .taskon-community-pow-review-status {
1225
1225
  margin-top: 12px;
1226
- font-size: 14px;
1226
+ font-size: var(--taskon-font-size);
1227
1227
  font-weight: 500;
1228
- line-height: 20px;
1228
+ line-height: 1.43;
1229
1229
  }
1230
1230
 
1231
1231
  /* 审核中 */
@@ -3367,9 +3367,9 @@
3367
3367
  /* Sector 标题 */
3368
3368
 
3369
3369
  .taskon-sector-name {
3370
- font-size: 24px;
3370
+ font-size: var(--taskon-font-size-xxxl);
3371
3371
  font-weight: 700;
3372
- line-height: 40px;
3372
+ line-height: 1.67;
3373
3373
  color: var(--taskon-color-text);
3374
3374
  margin: 0;
3375
3375
  }
@@ -3379,8 +3379,8 @@
3379
3379
  .taskon-sector-desc {
3380
3380
  margin-top: 4px;
3381
3381
  color: var(--taskon-color-text-tertiary);
3382
- font-size: 16px;
3383
- line-height: 20px;
3382
+ font-size: var(--taskon-font-size-lg);
3383
+ line-height: 1.25;
3384
3384
  white-space: pre-wrap;
3385
3385
  }
3386
3386
 
@@ -3402,9 +3402,9 @@
3402
3402
  border-radius: 48px;
3403
3403
  background: var(--taskon-color-primary);
3404
3404
  color: var(--taskon-color-text-on-primary);
3405
- font-size: 18px;
3405
+ font-size: var(--taskon-font-size-xl);
3406
3406
  font-weight: 500;
3407
- line-height: 30px;
3407
+ line-height: 1.67;
3408
3408
  }
3409
3409
 
3410
3410
  .taskon-sector-point img {
@@ -3428,9 +3428,9 @@
3428
3428
  .taskon-sector-completed {
3429
3429
  margin-top: 22px;
3430
3430
  color: var(--taskon-color-text);
3431
- font-size: 16px;
3431
+ font-size: var(--taskon-font-size-lg);
3432
3432
  font-weight: 600;
3433
- line-height: 20px;
3433
+ line-height: 1.25;
3434
3434
  }
3435
3435
 
3436
3436
  /* 已完成任务列表 */
@@ -3490,7 +3490,7 @@
3490
3490
 
3491
3491
  .taskon-task-dialog-period-amount {
3492
3492
  font-size: 32px;
3493
- line-height: 40px;
3493
+ line-height: 1.25;
3494
3494
  display: flex;
3495
3495
  align-items: center;
3496
3496
  }
@@ -3516,9 +3516,9 @@
3516
3516
 
3517
3517
  .taskon-task-dialog-period-label {
3518
3518
  margin-left: 6px;
3519
- font-size: 14px;
3519
+ font-size: var(--taskon-font-size);
3520
3520
  font-weight: 600;
3521
- line-height: 28px;
3521
+ line-height: 2;
3522
3522
  }
3523
3523
 
3524
3524
  /* 周期模式 - 累计标签强调 */
@@ -3548,9 +3548,9 @@
3548
3548
  .taskon-task-dialog-cm-name {
3549
3549
  margin-left: 6px;
3550
3550
  color: var(--taskon-color-text-secondary);
3551
- font-size: 14px;
3551
+ font-size: var(--taskon-font-size);
3552
3552
  font-weight: 500;
3553
- line-height: 18px;
3553
+ line-height: 1.29;
3554
3554
  }
3555
3555
  /**
3556
3556
  * DialogTokenReward 组件样式
@@ -3579,9 +3579,9 @@
3579
3579
 
3580
3580
  .taskon-task-dialog-token-period-label {
3581
3581
  margin-left: 4px;
3582
- font-size: 14px;
3582
+ font-size: var(--taskon-font-size);
3583
3583
  font-weight: 600;
3584
- line-height: 28px;
3584
+ line-height: 2;
3585
3585
  }
3586
3586
 
3587
3587
  .taskon-task-dialog-token-period-label--em {
@@ -3665,7 +3665,7 @@
3665
3665
 
3666
3666
  .taskon-task-dialog-token-progress__content {
3667
3667
  color: var(--taskon-color-text-secondary);
3668
- font-size: 14px;
3668
+ font-size: var(--taskon-font-size);
3669
3669
  font-weight: 500;
3670
3670
  }
3671
3671
 
@@ -3705,9 +3705,9 @@
3705
3705
  margin-top: 30px;
3706
3706
  color: var(--taskon-color-primary);
3707
3707
  text-align: center;
3708
- font-size: 14px;
3708
+ font-size: var(--taskon-font-size);
3709
3709
  font-weight: 500;
3710
- line-height: 18px;
3710
+ line-height: 1.29;
3711
3711
  }
3712
3712
  /**
3713
3713
  * TaskDialogContent 组件样式
@@ -3764,8 +3764,8 @@
3764
3764
  border-radius: var(--taskon-border-radius-sm);
3765
3765
  background: var(--taskon-color-bg-surface-subtle);
3766
3766
  color: var(--taskon-color-text-secondary);
3767
- font-size: 13px;
3768
- line-height: 16px;
3767
+ font-size: var(--taskon-font-size-sm);
3768
+ line-height: 1.33;
3769
3769
  }
3770
3770
 
3771
3771
  /* ==================== 标题 ==================== */
@@ -3773,9 +3773,9 @@
3773
3773
  .taskon-task-dialog-title {
3774
3774
  margin: 20px 0 0 0;
3775
3775
  color: var(--taskon-color-text);
3776
- font-size: 22px;
3776
+ font-size: var(--taskon-font-size-xxl);
3777
3777
  font-weight: 600;
3778
- line-height: 28px;
3778
+ line-height: 1.27;
3779
3779
  }
3780
3780
 
3781
3781
  /* 标题链接样式 */
@@ -3796,8 +3796,8 @@
3796
3796
 
3797
3797
  .taskon-task-dialog-valid-time {
3798
3798
  margin-top: 15px;
3799
- font-size: 14px;
3800
- line-height: 18px;
3799
+ font-size: var(--taskon-font-size);
3800
+ line-height: 1.29;
3801
3801
  }
3802
3802
 
3803
3803
  .taskon-task-dialog-valid-time-label {
@@ -3829,7 +3829,7 @@
3829
3829
  border: none;
3830
3830
  background: var(--taskon-color-primary-bg);
3831
3831
  color: var(--taskon-color-primary);
3832
- font-size: 14px;
3832
+ font-size: var(--taskon-font-size);
3833
3833
  font-weight: 500;
3834
3834
  line-height: 40px;
3835
3835
  cursor: pointer;
@@ -3863,7 +3863,7 @@
3863
3863
  align-items: center;
3864
3864
  gap: 4px;
3865
3865
  color: var(--taskon-color-text);
3866
- font-size: 14px;
3866
+ font-size: var(--taskon-font-size);
3867
3867
  font-style: normal;
3868
3868
  font-weight: 600;
3869
3869
  line-height: normal;
@@ -3895,8 +3895,8 @@
3895
3895
 
3896
3896
  .taskon-task-dialog-rewards-label {
3897
3897
  color: var(--taskon-color-text);
3898
- font-size: 14px;
3899
- line-height: 18px;
3898
+ font-size: var(--taskon-font-size);
3899
+ line-height: 1.29;
3900
3900
  font-weight: 600;
3901
3901
  }
3902
3902
 
@@ -3908,9 +3908,9 @@
3908
3908
  background: var(--taskon-color-bg-surface-subtle);
3909
3909
  padding: 3px 12px;
3910
3910
  color: var(--taskon-color-success);
3911
- font-size: 14px;
3911
+ font-size: var(--taskon-font-size);
3912
3912
  font-weight: 600;
3913
- line-height: 18px;
3913
+ line-height: 1.29;
3914
3914
  }
3915
3915
 
3916
3916
  /* Updated at 标签 - Unlimited 任务专用,复刻 Vue updated-label */
@@ -3918,7 +3918,7 @@
3918
3918
  .taskon-task-dialog-updated {
3919
3919
  margin-left: auto;
3920
3920
  color: var(--taskon-color-text-secondary);
3921
- font-size: 12px;
3921
+ font-size: var(--taskon-font-size-sm);
3922
3922
  font-weight: 500;
3923
3923
  }
3924
3924
 
@@ -3929,8 +3929,8 @@
3929
3929
  display: flex;
3930
3930
  align-items: center;
3931
3931
  color: var(--taskon-color-text-secondary);
3932
- font-size: 13px;
3933
- line-height: 16px;
3932
+ font-size: var(--taskon-font-size-sm);
3933
+ line-height: 1.33;
3934
3934
  }
3935
3935
 
3936
3936
  /* 分隔线 */
@@ -3947,9 +3947,9 @@
3947
3947
  .taskon-task-dialog-periodic-done__time {
3948
3948
  margin-left: 4px;
3949
3949
  color: var(--taskon-color-secondary);
3950
- font-size: 14px;
3950
+ font-size: var(--taskon-font-size);
3951
3951
  font-weight: 500;
3952
- line-height: 18px;
3952
+ line-height: 1.29;
3953
3953
  }
3954
3954
 
3955
3955
  /* ==================== 积分展示 ==================== */
@@ -3973,15 +3973,15 @@
3973
3973
  color: var(--taskon-color-secondary);
3974
3974
  font-size: 32px;
3975
3975
  font-weight: 600;
3976
- line-height: 40px;
3976
+ line-height: 1.25;
3977
3977
  }
3978
3978
 
3979
3979
  .taskon-task-dialog-point-name {
3980
3980
  margin-left: auto;
3981
3981
  color: var(--taskon-color-text-secondary);
3982
- font-size: 14px;
3982
+ font-size: var(--taskon-font-size);
3983
3983
  font-weight: 500;
3984
- line-height: 18px;
3984
+ line-height: 1.29;
3985
3985
  }
3986
3986
 
3987
3987
  /* ==================== Claim 按钮 ==================== */
@@ -4004,7 +4004,7 @@
4004
4004
  .taskon-task-dialog-claim .taskon-community-task-claim {
4005
4005
  width: 100%;
4006
4006
  padding: 12px 24px;
4007
- font-size: 14px;
4007
+ font-size: var(--taskon-font-size);
4008
4008
  font-weight: 600;
4009
4009
  }
4010
4010
 
@@ -4132,8 +4132,8 @@
4132
4132
 
4133
4133
  .taskon-pow-uploader-tip {
4134
4134
  margin-top: 13px;
4135
- font-size: 14px;
4136
- line-height: 20px;
4135
+ font-size: var(--taskon-font-size);
4136
+ line-height: 1.43;
4137
4137
  letter-spacing: 0.04em;
4138
4138
  text-transform: uppercase;
4139
4139
  white-space: pre-wrap;
@@ -4179,8 +4179,8 @@
4179
4179
  .taskon-pow-dialog-error {
4180
4180
  margin-top: 15px;
4181
4181
  color: var(--taskon-color-error);
4182
- font-size: 14px;
4183
- line-height: 20px;
4182
+ font-size: var(--taskon-font-size);
4183
+ line-height: 1.43;
4184
4184
  letter-spacing: 0.04em;
4185
4185
  text-align: left;
4186
4186
  white-space: nowrap;
@@ -4204,7 +4204,7 @@
4204
4204
  var(--taskon-color-primary) 100%
4205
4205
  );
4206
4206
  color: var(--taskon-color-text-on-primary);
4207
- font-size: 14px;
4207
+ font-size: var(--taskon-font-size);
4208
4208
  font-weight: 600;
4209
4209
  line-height: 40px;
4210
4210
  cursor: pointer;
@@ -4228,7 +4228,7 @@
4228
4228
  border-radius: var(--taskon-border-radius-sm);
4229
4229
  background: var(--taskon-color-success-bg);
4230
4230
  color: var(--taskon-color-success);
4231
- font-size: 14px;
4231
+ font-size: var(--taskon-font-size);
4232
4232
  font-weight: 500;
4233
4233
  text-align: center;
4234
4234
  }
@@ -4241,9 +4241,9 @@
4241
4241
  border-radius: var(--taskon-border-radius-sm);
4242
4242
  background: var(--taskon-color-warning-bg);
4243
4243
  color: var(--taskon-color-warning);
4244
- font-size: 14px;
4244
+ font-size: var(--taskon-font-size);
4245
4245
  font-weight: 600;
4246
- line-height: 18px;
4246
+ line-height: 1.29;
4247
4247
  }
4248
4248
 
4249
4249
  .taskon-pow-dialog-status--failed {
@@ -4252,9 +4252,9 @@
4252
4252
  border-radius: var(--taskon-border-radius-sm);
4253
4253
  background: var(--taskon-color-error-bg);
4254
4254
  color: var(--taskon-color-error);
4255
- font-size: 14px;
4255
+ font-size: var(--taskon-font-size);
4256
4256
  font-weight: 600;
4257
- line-height: 18px;
4257
+ line-height: 1.29;
4258
4258
  }
4259
4259
  /**
4260
4260
  * SwapDexDialogContent 组件样式
@@ -4268,8 +4268,8 @@
4268
4268
  display: flex;
4269
4269
  align-items: center;
4270
4270
  gap: 4px;
4271
- font-size: 16px;
4272
- line-height: 20px;
4271
+ font-size: var(--taskon-font-size-lg);
4272
+ line-height: 1.25;
4273
4273
  font-weight: 500;
4274
4274
  }
4275
4275
 
@@ -4284,8 +4284,8 @@
4284
4284
 
4285
4285
  .taskon-swap-dialog-progress-total {
4286
4286
  color: var(--taskon-color-text-secondary);
4287
- font-size: 14px;
4288
- line-height: 18px;
4287
+ font-size: var(--taskon-font-size);
4288
+ line-height: 1.29;
4289
4289
  }
4290
4290
 
4291
4291
  /* ==================== 内容区块 ==================== */
@@ -4296,9 +4296,9 @@
4296
4296
 
4297
4297
  .taskon-swap-dialog-section-title {
4298
4298
  color: var(--taskon-color-text);
4299
- font-size: 14px;
4299
+ font-size: var(--taskon-font-size);
4300
4300
  font-weight: 600;
4301
- line-height: 18px;
4301
+ line-height: 1.29;
4302
4302
  }
4303
4303
 
4304
4304
  .taskon-swap-dialog-section-content {
@@ -4307,8 +4307,8 @@
4307
4307
  border-radius: var(--taskon-border-radius);
4308
4308
  background: var(--taskon-color-bg-surface-subtle);
4309
4309
  color: var(--taskon-color-text);
4310
- font-size: 14px;
4311
- line-height: 18px;
4310
+ font-size: var(--taskon-font-size);
4311
+ line-height: 1.29;
4312
4312
  }
4313
4313
 
4314
4314
  .taskon-swap-dialog-section-content--rules {
@@ -4356,7 +4356,7 @@
4356
4356
 
4357
4357
  .taskon-dialog-loading-text {
4358
4358
  color: var(--taskon-color-text-secondary);
4359
- font-size: 14px;
4359
+ font-size: var(--taskon-font-size);
4360
4360
  }
4361
4361
 
4362
4362
  @keyframes taskon-spin {
@@ -4389,7 +4389,7 @@
4389
4389
  .taskon-dialog-error-message {
4390
4390
  color: var(--taskon-color-text-secondary);
4391
4391
  margin-bottom: 16px;
4392
- font-size: 14px;
4392
+ font-size: var(--taskon-font-size);
4393
4393
  line-height: 1.5;
4394
4394
  max-width: 300px;
4395
4395
  }
@@ -4401,7 +4401,7 @@
4401
4401
  border: none;
4402
4402
  border-radius: var(--taskon-border-radius);
4403
4403
  cursor: pointer;
4404
- font-size: 14px;
4404
+ font-size: var(--taskon-font-size);
4405
4405
  font-weight: 500;
4406
4406
  transition: opacity 0.2s;
4407
4407
  }
@@ -4483,9 +4483,9 @@
4483
4483
  margin-top: 20px;
4484
4484
  color: var(--taskon-color-primary);
4485
4485
  text-align: center;
4486
- font-size: 14px;
4486
+ font-size: var(--taskon-font-size);
4487
4487
  font-weight: 500;
4488
- line-height: 18px;
4488
+ line-height: 1.29;
4489
4489
  }
4490
4490
 
4491
4491
  @supports (container-type: inline-size) {
@@ -4732,7 +4732,7 @@
4732
4732
  padding: 40px;
4733
4733
  text-align: center;
4734
4734
  color: var(--taskon-color-error);
4735
- font-size: 16px;
4735
+ font-size: var(--taskon-font-size-lg);
4736
4736
  }
4737
4737
 
4738
4738
  /* 空状态 */
@@ -4741,5 +4741,5 @@
4741
4741
  padding: 40px;
4742
4742
  text-align: center;
4743
4743
  color: var(--taskon-color-text-tertiary);
4744
- font-size: 16px;
4744
+ font-size: var(--taskon-font-size-lg);
4745
4745
  }