diff --git a/res/include/img/background_patterns/checker0_light.png b/res/include/img/background_patterns/checker0_light.png new file mode 100644 index 0000000..253bf1c Binary files /dev/null and b/res/include/img/background_patterns/checker0_light.png differ diff --git a/res/include/img/background_patterns/checker1.png b/res/include/img/background_patterns/checker1.png index 9a5b6f3..a1f6a1b 100644 Binary files a/res/include/img/background_patterns/checker1.png and b/res/include/img/background_patterns/checker1.png differ diff --git a/res/include/img/background_patterns/checker10.png b/res/include/img/background_patterns/checker10.png index 789ba7a..d013c64 100644 Binary files a/res/include/img/background_patterns/checker10.png and b/res/include/img/background_patterns/checker10.png differ diff --git a/res/include/img/background_patterns/checker10_light.png b/res/include/img/background_patterns/checker10_light.png new file mode 100644 index 0000000..c0905d7 Binary files /dev/null and b/res/include/img/background_patterns/checker10_light.png differ diff --git a/res/include/img/background_patterns/checker11.png b/res/include/img/background_patterns/checker11.png index 48c99f3..1d8f574 100644 Binary files a/res/include/img/background_patterns/checker11.png and b/res/include/img/background_patterns/checker11.png differ diff --git a/res/include/img/background_patterns/checker11_light.png b/res/include/img/background_patterns/checker11_light.png new file mode 100644 index 0000000..c33eadd Binary files /dev/null and b/res/include/img/background_patterns/checker11_light.png differ diff --git a/res/include/img/background_patterns/checker12.png b/res/include/img/background_patterns/checker12.png index b57b851..b14804f 100644 Binary files a/res/include/img/background_patterns/checker12.png and b/res/include/img/background_patterns/checker12.png differ diff --git a/res/include/img/background_patterns/checker12_light.png b/res/include/img/background_patterns/checker12_light.png new file mode 100644 index 0000000..6bf4371 Binary files /dev/null and b/res/include/img/background_patterns/checker12_light.png differ diff --git a/res/include/img/background_patterns/checker13.png b/res/include/img/background_patterns/checker13.png index 04c90a6..069cf38 100644 Binary files a/res/include/img/background_patterns/checker13.png and b/res/include/img/background_patterns/checker13.png differ diff --git a/res/include/img/background_patterns/checker13_light.png b/res/include/img/background_patterns/checker13_light.png new file mode 100644 index 0000000..78a40ea Binary files /dev/null and b/res/include/img/background_patterns/checker13_light.png differ diff --git a/res/include/img/background_patterns/checker14.png b/res/include/img/background_patterns/checker14.png index 12a0141..ec943e9 100644 Binary files a/res/include/img/background_patterns/checker14.png and b/res/include/img/background_patterns/checker14.png differ diff --git a/res/include/img/background_patterns/checker14_light.png b/res/include/img/background_patterns/checker14_light.png new file mode 100644 index 0000000..4a09d19 Binary files /dev/null and b/res/include/img/background_patterns/checker14_light.png differ diff --git a/res/include/img/background_patterns/checker15.png b/res/include/img/background_patterns/checker15.png index b1b8c28..b402db7 100644 Binary files a/res/include/img/background_patterns/checker15.png and b/res/include/img/background_patterns/checker15.png differ diff --git a/res/include/img/background_patterns/checker15_light.png b/res/include/img/background_patterns/checker15_light.png new file mode 100644 index 0000000..e6c8963 Binary files /dev/null and b/res/include/img/background_patterns/checker15_light.png differ diff --git a/res/include/img/background_patterns/checker16.png b/res/include/img/background_patterns/checker16.png index 7fb1eb6..2335bac 100644 Binary files a/res/include/img/background_patterns/checker16.png and b/res/include/img/background_patterns/checker16.png differ diff --git a/res/include/img/background_patterns/checker16_light.png b/res/include/img/background_patterns/checker16_light.png new file mode 100644 index 0000000..a5ca00a Binary files /dev/null and b/res/include/img/background_patterns/checker16_light.png differ diff --git a/res/include/img/background_patterns/checker17.png b/res/include/img/background_patterns/checker17.png index 44f37aa..ba070f6 100644 Binary files a/res/include/img/background_patterns/checker17.png and b/res/include/img/background_patterns/checker17.png differ diff --git a/res/include/img/background_patterns/checker17_light.png b/res/include/img/background_patterns/checker17_light.png new file mode 100644 index 0000000..82b601b Binary files /dev/null and b/res/include/img/background_patterns/checker17_light.png differ diff --git a/res/include/img/background_patterns/checker1_light.png b/res/include/img/background_patterns/checker1_light.png new file mode 100644 index 0000000..326e8b8 Binary files /dev/null and b/res/include/img/background_patterns/checker1_light.png differ diff --git a/res/include/img/background_patterns/checker2.png b/res/include/img/background_patterns/checker2.png index ec519ab..0536427 100644 Binary files a/res/include/img/background_patterns/checker2.png and b/res/include/img/background_patterns/checker2.png differ diff --git a/res/include/img/background_patterns/checker2_light.png b/res/include/img/background_patterns/checker2_light.png new file mode 100644 index 0000000..843298e Binary files /dev/null and b/res/include/img/background_patterns/checker2_light.png differ diff --git a/res/include/img/background_patterns/checker3.png b/res/include/img/background_patterns/checker3.png index 92096f4..943b3cb 100644 Binary files a/res/include/img/background_patterns/checker3.png and b/res/include/img/background_patterns/checker3.png differ diff --git a/res/include/img/background_patterns/checker3_light.png b/res/include/img/background_patterns/checker3_light.png new file mode 100644 index 0000000..36bc8f0 Binary files /dev/null and b/res/include/img/background_patterns/checker3_light.png differ diff --git a/res/include/img/background_patterns/checker4.png b/res/include/img/background_patterns/checker4.png index 4c2111e..ca3b535 100644 Binary files a/res/include/img/background_patterns/checker4.png and b/res/include/img/background_patterns/checker4.png differ diff --git a/res/include/img/background_patterns/checker4_light.png b/res/include/img/background_patterns/checker4_light.png new file mode 100644 index 0000000..c4f01f8 Binary files /dev/null and b/res/include/img/background_patterns/checker4_light.png differ diff --git a/res/include/img/background_patterns/checker5.png b/res/include/img/background_patterns/checker5.png index fd142c0..115eb31 100644 Binary files a/res/include/img/background_patterns/checker5.png and b/res/include/img/background_patterns/checker5.png differ diff --git a/res/include/img/background_patterns/checker5_light.png b/res/include/img/background_patterns/checker5_light.png new file mode 100644 index 0000000..f4eca1a Binary files /dev/null and b/res/include/img/background_patterns/checker5_light.png differ diff --git a/res/include/img/background_patterns/checker6.png b/res/include/img/background_patterns/checker6.png index 77cd697..965d72c 100644 Binary files a/res/include/img/background_patterns/checker6.png and b/res/include/img/background_patterns/checker6.png differ diff --git a/res/include/img/background_patterns/checker6_light.png b/res/include/img/background_patterns/checker6_light.png new file mode 100644 index 0000000..851c0c6 Binary files /dev/null and b/res/include/img/background_patterns/checker6_light.png differ diff --git a/res/include/img/background_patterns/checker7.png b/res/include/img/background_patterns/checker7.png index a01144d..33de73d 100644 Binary files a/res/include/img/background_patterns/checker7.png and b/res/include/img/background_patterns/checker7.png differ diff --git a/res/include/img/background_patterns/checker7_light.png b/res/include/img/background_patterns/checker7_light.png new file mode 100644 index 0000000..a576c94 Binary files /dev/null and b/res/include/img/background_patterns/checker7_light.png differ diff --git a/res/include/img/background_patterns/checker8.png b/res/include/img/background_patterns/checker8.png index 37ee51d..1102d4d 100644 Binary files a/res/include/img/background_patterns/checker8.png and b/res/include/img/background_patterns/checker8.png differ diff --git a/res/include/img/background_patterns/checker8_light.png b/res/include/img/background_patterns/checker8_light.png new file mode 100644 index 0000000..03605ee Binary files /dev/null and b/res/include/img/background_patterns/checker8_light.png differ diff --git a/res/include/img/background_patterns/checker9.png b/res/include/img/background_patterns/checker9.png index e967672..c0cb8b3 100644 Binary files a/res/include/img/background_patterns/checker9.png and b/res/include/img/background_patterns/checker9.png differ diff --git a/res/include/img/background_patterns/checker9_light.png b/res/include/img/background_patterns/checker9_light.png new file mode 100644 index 0000000..c200cf2 Binary files /dev/null and b/res/include/img/background_patterns/checker9_light.png differ diff --git a/res/include/img/background_patterns/checker_christmas.png b/res/include/img/background_patterns/checker_christmas.png index b1a8fbb..700c611 100644 Binary files a/res/include/img/background_patterns/checker_christmas.png and b/res/include/img/background_patterns/checker_christmas.png differ diff --git a/res/include/img/background_patterns/checker_christmas_light.png b/res/include/img/background_patterns/checker_christmas_light.png new file mode 100644 index 0000000..3c72a88 Binary files /dev/null and b/res/include/img/background_patterns/checker_christmas_light.png differ diff --git a/res/include/img/background_patterns/checker_developers.png b/res/include/img/background_patterns/checker_developers.png index 0b588c4..81726cb 100644 Binary files a/res/include/img/background_patterns/checker_developers.png and b/res/include/img/background_patterns/checker_developers.png differ diff --git a/res/include/img/background_patterns/checker_developers_light.png b/res/include/img/background_patterns/checker_developers_light.png new file mode 100644 index 0000000..77ad631 Binary files /dev/null and b/res/include/img/background_patterns/checker_developers_light.png differ diff --git a/res/include/img/background_patterns/checker_dwarf.png b/res/include/img/background_patterns/checker_dwarf.png index 1757ea5..ff82043 100644 Binary files a/res/include/img/background_patterns/checker_dwarf.png and b/res/include/img/background_patterns/checker_dwarf.png differ diff --git a/res/include/img/background_patterns/checker_dwarf_light.png b/res/include/img/background_patterns/checker_dwarf_light.png new file mode 100644 index 0000000..b567952 Binary files /dev/null and b/res/include/img/background_patterns/checker_dwarf_light.png differ diff --git a/res/include/img/background_patterns/checker_halloween.png b/res/include/img/background_patterns/checker_halloween.png index 549b071..9085856 100644 Binary files a/res/include/img/background_patterns/checker_halloween.png and b/res/include/img/background_patterns/checker_halloween.png differ diff --git a/res/include/img/background_patterns/checker_halloween_light.png b/res/include/img/background_patterns/checker_halloween_light.png new file mode 100644 index 0000000..703dc3b Binary files /dev/null and b/res/include/img/background_patterns/checker_halloween_light.png differ diff --git a/res/include/img/background_patterns/checker_vote.png b/res/include/img/background_patterns/checker_vote.png deleted file mode 100644 index 4da4d44..0000000 Binary files a/res/include/img/background_patterns/checker_vote.png and /dev/null differ diff --git a/res/include/img/background_patterns/checker_wednesday.png b/res/include/img/background_patterns/checker_wednesday.png index ca4ce8a..c9ec13c 100644 Binary files a/res/include/img/background_patterns/checker_wednesday.png and b/res/include/img/background_patterns/checker_wednesday.png differ diff --git a/res/include/img/background_patterns/checker_wednesday_light.png b/res/include/img/background_patterns/checker_wednesday_light.png new file mode 100644 index 0000000..3ce2fb1 Binary files /dev/null and b/res/include/img/background_patterns/checker_wednesday_light.png differ diff --git a/res/include/img/background_patterns/create_dark.sh b/res/include/img/background_patterns/create_dark.sh new file mode 100755 index 0000000..8152d9b --- /dev/null +++ b/res/include/img/background_patterns/create_dark.sh @@ -0,0 +1,11 @@ +#!/bin/bash + +for i in {0..17}; do convert checker${i}.png -brightness-contrast 80x0 checker${i}_light.png; done +convert checker_wednesday.png -brightness-contrast 80x0 checker_wednesday_light.png +convert checker_wednesday.png -brightness-contrast 80x0 checker_wednesday_light.png +convert checker_dwarf.png -brightness-contrast 80x0 checker_dwarf_light.png +convert checker_developers.png -brightness-contrast 80x0 checker_developers_light.png +convert checker_halloween.png -brightness-contrast 80x0 checker_halloween_light.png +convert checker_christmas.png -brightness-contrast 80x0 checker_christmas_light.png + +optipng *.png diff --git a/res/include/img/icons/close.svg b/res/include/img/icons/close.svg index f5371b5..da72c60 100644 --- a/res/include/img/icons/close.svg +++ b/res/include/img/icons/close.svg @@ -1,3 +1,3 @@ - + diff --git a/res/include/img/icons/copy.svg b/res/include/img/icons/copy.svg index 81ecefb..b3f00af 100644 --- a/res/include/img/icons/copy.svg +++ b/res/include/img/icons/copy.svg @@ -1,3 +1,3 @@ - + diff --git a/res/include/img/icons/edit.svg b/res/include/img/icons/edit.svg index 4b8a056..5be56dc 100644 --- a/res/include/img/icons/edit.svg +++ b/res/include/img/icons/edit.svg @@ -1,3 +1,3 @@ - + diff --git a/res/include/img/icons/email.svg b/res/include/img/icons/email.svg index 3181fb5..9f5226e 100644 --- a/res/include/img/icons/email.svg +++ b/res/include/img/icons/email.svg @@ -1,3 +1,3 @@ - + diff --git a/res/include/img/icons/facebook.svg b/res/include/img/icons/facebook.svg index b8738df..2f91446 100644 --- a/res/include/img/icons/facebook.svg +++ b/res/include/img/icons/facebook.svg @@ -1,3 +1,3 @@ - + diff --git a/res/include/img/icons/github.svg b/res/include/img/icons/github.svg index fd36db5..4607139 100644 --- a/res/include/img/icons/github.svg +++ b/res/include/img/icons/github.svg @@ -1,4 +1,4 @@ GitHub - + diff --git a/res/include/img/icons/help.svg b/res/include/img/icons/help.svg index e9f583d..9bfc1f9 100644 --- a/res/include/img/icons/help.svg +++ b/res/include/img/icons/help.svg @@ -1,3 +1,3 @@ - + diff --git a/res/include/img/icons/mastodon.svg b/res/include/img/icons/mastodon.svg index b4112b7..1817eac 100644 --- a/res/include/img/icons/mastodon.svg +++ b/res/include/img/icons/mastodon.svg @@ -1,4 +1,4 @@ - + diff --git a/res/include/img/icons/medium.svg b/res/include/img/icons/medium.svg index 4b4935f..ef3c8c3 100644 --- a/res/include/img/icons/medium.svg +++ b/res/include/img/icons/medium.svg @@ -1,7 +1,7 @@ - + diff --git a/res/include/img/icons/open_in_new.svg b/res/include/img/icons/open_in_new.svg index 104e655..cbbe1fa 100644 --- a/res/include/img/icons/open_in_new.svg +++ b/res/include/img/icons/open_in_new.svg @@ -1,3 +1,3 @@ - + diff --git a/res/include/img/icons/patreon.svg b/res/include/img/icons/patreon.svg index 57f1a6c..a3805ef 100644 --- a/res/include/img/icons/patreon.svg +++ b/res/include/img/icons/patreon.svg @@ -1,5 +1,5 @@ - + diff --git a/res/include/img/icons/pixeldrain.svg b/res/include/img/icons/pixeldrain.svg index cd10fc8..cd103b6 100644 --- a/res/include/img/icons/pixeldrain.svg +++ b/res/include/img/icons/pixeldrain.svg @@ -1,3 +1,3 @@ - + diff --git a/res/include/img/icons/reddit.svg b/res/include/img/icons/reddit.svg index 49ff915..b84ba4a 100644 --- a/res/include/img/icons/reddit.svg +++ b/res/include/img/icons/reddit.svg @@ -1,3 +1,3 @@ - + diff --git a/res/include/img/icons/save.svg b/res/include/img/icons/save.svg index 8e3c4c5..20513fc 100644 --- a/res/include/img/icons/save.svg +++ b/res/include/img/icons/save.svg @@ -1,3 +1,3 @@ - + diff --git a/res/include/img/icons/share.svg b/res/include/img/icons/share.svg index 55743f6..dfcd61d 100644 --- a/res/include/img/icons/share.svg +++ b/res/include/img/icons/share.svg @@ -1,3 +1,3 @@ - + diff --git a/res/include/img/icons/shuffle.svg b/res/include/img/icons/shuffle.svg index 8b05ec7..00a6c02 100644 --- a/res/include/img/icons/shuffle.svg +++ b/res/include/img/icons/shuffle.svg @@ -1,3 +1,3 @@ - + diff --git a/res/include/img/icons/tumblr.svg b/res/include/img/icons/tumblr.svg index d8fa028..7bdc595 100644 --- a/res/include/img/icons/tumblr.svg +++ b/res/include/img/icons/tumblr.svg @@ -1,3 +1,3 @@ - + diff --git a/res/include/img/icons/twitter.svg b/res/include/img/icons/twitter.svg index 632ac46..08ce902 100644 --- a/res/include/img/icons/twitter.svg +++ b/res/include/img/icons/twitter.svg @@ -1,3 +1,3 @@ - + diff --git a/res/include/img/icons/upload.svg b/res/include/img/icons/upload.svg index d026dec..f005557 100644 --- a/res/include/img/icons/upload.svg +++ b/res/include/img/icons/upload.svg @@ -1,3 +1,3 @@ - + diff --git a/res/include/style/layout.css b/res/include/style/layout.css index 963c04a..25378c3 100644 --- a/res/include/style/layout.css +++ b/res/include/style/layout.css @@ -60,7 +60,7 @@ body { padding: 0; } header, footer, .checkers { - background-image: url("{{bgPattern}}"); + background-image: url("{{.BackgroundPattern}}"); background-color: #111111; /* Fallback */ background-color: var(--layer_1_color); background-repeat: repeat; @@ -157,8 +157,7 @@ section { .page_navigation a { float: none; display: block; - color: #b2b2b2; /* Fallback */ - color: var(--text_color); + color: var(--layer_1_text_color); text-align: center; padding: 4px; margin: 0.3em 15px 0.3em 15px; @@ -172,9 +171,7 @@ section { text-decoration: none; } .page_navigation a:hover { - background-color: #3f3f3f; background-color: var(--input_color); - color: #ffffff; color: var(--input_text_color); text-decoration: none; } @@ -201,6 +198,7 @@ section { } .highlight_dark, .highlight_1 { background-color: var(--layer_1_color); + color: var(--layer_1_text_color); } .highlight_middle, .highlight_2 { background-color: var(--layer_2_color); @@ -282,11 +280,7 @@ hr { } a { - color: #74ad38; - color: var(--highlight_color_dark); -} -a:hover { - color: var(--highlight_color); + color: var(--link_color); } .form{ @@ -364,7 +358,7 @@ pre { display: block; } .file_button > .file_button_title{ - color: var(--highlight_color); + color: var(--link_color); } /* API documentation markup */ diff --git a/res/include/style/modal.css b/res/include/style/modal.css index 894735c..8697dfb 100644 --- a/res/include/style/modal.css +++ b/res/include/style/modal.css @@ -4,7 +4,7 @@ right: 0; bottom: 0; left: 0; - background-color: rgba(0, 0, 0, 0.6); + background-color: rgba(0, 0, 0, 0.7); opacity: 0; transition: opacity .4s; } @@ -22,7 +22,7 @@ transform: translate(-50%, -20%); padding: 0; text-align: left; - box-shadow: var(--shadow_color) 0px 0px 50px; + /* box-shadow: var(--shadow_color) 0px 0px 50px; */ border-radius: 20px 20px 8px 8px; overflow: hidden; } @@ -33,6 +33,7 @@ display: flex; flex-direction: row; background: var(--layer_1_color); + color: var(--layer_1_text_color); padding: 1px; } diff --git a/res/template/appearance.html b/res/template/appearance.html index 3cc07e4..96b0a7d 100644 --- a/res/template/appearance.html +++ b/res/template/appearance.html @@ -23,7 +23,10 @@
(Inspired by Canta GTK)
-
+ + (Inspired by Nord)
+ + (Inspired by Nord)

(Inspired by Skeuos GTK)
diff --git a/res/template/fragments/user_style.html b/res/template/fragments/user_style.html index f7e1efb..4678810 100644 --- a/res/template/fragments/user_style.html +++ b/res/template/fragments/user_style.html @@ -8,15 +8,15 @@ {{ define "user_style_js" }} {{ end }} diff --git a/res/template/history.html b/res/template/history.html index 45c5307..fe82c0b 100644 --- a/res/template/history.html +++ b/res/template/history.html @@ -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.

-
- -
+ +
{{template "page_bottom" .}}