Comments (5)
Sorry about the misinformation... I was on mobile this morning. base16-set-faces
should be used to set faces. Then you can have a set of any definitions you want using the base16 colors. That's the portion I'm not sure works properly after the theme has been defined.
It would be nice if it was possible to call base16-theme-define to create the theme itself then use base16-set-faces to update any faces you want.
from base16-emacs.
BTW, current mechanism for special-handling base16-settings-mode-line-fg
and a few other values in base16-transform-color-key
, could also be replaced by face inheritance.
from base16-emacs.
base16-theme-define
exists largely to handle boilerplate in properly defining a theme. Specifically around 256 colors vs terminal vs graphical. Other additions for settings were done because the theme define was already there.
If you can find a convenient way to do this and avoid face definitions tripling in size, I would be open to it.
Theme customization has been on my radar but I haven't had the time to devote to it. In theory you should be able to call base16-theme-define
a second time with only the faces you want to override but I don't think that works quite right - that's how I'd picture overriding working.
On the inheritance side, that might work better than settings. That's a good idea.
I'm not sure on having faces for all the base16 colors though... Since they sometimes get used in box definitions as well, we'd need to inherit everywhere there was a different box definition.
from base16-emacs.
Thanks for taking the time to write those suggestions out! Elisp isn't one of my stronger languages, so if there's a better way to do something, I'm all ears.
from base16-emacs.
Thanks, I'll play with base16-set-faces
...
from base16-emacs.
Related Issues (20)
- Weird black block when using global-display-line-numbers-mode HOT 1
- dired mode background color HOT 1
- git changes on fringe HOT 2
- Tomorrow Theme Terminal Colors HOT 3
- ansi-term-color-vector improperly overridden HOT 2
- Warning (comp): base16-theme-pkg.el:7:1: Warning: the function ‘define-package’ is not known HOT 1
- font-lock-comment-delimiter-face = base02, which is for selection background
- Increase selection contrast on tomorrow day theme
- base16-emacs breaks on zoom when global-display-line-numbers-mode HOT 1
- Maintainers outside of base16-project HOT 1
- Add support for `tab-bar`
- Doom Emacs support
- Some colorschemes are missing when compared with base16-vscode HOT 3
- Update base16-theme-256-color-source to use symbols, not strings
- fix command spell mistake in README HOT 2
- Emacs doesn't update colors with updated theme until I restart Emacs HOT 3
- Org todo/done faces match some heading faces HOT 2
- Foreground base04 is unreadable on background base03 with onedark theme HOT 4
- Solaire mode support HOT 15
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 base16-emacs.