forked from mastodon/mastodon
-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: restore the classic blue theme
- Loading branch information
Showing
5 changed files
with
131 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
// Commonly used web colors | ||
$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 | ||
|
||
$red-bookmark: $warning-red; | ||
|
||
// 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; | ||
$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-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 | ||
$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; | ||
$highlight-text-color: $ui-highlight-color !default; | ||
$action-button-color: $ui-base-lighter-color !default; | ||
// 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; | ||
|
||
// Language codes that uses CJK fonts | ||
$cjk-langs: ja, ko, zh-CN, zh-HK, zh-TW; | ||
|
||
// 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%; | ||
|
||
$no-gap-breakpoint: 415px; | ||
|
||
$font-sans-serif: 'mastodon-font-sans-serif' !default; | ||
$font-display: 'mastodon-font-display' !default; | ||
$font-monospace: 'mastodon-font-monospace' !default; | ||
|
||
@import 'application'; | ||
@import 'contrast/diff'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
// Commonly used web colors | ||
$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 | ||
|
||
$red-bookmark: $warning-red; | ||
|
||
// 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; | ||
$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-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 | ||
$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; | ||
$highlight-text-color: $ui-highlight-color !default; | ||
$action-button-color: $ui-base-lighter-color !default; | ||
// 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; | ||
|
||
// Language codes that uses CJK fonts | ||
$cjk-langs: ja, ko, zh-CN, zh-HK, zh-TW; | ||
|
||
// 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%; | ||
|
||
$no-gap-breakpoint: 415px; | ||
|
||
$font-sans-serif: 'mastodon-font-sans-serif' !default; | ||
$font-display: 'mastodon-font-display' !default; | ||
$font-monospace: 'mastodon-font-monospace' !default; | ||
|
||
@import 'application'; | ||
@import 'contrast/diff'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters