@mptw/skylens-ui 1.4.14 → 1.4.16

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/assets/css/layout.styl +5 -5
  2. package/components/SLAlertModal.vue +4 -4
  3. package/components/SLButton.vue +29 -29
  4. package/components/SLCalendarButton.vue +1 -1
  5. package/components/SLCalendarPopup.vue +4 -4
  6. package/components/SLCard.vue +5 -5
  7. package/components/SLCircleButton.vue +5 -5
  8. package/components/SLCollapsableBlock.vue +1 -1
  9. package/components/SLCollapsableMulitPillSelect.vue +2 -2
  10. package/components/SLConfirmModal.vue +1 -1
  11. package/components/SLDateInput.vue +6 -6
  12. package/components/SLDownloadButton.vue +3 -3
  13. package/components/SLDropdown.vue +2 -2
  14. package/components/SLDropdownItem.vue +2 -2
  15. package/components/SLElementWithTitle.vue +1 -1
  16. package/components/SLFileInput.vue +2 -2
  17. package/components/SLGenderAgeSelect.vue +3 -3
  18. package/components/SLHourRangeInput.vue +2 -2
  19. package/components/SLIOSSwitch.vue +2 -2
  20. package/components/SLIconButton.vue +4 -4
  21. package/components/SLInfoTip.vue +1 -1
  22. package/components/SLInsightSitePage.vue +1 -1
  23. package/components/SLLegend.vue +1 -1
  24. package/components/SLLoading.vue +5 -5
  25. package/components/SLModal.vue +1 -1
  26. package/components/SLMonthCalendarButton.vue +3 -3
  27. package/components/SLMonthPicker.vue +2 -2
  28. package/components/SLMultiEmailInput.vue +7 -7
  29. package/components/SLMultiSelect.vue +3 -3
  30. package/components/SLNoData.vue +1 -1
  31. package/components/SLPillCheckbox.vue +16 -21
  32. package/components/SLPillLabel.vue +17 -17
  33. package/components/SLPopupMenuButton.vue +2 -2
  34. package/components/SLProfileButton.vue +3 -3
  35. package/components/SLProjectShareItem.vue +3 -3
  36. package/components/SLRadioGroup.vue +17 -17
  37. package/components/SLRangeInput.vue +2 -2
  38. package/components/SLRightSider.vue +5 -5
  39. package/components/SLSearchInput.vue +2 -2
  40. package/components/SLSelect.vue +6 -6
  41. package/components/SLSelectAllToggle.vue +11 -11
  42. package/components/SLSiderbarNav.vue +14 -14
  43. package/components/SLSkyInsightSitePage.vue +1 -1
  44. package/components/SLSortByDropdown.vue +3 -3
  45. package/components/SLStayRangeInput.vue +2 -2
  46. package/components/SLTab.vue +12 -3
  47. package/components/SLTable.vue +10 -10
  48. package/components/SLTableTooltip.vue +2 -2
  49. package/components/SLTabs.vue +14 -10
  50. package/components/SLTextInput.vue +9 -9
  51. package/components/SLTextarea.vue +3 -3
  52. package/components/SLToast.vue +1 -1
  53. package/components/SLToggleButton.vue +2 -2
  54. package/components/SLTwoLayerMultiSelect.vue +5 -5
  55. package/components/SLTwoLayerSelect.vue +3 -3
  56. package/components/SLTwoLayerSingleSelect.vue +1 -1
  57. package/package.json +1 -1
  58. package/tailwind.config.js +59 -103
@@ -31,7 +31,7 @@ label
31
31
  @apply absolute top-0 right-0 bottom-0 w-1 rounded-full
32
32
 
33
33
  .indicator
34
- @apply w-full h-12 bg-primary-lighter rounded-full
34
+ @apply w-full h-12 bg-primary-300 rounded-full
35
35
 
36
36
  .markdown-content
37
37
  @apply text-base leading-relaxed
@@ -65,11 +65,11 @@ label
65
65
 
66
66
  /* Handle */
67
67
  &::-webkit-scrollbar-thumb
68
- @apply bg-primary-lighter rounded
68
+ @apply bg-primary-300 rounded
69
69
 
70
70
  /* Handle on hover */
71
71
  &::-webkit-scrollbar-thumb:hover
72
- @apply bg-primary-light
72
+ @apply bg-primary-500
73
73
 
74
74
  .custom-scrollbar-x
75
75
  @apply overflow-x-auto overflow-y-hidden
@@ -85,11 +85,11 @@ label
85
85
 
86
86
  /* Handle */
87
87
  &::-webkit-scrollbar-thumb
88
- @apply bg-secondary-new rounded
88
+ @apply bg-secondary rounded
89
89
 
90
90
  /* Handle on hover */
91
91
  &::-webkit-scrollbar-thumb:hover
92
- @apply bg-secondary-new
92
+ @apply bg-secondary
93
93
 
94
94
  .fade-enter-active, .fade-leave-active
95
95
  @apply transition-opacity
@@ -12,11 +12,11 @@ SLModal(
12
12
  SLIcon(
13
13
  v-if="color === 'primary'"
14
14
  icon="check-circle"
15
- ).text-secondary
15
+ ).text-highlight-500
16
16
  SLIcon(
17
17
  v-else
18
18
  icon="exclamation-triangle"
19
- :class="color === '' ? '' : `text-${color}-hover`"
19
+ :class="{ 'text-primary-600': text === 'primary-600', 'text-highlight-500': text === 'highlight-500', 'text-danger-light': text === 'danger-light' }"
20
20
  )
21
21
  p(v-html='message')
22
22
  template(#footer)
@@ -47,9 +47,9 @@ export default defineComponent({
47
47
  },
48
48
  color: {
49
49
  type: String,
50
- default: "secondary",
50
+ default: "highlight-500",
51
51
  validator: (value: string) =>
52
- ["", "primary", "secondary", "danger"].includes(value),
52
+ ["", "primary-600", "highlight-500", "danger-light"].includes(value),
53
53
  },
54
54
  message: {
55
55
  type: String,
@@ -33,13 +33,13 @@ export default defineComponent({
33
33
  "",
34
34
  "white",
35
35
  "primary",
36
- "primary-hover",
37
- "secondary",
36
+ "primary-600",
37
+ "highlight-500",
38
38
  "third",
39
39
  "danger",
40
- "cancel",
40
+ "gray-5",
41
41
  "gray-2",
42
- "secondary-new",
42
+ "secondary",
43
43
  "blue-1",
44
44
  "insight-title-line",
45
45
  ].includes(val),
@@ -140,32 +140,32 @@ export default defineComponent({
140
140
  border-color white transparent transparent transparent
141
141
 
142
142
  &-primary
143
- @apply bg-primary border-primary text-gray s("hover:bg-primary-hover") s("hover:border-primary-hover")
143
+ @apply bg-primary border-primary text-white s("hover:bg-primary-600") s("hover:border-primary-600")
144
144
 
145
145
  &.btn-outline
146
- @apply text-primary s("hover:text-primary-hover")
146
+ @apply text-primary s("hover:text-primary-600")
147
147
 
148
148
  .btn-loading
149
149
  .loading
150
150
  div
151
151
  border-color theme('colors.primary.DEFAULT') transparent transparent transparent
152
152
 
153
- &-primary-hover
154
- @apply bg-primary-hover border-primary-hover text-gray s("hover:bg-primary-lighter") s("hover:border-primary-lighter")
153
+ &-primary-600
154
+ @apply bg-primary-600 border-primary-600 text-white s("hover:bg-primary-300") s("hover:border-primary-300")
155
155
 
156
156
  &.btn-outline
157
- @apply text-primary-hover s("hover:text-primary-lighter")
157
+ @apply text-primary-600 s("hover:text-primary-300")
158
158
 
159
159
  .btn-loading
160
160
  .loading
161
161
  div
162
162
  border-color theme('colors.primary.hover') transparent transparent transparent
163
163
 
164
- &-secondary
165
- @apply bg-secondary border-secondary text-gray s("hover:bg-secondary-hover") s("hover:text-white") s("hover:border-secondary-hover")
164
+ &-highlight-500
165
+ @apply bg-highlight-500 border-highlight-500 text-white s("hover:bg-highlight-400") s("hover:text-white") s("hover:border-highlight-400")
166
166
 
167
167
  &.btn-outline
168
- @apply text-secondary s("hover:text-secondary-hover")
168
+ @apply text-highlight-500 s("hover:text-highlight-400")
169
169
 
170
170
  .btn-loading
171
171
  .loading
@@ -173,10 +173,10 @@ export default defineComponent({
173
173
  border-color theme('colors.secondary.hover') transparent transparent transparent
174
174
 
175
175
  &-third
176
- @apply bg-third-7 border-third-7 text-white s("hover:bg-third-hover") s("hover:text-white") s("hover:border-third-hover")
176
+ @apply bg-third border-third text-white s("hover:bg-third-600") s("hover:text-white") s("hover:border-third-600")
177
177
 
178
178
  &.btn-outline
179
- @apply text-third-7 s("hover:text-third-hover")
179
+ @apply text-third s("hover:text-third-600")
180
180
 
181
181
  .btn-loading
182
182
  .loading
@@ -184,26 +184,26 @@ export default defineComponent({
184
184
  border-color theme('colors.third.hover') transparent transparent transparent
185
185
 
186
186
  &-danger
187
- @apply bg-danger border-danger text-white s("hover:bg-danger-hover") s("hover:border-danger-hover")
187
+ @apply bg-danger border-danger text-white s("hover:bg-danger-light") s("hover:border-danger-light")
188
188
 
189
189
  &.btn-outline
190
- @apply text-danger s("hover:text-danger-hover")
190
+ @apply text-danger s("hover:text-danger-light")
191
191
 
192
192
  .btn-loading
193
193
  .loading
194
194
  div
195
195
  border-color theme('colors.danger.hover') transparent transparent transparent
196
196
 
197
- &-cancel
198
- @apply bg-cancel border-cancel text-gray-2 s("hover:bg-cancel-hover") s("hover:border-cancel-hover")
197
+ &-gray-5
198
+ @apply bg-gray-5 border-gray-5 text-gray-2 s("hover:bg-gray-4.5") s("hover:border-gray-4.5")
199
199
 
200
200
  &.btn-outline
201
- @apply text-cancel s("hover:text-cancel-hover")
201
+ @apply text-gray-5 s("hover:text-gray-4.5")
202
202
 
203
203
  .btn-loading
204
204
  .loading
205
205
  div
206
- border-color theme('colors.cancel.hover') transparent transparent transparent
206
+ border-color theme('colors.cancel["4.5"]') transparent transparent transparent
207
207
 
208
208
  &-gray-2
209
209
  @apply bg-gray-2 border-gray-2 text-white s("hover:bg-gray-3") s("hover:border-gray-3")
@@ -216,19 +216,19 @@ export default defineComponent({
216
216
  div
217
217
  border-color theme('colors.gray.3') transparent transparent transparent
218
218
 
219
- &-secondary-new
220
- @apply bg-secondary-new border-secondary-new text-white s("hover:bg-secondary-new") s("hover:border-secondary-new")
219
+ &-secondary
220
+ @apply bg-secondary border-secondary text-white s("hover:bg-secondary") s("hover:border-secondary")
221
221
 
222
222
  &.btn-outline
223
- @apply text-secondary-new s("hover:text-secondary-new")
223
+ @apply text-secondary s("hover:text-secondary")
224
224
 
225
225
  .btn-loading
226
226
  .loading
227
227
  div
228
- border-color theme('colors.secondary.new') transparent transparent transparent
228
+ border-color theme('colors.secondary.DEFAULT') transparent transparent transparent
229
229
 
230
230
  &-blue-1
231
- @apply bg-secondary-new border-secondary-new text-white s("hover:bg-blue-1") s("hover:border-blue-1")
231
+ @apply bg-secondary border-secondary text-white s("hover:bg-blue-1") s("hover:border-blue-1")
232
232
 
233
233
  &.btn-outline
234
234
  @apply text-blue-1 s("hover:text-blue-1")
@@ -253,16 +253,16 @@ export default defineComponent({
253
253
  @apply bg-transparent border s("hover:bg-white")
254
254
 
255
255
  &-disabled
256
- @apply bg-cancel border-cancel text-white cursor-default s("hover:bg-cancel") s("hover:border-cancel") s("hover:text-white")
256
+ @apply bg-gray-5 border-gray-5 text-white cursor-default s("hover:bg-gray-5") s("hover:border-gray-5") s("hover:text-white")
257
257
 
258
258
  &.btn-outline
259
- @apply bg-cancel border-cancel text-white s("hover:bg-cancel") s("hover:border-cancel") s("hover:text-white")
259
+ @apply bg-gray-5 border-gray-5 text-white s("hover:bg-gray-5") s("hover:border-gray-5") s("hover:text-white")
260
260
 
261
261
  &.btn-icon
262
- @apply bg-transparent border-transparent text-cancel s("hover:bg-transparent") s("hover:border-transparent") s("hover:text-cancel")
262
+ @apply bg-transparent border-transparent text-gray-5 s("hover:bg-transparent") s("hover:border-transparent") s("hover:text-gray-5")
263
263
 
264
264
  &.loading
265
- @apply bg-line border-line cursor-default
265
+ @apply bg-primary-200 border-primary-200 cursor-default
266
266
 
267
267
  .btn-content
268
268
  @apply opacity-0
@@ -256,7 +256,7 @@ export default defineComponent({
256
256
  @apply flex-grow-0 flex-shrink-0 block w-px s('h-4.75') ml-2 s('mr-1.75') bg-primary
257
257
 
258
258
  .range-days
259
- @apply block s('ml-0.5') px-1 s('py-0.5') bg-bg-middle rounded text-xs text-primary
259
+ @apply block s('ml-0.5') px-1 s('py-0.5') bg-primary-50 rounded text-xs text-primary
260
260
 
261
261
  .compare-date-range
262
262
  @apply pl-1 space-x-2 text-sm text-gray-3
@@ -91,7 +91,7 @@
91
91
  .actions
92
92
  SLButton(
93
93
  size="lg"
94
- color="cancel"
94
+ color="gray-5"
95
95
  title="取消"
96
96
  @click="onClickedCancel"
97
97
  )
@@ -759,7 +759,7 @@ export default defineComponent({
759
759
 
760
760
  <style lang="stylus">
761
761
  .calendar-popup
762
- @apply w-auto py-4 border border-bg rounded-lg bg-white shadow-md overflow-hidden
762
+ @apply w-auto py-4 border border-primary-100 rounded-lg bg-white shadow-md overflow-hidden
763
763
 
764
764
  .popup-body
765
765
  @apply flex s('mb-2.5') divide-x divide-gray-4
@@ -783,10 +783,10 @@ export default defineComponent({
783
783
  @apply relative
784
784
 
785
785
  .quick-button
786
- @apply relative block s('w-[7.4375rem]') s('pl-6.5') s('py-2') space-y-1 bg-white text-gray-3 s('hover:bg-bg') s('hover:text-gray-2')
786
+ @apply relative block s('w-[7.4375rem]') s('pl-6.5') s('py-2') space-y-1 bg-white text-gray-3 s('hover:bg-primary-100') s('hover:text-gray-2')
787
787
 
788
788
  &.selected
789
- @apply bg-bg text-primary s('hover:text-primary')
789
+ @apply bg-primary-100 text-primary s('hover:text-primary')
790
790
 
791
791
  &:before
792
792
  content ''
@@ -67,13 +67,13 @@ export default defineComponent({
67
67
  @apply border-0 rounded-none shadow-none
68
68
 
69
69
  .card
70
- @apply rounded-lg border-primary-lighter shadow-md
70
+ @apply rounded-lg border-primary-300 shadow-md
71
71
 
72
72
  .card
73
73
  @apply border-0 rounded-none shadow-none
74
74
 
75
75
  .card
76
- @apply p-4 border border-border rounded bg-white shadow
76
+ @apply p-4 border border-primary-600 rounded bg-white shadow
77
77
 
78
78
  .card-header
79
79
  @apply flex justify-between mb-4
@@ -88,7 +88,7 @@ export default defineComponent({
88
88
  @apply ml-2
89
89
 
90
90
  &-border
91
- @apply s('h-0.5') rounded-full bg-secondary
91
+ @apply s('h-0.5') rounded-full bg-highlight-500
92
92
 
93
93
  .card-desc
94
94
  @apply text-base text-gray-2
@@ -103,10 +103,10 @@ export default defineComponent({
103
103
  @apply relative
104
104
 
105
105
  .card-footer
106
- @apply mt-4 pb-2 border-b s('border-primary-lighter/30')
106
+ @apply mt-4 pb-2 border-b s('border-primary-300/30')
107
107
 
108
108
  .card
109
- @apply border-primary-lighter rounded-lg shadow-md
109
+ @apply border-primary-300 rounded-lg shadow-md
110
110
 
111
111
  .card-header
112
112
  .card-title
@@ -19,7 +19,7 @@ export default defineComponent({
19
19
  },
20
20
  color: {
21
21
  type: String,
22
- default: "secondary-hover",
22
+ default: "highlight-400",
23
23
  },
24
24
  icon: {
25
25
  type: String,
@@ -81,15 +81,15 @@ export default defineComponent({
81
81
  .badge
82
82
  @apply s('top-1.75') right-3 w-1 h-1
83
83
 
84
- &&-secondary-hover
85
- @apply bg-secondary-hover
84
+ &&-highlight-400
85
+ @apply bg-highlight-400
86
86
 
87
87
  &.shadow
88
88
  @apply shadow-md
89
89
 
90
90
  &.active
91
- @apply border border-secondary-line text-secondary-line
91
+ @apply border border-highlight text-highlight
92
92
 
93
93
  .badge
94
- @apply absolute s('top-1.5') right-2 block s('w-0.75') s('h-0.75') rounded-full bg-secondary-line
94
+ @apply absolute s('top-1.5') right-2 block s('w-0.75') s('h-0.75') rounded-full bg-highlight
95
95
  </style>
@@ -97,7 +97,7 @@ export default defineComponent({
97
97
 
98
98
  <style lang="stylus">
99
99
  .sl-collapsable-block
100
- @apply s('p-3.75') border border-secondary-new-300 rounded-lg
100
+ @apply s('p-3.75') border border-secondary-400 rounded-lg
101
101
 
102
102
  &.collapsed
103
103
  .sl-collapsable-block-header
@@ -75,7 +75,7 @@ export default defineComponent({
75
75
  <style lang="stylus">
76
76
  .collapsable-multi-pill-select
77
77
  .toggle-button
78
- @apply inline-flex items-center justify-between w-80 p-2 mb-2 border border-primary-light rounded text-base text-gray-2
78
+ @apply inline-flex items-center justify-between w-80 p-2 mb-2 border border-primary-500 rounded text-base text-gray-2
79
79
 
80
80
  &.active
81
81
  .toggle-icon
@@ -85,7 +85,7 @@ export default defineComponent({
85
85
  @apply transform origin-center
86
86
 
87
87
  .pills
88
- @apply s('-mx-1') mb-4 border-b border-primary-lighter
88
+ @apply s('-mx-1') mb-4 border-b border-primary-300
89
89
 
90
90
  .pill-checkbox
91
91
  @apply mx-1 mb-2
@@ -47,7 +47,7 @@ export default defineComponent({
47
47
  },
48
48
  cancelButtonColor: {
49
49
  type: String,
50
- default: "cancel",
50
+ default: "gray-5",
51
51
  },
52
52
  confirmButtonTitle: {
53
53
  type: String,
@@ -399,7 +399,7 @@ export default defineComponent({
399
399
  &.disabled, &.readonly
400
400
  .input-group
401
401
  .input-group-prepend, .inputs
402
- @apply border-primary-light bg-bg
402
+ @apply border-primary-500 bg-primary-100
403
403
 
404
404
 
405
405
  & > label
@@ -408,10 +408,10 @@ export default defineComponent({
408
408
  .is-invalid
409
409
  .input-group, .input-group.is-focus
410
410
  .input-group-prepend
411
- @apply border-danger-hover
411
+ @apply border-danger-light
412
412
 
413
413
  .inputs
414
- @apply border-danger-hover
414
+ @apply border-danger-light
415
415
 
416
416
  .icon
417
417
  @apply inline-block
@@ -433,14 +433,14 @@ export default defineComponent({
433
433
  @apply s('ml-1.5') s('-mt-2.25') py-0 s('px-0.5') bg-white text-primary text-xs transition-input-focus
434
434
 
435
435
  &-prepend
436
- @apply flex-grow-0 flex-shrink-0 flex items-center relative pl-4 pr-6 rounded-l border border-r-0 border-primary-light bg-white text-base leading-none
436
+ @apply flex-grow-0 flex-shrink-0 flex items-center relative pl-4 pr-6 rounded-l border border-r-0 border-primary-500 bg-white text-base leading-none
437
437
 
438
438
  &:after
439
439
  content ''
440
440
  @apply block absolute top-2 s('right-1.75') bottom-2 w-px bg-primary
441
441
 
442
442
  .inputs
443
- @apply relative flex-grow flex items-center p-2 bg-white rounded-r border border-l-0 border-primary-light text-base text-gray-2
443
+ @apply relative flex-grow flex items-center p-2 bg-white rounded-r border border-l-0 border-primary-500 text-base text-gray-2
444
444
 
445
445
  input
446
446
  @apply flex-grow bg-transparent text-base text-gray-2 text-left placeholder-gray-4 s('focus:outline-none')
@@ -450,7 +450,7 @@ export default defineComponent({
450
450
  @apply flex-grow-0 flex-shrink-0 s('mx-0.5')
451
451
 
452
452
  .icon
453
- @apply absolute right-0 mr-2 text-danger-hover hidden
453
+ @apply absolute right-0 mr-2 text-danger-light hidden
454
454
 
455
455
  .input-info
456
456
  @apply mt-1 text-xs text-gray-3
@@ -390,7 +390,7 @@ export default defineComponent({
390
390
 
391
391
  &.disabled
392
392
  .download-button-toggle
393
- @apply border-cancel text-cancel cursor-default
393
+ @apply border-gray-5 text-gray-5 cursor-default
394
394
 
395
395
  &-toggle
396
396
  @apply inline-flex justify-center items-center s('w-[28px]') s('h-[28px]') bg-white border border-primary-hover rounded text-lg text-primary-hover
@@ -399,12 +399,12 @@ export default defineComponent({
399
399
  @apply bg-primary-hover text-white
400
400
 
401
401
  .download-button-popup
402
- @apply z-60 absolute flex flex-col bg-white border border-primary-light rounded overflow-hidden shadow invisible pointer-events-none
402
+ @apply z-60 absolute flex flex-col bg-white border border-primary-500 rounded overflow-hidden shadow invisible pointer-events-none
403
403
 
404
404
  &[data-show]
405
405
  @apply visible pointer-events-auto
406
406
 
407
407
  .download-option
408
408
  @apply block p-2 bg-white text-sm text-gray-3
409
- @apply s('hover:bg-bg') s('hover:text-primary')
409
+ @apply s('hover:bg-primary-100') s('hover:text-primary')
410
410
  </style>
@@ -251,13 +251,13 @@ export default defineComponent({
251
251
  @apply text-primary-hover rotate-180
252
252
 
253
253
  &-toggle
254
- @apply flex items-center s('p-1.75') border border-primary-light rounded bg-white space-x-2 text-base text-gray-2 whitespace-nowrap
254
+ @apply flex items-center s('p-1.75') border border-primary-500 rounded bg-white space-x-2 text-base text-gray-2 whitespace-nowrap
255
255
 
256
256
  .toggle-icon
257
257
  @apply text-xs leading-none text-gray-2 transition-transform transform
258
258
 
259
259
  &-menu
260
- @apply z-50 flex flex-col max-h-48 border border-primary-light rounded bg-white shadow-md overflow-hidden invisible pointer-events-none
260
+ @apply z-50 flex flex-col max-h-48 border border-primary-500 rounded bg-white shadow-md overflow-hidden invisible pointer-events-none
261
261
 
262
262
  &[data-show]
263
263
  @apply visible pointer-events-auto
@@ -24,8 +24,8 @@ export default defineComponent({
24
24
 
25
25
  <style lang="stylus">
26
26
  .dropdown-item
27
- @apply block p-2 bg-white text-sm text-primary whitespace-nowrap s('hover:text-primary') s('hover:bg-bg-middle') s('focus:text-primary') s('focus:bg-bg-middle') s('active:text-primary') s('active:bg-bg-middle')
27
+ @apply block p-2 bg-white text-sm text-primary whitespace-nowrap s('hover:text-primary') s('hover:bg-primary-50') s('focus:text-primary') s('focus:bg-primary-50') s('active:text-primary') s('active:bg-primary-50')
28
28
 
29
29
  &.active
30
- @apply text-primary bg-bg-middle
30
+ @apply text-primary bg-primary-50
31
31
  </style>
@@ -174,7 +174,7 @@ export default defineComponent({
174
174
  @apply inline-flex
175
175
 
176
176
  &-tooltip
177
- @apply s('z-[10]') p-2 s('bg-backdrop/70') rounded text-xs text-white whitespace-pre shadow invisible pointer-events-none
177
+ @apply s('z-[10]') p-2 s('bg-mask/70') rounded text-xs text-white whitespace-pre shadow invisible pointer-events-none
178
178
 
179
179
  &[data-show]
180
180
  @apply visible
@@ -91,11 +91,11 @@ export default defineComponent({
91
91
 
92
92
  label
93
93
  @apply relative inline-block s("py-1.75") s("px-3.75") border border-transparent rounded bg-transparent text-base leading-normal space-x-2 cursor-pointer s("focus:outline-none")
94
- @apply bg-primary border-primary text-gray s("hover:bg-primary-hover") s("hover:border-primary-hover")
94
+ @apply bg-primary border-primary text-white s("hover:bg-primary-hover") s("hover:border-primary-hover")
95
95
 
96
96
  input[type="file"]
97
97
  @apply absolute top-0 left-0
98
98
 
99
99
  .filename
100
- @apply s("p-1.75") border border-primary-lighter rounded bg-bg-middle text-base text-gray-2
100
+ @apply s("p-1.75") border border-primary-300 rounded bg-primary-50 text-base text-gray-2
101
101
  </style>
@@ -235,7 +235,7 @@ export default defineComponent({
235
235
  @apply relative inline-flex
236
236
 
237
237
  .toggle-button
238
- @apply inline-flex items-center justify-between w-full s('p-1.75') border border-primary-light rounded space-x-4 text-sm text-gray-2
238
+ @apply inline-flex items-center justify-between w-full s('p-1.75') border border-primary-500 rounded space-x-4 text-sm text-gray-2
239
239
 
240
240
  .toggle-title
241
241
  @apply flex-grow truncate
@@ -244,7 +244,7 @@ export default defineComponent({
244
244
  @apply flex-grow-0 flex-shrink-0 text-xs leading-none
245
245
 
246
246
  .options-popup
247
- @apply z-60 absolute flex s('max-h-[196px]') s('p-2.75') bg-white border border-primary-light rounded shadow pointer-events-none invisible
247
+ @apply z-60 absolute flex s('max-h-[196px]') s('p-2.75') bg-white border border-primary-500 rounded shadow pointer-events-none invisible
248
248
 
249
249
  &[data-show]
250
250
  @apply pointer-events-auto visible
@@ -269,7 +269,7 @@ export default defineComponent({
269
269
  .checkbox
270
270
  label
271
271
  @apply w-full s('py-1.5') px-2 text-sm
272
- @apply s('hover:bg-bg')
272
+ @apply s('hover:bg-primary-100')
273
273
 
274
274
  span
275
275
  @apply ml-1
@@ -179,7 +179,7 @@ export default defineComponent({
179
179
 
180
180
  &.disabled, &.readonly
181
181
  .input-group
182
- @apply border-primary-light bg-bg
182
+ @apply border-primary-500 bg-primary-100
183
183
 
184
184
 
185
185
  & > label
@@ -192,7 +192,7 @@ export default defineComponent({
192
192
  @apply flex items-center space-x-2
193
193
 
194
194
  .input-group
195
- @apply flex items-center flex-nowrap p-2 bg-white border border-primary-light rounded text-base space-x-1
195
+ @apply flex items-center flex-nowrap p-2 bg-white border border-primary-500 rounded text-base space-x-1
196
196
 
197
197
  &.invalid
198
198
  @apply border-danger
@@ -206,7 +206,7 @@ export default defineComponent({
206
206
  @apply absolute s('left-1/2') s('top-1/2') transform s('-translate-x-1/2') s('-translate-y-1/2')
207
207
 
208
208
  label
209
- @apply relative min-w-full s('h-[2.3125rem]') bg-bg border border-line rounded-full text-base leading-normal align-top cursor-pointer transition-colors
209
+ @apply relative min-w-full s('h-[2.3125rem]') bg-primary-100 border border-primary-200 rounded-full text-base leading-normal align-top cursor-pointer transition-colors
210
210
 
211
211
  &:before
212
212
  content ''
@@ -222,7 +222,7 @@ export default defineComponent({
222
222
  @apply s('pl-[35px]') pr-2 text-primary-hover opacity-100
223
223
 
224
224
  input:checked + label
225
- @apply bg-primary border-primary-heavy
225
+ @apply bg-primary border-primary-800
226
226
 
227
227
  &:before
228
228
  @apply left-auto s('right-0.75')
@@ -25,7 +25,7 @@ export default defineComponent({
25
25
  type: String,
26
26
  default: "",
27
27
  validator: (val: string) =>
28
- ["", "primary", "secondary-new"].includes(val),
28
+ ["", "primary", "secondary"].includes(val),
29
29
  },
30
30
  variant: {
31
31
  type: String,
@@ -113,11 +113,11 @@ export default defineComponent({
113
113
  &.icon-btn--outline
114
114
  @apply text-primary
115
115
 
116
- &.icon-btn--secondary-new
117
- @apply bg-secondary-new border-secondary-new
116
+ &.icon-btn--secondary
117
+ @apply bg-secondary border-secondary
118
118
 
119
119
  &.icon-btn--outline
120
- @apply text-secondary-new
120
+ @apply text-secondary
121
121
 
122
122
  &.icon-btn--outline
123
123
  @apply bg-transparent
@@ -205,7 +205,7 @@ export default defineComponent({
205
205
  content '\e943'
206
206
 
207
207
  &-content
208
- @apply relative flex py-5 pl-4 pr-6 border s('border-border/50') rounded-lg bg-white text-sm text-gray-2 font-normal shadow-popup-sm
208
+ @apply relative flex py-5 pl-4 pr-6 border s('border-primary-600/50') rounded-lg bg-white text-sm text-gray-2 font-normal shadow-popup-sm
209
209
 
210
210
  .pin-toggle
211
211
  @apply absolute top-0 right-0 mt-2 mr-2 text-base text-primary-hover
@@ -23,5 +23,5 @@ export default {
23
23
  @apply s('-mx-4')
24
24
 
25
25
  &-content
26
- @apply flex flex-col flex-grow w-full p-4 rounded bg-bg-middle
26
+ @apply flex flex-col flex-grow w-full p-4 rounded bg-primary-50
27
27
  </style>
@@ -66,7 +66,7 @@ export default defineComponent({
66
66
  @apply inline-flex items-center mx-2 text-base text-gray-2
67
67
 
68
68
  &.unactive
69
- @apply text-cancel
69
+ @apply text-gray-5
70
70
 
71
71
  .item-icon
72
72
  @apply mr-1
@@ -27,7 +27,7 @@ export default defineComponent({
27
27
  color: {
28
28
  type: String,
29
29
  default: "primary",
30
- validator: (value: string) => ["primary", "secondary"].includes(value),
30
+ validator: (value: string) => ["primary", "highlight-500"].includes(value),
31
31
  },
32
32
  bgAlpha: {
33
33
  type: Number,
@@ -89,18 +89,18 @@ export default defineComponent({
89
89
  @apply z-10
90
90
 
91
91
  &-primary
92
- @apply s('bg-primary-lighter/20')
92
+ @apply s('bg-primary-300/20')
93
93
 
94
94
  .loading
95
95
  div
96
96
  border-color theme('colors.primary.DEFAULT') transparent transparent transparent
97
97
 
98
- &-secondary
99
- @apply s('bg-secondary/20')
98
+ &-highlight-500
99
+ @apply s('bg-highlight-500/20')
100
100
 
101
101
  .loading
102
102
  div
103
- border-color theme('colors.secondary.DEFAULT') transparent transparent transparent
103
+ border-color theme('colors.highlight["500"]') transparent transparent transparent
104
104
 
105
105
  .loading
106
106
  @apply relative inline-block w-12 h-12
@@ -299,7 +299,7 @@ export default defineComponent({
299
299
  @apply absolute top-0 left-0 w-full h-full
300
300
 
301
301
  &.show
302
- @apply s('bg-backdrop/80')
302
+ @apply s('bg-mask/80')
303
303
 
304
304
  .modal-dialog
305
305
  @apply relative w-full my-7 mx-auto