diff --git a/frontend/src/assets/components.css b/frontend/src/assets/components.css new file mode 100644 index 0000000..2330227 --- /dev/null +++ b/frontend/src/assets/components.css @@ -0,0 +1,114 @@ +/* Shared component styles — the house recipes, in one place. + * =========================================================================== + * + * WHY THIS FILE EXISTS + * + * `.btn-primary` was defined five times, in five scoped stylesheets, and all + * five had drifted: three paddings, three font sizes, three disabled opacities, + * and one view with no disabled style at all (#2273). Nothing detected that, + * because a scoped duplicate is invisible to every tool — it isn't a rule + * violation, isn't a broken reference, and isn't a recorded snippet. + * + * GEOMETRY LIVES HERE; the class names are the app's existing ones so no + * template changes. Every value is a design-system token, so a palette or scale + * change moves the buttons rather than stranding a copy that no longer matches. + * + * MIGRATION NOTE — this file is deliberately safe to land ahead of the removals. + * These are plain selectors (specificity 0,1,0); a Vue `