also looking at this
refactor(ui): use shared auth submit buttons
#13
4 files
+74
-3
| @@ -197,6 +197,14 @@ export default { | ||
| 197 | 197 | + 'hover:bg-[color-mix(in_srgb,var(--accent)_88%,#000)] ' |
| 198 | 198 | + 'active:translate-y-px disabled:opacity-60 disabled:cursor-default', |
| 199 | 199 | |
| 200 | // Shared Button owns semantics and reactive state. These explicit | |
| 201 | // overrides preserve the existing auth controls without depending on | |
| 202 | // utility order or copying the component into the app. | |
| 203 | 'auth-submit': '!py-2.5 !shadow-none ' | |
| 204 | + '![transition:transform_0.12s_ease,opacity_0.15s_ease] ' | |
| 205 | + 'hover:!bg-[color-mix(in_srgb,var(--accent)_88%,#000)] ' | |
| 206 | + 'active:translate-y-px disabled:!opacity-60 disabled:!cursor-default', | |
| 207 | ||
| 200 | 208 | 'oauth-btn': 'bg-panel border border-line rounded-[10px] text-ink ' |
| 201 | 209 | + '[transition:border-color_0.15s_ease,transform_0.12s_ease] ' |
| 202 | 210 | + 'hover:border-[color-mix(in_srgb,var(--accent)_45%,var(--border))] ' |