2017-05-08 16:57:49 +03: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
|
|
|
|
|
2018-05-21 19:57:51 +03:00
|
|
|
$red-bookmark: $warning-red;
|
|
|
|
|
2017-05-08 16:57:49 +03:00
|
|
|
// Values from the classic Mastodon UI
|
|
|
|
$classic-base-color: #282c37; // Midnight Express
|
|
|
|
$classic-primary-color: #9baec8; // Echo Blue
|
|
|
|
$classic-secondary-color: #d9e1e8; // Pattens Blue
|
2022-06-09 23:25:23 +03:00
|
|
|
$classic-highlight-color: #6364ff; // Brand purple
|
2017-05-08 16:57:49 +03:00
|
|
|
|
|
|
|
// Variables for defaults in UI
|
2017-05-12 20:22:50 +03:00
|
|
|
$base-shadow-color: $black !default;
|
|
|
|
$base-overlay-background: $black !default;
|
|
|
|
$base-border-color: $white !default;
|
|
|
|
$simple-background-color: $white !default;
|
|
|
|
$valid-value-color: $success-green !default;
|
|
|
|
$error-value-color: $error-red !default;
|
2017-05-08 16:57:49 +03:00
|
|
|
|
|
|
|
// Tell UI to use selected colors
|
2017-07-24 16:09:08 +03: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-05-05 18:58:46 +03:00
|
|
|
$ui-highlight-color: $classic-highlight-color !default;
|
|
|
|
|
|
|
|
// Variables for texts
|
|
|
|
$primary-text-color: $white !default;
|
|
|
|
$darker-text-color: $ui-primary-color !default;
|
|
|
|
$dark-text-color: $ui-base-lighter-color !default;
|
|
|
|
$secondary-text-color: $ui-secondary-color !default;
|
2022-06-19 09:18:08 +03:00
|
|
|
$highlight-text-color: lighten($ui-highlight-color, 8%) !default;
|
2018-05-05 18:58:46 +03:00
|
|
|
$action-button-color: $ui-base-lighter-color !default;
|
2020-11-12 18:43:12 +02:00
|
|
|
$passive-text-color: $gold-star !default;
|
|
|
|
$active-passive-text-color: $success-green !default;
|
2018-05-05 18:58:46 +03:00
|
|
|
// For texts on inverted backgrounds
|
|
|
|
$inverted-text-color: $ui-base-color !default;
|
|
|
|
$lighter-text-color: $ui-base-lighter-color !default;
|
|
|
|
$light-text-color: $ui-primary-color !default;
|
2017-06-19 01:09:03 +03:00
|
|
|
|
2018-01-13 20:41:20 +02:00
|
|
|
// Language codes that uses CJK fonts
|
|
|
|
$cjk-langs: ja, ko, zh-CN, zh-HK, zh-TW;
|
|
|
|
|
2018-04-09 01:56:59 +03: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%;
|
|
|
|
|
2018-07-31 23:54:18 +03:00
|
|
|
$no-gap-breakpoint: 415px;
|
|
|
|
|
2018-10-01 14:13:58 +03:00
|
|
|
$font-sans-serif: 'mastodon-font-sans-serif' !default;
|
|
|
|
$font-display: 'mastodon-font-display' !default;
|
|
|
|
$font-monospace: 'mastodon-font-monospace' !default;
|
|
|
|
|
2017-06-19 01:09:03 +03:00
|
|
|
// Avatar border size (8% default, 100% for rounded avatars)
|
|
|
|
$ui-avatar-border-size: 8%;
|
2017-11-18 05:11:18 +02:00
|
|
|
|
|
|
|
// More variables
|
|
|
|
$dismiss-overlay-width: 4rem;
|