Skip to content

Commit 3f59ce2

Browse files
committed
refactor: adjust styles for light theme
1 parent c8d1f02 commit 3f59ce2

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

blog/common/common_static/custom.templ

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ templ CustomCSS() {
189189
.button-84 {
190190
align-items: center;
191191
background-color: initial;
192-
background-image: linear-gradient(#464d55, #25292e);
192+
background-image: var(--spoiler-background);
193193
border-radius: 8px;
194194
border-width: 0;
195195
box-shadow: 0 10px 20px rgba(0, 0, 0, .1),0 3px 6px rgba(0, 0, 0, .05);

blog/common/shared.templ

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,8 @@ templ Html5(options HtmlOptions) {
9898
--color-severe: #db6d28;
9999
--color-caution: #f85149;
100100
--color-important: #a371f7;
101+
102+
--spoiler-background: linear-gradient(#464d55, #25292e);
101103
}
102104
body {
103105
background: #0D0D0D;
@@ -118,6 +120,8 @@ templ Html5(options HtmlOptions) {
118120
--color-severe: #bc4c00;
119121
--color-caution: #d1242f;
120122
--color-important: #8250df;
123+
124+
--spoiler-background: linear-gradient(#e5c48a, #977f54);
121125
}
122126
body {
123127
background: #f0f0f0;

0 commit comments

Comments
 (0)