[default theme] add accent color option
This commit is contained in:
parent
dec695f5c7
commit
b42a2dfeb4
1 changed files with 14 additions and 2 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue