Skip to content

Commit 5a60a7d

Browse files
committed
Use pst-color-text-base instead of colorText
perl -pi -e 's:var\(\-\-colorText\):var(\-\-pst\-color\-text\-base\):g' assets/theme-css/content.css perl -pi -e 's:var\(\-\-colorText\):var(\-\-pst\-color\-text\-base\):g' assets/theme-css/posts.css perl -pi -e 's:var\(\-\-colorText\):var(\-\-pst\-color\-text\-base\):g' assets/theme-css/panel.css perl -pi -e 's:var\(\-\-colorText\):var(\-\-pst\-color\-text\-base\):g' assets/theme-css/shortcuts.css sed -i '/\-\-colorText\: /d' assets/theme-css/light-mode.css sed -i '/\-\-colorText\: /d' assets/theme-css/dark-mode.css
1 parent 3542e09 commit 5a60a7d

7 files changed

Lines changed: 11 additions & 13 deletions

File tree

assets/theme-css/content.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
.content-container .divider {
2525
height: 3px;
2626
border-radius: 50px;
27-
background: var(--colorText);
27+
background: var(--pst-color-text-base);
2828
width: 60px;
2929
&.is-centered {
3030
margin: 0 auto;

assets/theme-css/dark-mode.css

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
--colorBackgroundAlt: var(--colorPrimaryDark);
88
--colorBackgroundAlt2: var(--colorSecondaryDark);
99

10-
--colorText: white;
1110
--colorTextAlt: var(--colorSecondaryLight);
1211

1312
--colorContentLink: var(--colorPrimaryLight);

assets/theme-css/light-mode.css

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
--colorBackgroundAlt: var(--colorPrimaryDark);
66
--colorBackgroundAlt2: var(--colorSecondaryDark);
77

8-
--colorText: black;
98
--colorTextAlt: var(--colorSecondaryDark);
109

1110
--colorContentLink: var(--colorBrightBlue);

assets/theme-css/panel.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@
109109
.panel-button {
110110
border: 2px solid var(--colorPrimary);
111111
background-color: var(--colorLight);
112-
color: var(--colorText) !important;
112+
color: var(--pst-color-text-base) !important;
113113
font-size: 16px;
114114
cursor: pointer;
115115
padding-bottom: calc(0.5em - 1px);

assets/theme-css/posts.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ div.post-list {
44

55
.post-title a {
66
/* ".content-padding a" rule conflicts. */
7-
color: var(--colorText) !important;
7+
color: var(--pst-color-text-base) !important;
88
}
99

1010
.post-list article {

assets/theme-css/shortcuts.css

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,14 @@
1313

1414
#shortcuts > div:not(.active) {
1515
margin-left: 2px;
16-
border-left: 1px solid var(--colorText);
16+
border-left: 1px solid var(--pst-color-text-base);
1717
opacity: 0.75;
1818
}
1919

2020
#shortcuts > div.active {
2121
font-weight: bold;
22-
color: var(--colorText);
23-
border-left: 5px solid var(--colorText);
22+
color: var(--pst-color-text-base);
23+
border-left: 5px solid var(--pst-color-text-base);
2424
}
2525

2626
.shortcuts-H2 {

assets/theme-css/styles.css

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ a > code {
6767
font-family: var(--fontFamily), sans-serif;
6868
font-weight: 900;
6969
font-size: 6em;
70-
color: var(--colorText);
70+
color: var(--pst-color-text-base);
7171
justify-content: center;
7272
margin-left: 1em;
7373
margin-bottom: 0.2em;
@@ -83,7 +83,7 @@ a > code {
8383
}
8484

8585
.hero-subtitle {
86-
color: var(--colorText);
86+
color: var(--pst-color-text-base);
8787
font-size: 1em;
8888
max-width: 550px;
8989
}
@@ -310,7 +310,7 @@ svg.icon {
310310
nav,
311311
.navbar {
312312
background: var(--colorBackground);
313-
color: var(--colorText);
313+
color: var(--pst-color-text-base);
314314
}
315315
.navbar-burger {
316316
color: var(--colorTextAlt);
@@ -327,7 +327,7 @@ nav,
327327

328328
a.navbar-item,
329329
a.navbar-item:visited {
330-
color: var(--colorText);
330+
color: var(--pst-color-text-base);
331331
text-decoration: none;
332332
}
333333

@@ -341,7 +341,7 @@ a.navbar-item:hover {
341341
}
342342

343343
.navbar-logo-text {
344-
color: var(--colorText);
344+
color: var(--pst-color-text-base);
345345
font-size: 1.25rem;
346346
font-weight: bold;
347347
}

0 commit comments

Comments
 (0)