Skip to content

Commit

Permalink
changed notification colors so text is more legible
Browse files Browse the repository at this point in the history
  • Loading branch information
insomnious committed Jan 3, 2024
1 parent ecdb299 commit f404cb3
Show file tree
Hide file tree
Showing 2 changed files with 116 additions and 116 deletions.
2 changes: 1 addition & 1 deletion src/stylesheets/details.scss
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ $state-info-text: $white;
$state-info-bg: $brand-info;
$state-info-border: $brand-info;

$state-warning-text: $white;
$state-warning-text: $black;
$state-warning-bg: $brand-warning;
$state-warning-border: $brand-warning;

Expand Down
230 changes: 115 additions & 115 deletions src/stylesheets/variables.scss
Original file line number Diff line number Diff line change
@@ -1,115 +1,115 @@
//== Base Colors

// setting dark-theme to true inverts the gray colors
// (so gray-dark actually becomes light). This way we
// get reasonable contrast without changing every
// single reference to a gray color
// $dark-theme: true;

$white: #ffffff;
$black: #000000;
$gray-darker: #DEE2E6;
$gray-dark: #DDDDDD;
$gray: #a9a9a9;
$gray-light: #4C4C4C;
$gray-lighter: #2A2C2B;

$brand-primary: #D78F46;
$brand-highlight: #00c1FF;
$brand-success: #86B951;
$brand-info: #00C1FF;
$brand-warning: #ff7300;
$brand-danger: #FF1C38;

$brand-bg: $gray-lighter;
$brand-menu: $gray-light;
$brand-clickable: $brand-primary;
$brand-secondary: $brand-primary;

$border-color: rgb(128, 128, 128);
$border-width: 1px;

$table-header-border-width: $border-width;
$table-header-border-color: $border-color;
$table-row-gap: 0px;
$table-header-separator: 1px;

$body-bg: $brand-menu;
$text-color: #eeeeee;
$text-color-disabled: darken($text-color, 40%);

$link-color: $brand-clickable;
$link-hover-color: darken($link-color, 15%);
$link-hover-decoration: underline;

$highlight-list: (
( 1, #6610f2 ),
( 2, #9f0dff ),
( 3, #ff00ba ),
( 4, #dcff0d ),
( 5, #13c8c4 ),
( 6, #FF1C38 ),
( 7, #26FF41 ),
( 8, #262AFF ),
);

$component-active-color: white;
$component-active-bg: $brand-primary;

//== Base fonts
$font-family-sans-serif: "Roboto", sans-serif;
$font-family-serif: Georgia, "Times New Roman", Times, serif;
$font-family-monospace: Menlo, Monaco, Consolas, "Courier New", monospace;
$font-family-base: "Roboto";
$font-family-headings: 'Montserrat', sans-serif, arial, helvetica;

$font-size-base: 12px;
$hidpi-scale-factor: 100%;

$headings-font-weight: 500;
$headings-line-height: 1.5;
$headings-color: inherit;


//== Base Spacing
$gutter-width: 24px;

$padding-base-vertical: 0.2em;
$padding-base-horizontal: 0.5em;

$padding-large-vertical: 1em;
$padding-large-horizontal: 1.8em;

$padding-small-vertical: 0.25em;
$padding-small-horizontal: 0.5em;

$padding-xs-vertical: 0.1em;
$padding-xs-horizontal: 0.4em;

$line-height-large: 1.5;
$line-height-small: 1.5;

$border-radius-base: 0;
$border-radius-large: 0;
$border-radius-small: 0;

$caret-width-base: 0.3em;
$caret-width-large: 0.3em;

//== Animation
$expand-sidebar-delay: 300ms;
$transition-time: 500ms;

//== Scrollbar
$scrollbar-width: 8px;

// TODO: for reasons I don't fully understand, the support for touch actions
// impacts scroll performance quite considerably, even when using the mouse.
// For most users, disabling this is probably fine but I guess we should
// make it a configuration or theme option
$touch-action: none;

$dashlet-height: 120px;

$tools-border-width: 2px !default;
$tools-icon-size: 32px !default;
//== Base Colors

// setting dark-theme to true inverts the gray colors
// (so gray-dark actually becomes light). This way we
// get reasonable contrast without changing every
// single reference to a gray color
// $dark-theme: true;

$white: #ffffff;
$black: #000000;
$gray-darker: #DEE2E6;
$gray-dark: #DDDDDD;
$gray: #a9a9a9;
$gray-light: #4C4C4C;
$gray-lighter: #2A2C2B;

$brand-primary: #D78F46;
$brand-highlight: #1D4ED8;
$brand-success: #86B951;
$brand-info: #1D4ED8;
$brand-warning: #FACC15;
$brand-danger: #FF1C38;

$brand-bg: $gray-lighter;
$brand-menu: $gray-light;
$brand-clickable: $brand-primary;
$brand-secondary: $brand-primary;

$border-color: rgb(128, 128, 128);
$border-width: 1px;

$table-header-border-width: $border-width;
$table-header-border-color: $border-color;
$table-row-gap: 0px;
$table-header-separator: 1px;

$body-bg: $brand-menu;
$text-color: #eeeeee;
$text-color-disabled: darken($text-color, 40%);

$link-color: $brand-clickable;
$link-hover-color: darken($link-color, 15%);
$link-hover-decoration: underline;

$highlight-list: (
( 1, #6610f2 ),
( 2, #9f0dff ),
( 3, #ff00ba ),
( 4, #dcff0d ),
( 5, #13c8c4 ),
( 6, #FF1C38 ),
( 7, #26FF41 ),
( 8, #262AFF ),
);

$component-active-color: white;
$component-active-bg: $brand-primary;

//== Base fonts
$font-family-sans-serif: "Roboto", sans-serif;
$font-family-serif: Georgia, "Times New Roman", Times, serif;
$font-family-monospace: Menlo, Monaco, Consolas, "Courier New", monospace;
$font-family-base: "Roboto";
$font-family-headings: 'Montserrat', sans-serif, arial, helvetica;

$font-size-base: 12px;
$hidpi-scale-factor: 100%;

$headings-font-weight: 500;
$headings-line-height: 1.5;
$headings-color: inherit;


//== Base Spacing
$gutter-width: 24px;

$padding-base-vertical: 0.2em;
$padding-base-horizontal: 0.5em;

$padding-large-vertical: 1em;
$padding-large-horizontal: 1.8em;

$padding-small-vertical: 0.25em;
$padding-small-horizontal: 0.5em;

$padding-xs-vertical: 0.1em;
$padding-xs-horizontal: 0.4em;

$line-height-large: 1.5;
$line-height-small: 1.5;

$border-radius-base: 0;
$border-radius-large: 0;
$border-radius-small: 0;

$caret-width-base: 0.3em;
$caret-width-large: 0.3em;

//== Animation
$expand-sidebar-delay: 300ms;
$transition-time: 500ms;

//== Scrollbar
$scrollbar-width: 8px;

// TODO: for reasons I don't fully understand, the support for touch actions
// impacts scroll performance quite considerably, even when using the mouse.
// For most users, disabling this is probably fine but I guess we should
// make it a configuration or theme option
$touch-action: none;

$dashlet-height: 120px;

$tools-border-width: 2px !default;
$tools-icon-size: 32px !default;

0 comments on commit f404cb3

Please sign in to comment.