MediaWiki:Colors.css

From MB Wiki
Revision as of 11:53, 25 March 2026 by Ais (talk | contribs) (Color Update)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
/** Foundation: MediaWiki Colors **/
:root {
    /* Main Palette */
    --teal-600: #2c7a7b;
    --teal-500: #319795;
    --teal-400: #38b2ac;
    --teal-300: #4fd1c7;
    --teal-200: #81e6d9;
    --teal-100: #b2f5ea;
    --teal-050: #e6fffa;
    --gold-accent: #e7c361;
    --gold-hover: #d69e2e;

    /* Grayscale */
    --gray-950: #0f1419;
    --gray-900: #1a202c;
    --gray-700: #4a5568;
    --gray-050: #ffffff;
}

/* Light Theme Variables */
:root body:not(.skin-vector-dark) {
    --theme-page-text-color: #1a2a2a;
    --theme-page-background-color: #f5fdfb;
    --theme-page-background-color--secondary: #e8f5f3;
    --theme-link-color: #007d7a;
    --theme-border-color: #a1e9dc;
    --theme-border-color-rgb: 161, 233, 220;
    --accent: var(--teal-400);
}

/* Dark Theme Variables */
:root .skin-vector-dark {
    --theme-page-text-color: #e6f7f5;
    --theme-page-background-color: #1a202c;
    --theme-page-background-color--secondary: #2a363d;
    --theme-link-color: #5fd9cf;
    --theme-border-color: #4d6872;
    --theme-border-color-rgb: 77, 104, 114;
    --accent: var(--teal-300);
}