[default theme] add accent color option

This commit is contained in:
Your Name 2024-06-09 00:17:49 +02:00
parent dec695f5c7
commit b42a2dfeb4

View file

@ -16,7 +16,11 @@
text-align: center; text-align: center;
} }
#link-container a { #link-container a {
<% if(config.hasOwnProperty("themeOpts") && config.themeOpts.hasOwnProperty("accentColor")) { %>
color: <%= config.themeOpts.accentColor %> !important;
<% } else { %>
color: #82d3ff !important; color: #82d3ff !important;
<% } %>
} }
#link-container { #link-container {
display: flex; display: flex;
@ -32,10 +36,18 @@
a { a {
text-decoration: none; text-decoration: none;
decoration: none; decoration: none;
color: #82d3ff; <% if(config.hasOwnProperty("themeOpts") && config.themeOpts.hasOwnProperty("accentColor")) { %>
color: <%= config.themeOpts.accentColor %> !important;
<% } else { %>
color: #82d3ff !important;
<% } %>
} }
table td { table td {
color: #82d3ff; <% if(config.hasOwnProperty("themeOpts") && config.themeOpts.hasOwnProperty("accentColor")) { %>
color: <%= config.themeOpts.accentColor %> !important;
<% } else { %>
color: #82d3ff !important;
<% } %>
line-height: 25px; line-height: 25px;
text-decoration: underline; text-decoration: underline;
} }