app

Local-first trade for farms and co-ops
git clone https://radroots.dev/git/app.git
Log | Files | Refs | README | LICENSE

theme.css (1760B)


      1 /* Approved primitives. Compositions and once-only imports belong to app.css consumers. */
      2 @layer reset, base, components, utilities;
      3 
      4 @layer base {
      5   :root {
      6     color-scheme: light;
      7     --color-page: #ffffff;
      8     --color-surface: var(--color-page);
      9     --color-surface-muted: #f4f5f7;
     10     --color-text: #202124;
     11     --color-text-muted: #5e6268;
     12     --color-border: #d4d7dc;
     13     --color-control-border: #73777f;
     14     --color-primary: #1769c2;
     15     --color-primary-hover: #12559e;
     16     --color-primary-active: #104984;
     17     --color-on-primary: var(--color-page);
     18     --color-secondary: #f2f3f5;
     19     --color-secondary-hover: #e6e8eb;
     20     --color-secondary-active: #d9dde2;
     21     --color-focus: #005fcc;
     22     --color-danger: #9d2424;
     23     --color-warning: #76520b;
     24     --color-success: #246234;
     25     --color-disabled-text: #62666d;
     26     --font-family-body:
     27       -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
     28     --font-family-mono: ui-monospace, 'SFMono-Regular', Consolas, monospace;
     29     --font-size-small: 0.875rem;
     30     --font-size-body: 1rem;
     31     --font-size-title: 1.625rem;
     32     --font-size-heading: 1.125rem;
     33     --font-weight-normal: 400;
     34     --font-weight-emphasis: 600;
     35     --line-height-body: 1.5;
     36     --line-height-heading: 1.25;
     37     --space-1: 0.25rem;
     38     --space-2: 0.5rem;
     39     --space-3: 0.75rem;
     40     --space-4: 1rem;
     41     --space-5: 1.5rem;
     42     --space-6: 2rem;
     43     --space-7: 3rem;
     44     --border-hairline: 1px;
     45     --border-focus: 2px;
     46     --focus-offset: 2px;
     47     --radius-control: 4px;
     48     --control-min-height: 2.75rem;
     49     --textarea-min-height: 7rem;
     50     --measure-page: 64rem;
     51     --measure-form: 42rem;
     52     --measure-control-min: 14rem;
     53     --measure-key: 32ch;
     54     --size-visually-hidden: 1px;
     55     --visually-hidden-offset: -1px;
     56   }
     57 }