From 523ce6e894ca5da27214bf8cdf2a25c6446daba2 Mon Sep 17 00:00:00 2001 From: KNIX3 <69134168+KNIX3@users.noreply.github.com> Date: Wed, 26 May 2021 23:01:52 -0400 Subject: [PATCH] Add iceberg theme (#239) --- contrib/themes/README.md | 12 ++++ contrib/themes/iceberg.toml | 112 ++++++++++++++++++++++++++++++++++++ 2 files changed, 124 insertions(+) create mode 100644 contrib/themes/iceberg.toml diff --git a/contrib/themes/README.md b/contrib/themes/README.md index 3b9ff6f..fb548c8 100644 --- a/contrib/themes/README.md +++ b/contrib/themes/README.md @@ -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) +## 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) +
+More screenshots + +![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) +
+ ## Yours? Contribute your own theme by opening a PR. diff --git a/contrib/themes/iceberg.toml b/contrib/themes/iceberg.toml new file mode 100644 index 0000000..4baa260 --- /dev/null +++ b/contrib/themes/iceberg.toml @@ -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"