Skip to content

Commit

Permalink
Decrease contrast
Browse files Browse the repository at this point in the history
  • Loading branch information
kedamaDQ committed Oct 19, 2024
1 parent eee35bd commit 6adb069
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
2 changes: 2 additions & 0 deletions app/javascript/styles/application.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
@import 'fonts/roboto';
@import 'fonts/roboto-mono';

@import 'override';

@import 'mastodon/reset';
@import 'mastodon/basics';
@import 'mastodon/branding';
Expand Down
2 changes: 1 addition & 1 deletion app/javascript/styles/mastodon-light/variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ body {
--modal-border-color: hsl(240deg, 25%, 88%);
--modal-background-color: var(--background-color-tint);
--background-border-color: hsl(240deg, 25%, 88%);
--background-color: #fff;
--background-color: #f4f4f4;
--background-color-tint: rgba(255, 255, 255, 80%);
--background-filter: blur(10px);
--on-surface-color: #{transparentize($ui-base-color, 0.65)};
Expand Down
8 changes: 8 additions & 0 deletions app/javascript/styles/override.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
$primary-text-color: darken($white, 8%) !default;
$darker-text-color: lighten($ui-primary-color, 8%) !default;
$dark-text-color: lighten($ui-base-lighter-color, 12%) !default;
$highlight-text-color: lighten($ui-highlight-color, 12%) !default;

:root {
--background-color: #{darken($ui-base-color, 4%)};
}

0 comments on commit 6adb069

Please sign in to comment.