[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;
}
#link-container a {
<% if(config.hasOwnProperty("themeOpts") && config.themeOpts.hasOwnProperty("accentColor")) { %>
color: <%= config.themeOpts.accentColor %> !important;
<% } else { %>
color: #82d3ff !important;
<% } %>
}
#link-container {
display: flex;
@ -32,10 +36,18 @@
a {
text-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 {
color: #82d3ff;
<% if(config.hasOwnProperty("themeOpts") && config.themeOpts.hasOwnProperty("accentColor")) { %>
color: <%= config.themeOpts.accentColor %> !important;
<% } else { %>
color: #82d3ff !important;
<% } %>
line-height: 25px;
text-decoration: underline;
}