mirror of
https://github.com/funamitech/mastodon
synced 2024-11-25 15:46:44 +09:00
b535966ab5
* Allow SCSS variables to be overridden with `app/javascript/pack/variables*.scss` * Allow these SCSS variables to be overriden: * `$base-shadow-color` * `$base-overlay-background` * `$base-border-color` * `$simple-background-color` * `$primary-text-color` * `$valid-value-color * `$error-value-color`
29 lines
1.1 KiB
SCSS
29 lines
1.1 KiB
SCSS
// Commonly used web colors
|
|
$black: #000000; // Black
|
|
$white: #ffffff; // White
|
|
$success-green: #79bd9a; // Padua
|
|
$error-red: #df405a; // Cerise
|
|
$warning-red: #ff5050; // Sunset Orange
|
|
$gold-star: #ca8f04; // Dark Goldenrod
|
|
|
|
// Values from the classic Mastodon UI
|
|
$classic-base-color: #282c37; // Midnight Express
|
|
$classic-primary-color: #9baec8; // Echo Blue
|
|
$classic-secondary-color: #d9e1e8; // Pattens Blue
|
|
$classic-highlight-color: #2b90d9; // Summer Sky
|
|
|
|
// Variables for defaults in UI
|
|
$base-shadow-color: $black !default;
|
|
$base-overlay-background: $black !default;
|
|
$base-border-color: $white !default;
|
|
$simple-background-color: $white !default;
|
|
$primary-text-color: $white !default;
|
|
$valid-value-color: $success-green !default;
|
|
$error-value-color: $error-red !default;
|
|
|
|
// Tell UI to use selected colors
|
|
$ui-base-color: $classic-base-color !default; // Darkest
|
|
$ui-primary-color: $classic-primary-color !default; // Lighter
|
|
$ui-secondary-color: $classic-secondary-color !default; // Lightest
|
|
$ui-highlight-color: $classic-highlight-color !default; // Vibrant
|