Browse Source

Task/refactor primary text colors (#5900)

* Refactor primary text colors
pull/5932/head
Thomas Kaul 3 weeks ago
committed by GitHub
parent
commit
332216ae1c
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 9
      apps/client/src/styles.scss
  2. 2
      apps/client/src/styles/variables.scss

9
apps/client/src/styles.scss

@ -1,5 +1,6 @@
@import './styles/bootstrap';
@import './styles/table';
@import './styles/variables';
@import 'svgmap/dist/svgMap';
@ -8,14 +9,18 @@
--font-family-sans-serif: 'Inter', Roboto, 'Helvetica Neue', sans-serif;
--light-background: rgb(255, 255, 255);
--dark-primary-text: 0, 0, 0, 0.87;
--dark-primary-text:
#{red($dark-primary-text)}, #{green($dark-primary-text)},
#{blue($dark-primary-text)}, #{alpha($dark-primary-text)};
--dark-secondary-text: 0, 0, 0, 0.54;
--dark-accent-text: 0, 0, 0, 0.87;
--dark-warn-text: 0, 0, 0, 0.87;
--dark-disabled-text: 0, 0, 0, 0.38;
--dark-dividers: 0, 0, 0, 0.12;
--dark-focused: 0, 0, 0, 0.12;
--light-primary-text: 255, 255, 255, 1;
--light-primary-text:
#{red($light-primary-text)}, #{green($light-primary-text)},
#{blue($light-primary-text)}, #{alpha($light-primary-text)};
--light-secondary-text: 255, 255, 255, 0.7;
--light-accent-text: 255, 255, 255, 1;
--light-warn-text: 255, 255, 255, 1;

2
apps/client/src/styles/variables.scss

@ -1,4 +1,4 @@
$dark-primary-text: rgba(black, 0.87);
$light-primary-text: white;
$light-primary-text: rgba(white, 1);
$mat-css-dark-theme-selector: '.theme-dark';

Loading…
Cancel
Save