excalith-start-page
excalith-start-page copied to clipboard
Support adding own colors in themes
Please Describe The Feature You Would Like To See
Can we add colors - let's say orange - in themes ? Ofc I refreshed the page one hundred of times.
Btw I run the project with Docker.
Additional Context
Because when I add a line in “theme” in settings, then put that color in section>list, it doesn't work.
Technically, the text remains black because no css has been generated for .text-orange (in my orange example)
Hey @alcapitan, did you check the wiki page for customization related features yet?
- For general configuration related stuff check the Configuration page
- For creating custom themes, updating color scheme check the Themes page
- And since you use Docker, please check out the How To Customize page for additional Docker related notes depending on how you prefer to use (either as a Mount or a Volume)
As for adding orange, I do not plan to add another color variable to configuration to emulate the limitations of terminal convention for colors. However, you can override another (ie. Yellow) with your preferred orange color on configuration instead.
Yes, I read the documentation and I couldn't find an answer in the doc. However, is limiting this to terminals' colors a useful limitation ?
I wouldn't call it a limitation for this app, I was referring to emulating old-school terminal limitations with reasonable requirements: maintaing existing themes, adding custom themes easily (most of the themes around are all based on terminal themes and extended versions for modern IDEs) and most importantly, making themes work throughout the app without depending on custom colors.
The major problem regarding your question is if a user switches themes occasionally (and people love to switch themes occasionally, especially linux lovers like me) they will have no theme convention or what-so-ever and I will need to disable the ability to add custom colors on various fields on commands (not themes, like custom prompt colors etc.). Consider this; if you add a custom orange field to your configuration and use that orange throughout those commands, whenever you switch to another theme, they might not have that specific color defined in it, causing the color to show a predefined color which also might not look great with that theme. In order to fix that, you would need to update either your module configs, or override the other theme with your new color. Either way is a chore and not convenient. For this reason, I am not planning to add this custom color entry to themes.
However, if you prefer to add your own colors, you could always fork the project and introduce your scheme so you will have full control over the source. If you do not want to clone and make your own color scheme, the only solution I could provide you is
- Either override a color from theme with your preferred color
- Or replace a color (ie. green) with hex colors throughout those fields where you define what color it should use (please check Prompt Config for an example)
I hope that explains my thoughts, and I appreciate your understanding of the approach I've taken. My goal is to create an experience that’s simple and seamless for users. Thanks for your input though!