Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add iceberg theme #239

Merged
merged 7 commits into from
May 27, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions contrib/themes/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,18 @@ Contributed by **[@thumb](https://github.com/thumbfighter)**.
![screenshot of add bookmark](https://user-images.githubusercontent.com/19327775/114432084-e8958200-9b85-11eb-9813-9982c3c0effa.png)
</details>

## Iceberg Dark

Contributed by **[@knix3](https://github.com/knix3)**

![screenshot of Iceberg Dark theme](https://user-images.githubusercontent.com/69134168/118542790-7b938000-b721-11eb-81e1-ae45cdfbe546.png)
<details>
<summary>More screenshots</summary>

![screenshot of add bookmark](https://user-images.githubusercontent.com/69134168/118543243-07a5a780-b722-11eb-848a-95aa1de30044.png)
![screenshot of error](https://user-images.githubusercontent.com/69134168/118543250-096f6b00-b722-11eb-9dca-d2b1bd6a8885.png)
</details>

## Yours?

Contribute your own theme by opening a PR.
112 changes: 112 additions & 0 deletions contrib/themes/iceberg.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,112 @@
[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 = "#161821"
tab_num = "#6b7089"
tab_divider = "#e2a478"
bottombar_label = "#6b7089"
bottombar_text = "#89b8c2"
bottombar_bg = "#161821"

# 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 = "#c0ca8e"
hdg_2 = "#e98989"
hdg_3 = "#c6c8d1"
amfora_link = "#6b7089"
foreign_link = "#d2d4de"
kink_number = "#95c4ce"
regular_text = "#c6c8d1"
quote_text = "#e98989"
preformatted_text = "#c6c8d1"
list_text = "#84a0c6"

# btn_bg: The bg color for all modal buttons
# btn_text: The text color for all modal buttons
btn_bg = "#e27878"
btn_text = "#d2d4de"

# dl_choice_modal_bg
# dl_choice_modal_text
# dl_modal_bg
# dl_modal_text
# info_modal_bg
# info_modal_text
# error_modal_bg
# error_modal_text
# yesno_modal_bg
# yesno_modal_text
# tofu_modal_bg
# tofu_modal_text
# subscription_modal_bg
# subscription_modal_text
dl_choice_modal_bg = "#84a0c6"
dl_choice_modal_text = "#161821"
dl_modal_bg = "#84a0c6"
dl_modal_text = "#161821"
info_modal_bg = "#84a0c6"
info_modal_text = "#161821"
error_modal_bg = "#e98989"
error_modal_text = "#161821"
yesno_modal_bg = "#84a0c6"
yesno_modal_text = "#161821"
tofu_modal_bg = "#84a0c6"
tofu_modal_text = "#161821"
subscription_modal_bg = "#84a0c6"
subscription_modal_text = "#161821"

# 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 = "#161821"
input_modal_text = "#c6c8d1"
input_modal_field_bg = "#d2d4de"
input_modal_field_text = "#6b7089"

# bkmk_modal_bg
# bkmk_modal_text
# bkmk_modal_label
# bkmk_modal_field_bg
# bkmk_modal_field_text
bkmk_modal_bg = "#161821"
bkmk_modal_text = "#c6c8d1"
bkmk_modal_label = "#c6c8d1"
bkmk_modal_field_bg = "#d2d4de"
bkmk_modal_field_text = "#6b7089"