@pubinfo-pr/core 0.222.3 → 0.223.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.
Files changed (74) hide show
  1. package/dist/{AppSetting-Adv5Y3SE.js → AppSetting-7jlhUzze.js} +17 -17
  2. package/dist/{HCheckList-WAAl9RiK.js → HCheckList-cPBgATmv.js} +1 -1
  3. package/dist/HSlideover-DVQDc9q6.js +3151 -0
  4. package/dist/{HToggle-YLmL7R0b.js → HToggle-Ce_2-yhZ.js} +1 -1
  5. package/dist/{PreferencesContent-CiPweszy.js → PreferencesContent-BAIH81yS.js} +6 -6
  6. package/dist/{SettingBreadcrumb-C1VwfnxX.js → SettingBreadcrumb-O9-PhAFT.js} +4 -4
  7. package/dist/{SettingCopyright-C--oGV21.js → SettingCopyright-DIKsWTuf.js} +3 -3
  8. package/dist/{SettingEnableTransition-DW2gfisN.js → SettingEnableTransition-61O7W00b.js} +3 -3
  9. package/dist/{SettingHome-VUAS3uEg.js → SettingHome-Sv65TPH8.js} +4 -4
  10. package/dist/{SettingMenu-BH7XU7eF.js → SettingMenu-BvwJOUZV.js} +5 -5
  11. package/dist/{SettingMode-BIyHzTKH.js → SettingMode-B8H_eQc8.js} +2 -2
  12. package/dist/{SettingNavSearch-PfSA-_ro.js → SettingNavSearch-BHsmYBA7.js} +3 -3
  13. package/dist/{SettingOther-DdqNapQX.js → SettingOther-CyyNnaDX.js} +4 -4
  14. package/dist/{SettingPage-DS-G9-X5.js → SettingPage-B82lW41P.js} +2 -2
  15. package/dist/{SettingTabbar-2yfw2vsm.js → SettingTabbar-Bky2xvH-.js} +5 -5
  16. package/dist/{SettingThemes-Bkcywy7v.js → SettingThemes-CkdzS1xt.js} +5 -5
  17. package/dist/{SettingToolbar-DP7-_nPK.js → SettingToolbar-CD4qns1J.js} +3 -3
  18. package/dist/{SettingTopbar-C0Ia4-If.js → SettingTopbar-1shjoe3s.js} +5 -5
  19. package/dist/{SettingWidthMode-DgSWsHFq.js → SettingWidthMode-DlG6lXjA.js} +3 -3
  20. package/dist/{auth-B65CJEOe.js → auth-BLGKOyc5.js} +193 -3
  21. package/dist/built-in/layout-component/index.d.ts +2 -6
  22. package/dist/{change-organization-BfnI2yEl.js → change-organization-hsqeSzDu.js} +3 -3
  23. package/dist/{change-password-Bj_GWzmn.js → change-password-EtccCDRX.js} +3 -3
  24. package/dist/{components-BfkDsfck.js → components-DFNyaAb9.js} +6 -6
  25. package/dist/index.js +815 -343
  26. package/dist/{not-found-DbHOY5cU.js → not-found-BCjngLzt.js} +1 -1
  27. package/dist/{not-permission-DwERxb_u.js → not-permission-C26vTMvf.js} +1 -1
  28. package/dist/{profile-Dq66-Gsl.js → profile-BVXIFuBG.js} +1 -1
  29. package/dist/style.css +1 -1
  30. package/package.json +7 -7
  31. package/src/built-in/authentication/pages/change-organization/index.vue +5 -22
  32. package/src/built-in/authentication/pages/change-password/index.vue +3 -30
  33. package/src/built-in/layout-component/Layout.vue +30 -81
  34. package/src/built-in/layout-component/components/Copyright/index.vue +3 -29
  35. package/src/built-in/layout-component/components/Header/HeaderFullMenu/More.vue +6 -17
  36. package/src/built-in/layout-component/components/Header/HeaderFullMenu/NotCursor.vue +7 -18
  37. package/src/built-in/layout-component/components/Header/index.vue +22 -119
  38. package/src/built-in/layout-component/components/Logo/index.vue +1 -4
  39. package/src/built-in/layout-component/components/Menu/item.vue +6 -29
  40. package/src/built-in/layout-component/components/SettingBar/AppSetting.vue +13 -33
  41. package/src/built-in/layout-component/components/SettingBar/components/DayNightToggle.vue +25 -113
  42. package/src/built-in/layout-component/components/SettingBar/components/SettingEnableTransition.vue +4 -57
  43. package/src/built-in/layout-component/components/SettingBar/components/SettingMode.vue +20 -123
  44. package/src/built-in/layout-component/components/SettingBar/components/SettingThemes.vue +25 -102
  45. package/src/built-in/layout-component/components/SettingBar/components/SettingWidthMode.vue +16 -100
  46. package/src/built-in/layout-component/components/SettingBar/index.vue +10 -64
  47. package/src/built-in/layout-component/components/Sidebar/MainSidebar.vue +22 -76
  48. package/src/built-in/layout-component/components/Sidebar/SubSidebar.vue +10 -16
  49. package/src/built-in/layout-component/components/Tools/Breadcrumb/index.vue +2 -2
  50. package/src/built-in/layout-component/components/Tools/DarkModeToggle.vue +4 -26
  51. package/src/built-in/layout-component/components/Tools/Preferences/PreferencesContent.vue +51 -404
  52. package/src/built-in/layout-component/components/Topbar/Tabbar/MoreAction.vue +13 -68
  53. package/src/built-in/layout-component/components/Topbar/Tabbar/index.vue +49 -177
  54. package/src/built-in/layout-component/components/Topbar/Toolbar/Favorites.vue +2 -2
  55. package/src/built-in/layout-component/components/Topbar/Toolbar/index.vue +12 -45
  56. package/src/built-in/layout-component/components/ui/HToggle.vue +9 -55
  57. package/src/built-in/layout-component/index.ts +2 -4
  58. package/src/features/components/PassStrengthValidator/index.vue +10 -36
  59. package/src/features/components/PassStrengthValidator/rule.vue +4 -17
  60. package/dist/HSlideover-CXBJxuQo.js +0 -1695
  61. package/dist/HeaderFullMenu-ByedDsvz.js +0 -251
  62. package/dist/HeaderThinMenu-2q2iBtTH.js +0 -438
  63. package/dist/overlayscrollbars-vue-mGyICRMi.js +0 -1460
  64. /package/dist/{HDivider-Ds5MMqtm.js → HDivider-BwvBr5OE.js} +0 -0
  65. /package/dist/{HInput-BrsX9848.js → HInput-KJ5nFBpF.js} +0 -0
  66. /package/dist/{core-4H5JBsa5.js → core-DJIGzMMM.js} +0 -0
  67. /package/dist/{engine-oniguruma-uxNZ2DGJ.js → engine-oniguruma-CaNXwGSv.js} +0 -0
  68. /package/dist/{json-CC4oV-bd.js → json-Bu_Zprin.js} +0 -0
  69. /package/dist/{question-line-D7ecIumZ.js → question-line-BG__Ycfv.js} +0 -0
  70. /package/dist/{reload-CbuQgTlC.js → reload-DHx5Vwus.js} +0 -0
  71. /package/dist/{right-DYiPS7dU.js → right-BxBlFUwj.js} +0 -0
  72. /package/dist/{vitesse-dark-CxkWMfh6.js → vitesse-dark-CTe40QT_.js} +0 -0
  73. /package/dist/{vitesse-light-DY25e6F3.js → vitesse-light-BWXC_WeB.js} +0 -0
  74. /package/dist/{wasm-DAU6f5s5.js → wasm-2zDVqo-C.js} +0 -0
@@ -71,187 +71,84 @@ function clickHandle(item: Settings.menu['menuMode']) {
71
71
 
72
72
  <style scoped>
73
73
  .menu-mode {
74
- display: flex;
75
- align-items: center;
76
- justify-content: center;
77
- gap: 1rem; /* 16px */
78
- padding-bottom: 1rem; /* 16px */
74
+ --at-apply: flex items-center justify-center gap-4 pb-4;
79
75
  }
80
76
 
81
77
  .menu-mode .mode {
82
- & {
83
- position: relative;
84
- width: 4rem; /* 64px */
85
- height: 3rem; /* 48px */
86
- border-radius: 0.5rem; /* 8px */
87
- --un-ring-width: 1px;
88
- --un-ring-offset-shadow: var(--un-ring-inset) 0 0 0
89
- var(--un-ring-offset-width) var(--un-ring-offset-color);
90
- --un-ring-shadow: var(--un-ring-inset) 0 0 0
91
- calc(var(--un-ring-width) + var(--un-ring-offset-width))
92
- var(--un-ring-color);
93
- box-shadow: var(--un-ring-offset-shadow), var(--un-ring-shadow),
94
- var(--un-shadow);
95
- --un-ring-opacity: 1;
96
- --un-ring-color: rgb(231 229 228 / var(--un-ring-opacity)) /* #e7e5e4 */;
97
- cursor: pointer;
98
- transition-property: color, background-color, border-color,
99
- text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter,
100
- backdrop-filter;
101
- transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
102
- transition-duration: 150ms;
103
- }
104
- .dark & {
105
- --un-ring-opacity: 1;
106
- --un-ring-color: rgb(68 64 60 / var(--un-ring-opacity)) /* #44403c */;
107
- }
78
+ --at-apply: relative w-16 h-12 rounded-2 ring-1 ring-stone-2 dark:ring-stone-7 cursor-pointer transition;
108
79
  }
109
80
 
110
81
  .menu-mode .mode.active {
111
- --un-ring-opacity: 1;
112
- --un-ring-color: rgb(var(--ui-primary) / var(--un-ring-opacity))
113
- /* rgb(var(--ui-primary)) */;
114
- --un-ring-width: 2px;
115
- --un-ring-offset-shadow: var(--un-ring-inset) 0 0 0
116
- var(--un-ring-offset-width) var(--un-ring-offset-color);
117
- --un-ring-shadow: var(--un-ring-inset) 0 0 0
118
- calc(var(--un-ring-width) + var(--un-ring-offset-width))
119
- var(--un-ring-color);
120
- box-shadow: var(--un-ring-offset-shadow), var(--un-ring-shadow),
121
- var(--un-shadow);
82
+ --at-apply: ring-ui-primary ring-2;
122
83
  }
123
84
 
124
85
  .menu-mode .mode::before,
125
86
  .menu-mode .mode::after,
126
87
  .menu-mode .mode .mode-container {
127
- position: absolute;
128
- pointer-events: none;
88
+ --at-apply: absolute pointer-events-none;
129
89
  }
130
90
 
131
91
  .menu-mode .mode::before {
132
- content: "";
133
- background-color: rgb(var(--ui-primary));
92
+ --at-apply: content-empty bg-ui-primary;
134
93
  }
135
94
 
136
95
  .menu-mode .mode::after {
137
- content: "";
138
- background-color: rgb(var(--ui-primary) / 0.6);
96
+ --at-apply: content-empty bg-ui-primary/60;
139
97
  }
140
98
 
141
99
  .menu-mode .mode .mode-container {
142
- background-color: rgb(var(--ui-primary) / 0.2);
143
- border-style: dashed;
144
- border-color: rgb(var(--ui-primary));
100
+ --at-apply: bg-ui-primary/20 border-dashed border-ui-primary;
145
101
  }
146
102
 
147
103
  .menu-mode .mode .mode-container::before {
148
- content: "";
149
- position: absolute;
150
- width: 100%;
151
- height: 100%;
104
+ --at-apply: content-empty absolute w-full h-full;
152
105
  }
153
106
 
154
107
  .menu-mode .mode-side::before {
155
- top: 0.5rem; /* 8px */
156
- bottom: 0.5rem; /* 8px */
157
- left: 0.5rem; /* 8px */
158
- width: 0.5rem; /* 8px */
159
- border-top-left-radius: 0.25rem; /* 4px */
160
- border-bottom-left-radius: 0.25rem; /* 4px */
108
+ --at-apply: top-2 bottom-2 left-2 w-2 rounded-tl-1 rounded-bl-1;
161
109
  }
162
110
 
163
111
  .menu-mode .mode-side::after {
164
- top: 0.5rem; /* 8px */
165
- bottom: 0.5rem; /* 8px */
166
- left: 1.125rem; /* 18px */
167
- width: 0.75rem; /* 12px */
112
+ --at-apply: top-2 bottom-2 left-4.5 w-3;
168
113
  }
169
114
 
170
115
  .menu-mode .mode-side .mode-container {
171
- top: 0.5rem; /* 8px */
172
- right: 0.5rem; /* 8px */
173
- bottom: 0.5rem; /* 8px */
174
- left: 2rem; /* 32px */
175
- border-top-right-radius: 0.25rem; /* 4px */
176
- border-bottom-right-radius: 0.25rem; /* 4px */
116
+ --at-apply: inset-t-2 inset-r-2 inset-b-2 inset-l-8 rounded-tr-1 rounded-br-1;
177
117
  }
178
118
 
179
119
  .menu-mode .mode-head::before {
180
- top: 0.5rem; /* 8px */
181
- left: 0.5rem; /* 8px */
182
- right: 0.5rem; /* 8px */
183
- height: 0.5rem; /* 8px */
184
- border-top-left-radius: 0.25rem; /* 4px */
185
- border-top-right-radius: 0.25rem; /* 4px */
120
+ --at-apply: top-2 left-2 right-2 h-2 rounded-tl-1 rounded-tr-1;
186
121
  }
187
122
 
188
123
  .menu-mode .mode-head::after {
189
- top: 1.125rem; /* 18px */
190
- left: 0.5rem; /* 8px */
191
- bottom: 0.5rem; /* 8px */
192
- width: 0.75rem; /* 12px */
193
- border-bottom-left-radius: 0.25rem; /* 4px */
124
+ --at-apply: top-4.5 left-2 bottom-2 w-3 rounded-bl-1;
194
125
  }
195
126
 
196
127
  .menu-mode .mode-head .mode-container {
197
- top: 1.125rem; /* 18px */
198
- right: 0.5rem; /* 8px */
199
- bottom: 0.5rem; /* 8px */
200
- left: 1.375rem; /* 22px */
201
- border-bottom-right-radius: 0.25rem; /* 4px */
128
+ --at-apply: inset-t-4.5 inset-r-2 inset-b-2 inset-l-5.5 rounded-br-1;
202
129
  }
203
130
 
204
131
  .menu-mode .mode-single::after {
205
- top: 0.5rem; /* 8px */
206
- left: 0.5rem; /* 8px */
207
- bottom: 0.5rem; /* 8px */
208
- width: 0.75rem; /* 12px */
209
- border-top-left-radius: 0.25rem; /* 4px */
210
- border-bottom-left-radius: 0.25rem; /* 4px */
132
+ --at-apply: top-2 left-2 bottom-2 w-3 rounded-tl-1 rounded-bl-1;
211
133
  }
212
134
 
213
135
  .menu-mode .mode-single .mode-container {
214
- top: 0.5rem; /* 8px */
215
- right: 0.5rem; /* 8px */
216
- bottom: 0.5rem; /* 8px */
217
- left: 1.375rem; /* 22px */
218
- border-top-right-radius: 0.25rem; /* 4px */
219
- border-bottom-right-radius: 0.25rem; /* 4px */
136
+ --at-apply: inset-t-2 inset-r-2 inset-b-2 inset-l-5.5 rounded-tr-1 rounded-br-1;
220
137
  }
221
138
 
222
139
  .menu-mode .mode-only-side::before {
223
- top: 0.5rem; /* 8px */
224
- bottom: 0.5rem; /* 8px */
225
- left: 0.5rem; /* 8px */
226
- width: 0.5rem; /* 8px */
227
- border-top-left-radius: 0.25rem; /* 4px */
228
- border-bottom-left-radius: 0.25rem; /* 4px */
140
+ --at-apply: top-2 bottom-2 left-2 w-2 rounded-tl-1 rounded-bl-1;
229
141
  }
230
142
 
231
143
  .menu-mode .mode-only-side .mode-container {
232
- top: 0.5rem; /* 8px */
233
- right: 0.5rem; /* 8px */
234
- bottom: 0.5rem; /* 8px */
235
- left: 1.125rem; /* 18px */
236
- border-top-right-radius: 0.25rem; /* 4px */
237
- border-bottom-right-radius: 0.25rem; /* 4px */
144
+ --at-apply: inset-t-2 inset-r-2 inset-b-2 inset-l-4.5 rounded-tr-1 rounded-br-1;
238
145
  }
239
146
 
240
147
  .menu-mode .mode-only-head::before {
241
- top: 0.5rem; /* 8px */
242
- left: 0.5rem; /* 8px */
243
- right: 0.5rem; /* 8px */
244
- height: 0.5rem; /* 8px */
245
- border-top-left-radius: 0.25rem; /* 4px */
246
- border-top-right-radius: 0.25rem; /* 4px */
148
+ --at-apply: top-2 left-2 right-2 h-2 rounded-tl-1 rounded-tr-1;
247
149
  }
248
150
 
249
151
  .menu-mode .mode-only-head .mode-container {
250
- top: 1.125rem; /* 18px */
251
- right: 0.5rem; /* 8px */
252
- bottom: 0.5rem; /* 8px */
253
- left: 0.5rem; /* 8px */
254
- border-bottom-left-radius: 0.25rem; /* 4px */
255
- border-bottom-right-radius: 0.25rem; /* 4px */
152
+ --at-apply: inset-t-4.5 inset-r-2 inset-b-2 inset-l-2 rounded-bl-1 rounded-br-1;
256
153
  }
257
154
  </style>
@@ -104,64 +104,34 @@ function clickHandle(item: ThemeListCard) {
104
104
 
105
105
  <style scoped>
106
106
  .divider {
107
- display: flex;
108
- align-items: center;
109
- justify-content: space-between;
110
- gap: 1rem; /* 16px */
111
- margin-top: 1rem; /* 16px */
112
- margin-bottom: 1rem; /* 16px */
113
- font-size: 0.875rem; /* 14px */
114
- line-height: 1.25rem; /* 20px */
115
- white-space: nowrap;
116
- font-weight: 500;
107
+ --at-apply:
108
+ flex
109
+ items-center
110
+ justify-between
111
+ gap-4
112
+ my-4
113
+ whitespace-nowrap
114
+ text-sm
115
+ font-500;
117
116
  }
118
117
 
119
118
  .divider::before,
120
119
  .divider::after {
121
- content: "";
122
- width: 100%;
123
- background-color: #e7e5e4;
124
- height: 1px;
125
- }
126
-
127
- .dark .divider::before,
128
- .dark .divider::after {
129
- background-color: #57534e;
120
+ --at-apply:
121
+ content-empty
122
+ w-full
123
+ h-1px
124
+ bg-stone-2
125
+ dark:bg-stone-6;
130
126
  }
131
127
 
132
128
  .themes {
133
- box-sizing: border-box;
134
- display: grid;
135
- grid-template-columns: repeat(3, 125px);
136
- gap: 15px;
137
- width: 100%;
129
+ --at-apply: box-border grid grid-cols-[repeat(3,125px)] gap-[15px] w-full;
138
130
  }
139
131
 
140
132
  .themes .theme {
141
- & {
142
- position: relative;
143
- box-sizing: border-box;
144
- color: white;
145
- cursor: pointer;
146
- transition-property: all;
147
- transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
148
- transition-duration: 150ms;
149
- transition-timing-function: ease-in-out;
150
- margin-bottom: 15px;
151
- height: 78px;
152
- background-color: #f7f8f9;
153
- transition-duration: 0.2s;
154
- padding: 15px;
155
- border-radius: 0.75rem; /* 12px */
156
- --un-shadow: var(--un-shadow-inset) 0 1px 3px 0
157
- var(--un-shadow-color, rgb(0 0 0 / 0.1)),
158
- var(--un-shadow-inset) 0 1px 2px -1px var(--un-shadow-color, rgb(0 0 0 / 0.1));
159
- box-shadow: var(--un-ring-offset-shadow), var(--un-ring-shadow),
160
- var(--un-shadow);
161
- }
162
- .dark & {
163
- background-color: #323232;
164
- }
133
+ --at-apply: relative box-border h-[78px] text-white cursor-pointer bg-[#f7f8f9] dark:bg-dark-2
134
+ transition-all duration-[0.2s] ease-[ease-in-out] mb-[15px] p-[15px] rounded-xl shadow;
165
135
  }
166
136
 
167
137
  .themes .theme:hover {
@@ -169,30 +139,8 @@ function clickHandle(item: ThemeListCard) {
169
139
  }
170
140
 
171
141
  .themes .theme .explosion {
172
- background-color: rgb(var(--ui-primary));
173
- position: absolute;
174
- z-index: 1;
175
- display: flex;
176
- align-items: center;
177
- justify-content: center;
178
- transition-property: all;
179
- transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
180
- transition-duration: 150ms;
181
- transition-duration: 0.3s;
182
- border-radius: 50%;
183
- width: 1.5rem; /* 24px */
184
- height: 1.5rem; /* 24px */
185
- transform-origin: center;
186
- --un-scale-x: 0;
187
- --un-scale-y: 0;
188
- transform: translateX(var(--un-translate-x)) translateY(var(--un-translate-y))
189
- translateZ(var(--un-translate-z)) rotate(var(--un-rotate))
190
- rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y))
191
- rotateZ(var(--un-rotate-z)) skewX(var(--un-skew-x)) skewY(var(--un-skew-y))
192
- scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y))
193
- scaleZ(var(--un-scale-z));
194
- right: -0.625rem; /* -10px */
195
- top: -0.625rem; /* -10px */
142
+ --at-apply: bg-ui-primary absolute z-[1] flex items-center justify-center w-6 h-6
143
+ transition-all duration-[0.3s] origin-center rounded-[50%] scale-0 -right-2.5 -top-2.5;
196
144
  }
197
145
 
198
146
  .themes .theme.active {
@@ -204,41 +152,16 @@ function clickHandle(item: ThemeListCard) {
204
152
  }
205
153
 
206
154
  .themes .theme .theme-type {
207
- width: 100%;
208
- height: 1rem; /* 16px */
209
- margin-top: 5px;
210
- padding-bottom: 10px;
155
+ --at-apply: w-full h-4 mt-5px pb-10px;
211
156
  }
212
157
 
213
158
  .themes .theme .theme-point {
214
- display: grid;
215
- grid-template-columns: repeat(6, 15px);
216
- width: 100%;
217
- height: 1.25rem; /* 20px */
159
+ --at-apply: grid grid-cols-[repeat(6,15px)] w-full h-5;
218
160
  }
219
161
 
220
162
  .themes .theme .theme-point .point {
221
- & {
222
- box-sizing: border-box;
223
- width: 1.25rem; /* 20px */
224
- height: 1.25rem; /* 20px */
225
- border-radius: 50%;
226
- border-width: 2px;
227
- border-style: solid;
228
- --un-border-opacity: 1;
229
- border-color: rgb(255 255 255 / var(--un-border-opacity));
230
- --un-shadow: var(--un-shadow-inset) 0 1px 3px 0
231
- var(--un-shadow-color, rgb(0 0 0 / 0.1)),
232
- var(--un-shadow-inset) 0 1px 2px -1px var(--un-shadow-color, rgb(0 0 0 / 0.1));
233
- box-shadow: var(--un-ring-offset-shadow), var(--un-ring-shadow),
234
- var(--un-shadow);
235
- margin-right: 5px;
236
- --un-shadow-opacity: 1;
237
- --un-shadow-color: rgb(168 162 158 / var(--un-shadow-opacity)) /* #a8a29e */;
238
- }
239
- .dark & {
240
- --un-shadow-opacity: 1;
241
- --un-shadow-color: rgb(41 37 36 / var(--un-shadow-opacity)) /* #292524 */;
242
- }
163
+ --at-apply: box-border w-5 h-5 mr-[5px] rounded-[50%]
164
+ border-2 border-solid border-white
165
+ shadow shadow-stone-4 dark:shadow-stone-8;
243
166
  }
244
167
  </style>
@@ -73,153 +73,69 @@ function clickHandle(item: Settings.layout['widthMode']) {
73
73
 
74
74
  <style scoped>
75
75
  .app-width-mode {
76
- display: flex;
77
- align-items: center;
78
- justify-content: center;
79
- gap: 1rem; /* 16px */
80
- padding-bottom: 1rem; /* 16px */
76
+ --at-apply: flex items-center justify-center gap-4 pb-4;
81
77
  }
82
78
 
83
79
  .app-width-mode .mode {
84
- & {
85
- position: relative;
86
- width: 4rem; /* 64px */
87
- height: 3rem; /* 48px */
88
- border-radius: 0.5rem; /* 8px */
89
- --un-ring-width: 1px;
90
- --un-ring-offset-shadow: var(--un-ring-inset) 0 0 0
91
- var(--un-ring-offset-width) var(--un-ring-offset-color);
92
- --un-ring-shadow: var(--un-ring-inset) 0 0 0
93
- calc(var(--un-ring-width) + var(--un-ring-offset-width))
94
- var(--un-ring-color);
95
- box-shadow: var(--un-ring-offset-shadow), var(--un-ring-shadow),
96
- var(--un-shadow);
97
- --un-ring-opacity: 1;
98
- --un-ring-color: rgb(231 229 228 / var(--un-ring-opacity)) /* #e7e5e4 */;
99
- cursor: pointer;
100
- transition-property: color, background-color, border-color,
101
- text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter,
102
- backdrop-filter;
103
- transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
104
- transition-duration: 150ms;
105
- overflow: hidden;
106
- }
107
- .dark & {
108
- --un-ring-opacity: 1;
109
- --un-ring-color: rgb(68 64 60 / var(--un-ring-opacity)) /* #44403c */;
110
- }
80
+ --at-apply: relative w-16 h-12 rounded-2 ring-1 ring-stone-2 dark:ring-stone-7 cursor-pointer transition of-hidden;
111
81
  }
112
82
 
113
83
  .app-width-mode .mode.active {
114
- --un-ring-opacity: 1;
115
- --un-ring-color: rgb(var(--ui-primary) / var(--un-ring-opacity))
116
- /* rgb(var(--ui-primary)) */;
117
- --un-ring-width: 2px;
118
- --un-ring-offset-shadow: var(--un-ring-inset) 0 0 0
119
- var(--un-ring-offset-width) var(--un-ring-offset-color);
120
- --un-ring-shadow: var(--un-ring-inset) 0 0 0
121
- calc(var(--un-ring-width) + var(--un-ring-offset-width))
122
- var(--un-ring-color);
123
- box-shadow: var(--un-ring-offset-shadow), var(--un-ring-shadow),
124
- var(--un-shadow);
84
+ --at-apply: ring-ui-primary ring-2;
125
85
  }
126
86
 
127
87
  .app-width-mode .mode-adaption::before {
128
- content: "";
129
- position: absolute;
130
- width: 100%;
131
- height: 100%;
132
- background-color: #f5f5f4;
133
- }
134
-
135
- .dark .app-width-mode .mode-adaption::before {
136
- background-color: #1c1917;
88
+ --at-apply: content-empty absolute w-full h-full bg-stone-1 dark:bg-stone-9;
137
89
  }
138
90
 
139
91
  .app-width-mode .mode-adaption .left,
140
92
  .app-width-mode .mode-adaption .right {
141
- position: absolute;
142
- top: 50%;
143
- transform: translateY(-50%);
93
+ --at-apply: absolute top-1/2 -translate-y-1/2;
144
94
  }
145
95
 
146
96
  .app-width-mode .mode-adaption .left {
147
- left: 0.25rem;
97
+ --at-apply: left-1;
148
98
  }
149
99
 
150
100
  .app-width-mode .mode-adaption .right {
151
- right: 0.25rem;
101
+ --at-apply: right-1;
152
102
  }
153
103
 
154
104
  .app-width-mode .mode-adaption-min-width::before {
155
- content: "";
156
- position: absolute;
157
- width: 50%;
158
- height: 100%;
159
- left: 50%;
160
- transform: translateX(-50%);
161
- background-color: #f5f5f4;
162
- }
163
-
164
- .dark .app-width-mode .mode-adaption-min-width::before {
165
- background-color: #1c1917;
105
+ --at-apply: content-empty absolute w-1/2 h-full left-1/2 -translate-x-1/2 bg-stone-1 dark:bg-stone-9;
166
106
  }
167
107
 
168
108
  .app-width-mode .mode-adaption-min-width .left,
169
109
  .app-width-mode .mode-adaption-min-width .right {
170
- position: absolute;
171
- top: 50%;
172
- transform: translateY(-50%);
110
+ --at-apply: absolute top-1/2 -translate-y-1/2;
173
111
  }
174
112
 
175
113
  .app-width-mode .mode-adaption-min-width .left {
176
- left: 0.125rem; /* 2px */
114
+ --at-apply: left-0.5;
177
115
  }
178
116
 
179
117
  .app-width-mode .mode-adaption-min-width .right {
180
- right: 0.125rem; /* 2px */
118
+ --at-apply: right-0.5;
181
119
  }
182
120
 
183
121
  .app-width-mode .mode-center::before {
184
- content: "";
185
- position: absolute;
186
- width: 60%;
187
- height: 100%;
188
- left: 50%;
189
- transform: translateX(-50%);
190
- background-color: #f5f5f4;
191
- }
192
-
193
- .dark .app-width-mode .mode-center::before {
194
- background-color: #1c1917;
122
+ --at-apply: content-empty absolute w-3/5 h-full left-1/2 -translate-x-1/2 bg-stone-1 dark:bg-stone-9;
195
123
  }
196
124
 
197
125
  .app-width-mode .mode-center-max-width::before {
198
- content: "";
199
- position: absolute;
200
- width: 60%;
201
- height: 100%;
202
- left: 50%;
203
- transform: translateX(-50%);
204
- background-color: #f5f5f4;
205
- }
206
-
207
- .dark .app-width-mode .mode-center-max-width::before {
208
- background-color: #1c1917;
126
+ --at-apply: content-empty absolute w-3/5 h-full left-1/2 -translate-x-1/2 bg-stone-1 dark:bg-stone-9;
209
127
  }
210
128
 
211
129
  .app-width-mode .mode-center-max-width .left,
212
130
  .app-width-mode .mode-center-max-width .right {
213
- position: absolute;
214
- top: 50%;
215
- transform: translateY(-50);
131
+ --at-apply: absolute top-1/2 -translate-y-1/2;
216
132
  }
217
133
 
218
134
  .app-width-mode .mode-center-max-width .left {
219
- left: 0.625rem;
135
+ --at-apply: left-2.5;
220
136
  }
221
137
 
222
138
  .app-width-mode .mode-center-max-width .right {
223
- right: 0.625rem;
139
+ --at-apply: right-2.5;
224
140
  }
225
141
  </style>
@@ -38,86 +38,32 @@ const [open, setOpen] = useToggle(false);
38
38
 
39
39
  <style scoped>
40
40
  .app-setting-warp {
41
- position: relative;
42
- position: fixed;
43
- top: 50%;
44
- right: 10px;
45
- z-index: 10;
41
+ --at-apply: relative fixed top-1/2 right-10px z-10;
46
42
  }
47
43
 
48
44
  .app-setting-warp .vue-devtools__anchor--glowing {
49
- position: absolute;
50
- opacity: 0;
51
- transition-property: all;
52
- transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
53
- transition-duration: 150ms;
54
- left: 0;
55
- top: 0;
56
- pointer-events: none;
57
- z-index: -1;
58
- width: 10rem; /* 160px */
59
- height: 10rem; /* 160px */
60
- --un-blur: blur(60px);
61
- filter: var(--un-blur) var(--un-brightness) var(--un-contrast)
62
- var(--un-drop-shadow) var(--un-grayscale) var(--un-hue-rotate)
63
- var(--un-invert) var(--un-saturate) var(--un-sepia);
64
- transition-duration: 1s;
65
- transition-timing-function: ease;
66
- border-radius: 9999px;
67
- --un-translate-x: -25%;
68
- transform: translateX(var(--un-translate-x)) translateY(var(--un-translate-y))
69
- translateZ(var(--un-translate-z)) rotate(var(--un-rotate))
70
- rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y))
71
- rotateZ(var(--un-rotate-z)) skewX(var(--un-skew-x)) skewY(var(--un-skew-y))
72
- scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y))
73
- scaleZ(var(--un-scale-z));
74
- --un-translate-y: -25%;
75
- transform: translateX(var(--un-translate-x)) translateY(var(--un-translate-y))
76
- translateZ(var(--un-translate-z)) rotate(var(--un-rotate))
77
- rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y))
78
- rotateZ(var(--un-rotate-z)) skewX(var(--un-skew-x)) skewY(var(--un-skew-y))
79
- scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y))
80
- scaleZ(var(--un-scale-z));
45
+ --at-apply: absolute z-[-1] w-40 h-40 pointer-events-none blur-[60px] opacity-0
46
+ transition-all duration-[1s] ease-[ease] -translate-x-1/4 -translate-y-1/4
47
+ rounded-full left-0 top-0;
81
48
  background-image: linear-gradient(45deg, #00dc82, #36e4da, #0047e1);
82
49
  }
83
50
 
84
51
  .app-setting-warp:hover .vue-devtools__anchor--glowing {
85
- opacity: 0.7;
52
+ --at-apply: op-70;
86
53
  }
87
54
 
88
55
  .app-setting {
89
- & {
90
- display: flex;
91
- flex-direction: column;
92
- align-items: center;
93
- justify-content: space-between;
94
- font-size: 0.875rem; /* 14px */
95
- line-height: 1.25rem; /* 20px */
96
- cursor: pointer;
97
- width: 30px;
98
- height: 76px;
99
- border-radius: 30px;
100
- color: #fff;
101
- background-color: rgb(var(--ui-primary));
102
- }
103
- .dark & {
104
- color: #222222;
105
- }
56
+ --at-apply: text-white dark:text-dark bg-ui-primary
57
+ flex flex-col items-center justify-between w-[30px] h-[76px]
58
+ text-sm cursor-pointer rounded-[30px];
106
59
  }
107
60
 
108
61
  .app-setting .app-setting-item {
109
- display: flex;
110
- flex: auto;
111
- align-items: center;
112
- justify-content: center;
113
- width: 100%;
114
- height: 0;
62
+ --at-apply: flex flex-[auto] items-center justify-center w-full h-0;
115
63
  }
116
64
 
117
65
  .app-setting .divider {
118
- width: 10px;
119
- height: 1px;
120
- background-color: #b3b3b3;
66
+ --at-apply: w-10px h-px bg-[#b3b3b3];
121
67
  }
122
68
 
123
69
  .app-setting .icon {