1
0
mirror of https://github.com/makew0rld/amfora.git synced 2024-06-15 19:15:24 +00:00

Adds solarized dark and light themes (#132)

Co-authored-by: Benjamin Réthoré <benjamin@subitolabs.com>
This commit is contained in:
Benjamin Réthoré 2020-11-30 16:46:56 +01:00 committed by GitHub
parent d1048edd96
commit d9637d338e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 228 additions and 0 deletions

View File

@ -33,6 +33,30 @@ Contributed by **[@Skraylet](https://github.com/Skraylet)**.
![screenshot of gruvbox theme](https://user-images.githubusercontent.com/26380693/100381734-4a63ae00-3022-11eb-9531-a635df310052.png)
</details>
## Solarized
Contributed by **[@bnthor](https://github.com/bnthor)**.
### Dark
![screenshot of solarized dark theme](https://user-images.githubusercontent.com/798657/100597218-77071680-32fd-11eb-8e0d-593ff95b7129.png)
<details>
<summary>Another screenshot</summary>
![screenshot of solarized dark theme](https://user-images.githubusercontent.com/798657/100597236-7b333400-32fd-11eb-8844-b92601da52c7.png)
</details>
### Light
![screenshot of solarized light theme](https://user-images.githubusercontent.com/798657/100597327-9aca5c80-32fd-11eb-8c91-fe3e324d8959.png)
<details>
<summary>Another screenshot</summary>
![screenshot of solarized light theme](https://user-images.githubusercontent.com/798657/100597349-a453c480-32fd-11eb-866e-10b0587228f6.png)
</details>
## Yours?

View File

@ -0,0 +1,102 @@
[theme]
# This section is for changing the COLORS used in Amfora.
# These colors only apply if 'color' is enabled above.
# Colors can be set using a W3C color name, or a hex value such as "#ffffff".
# Note that not all colors will work on terminals that do not have truecolor support.
# If you want to stick to the standard 16 or 256 colors, you can get
# a list of those here: https://jonasjacek.github.io/colors/
# DO NOT use the names from that site, just the hex codes.
# Definitions:
# bg = background
# fg = foreground
# dl = download
# btn = button
# hdg = heading
# bkmk = bookmark
# modal = a popup window/box in the middle of the screen
# EXAMPLES:
# hdg_1 = "green"
# hdg_2 = "#5f0000"
# Available keys to set:
# bg: background for pages, tab row, app in general
# tab_num: The number/highlight of the tabs at the top
# tab_divider: The color of the divider character between tab numbers: |
# bottombar_label: The color of the prompt that appears when you press space
# bottombar_text: The color of the text you type
# bottombar_bg
bg = "#002b36"
fg = "#EDE8D5"
tab_num = "#3889D2"
tab_divider = "#0F3642"
bottombar_bg = "#0F3642"
bottombar_text = "#93a1a1"
bottombar_label = "#3ea197"
# hdg_1
# hdg_2
# hdg_3
# amfora_link: A link that Amfora supports viewing. For now this is only gemini://
# foreign_link: HTTP(S), Gopher, etc
# link_number: The silver number that appears to the left of a link
# regular_text: Normal gemini text, and plaintext documents
# quote_text
# preformatted_text
# list_text
hdg_1 = "#3EA197"
hdg_2 = "#3889D2"
hdg_3 = "#6D6EC4"
amfora_link = "#94A1A1"
foreign_link = "#849496"
link_number = "#869B00"
regular_text = "#EDE8D5"
quote_text = "#EDE8D5"
preformatted_text = "#EDE8D5"
list_text = "#EDE8D5"
# btn_bg: The bg color for all modal buttons
# btn_text: The text color for all modal buttons
btn_bg = "#3889D2"
btn_text = "#FCF6E3"
dl_choice_modal_bg = "#073642"
dl_choice_modal_text = "#93a1a1"
dl_modal_bg = "#073642"
dl_modal_text = "#94a1a1"
info_modal_bg = "#073642"
info_modal_text = "#94a1a1"
error_modal_bg = "#073642"
error_modal_text = "#D53234"
yesno_modal_bg = "#073642"
yesno_modal_text = "#94a1a1"
tofu_modal_bg = "#073642"
tofu_modal_text = "#94a1a1"
# input_modal_bg
# input_modal_text
# input_modal_field_bg: The bg of the input field, where you type the text
# input_modal_field_text: The color of the text you type
input_modal_bg = "#073642"
input_modal_text = "#94a1a1"
input_modal_field_bg = "#062B36"
input_modal_field_text ="#94a1a1"
# bkmk_modal_bg
# bkmk_modal_text
# bkmk_modal_label
# bkmk_modal_field_bg
# bkmk_modal_field_text
bkmk_modal_bg = "#073642"
bkmk_modal_text = "#94a1a1"
bkmk_modal_label = "#3ea197"
bkmk_modal_field_bg = "#062B36"
bkmk_modal_field_text = "#94a1a1"

View File

@ -0,0 +1,102 @@
[theme]
# This section is for changing the COLORS used in Amfora.
# These colors only apply if 'color' is enabled above.
# Colors can be set using a W3C color name, or a hex value such as "#ffffff".
# Note that not all colors will work on terminals that do not have truecolor support.
# If you want to stick to the standard 16 or 256 colors, you can get
# a list of those here: https://jonasjacek.github.io/colors/
# DO NOT use the names from that site, just the hex codes.
# Definitions:
# bg = background
# fg = foreground
# dl = download
# btn = button
# hdg = heading
# bkmk = bookmark
# modal = a popup window/box in the middle of the screen
# EXAMPLES:
# hdg_1 = "green"
# hdg_2 = "#5f0000"
# Available keys to set:
# bg: background for pages, tab row, app in general
# tab_num: The number/highlight of the tabs at the top
# tab_divider: The color of the divider character between tab numbers: |
# bottombar_label: The color of the prompt that appears when you press space
# bottombar_text: The color of the text you type
# bottombar_bg
bg = "#FCF6E3"
fg = "#5A6E75"
tab_num = "#3889D2"
tab_divider = "#EDE8D5"
bottombar_bg = "#EDE8D5"
bottombar_text = "#5A6E75"
bottombar_label = "#3ea197"
# hdg_1
# hdg_2
# hdg_3
# amfora_link: A link that Amfora supports viewing. For now this is only gemini://
# foreign_link: HTTP(S), Gopher, etc
# link_number: The silver number that appears to the left of a link
# regular_text: Normal gemini text, and plaintext documents
# quote_text
# preformatted_text
# list_text
hdg_1 = "#3EA197"
hdg_2 = "#3889D2"
hdg_3 = "#6D6EC4"
amfora_link = "#5A6E75"
foreign_link = "#677B83"
link_number = "#CC3283"
regular_text = "#0F3642"
quote_text = "#0F3642"
preformatted_text = "#0F3642"
list_text = "#0F3642"
# btn_bg: The bg color for all modal buttons
# btn_text: The text color for all modal buttons
btn_bg = "#3889D2"
btn_text = "#FCF6E3"
dl_choice_modal_bg = "#EDE8D5"
dl_choice_modal_text = "#0F3642"
dl_modal_bg = "#EDE8D5"
dl_modal_text = "#0F3642"
info_modal_bg = "#EDE8D5"
info_modal_text = "#0F3642"
error_modal_bg = "#EDE8D5"
error_modal_text = "#D53234"
yesno_modal_bg = "#EDE8D5"
yesno_modal_text = "#0F3642"
tofu_modal_bg = "#EDE8D5"
tofu_modal_text = "#0F3642"
# input_modal_bg
# input_modal_text
# input_modal_field_bg: The bg of the input field, where you type the text
# input_modal_field_text: The color of the text you type
input_modal_bg = "#EDE8D5"
input_modal_text = "#0F3642"
input_modal_field_bg = "#FCF6E3"
input_modal_field_text ="#0F3642"
# bkmk_modal_bg
# bkmk_modal_text
# bkmk_modal_label
# bkmk_modal_field_bg
# bkmk_modal_field_text
bkmk_modal_bg = "#EDE8D5"
bkmk_modal_text = "#0F3642"
bkmk_modal_label = "#3ea197"
bkmk_modal_field_bg = "#FCF6E3"
bkmk_modal_field_text = "#0F3642"