Skip to content

Commit 65514f3

Browse files
authored
refactor: override base styles properties with Lumo colors (#10450)
1 parent e74c15a commit 65514f3

File tree

1 file changed

+10
-0
lines changed
  • packages/vaadin-lumo-styles/src/props

1 file changed

+10
-0
lines changed

packages/vaadin-lumo-styles/src/props/color.css

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,16 @@
8989
--vaadin-user-color-4: #bf16f3;
9090
--vaadin-user-color-5: #084391;
9191
--vaadin-user-color-6: #078836;
92+
93+
/* Base styles colors */
94+
--vaadin-text-color: var(--lumo-body-text-color);
95+
--vaadin-text-color-secondary: var(--lumo-secondary-text-color);
96+
--vaadin-text-color-disabled: var(--lumo-disabled-text-color);
97+
--vaadin-border-color: var(--lumo-contrast-30pct);
98+
--vaadin-border-color-secondary: var(--lumo-contrast-10pct);
99+
--vaadin-background-color: var(--lumo-base-color);
100+
--vaadin-background-container: var(--lumo-contrast-5pct);
101+
--vaadin-background-container-strong: var(--lumo-contrast-10pct);
92102
}
93103

94104
/* forced-colors mode adjustments */

0 commit comments

Comments
 (0)