2017-05-08 15:57:49 +02:00
|
|
|
// 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
|
2017-05-12 19:22:50 +02:00
|
|
|
$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;
|
2018-04-18 16:52:15 +02:00
|
|
|
$darker-text-color: rgba($primary-text-color, 0.7) !default;
|
|
|
|
$highlight-text-color: $classic-highlight-color !default;
|
|
|
|
$inverted-text-color: $black !default;
|
|
|
|
$lighter-text-color: rgba($inverted-text-color, 0.7) !default;
|
|
|
|
$action-button-color: #8d9ac2;
|
2017-05-12 19:22:50 +02:00
|
|
|
$valid-value-color: $success-green !default;
|
|
|
|
$error-value-color: $error-red !default;
|
2017-05-08 15:57:49 +02:00
|
|
|
|
|
|
|
// Tell UI to use selected colors
|
2017-07-24 15:09:08 +02:00
|
|
|
$ui-base-color: $classic-base-color !default; // Darkest
|
|
|
|
$ui-base-lighter-color: lighten($ui-base-color, 26%) !default; // Lighter darkest
|
|
|
|
$ui-primary-color: $classic-primary-color !default; // Lighter
|
|
|
|
$ui-secondary-color: $classic-secondary-color !default; // Lightest
|
2018-04-18 16:52:15 +02:00
|
|
|
$ui-highlight-color: #2b5fd9;
|
2017-12-07 16:01:52 +01:00
|
|
|
|
|
|
|
// Language codes that uses CJK fonts
|
2017-12-07 21:35:19 +01:00
|
|
|
$cjk-langs: ja, ko, zh-CN, zh-HK, zh-TW;
|
2018-03-26 13:59:21 +02:00
|
|
|
|
|
|
|
// Variables for components
|
|
|
|
$media-modal-media-max-width: 100%;
|
|
|
|
// put margins on top and bottom of image to avoid the screen covered by image.
|
|
|
|
$media-modal-media-max-height: 80%;
|