ReviewOS

also looking at this

loghqorg/loghq

refactor(ui): use shared auth submit buttons

#13
Merged glennmichael123 wants to merge refactor/loghq-shared-controls into main
4 files +74 -3
config/crosswind.tsmodified+8-0
Changes to config/crosswind.ts
@@ -197,6 +197,14 @@ export default {
197197 + 'hover:bg-[color-mix(in_srgb,var(--accent)_88%,#000)] '
198198 + 'active:translate-y-px disabled:opacity-60 disabled:cursor-default',
199199
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
200208 'oauth-btn': 'bg-panel border border-line rounded-[10px] text-ink '
201209 + '[transition:border-color_0.15s_ease,transform_0.12s_ease] '
202210 + 'hover:border-[color-mix(in_srgb,var(--accent)_45%,var(--border))] '