MediaWiki:Colors.css: Difference between revisions

From MB Wiki
Jump to navigation Jump to search
mNo edit summary
m (Color Update)
 
Line 1: Line 1:
/* ===== COLOR SYSTEM ===== */
/** 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;


:root {
    /* Grayscale */
/* Gray Scale */
    --gray-950: #0f1419;
--gray-950: #0f1419;
    --gray-900: #1a202c;
--gray-900: #1a202c;
    --gray-700: #4a5568;
--gray-800: #2d3748;
    --gray-050: #ffffff;
--gray-700: #4a5568;
--gray-600: #718096;
--gray-500: #a0aec0;
--gray-400: #cbd5e0;
--gray-300: #e2e8f0;
--gray-200: #edf2f7;
--gray-100: #f7fafc;
/* Teal Scale */
--teal-900: #1d4044;
--teal-800: #234e52;
--teal-700: #285e61;
--teal-600: #2c7a7b;
--teal-500: #319795;
--teal-400: #38b2ac;
--teal-300: #4fd1c7;
--teal-200: #81e6d9;
--teal-100: #b2f5ea;
--teal-50: #e6fffa;
/* Spacing */
--spacing-xs: 4px;
--spacing-sm: 8px;
--spacing-md: 16px;
--spacing-lg: 24px;
--spacing-xl: 32px;
--spacing-2xl: 48px;
/* Shadows */
--shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.12);
--shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
--shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
--shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);
/* Borders */
--border-radius-sm: 4px;
--border-radius-md: 8px;
--border-radius-lg: 12px;
--border-radius-full: 9999px;
/* Transitions */
--transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
--transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
--transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);
}
}


/* Light Theme */
/* Light Theme Variables */
:root body:not(.skin-vector-dark) {
:root body:not(.skin-vector-dark) {
--theme-page-text-color: #1a2a2a;
    --theme-page-text-color: #1a2a2a;
--theme-page-background-color: #f5fdfb;
    --theme-page-background-color: #f5fdfb;
--theme-page-background-color--secondary: #e8f5f3;
    --theme-page-background-color--secondary: #e8f5f3;
--theme-link-color: #007d7a;
    --theme-link-color: #007d7a;
--theme-link-color--hover: #005652;
    --theme-border-color: #a1e9dc;
--theme-accent-color: #38b2ac;
    --theme-border-color-rgb: 161, 233, 220;
--theme-accent-label-color: #ffffff;
    --accent: var(--teal-400);
--theme-border-color: #a1e9dc;
--theme-border-color--subtle: #d1f5ee;
--card-bg-main: #ffffff;
--card-bg-elevated: #ffffff;
--input-bg: #ffffff;
--input-border: #cbd5e0;
}
}


/* Dark Theme */
/* Dark Theme Variables */
:root .skin-vector-dark {
:root .skin-vector-dark {
--theme-page-text-color: #e6f7f5;
    --theme-page-text-color: #e6f7f5;
--theme-page-background-color: rgba(22, 28, 36, 0.98);
    --theme-page-background-color: #1a202c;
--theme-page-background-color--secondary: #2a363d;
    --theme-page-background-color--secondary: #2a363d;
--theme-link-color: #5fd9cf;
    --theme-link-color: #5fd9cf;
--theme-link-color--hover: #81e6d9;
    --theme-border-color: #4d6872;
--theme-accent-color: #5fd9cf;
    --theme-border-color-rgb: 77, 104, 114;
--theme-accent-label-color: #1a202c;
    --accent: var(--teal-300);
--theme-border-color: #4d6872;
--theme-border-color--subtle: #3a5059;
--card-bg-main: #2a363d;
--card-bg-elevated: #34444d;
--input-bg: #2d3748;
--input-border: #4a5568;
}
}
/* Element-specific Colors */
.text-player { color: #60d9c5; font-weight: 600; }
.text-accent { color: var(--theme-accent-color); font-weight: 600; }
.text-error { color: #d53f3f; }
.text-warning { color: #c05621; }
.text-success { color: #2e8b57; }

Latest revision as of 11:53, 25 March 2026

/** 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);
}