Skip to content

Commit 41446bb

Browse files
Merge pull request #741 from jarrodmillman/prep4darkmode
Use PST colors for tabs
2 parents 36e81d1 + 2f2dbe7 commit 41446bb

File tree

2 files changed

+5
-26
lines changed

2 files changed

+5
-26
lines changed

assets/css/tabs.scss

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,7 @@ table td, table th {
5050
}
5151

5252
.grid-container > div {
53-
/* White, with 80% opacity */
54-
background-color: rgba(255, 255, 255, 0.8);
53+
background-color: var(--pst-color-background);
5554
text-align: middle;
5655
}
5756

@@ -73,8 +72,8 @@ table td, table th {
7372
}
7473

7574
.image-grid > div {
76-
background-color: rgb(238, 238, 238);
77-
border: 2px solid rgb(255, 255, 255);
75+
background-color: var(--pst-color-surface);
76+
border: 2px solid var(--pst-color-surface);
7877
border-radius: 10px;
7978
padding: 10px;
8079
}
@@ -99,7 +98,7 @@ section.scientific-domains {
9998

10099
& header {
101100
// FIXME: Use appropriate PST color for this header text.
102-
color: var(--colorPrimaryDark);
101+
color: var(--pst-color-text-base);
103102
font-weight: 700;
104103
// Ensure headers are the same minimum height (some wrap
105104
// to two lines).
Lines changed: 1 addition & 21 deletions
Loading

0 commit comments

Comments
 (0)