Skip to content

Commit 90acdf6

Browse files
committed
fix: background and text colors
1 parent 0cd9028 commit 90acdf6

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

dist/css/materialize.css

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -778,6 +778,7 @@
778778
--md-sys-color-scrim: var(--md-sys-color-scrim-dark);
779779
}
780780

781+
/*
781782
:root, :host {
782783
--surface-color: var(--md-sys-color-surface);
783784
--background-color: var(--md-sys-color-background);
@@ -800,7 +801,7 @@
800801
--background-color-card: var(--surface-color);
801802
--tooltip-background-color: #313033;
802803
--tooltip-font-color: rgba(255, 255, 255, 0.77);
803-
--separator-color: #DDDDDD; /* borders between components */
804+
--separator-color: #DDDDDD;
804805
--error-color: #F44336;
805806
--slider-track-color: var(--md-sys-color-shadow-light);
806807
--switch-thumb-off-color: var(--md-ref-palette-primary100);
@@ -821,6 +822,7 @@
821822
--font-on-secondary-container-color: var(--md-sys-color-on-secondary-container);
822823
--md_sys_color_on-surface: 28, 27, 31;
823824
}
825+
*/
824826

825827
:root[theme=dark] {
826828
--font-on-primary-color-disabled: rgba(0, 0, 0, 0.38);

sass/components/_global.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ html {
88

99
body {
1010
background-color: var(--md-sys-color-background);
11+
color: var(--md-sys-color-on-background);
1112
}
1213

1314
button,

0 commit comments

Comments
 (0)