2017-05-08 22:57:49 +09:00
|
|
|
// Commonly used web colors
|
2023-02-13 12:57:03 +09:00
|
|
|
$black: #000000; // Black
|
|
|
|
$white: #ffffff; // White
|
|
|
|
$success-green: #79bd9a !default; // Padua
|
|
|
|
$error-red: #df405a !default; // Cerise
|
|
|
|
$warning-red: #ff5050 !default; // Sunset Orange
|
|
|
|
$gold-star: #ca8f04 !default; // Dark Goldenrod
|
2017-05-08 22:57:49 +09:00
|
|
|
|
2019-11-14 07:02:10 +09:00
|
|
|
$red-bookmark: $warning-red;
|
|
|
|
|
2017-05-08 22:57:49 +09:00
|
|
|
// Values from the classic Mastodon UI
|
2023-02-13 12:57:03 +09:00
|
|
|
$classic-base-color: #282c37; // Midnight Express
|
|
|
|
$classic-primary-color: #9baec8; // Echo Blue
|
|
|
|
$classic-secondary-color: #d9e1e8; // Pattens Blue
|
|
|
|
$classic-highlight-color: #6364ff; // Brand purple
|
2017-05-08 22:57:49 +09:00
|
|
|
|
|
|
|
// Variables for defaults in UI
|
2017-05-13 02:22:50 +09: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 22:57:49 +09:00
|
|
|
|
|
|
|
// Tell UI to use selected colors
|
2023-02-13 12:57:03 +09: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-22 04:35:55 +09: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 15:18:08 +09:00
|
|
|
$highlight-text-color: lighten($ui-highlight-color, 8%) !default;
|
2018-04-22 04:35:55 +09:00
|
|
|
$action-button-color: $ui-base-lighter-color !default;
|
2020-11-13 01:43:12 +09:00
|
|
|
$passive-text-color: $gold-star !default;
|
|
|
|
$active-passive-text-color: $success-green !default;
|
2022-06-02 02:22:35 +09:00
|
|
|
|
2018-04-22 04:35:55 +09: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-12-08 00:01:52 +09:00
|
|
|
|
|
|
|
// Language codes that uses CJK fonts
|
2017-12-08 05:35:19 +09:00
|
|
|
$cjk-langs: ja, ko, zh-CN, zh-HK, zh-TW;
|
2018-03-26 20:59:21 +09:00
|
|
|
|
|
|
|
// Variables for components
|
|
|
|
$media-modal-media-max-width: 100%;
|
2022-06-02 02:22:35 +09:00
|
|
|
|
2018-03-26 20:59:21 +09:00
|
|
|
// put margins on top and bottom of image to avoid the screen covered by image.
|
|
|
|
$media-modal-media-max-height: 80%;
|
2018-07-29 02:25:33 +09:00
|
|
|
|
2022-10-09 22:55:32 +09:00
|
|
|
$no-gap-breakpoint: 1175px;
|
2018-09-24 03:41:24 +09:00
|
|
|
|
2022-12-24 14:40:47 +09:00
|
|
|
$font-sans-serif: 'Pretendard Variable', 'Pretendard JP Variable', 'Pretendard', 'Pretendard JP', 'mastodon-font-sans-serif' !default;
|
2018-09-24 03:41:24 +09:00
|
|
|
$font-display: 'mastodon-font-display' !default;
|
|
|
|
$font-monospace: 'mastodon-font-monospace' !default;
|
2023-06-07 04:49:49 +09:00
|
|
|
|
|
|
|
:root {
|
|
|
|
--dropdown-border-color: #{lighten($ui-base-color, 12%)};
|
|
|
|
--dropdown-background-color: #{lighten($ui-base-color, 4%)};
|
|
|
|
--dropdown-shadow: 0 20px 25px -5px #{rgba($base-shadow-color, 0.25)},
|
|
|
|
0 8px 10px -6px #{rgba($base-shadow-color, 0.25)};
|
|
|
|
}
|