Skip to content

Commit 77a37b3

Browse files
committed
Update table styles and color variables for improved contrast
1 parent d56a5f2 commit 77a37b3

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

src/web/www/style/projectors/proj-table.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,9 @@
2222
}
2323

2424
.table th {
25-
background-color: var(--df-header-bg);
25+
background-color: var(--table-header-bg);
2626
font-weight: 600;
27+
color: white;
2728
}
2829

2930
.table tr:nth-child(even) {

src/web/www/style/variables.css

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -228,8 +228,8 @@
228228
--modal-z: 101;
229229

230230
/* TABLE TABLES */
231-
--df-bg: var(--T3);
232-
--df-header-bg: oklch(from var(--df-bg) 85% calc(c * 0.7) h);
233-
--df-zebra-bg: oklch(from var(--df-bg) 88% c h);
234-
--df-hover-bg: oklch(80% 0.1 250); /* gentle blue highlight */
231+
--df-bg: var(--SAND);
232+
--table-header-bg: rgb(121, 121, 121);
233+
--df-zebra-bg: var(--T2);
234+
--df-hover-bg: oklch(90% 0.1 250); /* gentle blue highlight */
235235
}

0 commit comments

Comments
 (0)