Skip to content

Commit

Permalink
fix: background and text colors
Browse files Browse the repository at this point in the history
  • Loading branch information
wuda-io committed Jun 12, 2024
1 parent 0cd9028 commit 90acdf6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 3 additions & 1 deletion dist/css/materialize.css
Original file line number Diff line number Diff line change
Expand Up @@ -778,6 +778,7 @@
--md-sys-color-scrim: var(--md-sys-color-scrim-dark);
}

/*
:root, :host {
--surface-color: var(--md-sys-color-surface);
--background-color: var(--md-sys-color-background);
Expand All @@ -800,7 +801,7 @@
--background-color-card: var(--surface-color);
--tooltip-background-color: #313033;
--tooltip-font-color: rgba(255, 255, 255, 0.77);
--separator-color: #DDDDDD; /* borders between components */
--separator-color: #DDDDDD;
--error-color: #F44336;
--slider-track-color: var(--md-sys-color-shadow-light);
--switch-thumb-off-color: var(--md-ref-palette-primary100);
Expand All @@ -821,6 +822,7 @@
--font-on-secondary-container-color: var(--md-sys-color-on-secondary-container);
--md_sys_color_on-surface: 28, 27, 31;
}
*/

:root[theme=dark] {
--font-on-primary-color-disabled: rgba(0, 0, 0, 0.38);
Expand Down
1 change: 1 addition & 0 deletions sass/components/_global.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ html {

body {
background-color: var(--md-sys-color-background);
color: var(--md-sys-color-on-background);
}

button,
Expand Down

0 comments on commit 90acdf6

Please sign in to comment.