Comments (6)
Right now we set the background color because the foreground color choices are made based on a dark background. (If you leave the background color unset then you get potentially bad results.) There's another ticket about this, but I want to have themes and be able to choose them at runtime.
from matterhorn.
With color schemes like solarized that shouldn't be an issue (all the colors are chosen to have decent contrast regardless of light or dark bg). Of course, not everyone uses solarized.
from matterhorn.
Yeah, but the trouble is that the colors currently configured in the application assume a dark background and Solarized has a light-background variant that won't work well with those choices. So if your terminal uses solarized-light then you won't be able to see some of the text we render. And even if it works out okay, there will be other color themes for which that won't work, so leaving the background color unset is risky in general. (I'm not saying the user shouldn't get to configure this, just that it's not a good default behavior to leave it unset.)
from matterhorn.
My commit for this ticket didn't leave the background color alone for the reason I mentioned above, but I did add theme support. (This just adds built-in theme support; the next step is to make it possible to override theme colors from the config.)
from matterhorn.
We should mention this new config option to @lcasburn.
from matterhorn.
(See also the /theme
command.)
from matterhorn.
Related Issues (20)
- Add notification version 4 with source channel name and type HOT 3
- Some mattermost conversation links open in web browser HOT 20
- snap matterhorn does not create config.ini file HOT 4
- Support loading a permalink via command
- login auth not remembered on Ubuntu 22.04 HOT 1
- searching for messages from a person HOT 2
- [focus-next-unread-user-or-channel] - Ignore muted channels
- repeated first line of a thread is distracting
- Invalid RootId parameter and Unable to get the channel member errors HOT 2
- load large amounts of scrollback at once? HOT 5
- Unread messages indicator does not go to 0 HOT 10
- File descriptors leak to xdg-open HOT 2
- Have a way to inspect the topic's URLs
- Move away from connection HOT 6
- Keybind A-Up and A-Down does not work HOT 7
- I think you skipped a few (tens of thousands of ) versions HOT 1
- Support command substitutions in config commands HOT 2
- [Q] Binary release 90000.0.0 for Fedora HOT 2
- Building it from source doesn't require GitHub account HOT 5
- Allow scripts to send `/` commands HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from matterhorn.