Comments (3)
I like this idea, @Offirmo . Here is what I'm thinking to do:
If the color set only exposes either a dark variant or a light variant, output a file like this:
:root {
--shade0: <color>;
--shade1: <color>;
/* etc. */
--accent0: <color>;
--accent1: <color>;
/* etc. */
}
If the color set exposes both a dark variant and a light variant, output a file like this:
/* the light variant */
:root {
--shade0: <color>;
--shade1: <color>;
/* etc. */
--accent0: <color>;
--accent1: <color>;
/* etc. */
}
@media (prefers-color-scheme: 'dark') {
/* the dark variant */
:root {
--shade0: <color>;
--shade1: <color>;
/* etc. */
--accent0: <color>;
--accent1: <color>;
/* etc. */
}
}
Do you think that would make sense?
from themer.
(TIL: if you press command
-shift
-return
while typing a comment, the issue gets closed. Whoops ๐ )
from themer.
@Offirmo this is deployed now to themer.dev and available for CLI at @themer/css
. I went with a slightly different format than the one proposed aboveโfeel free to try it out and let me know if some other structure would be useful.
from themer.
Related Issues (20)
- Sublime Text 4 Colour Scheme Support
- Add support for jupyterlab themes
- Themes generated by Themer do not look right on VS2019 HOT 2
- Support for KDE Plasma Color Schemes HOT 3
- Error: Cannot find module '../build/Release/canvas.node' HOT 9
- vim-lightline: colors not used in CLI
- [@themerdev/vim] add neovim instructions
- `vim-airline` support
- Kate editor support HOT 1
- How do I reverse changes from installers downloaded from the website?
- Add support for italics to VS Code theme
- foot terminal support
- Include color set names in outputted themes
- Added new famous themes
- CLI NPM package is on v4.0.0, package.json at 3.3.9, and all template packages have peer dependency pinned to ^3 HOT 1
- Theme support for Helix editor
- update Currency Dropdown HOT 1
- Zed Editor
- Support for Jetbrains IDEs
- Add Nightfox theme 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 themer.