mirror of
https://git.bsd.gay/fef/nyastodon.git
synced 2025-01-10 22:16:56 +01:00
53 lines
1.8 KiB
SCSS
53 lines
1.8 KiB
SCSS
// Commonly used web colors
|
|
$black: #000000;
|
|
$white: #ffffff;
|
|
$success-green: #5fe43d;
|
|
$error-red: #c9343b;
|
|
$warning-red: #c96932;
|
|
$gold-star: #e4ba3d;
|
|
|
|
$red-bookmark: $success-green;
|
|
|
|
// Values from the classic Mastodon UI
|
|
$classic-base-color: #150f21;
|
|
$classic-primary-color: #d4b6cb;
|
|
$classic-secondary-color: #eaddf4;
|
|
$classic-highlight-color: #de18a3;
|
|
|
|
// Variables for defaults in UI
|
|
$base-shadow-color: $black !default;
|
|
$base-overlay-background: $black !default;
|
|
$base-border-color: $white !default;
|
|
$simple-background-color: lighten($classic-base-color, 7%) !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;
|
|
$ui-base-lighter-color: #5f4a6e !default;
|
|
$ui-primary-color: $classic-primary-color !default;
|
|
$ui-secondary-color: $classic-secondary-color !default;
|
|
$ui-highlight-color: $classic-highlight-color !default;
|
|
|
|
// Variables for texts
|
|
$primary-text-color: $classic-secondary-color !default;
|
|
$darker-text-color: $ui-primary-color !default;
|
|
$dark-text-color: $ui-base-lighter-color !default;
|
|
$secondary-text-color: $ui-secondary-color !default;
|
|
$highlight-text-color: lighten($ui-highlight-color, 8%) !default;
|
|
$action-button-color: $ui-base-lighter-color !default;
|
|
$passive-text-color: $gold-star !default;
|
|
$active-passive-text-color: $success-green !default;
|
|
|
|
// For texts on inverted backgrounds
|
|
$inverted-text-color: $primary-text-color !default; // we don't do inverted backgrounds
|
|
$lighter-text-color: $ui-base-lighter-color !default;
|
|
$light-text-color: $ui-primary-color !default;
|
|
|
|
// 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%;
|
|
|
|
$border-radius: 8px;
|