Add support for light themes
This commit is contained in:
@@ -23,7 +23,10 @@
|
||||
<input type="radio" id="style_hacker" name="style"><label for="style_hacker">Hacker Style</label><br/>
|
||||
<input type="radio" id="style_canta" name="style"><label for="style_canta">Canta Style</label>
|
||||
(Inspired by <a href="https://github.com/vinceliuice/Canta-theme" target="_blank">Canta GTK</a>)<br/>
|
||||
<input type="radio" id="style_nord" name="style"><label for="style_nord">Nord Style</label><br/>
|
||||
<input type="radio" id="style_nord" name="style"><label for="style_nord">Nord Style</label>
|
||||
(Inspired by <a href="https://www.nordtheme.com/" target="_blank">Nord</a>)<br/>
|
||||
<input type="radio" id="style_snowstorm" name="style"><label for="style_snowstorm">Snowstorm Style</label>
|
||||
(Inspired by <a href="https://www.nordtheme.com/" target="_blank">Nord</a>)<br/>
|
||||
<input type="radio" id="style_deepsea" name="style"><label for="style_deepsea">Deep Sea Style</label><br/>
|
||||
<input type="radio" id="style_skeuos" name="style"><label for="style_skeuos">Skeuos Style</label>
|
||||
(Inspired by <a href="https://www.gnome-look.org/p/1441725/" target="_blank">Skeuos GTK</a>)<br/>
|
||||
|
@@ -8,15 +8,15 @@
|
||||
{{ define "user_style_js" }}
|
||||
<script>
|
||||
window.style = {
|
||||
textColor: "{{.Style.TextColor.RGB}}",
|
||||
inputColor: "{{.Style.InputColor.RGB}}",
|
||||
inputTextColor: "{{.Style.InputTextColor.RGB}}",
|
||||
highlightColor: "{{.Style.HighlightColor.RGB}}",
|
||||
dangerColor: "{{.Style.DangerColor.RGB}}",
|
||||
layer1Color: "{{.Style.Layer1Color.RGB}}",
|
||||
layer2Color: "{{.Style.Layer2Color.RGB}}",
|
||||
layer3Color: "{{.Style.Layer3Color.RGB}}",
|
||||
layer4Color: "{{.Style.Layer4Color.RGB}}",
|
||||
textColor: "{{.Style.Text.RGB}}",
|
||||
inputColor: "{{.Style.Input.RGB}}",
|
||||
inputTextColor: "{{.Style.InputText.RGB}}",
|
||||
highlightColor: "{{.Style.Highlight.RGB}}",
|
||||
dangerColor: "{{.Style.Danger.RGB}}",
|
||||
layer1Color: "{{.Style.Layer1.RGB}}",
|
||||
layer2Color: "{{.Style.Layer2.RGB}}",
|
||||
layer3Color: "{{.Style.Layer3.RGB}}",
|
||||
layer4Color: "{{.Style.Layer4.RGB}}",
|
||||
}
|
||||
</script>
|
||||
{{ end }}
|
||||
|
@@ -16,10 +16,9 @@
|
||||
Here are all files you have previously uploaded to pixeldrain using this computer.
|
||||
This data is saved locally in your web browser and gets updated every time you upload a file through your current browser.
|
||||
</p>
|
||||
<br/>
|
||||
|
||||
<div id="uploaded_files" class="highlight_dark"></div>
|
||||
</section>
|
||||
|
||||
<div id="uploaded_files"></div>
|
||||
{{template "page_bottom" .}}
|
||||
|
||||
<script>
|
||||
|
@@ -34,6 +34,7 @@
|
||||
border-top-left-radius: 0.5em;
|
||||
border-bottom-left-radius: 0.5em;
|
||||
background-color: var(--layer_1_color);
|
||||
color: var(--layer_1_text_color);
|
||||
}
|
||||
.feat_table > div > .feat_normal {
|
||||
background-color: var(--layer_3_color);
|
||||
@@ -46,10 +47,10 @@
|
||||
text-shadow: 1px 1px 4px var(--shadow_color);
|
||||
}
|
||||
.feat_table > div > .feat_highlight {
|
||||
border: 1px solid var(--highlight_color)
|
||||
border: 1px solid var(--link_color)
|
||||
}
|
||||
.text_highlight {
|
||||
color: var(--highlight_color);
|
||||
color: var(--link_color);
|
||||
text-shadow: 0 0 4px var(--shadow_color);
|
||||
font-size: 1.1em;
|
||||
font-weight: bold;
|
||||
|
Reference in New Issue
Block a user