ReviewOS

also looking at this

stacks/commshq

fix(ui): align component palette and contain homepage hero

#16
Merged glennmichael123 wants to merge fix/commshq-component-theme into main
7 files +157 -13
public/component-tokens.cssadded+28-0
Changes to public/component-tokens.css
@@ -0,0 +1,28 @@
1/* Component defaults for the workspace, which otherwise uses literal colors.
2 * Zero specificity lets marketing/auth's existing :root palettes win regardless
3 * of stylesheet order. Theme selection still belongs to the existing bootstrap.
4 * Success/error hues match WorkspaceSurface; warning/info remain neutral.
5 */
6:where(:root) {
7 --paper: #f6f3ee;
8 --panel: #ffffff;
9 --ink: #171916;
10 --muted: #686b65;
11 --line: rgba(23, 25, 22, 0.15);
12 --coral: #bd3e2e;
13 --coral-ink: #ffffff;
14 --comms-success: #466833;
15 --comms-danger: #8f3025;
16}
17
18:where(:root.dark) {
19 --paper: #111210;
20 --panel: #1b1c1a;
21 --ink: #f5f2ec;
22 --muted: #aaa9a3;
23 --line: rgba(255, 255, 255, 0.15);
24 --coral: #ff8a78;
25 --coral-ink: #191715;
26 --comms-success: #acd294;
27 --comms-danger: #ffab9a;
28}