/*
 * tokens.css — design tokens: the colors, fonts, and sizes used everywhere.
 *
 * Change a value here and it updates across the whole app. The look is
 * modeled on Wikipedia: serif headings, plain sans-serif text, link blue,
 * thin gray rules, square corners.
 */

:root {
  /* Text */
  --color-text: #202122;
  --color-text-muted: #54595d;
  --color-text-faint: #72777d;
  --color-link: #0645ad;
  --color-link-hover: #0b0080;

  /* Brand / action color */
  --color-accent: #3366cc;
  --color-accent-hover: #2a4b8d;
  --color-accent-soft: #eaf3ff;
  --color-accent-border: #b6ccee;
  --color-on-accent: #ffffff; /* text on an accent-colored fill */

  /* Status */
  --color-danger: #b32424;
  --color-danger-soft: #fee7e6;
  --color-warning-soft: #fef6e7;
  --color-warning-text: #7a4b00;

  /* Surfaces and lines */
  --color-page: #f8f9fa;
  --color-surface: #ffffff;
  --color-surface-muted: #f8f9fa;
  --color-border: #c8ccd1;
  --color-border-strong: #a2a9b1;
  --color-border-faint: #eaecf0;

  /* Type */
  --font-sans: Arial, Helvetica, sans-serif;
  /* The app's own font and link color. A space's appearance changes
     --font-sans and --color-link; app navigation (like the Blog tabs on a
     blog) uses these instead, so it looks the same everywhere. */
  --ui-font: Arial, Helvetica, sans-serif;
  --ui-link: #0645ad;
  --font-serif: Georgia, 'Linux Libertine', 'Times New Roman', serif;
  /* The "3den" wordmark: always this face, whatever the theme (js/ui/themes.js). */
  --font-wordmark: Georgia, 'Linux Libertine', 'Times New Roman', serif;
  --font-size-small: 12px;
  --font-size-body: 14px;
  --font-size-large: 16px;
  --line-height: 1.6;

  /* Shape and spacing */
  --radius: 2px;
  --grid-gap: 26px; /* room between modules to roll the wheel over the page */
  --grid-row-height: 24px; /* keep in sync with ROW_HEIGHT_PX in js/state/store.js */
  --shadow-raised: 0 2px 4px rgba(0, 0, 0, 0.2);

  /* Layout */
  --library-width: 280px;
  --content-max-width: 1200px;
}
