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

High-contrast dark theme #210

Open
ssb22 opened this issue Mar 29, 2021 · 1 comment
Open

High-contrast dark theme #210

ssb22 opened this issue Mar 29, 2021 · 1 comment

Comments

@ssb22
Copy link

ssb22 commented Mar 29, 2021

Thanks for writing Kristall. Here is a "very dark" theme (with a background that's darker than the one you get by choosing Settings / Style / Auto-theme generation / Dark Theme) that worked for me and might work for others. It goes in ~/.config/xqTechnologies/Kristall.conf or please feel free to add it as a "very dark" default:

[Theme]
background_color=#241f31
blockquote_color=#63452c
cross_scheme_link_color=#33d17a
external_link_color=#cdab8f
external_link_prefix="\x21d2 "
h1_color=#99c1f1
h2_color=#62a0ea
h3_color=#3584e4
internal_link_color=#dc8add
preformatted_color=#ffffff
standard_color=#f8e45c

As HTTP pages sometimes show normal text in white instead of whatever colour is set (especially toward the top of the page), it's better if the background contrasts well with white. (Gemini pages are not affected by this. I'm using Kristall v0.3 installed from stenstorp/gemini as instructed by an article in Fedora Magazine.) But I find darker backgrounds easier to read anyway.

@mikejzx
Copy link
Contributor

mikejzx commented Mar 30, 2021

@ssb22

Hi!

As you are running the 0.3 version of Kristall, there are a few settings missing from what you've provided.

Please take a look at one of the nightly builds of Kristall, available at this site (there is an AppImage there you can use). The nightly version has had a lot of additions since 0.3, including to the theming system

In the Style tab in the new version of Kristall, you might have to make some adjustments to the theme (fonts/colors might be wrong due to the updates)

Then, save your theme into a new 'preset' with a name, etc., and press the 'OK' on the Settings dialog. You will then be able to navigate to ~/.config/kristall/styles/ and find the theme file (e.g. verydark.kthm)

To submit the theme you can either open a pull request, or post the contents of the theme file here and I can commit it on your behalf 😉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants