Comments (4)
@jcaw This is great! Any plans to merge this into master?
from theme-magic.
Working on this on branch wal-theme-template.
The approach I'm taking is to create a theme that takes 16 colors as input, and generates intermediate colors each time it's loaded. The core theme is adapted from the spacemacs
themes, because they have comprehensive coverage and follow easily understandable design patterns. Hopefully, these patterns should be generalisable.
Theoretically, this could eventually be refactored into a general Emacs theme generator.
Currently, the theme is minimally functional. Colors haven't been tweaked yet. This is an example of what is currently generated, using a test palette:
Permalink to the state at this point.
from theme-magic.
The theme now extracts colors automatically from Pywal's cache when it's reloaded. There's no error handling (currently). It will fail if Pywal has no cached theme.
Now that importing is automatic, here are a few more test runs:
Playing with some different themes, the current method doesn't do so well with light themes. This will need to be tweaked.
from theme-magic.
Update: here's how the colors look now. Subtle changes, but I think they look much better.
from theme-magic.
Related Issues (11)
- Can someone test Mac compatibility? HOT 2
- Mapcar* error on theme update
- Feature: run external script after pywal
- Add bright colours
- Theme-magic process applies colours but never quits, has to be manually killed. HOT 1
- can't open /usr/bin/python HOT 1
- where is the generated xresources saved ?
- Exported themes don't reflect the dominant colors of the Emacs theme HOT 2
- Some themes don't set ANSI colors HOT 1
- Automatic updating exports wrong background color under emacsclient 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 theme-magic.