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

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 (58) hide show
  1. package/README.md +13 -4
  2. package/dist/CommunityTaskList.css +119 -111
  3. package/dist/EligibilityInfo.css +114 -110
  4. package/dist/LeaderboardWidget.css +73 -71
  5. package/dist/PageBuilder.css +5 -0
  6. package/dist/Quest.css +259 -255
  7. package/dist/TaskOnProvider.css +2 -0
  8. package/dist/UserCenterWidget.css +6 -6
  9. package/dist/UserCenterWidget2.css +1626 -1601
  10. package/dist/{dynamic-import-helper.css → WidgetShell.css} +2 -2
  11. package/dist/chunks/{CommunityTaskList-C9Gv8KOF.js → CommunityTaskList-Hde2OKHH.js} +1070 -580
  12. package/dist/chunks/{EligibilityInfo-D-Fuy9GE.js → EligibilityInfo-BV0Z2TgY.js} +1972 -1028
  13. package/dist/chunks/{LeaderboardWidget-BV2D2q1N.js → LeaderboardWidget-BNGRD5Bu.js} +270 -249
  14. package/dist/chunks/{PageBuilder-DQoU4Mwf.js → PageBuilder-C5DSHiW9.js} +5 -5
  15. package/dist/chunks/{Quest-B5NyVr3o.js → Quest-DG9zfXJo.js} +723 -513
  16. package/dist/chunks/{TaskOnProvider-93UxARFo.js → TaskOnProvider-BhamHIyY.js} +98 -68
  17. package/dist/chunks/{ThemeProvider-CPI_roeh.js → ThemeProvider-mXLdLSkq.js} +107 -20
  18. package/dist/chunks/{UserCenterWidget-cADBSVg7.js → UserCenterWidget-D5ttw4hO.js} +1328 -1337
  19. package/dist/chunks/{UserCenterWidget-BRtigY_S.js → UserCenterWidget-jDO5zTN1.js} +358 -254
  20. package/dist/chunks/{dynamic-import-helper-DwXlQC0S.js → WidgetShell-D7yC894Y.js} +447 -457
  21. package/dist/chunks/communitytask-es-CBNnS4o2.js +521 -0
  22. package/dist/chunks/communitytask-ja-GRf9cbdx.js +521 -0
  23. package/dist/chunks/communitytask-ko-Bf24PQKI.js +521 -0
  24. package/dist/chunks/communitytask-ru-CZm2CPoV.js +521 -0
  25. package/dist/chunks/leaderboardwidget-es-vKjrjQaz.js +146 -0
  26. package/dist/chunks/leaderboardwidget-ja-Q6u0HxKG.js +146 -0
  27. package/dist/chunks/leaderboardwidget-ko-CG6SWgxf.js +146 -0
  28. package/dist/chunks/leaderboardwidget-ru-DCcHcJGz.js +146 -0
  29. package/dist/chunks/quest-es-Dyyy0zaw.js +863 -0
  30. package/dist/chunks/quest-ja-Depog33y.js +863 -0
  31. package/dist/chunks/quest-ko-BMu3uRQJ.js +863 -0
  32. package/dist/chunks/quest-ru-xne814Rw.js +863 -0
  33. package/dist/chunks/taskwidget-es-Do9b3Mqw.js +245 -0
  34. package/dist/chunks/taskwidget-ja-CqSu-yWA.js +245 -0
  35. package/dist/chunks/taskwidget-ko-EHgXFV4B.js +245 -0
  36. package/dist/chunks/taskwidget-ru-CMbLQDK4.js +245 -0
  37. package/dist/chunks/usercenter-es-Dz3Wp2vV.js +512 -0
  38. package/dist/chunks/usercenter-ja-CKE4DJC6.js +512 -0
  39. package/dist/chunks/usercenter-ko-Dtpkn2qb.js +512 -0
  40. package/dist/chunks/usercenter-ru-DnBGee45.js +512 -0
  41. package/dist/community-task.d.ts +0 -390
  42. package/dist/community-task.js +2 -7
  43. package/dist/core.d.ts +46 -10
  44. package/dist/core.js +11 -11
  45. package/dist/index.d.ts +46 -667
  46. package/dist/index.js +19 -28
  47. package/dist/leaderboard.d.ts +0 -498
  48. package/dist/leaderboard.js +2 -16
  49. package/dist/page-builder.js +1 -1
  50. package/dist/quest.d.ts +0 -289
  51. package/dist/quest.js +2 -5
  52. package/dist/user-center.d.ts +0 -1608
  53. package/dist/user-center.js +2 -494
  54. package/package.json +5 -2
  55. package/dist/chunks/leaderboardwidget-ja-Bj6gz6y1.js +0 -119
  56. package/dist/chunks/leaderboardwidget-ko-f1cLO9ic.js +0 -119
  57. package/dist/chunks/usercenter-ja-B2465c1O.js +0 -326
  58. package/dist/chunks/usercenter-ko-xAEYxqLg.js +0 -326
@@ -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
  /* 审核中 */
@@ -3330,6 +3330,8 @@
3330
3330
  margin-top: 8px;
3331
3331
  font-size: 14px;
3332
3332
  color: var(--taskon-color-text-secondary);
3333
+ overflow-wrap: anywhere;
3334
+ word-break: break-word;
3333
3335
  }
3334
3336
  /**
3335
3337
  * SectorItem 组件样式
@@ -3367,9 +3369,9 @@
3367
3369
  /* Sector 标题 */
3368
3370
 
3369
3371
  .taskon-sector-name {
3370
- font-size: 24px;
3372
+ font-size: var(--taskon-font-size-xxxl);
3371
3373
  font-weight: 700;
3372
- line-height: 40px;
3374
+ line-height: 1.67;
3373
3375
  color: var(--taskon-color-text);
3374
3376
  margin: 0;
3375
3377
  }
@@ -3379,8 +3381,8 @@
3379
3381
  .taskon-sector-desc {
3380
3382
  margin-top: 4px;
3381
3383
  color: var(--taskon-color-text-tertiary);
3382
- font-size: 16px;
3383
- line-height: 20px;
3384
+ font-size: var(--taskon-font-size-lg);
3385
+ line-height: 1.25;
3384
3386
  white-space: pre-wrap;
3385
3387
  }
3386
3388
 
@@ -3402,9 +3404,9 @@
3402
3404
  border-radius: 48px;
3403
3405
  background: var(--taskon-color-primary);
3404
3406
  color: var(--taskon-color-text-on-primary);
3405
- font-size: 18px;
3407
+ font-size: var(--taskon-font-size-xl);
3406
3408
  font-weight: 500;
3407
- line-height: 30px;
3409
+ line-height: 1.67;
3408
3410
  }
3409
3411
 
3410
3412
  .taskon-sector-point img {
@@ -3428,9 +3430,9 @@
3428
3430
  .taskon-sector-completed {
3429
3431
  margin-top: 22px;
3430
3432
  color: var(--taskon-color-text);
3431
- font-size: 16px;
3433
+ font-size: var(--taskon-font-size-lg);
3432
3434
  font-weight: 600;
3433
- line-height: 20px;
3435
+ line-height: 1.25;
3434
3436
  }
3435
3437
 
3436
3438
  /* 已完成任务列表 */
@@ -3490,7 +3492,7 @@
3490
3492
 
3491
3493
  .taskon-task-dialog-period-amount {
3492
3494
  font-size: 32px;
3493
- line-height: 40px;
3495
+ line-height: 1.25;
3494
3496
  display: flex;
3495
3497
  align-items: center;
3496
3498
  }
@@ -3516,9 +3518,9 @@
3516
3518
 
3517
3519
  .taskon-task-dialog-period-label {
3518
3520
  margin-left: 6px;
3519
- font-size: 14px;
3521
+ font-size: var(--taskon-font-size);
3520
3522
  font-weight: 600;
3521
- line-height: 28px;
3523
+ line-height: 2;
3522
3524
  }
3523
3525
 
3524
3526
  /* 周期模式 - 累计标签强调 */
@@ -3548,9 +3550,9 @@
3548
3550
  .taskon-task-dialog-cm-name {
3549
3551
  margin-left: 6px;
3550
3552
  color: var(--taskon-color-text-secondary);
3551
- font-size: 14px;
3553
+ font-size: var(--taskon-font-size);
3552
3554
  font-weight: 500;
3553
- line-height: 18px;
3555
+ line-height: 1.29;
3554
3556
  }
3555
3557
  /**
3556
3558
  * DialogTokenReward 组件样式
@@ -3579,9 +3581,9 @@
3579
3581
 
3580
3582
  .taskon-task-dialog-token-period-label {
3581
3583
  margin-left: 4px;
3582
- font-size: 14px;
3584
+ font-size: var(--taskon-font-size);
3583
3585
  font-weight: 600;
3584
- line-height: 28px;
3586
+ line-height: 2;
3585
3587
  }
3586
3588
 
3587
3589
  .taskon-task-dialog-token-period-label--em {
@@ -3665,7 +3667,7 @@
3665
3667
 
3666
3668
  .taskon-task-dialog-token-progress__content {
3667
3669
  color: var(--taskon-color-text-secondary);
3668
- font-size: 14px;
3670
+ font-size: var(--taskon-font-size);
3669
3671
  font-weight: 500;
3670
3672
  }
3671
3673
 
@@ -3705,9 +3707,9 @@
3705
3707
  margin-top: 30px;
3706
3708
  color: var(--taskon-color-primary);
3707
3709
  text-align: center;
3708
- font-size: 14px;
3710
+ font-size: var(--taskon-font-size);
3709
3711
  font-weight: 500;
3710
- line-height: 18px;
3712
+ line-height: 1.29;
3711
3713
  }
3712
3714
  /**
3713
3715
  * TaskDialogContent 组件样式
@@ -3764,8 +3766,8 @@
3764
3766
  border-radius: var(--taskon-border-radius-sm);
3765
3767
  background: var(--taskon-color-bg-surface-subtle);
3766
3768
  color: var(--taskon-color-text-secondary);
3767
- font-size: 13px;
3768
- line-height: 16px;
3769
+ font-size: var(--taskon-font-size-sm);
3770
+ line-height: 1.33;
3769
3771
  }
3770
3772
 
3771
3773
  /* ==================== 标题 ==================== */
@@ -3773,9 +3775,9 @@
3773
3775
  .taskon-task-dialog-title {
3774
3776
  margin: 20px 0 0 0;
3775
3777
  color: var(--taskon-color-text);
3776
- font-size: 22px;
3778
+ font-size: var(--taskon-font-size-xxl);
3777
3779
  font-weight: 600;
3778
- line-height: 28px;
3780
+ line-height: 1.27;
3779
3781
  }
3780
3782
 
3781
3783
  /* 标题链接样式 */
@@ -3796,8 +3798,8 @@
3796
3798
 
3797
3799
  .taskon-task-dialog-valid-time {
3798
3800
  margin-top: 15px;
3799
- font-size: 14px;
3800
- line-height: 18px;
3801
+ font-size: var(--taskon-font-size);
3802
+ line-height: 1.29;
3801
3803
  }
3802
3804
 
3803
3805
  .taskon-task-dialog-valid-time-label {
@@ -3829,7 +3831,7 @@
3829
3831
  border: none;
3830
3832
  background: var(--taskon-color-primary-bg);
3831
3833
  color: var(--taskon-color-primary);
3832
- font-size: 14px;
3834
+ font-size: var(--taskon-font-size);
3833
3835
  font-weight: 500;
3834
3836
  line-height: 40px;
3835
3837
  cursor: pointer;
@@ -3863,7 +3865,7 @@
3863
3865
  align-items: center;
3864
3866
  gap: 4px;
3865
3867
  color: var(--taskon-color-text);
3866
- font-size: 14px;
3868
+ font-size: var(--taskon-font-size);
3867
3869
  font-style: normal;
3868
3870
  font-weight: 600;
3869
3871
  line-height: normal;
@@ -3895,8 +3897,8 @@
3895
3897
 
3896
3898
  .taskon-task-dialog-rewards-label {
3897
3899
  color: var(--taskon-color-text);
3898
- font-size: 14px;
3899
- line-height: 18px;
3900
+ font-size: var(--taskon-font-size);
3901
+ line-height: 1.29;
3900
3902
  font-weight: 600;
3901
3903
  }
3902
3904
 
@@ -3908,9 +3910,9 @@
3908
3910
  background: var(--taskon-color-bg-surface-subtle);
3909
3911
  padding: 3px 12px;
3910
3912
  color: var(--taskon-color-success);
3911
- font-size: 14px;
3913
+ font-size: var(--taskon-font-size);
3912
3914
  font-weight: 600;
3913
- line-height: 18px;
3915
+ line-height: 1.29;
3914
3916
  }
3915
3917
 
3916
3918
  /* Updated at 标签 - Unlimited 任务专用,复刻 Vue updated-label */
@@ -3918,7 +3920,7 @@
3918
3920
  .taskon-task-dialog-updated {
3919
3921
  margin-left: auto;
3920
3922
  color: var(--taskon-color-text-secondary);
3921
- font-size: 12px;
3923
+ font-size: var(--taskon-font-size-sm);
3922
3924
  font-weight: 500;
3923
3925
  }
3924
3926
 
@@ -3929,8 +3931,8 @@
3929
3931
  display: flex;
3930
3932
  align-items: center;
3931
3933
  color: var(--taskon-color-text-secondary);
3932
- font-size: 13px;
3933
- line-height: 16px;
3934
+ font-size: var(--taskon-font-size-sm);
3935
+ line-height: 1.33;
3934
3936
  }
3935
3937
 
3936
3938
  /* 分隔线 */
@@ -3947,9 +3949,9 @@
3947
3949
  .taskon-task-dialog-periodic-done__time {
3948
3950
  margin-left: 4px;
3949
3951
  color: var(--taskon-color-secondary);
3950
- font-size: 14px;
3952
+ font-size: var(--taskon-font-size);
3951
3953
  font-weight: 500;
3952
- line-height: 18px;
3954
+ line-height: 1.29;
3953
3955
  }
3954
3956
 
3955
3957
  /* ==================== 积分展示 ==================== */
@@ -3973,15 +3975,15 @@
3973
3975
  color: var(--taskon-color-secondary);
3974
3976
  font-size: 32px;
3975
3977
  font-weight: 600;
3976
- line-height: 40px;
3978
+ line-height: 1.25;
3977
3979
  }
3978
3980
 
3979
3981
  .taskon-task-dialog-point-name {
3980
3982
  margin-left: auto;
3981
3983
  color: var(--taskon-color-text-secondary);
3982
- font-size: 14px;
3984
+ font-size: var(--taskon-font-size);
3983
3985
  font-weight: 500;
3984
- line-height: 18px;
3986
+ line-height: 1.29;
3985
3987
  }
3986
3988
 
3987
3989
  /* ==================== Claim 按钮 ==================== */
@@ -4004,7 +4006,7 @@
4004
4006
  .taskon-task-dialog-claim .taskon-community-task-claim {
4005
4007
  width: 100%;
4006
4008
  padding: 12px 24px;
4007
- font-size: 14px;
4009
+ font-size: var(--taskon-font-size);
4008
4010
  font-weight: 600;
4009
4011
  }
4010
4012
 
@@ -4132,8 +4134,8 @@
4132
4134
 
4133
4135
  .taskon-pow-uploader-tip {
4134
4136
  margin-top: 13px;
4135
- font-size: 14px;
4136
- line-height: 20px;
4137
+ font-size: var(--taskon-font-size);
4138
+ line-height: 1.43;
4137
4139
  letter-spacing: 0.04em;
4138
4140
  text-transform: uppercase;
4139
4141
  white-space: pre-wrap;
@@ -4179,11 +4181,13 @@
4179
4181
  .taskon-pow-dialog-error {
4180
4182
  margin-top: 15px;
4181
4183
  color: var(--taskon-color-error);
4182
- font-size: 14px;
4183
- line-height: 20px;
4184
+ font-size: var(--taskon-font-size);
4185
+ line-height: 1.43;
4184
4186
  letter-spacing: 0.04em;
4185
4187
  text-align: left;
4186
- white-space: nowrap;
4188
+ white-space: normal;
4189
+ overflow-wrap: anywhere;
4190
+ word-break: break-word;
4187
4191
  }
4188
4192
 
4189
4193
  /* ==================== 提交按钮 ==================== */
@@ -4204,7 +4208,7 @@
4204
4208
  var(--taskon-color-primary) 100%
4205
4209
  );
4206
4210
  color: var(--taskon-color-text-on-primary);
4207
- font-size: 14px;
4211
+ font-size: var(--taskon-font-size);
4208
4212
  font-weight: 600;
4209
4213
  line-height: 40px;
4210
4214
  cursor: pointer;
@@ -4228,7 +4232,7 @@
4228
4232
  border-radius: var(--taskon-border-radius-sm);
4229
4233
  background: var(--taskon-color-success-bg);
4230
4234
  color: var(--taskon-color-success);
4231
- font-size: 14px;
4235
+ font-size: var(--taskon-font-size);
4232
4236
  font-weight: 500;
4233
4237
  text-align: center;
4234
4238
  }
@@ -4241,9 +4245,9 @@
4241
4245
  border-radius: var(--taskon-border-radius-sm);
4242
4246
  background: var(--taskon-color-warning-bg);
4243
4247
  color: var(--taskon-color-warning);
4244
- font-size: 14px;
4248
+ font-size: var(--taskon-font-size);
4245
4249
  font-weight: 600;
4246
- line-height: 18px;
4250
+ line-height: 1.29;
4247
4251
  }
4248
4252
 
4249
4253
  .taskon-pow-dialog-status--failed {
@@ -4252,9 +4256,9 @@
4252
4256
  border-radius: var(--taskon-border-radius-sm);
4253
4257
  background: var(--taskon-color-error-bg);
4254
4258
  color: var(--taskon-color-error);
4255
- font-size: 14px;
4259
+ font-size: var(--taskon-font-size);
4256
4260
  font-weight: 600;
4257
- line-height: 18px;
4261
+ line-height: 1.29;
4258
4262
  }
4259
4263
  /**
4260
4264
  * SwapDexDialogContent 组件样式
@@ -4268,8 +4272,8 @@
4268
4272
  display: flex;
4269
4273
  align-items: center;
4270
4274
  gap: 4px;
4271
- font-size: 16px;
4272
- line-height: 20px;
4275
+ font-size: var(--taskon-font-size-lg);
4276
+ line-height: 1.25;
4273
4277
  font-weight: 500;
4274
4278
  }
4275
4279
 
@@ -4284,8 +4288,8 @@
4284
4288
 
4285
4289
  .taskon-swap-dialog-progress-total {
4286
4290
  color: var(--taskon-color-text-secondary);
4287
- font-size: 14px;
4288
- line-height: 18px;
4291
+ font-size: var(--taskon-font-size);
4292
+ line-height: 1.29;
4289
4293
  }
4290
4294
 
4291
4295
  /* ==================== 内容区块 ==================== */
@@ -4296,9 +4300,9 @@
4296
4300
 
4297
4301
  .taskon-swap-dialog-section-title {
4298
4302
  color: var(--taskon-color-text);
4299
- font-size: 14px;
4303
+ font-size: var(--taskon-font-size);
4300
4304
  font-weight: 600;
4301
- line-height: 18px;
4305
+ line-height: 1.29;
4302
4306
  }
4303
4307
 
4304
4308
  .taskon-swap-dialog-section-content {
@@ -4307,8 +4311,8 @@
4307
4311
  border-radius: var(--taskon-border-radius);
4308
4312
  background: var(--taskon-color-bg-surface-subtle);
4309
4313
  color: var(--taskon-color-text);
4310
- font-size: 14px;
4311
- line-height: 18px;
4314
+ font-size: var(--taskon-font-size);
4315
+ line-height: 1.29;
4312
4316
  }
4313
4317
 
4314
4318
  .taskon-swap-dialog-section-content--rules {
@@ -4356,7 +4360,7 @@
4356
4360
 
4357
4361
  .taskon-dialog-loading-text {
4358
4362
  color: var(--taskon-color-text-secondary);
4359
- font-size: 14px;
4363
+ font-size: var(--taskon-font-size);
4360
4364
  }
4361
4365
 
4362
4366
  @keyframes taskon-spin {
@@ -4389,9 +4393,11 @@
4389
4393
  .taskon-dialog-error-message {
4390
4394
  color: var(--taskon-color-text-secondary);
4391
4395
  margin-bottom: 16px;
4392
- font-size: 14px;
4396
+ font-size: var(--taskon-font-size);
4393
4397
  line-height: 1.5;
4394
4398
  max-width: 300px;
4399
+ overflow-wrap: anywhere;
4400
+ word-break: break-word;
4395
4401
  }
4396
4402
 
4397
4403
  .taskon-dialog-error-retry {
@@ -4401,7 +4407,7 @@
4401
4407
  border: none;
4402
4408
  border-radius: var(--taskon-border-radius);
4403
4409
  cursor: pointer;
4404
- font-size: 14px;
4410
+ font-size: var(--taskon-font-size);
4405
4411
  font-weight: 500;
4406
4412
  transition: opacity 0.2s;
4407
4413
  }
@@ -4483,9 +4489,9 @@
4483
4489
  margin-top: 20px;
4484
4490
  color: var(--taskon-color-primary);
4485
4491
  text-align: center;
4486
- font-size: 14px;
4492
+ font-size: var(--taskon-font-size);
4487
4493
  font-weight: 500;
4488
- line-height: 18px;
4494
+ line-height: 1.29;
4489
4495
  }
4490
4496
 
4491
4497
  @supports (container-type: inline-size) {
@@ -4732,7 +4738,9 @@
4732
4738
  padding: 40px;
4733
4739
  text-align: center;
4734
4740
  color: var(--taskon-color-error);
4735
- font-size: 16px;
4741
+ font-size: var(--taskon-font-size-lg);
4742
+ overflow-wrap: anywhere;
4743
+ word-break: break-word;
4736
4744
  }
4737
4745
 
4738
4746
  /* 空状态 */
@@ -4741,5 +4749,5 @@
4741
4749
  padding: 40px;
4742
4750
  text-align: center;
4743
4751
  color: var(--taskon-color-text-tertiary);
4744
- font-size: 16px;
4752
+ font-size: var(--taskon-font-size-lg);
4745
4753
  }