My CSS themes for terminals, UIs, and programs.
This repo contains my source files and the dev environment I use to hack them into usable themes!
I'm using the following tools in this repo:
As long as those two tools have their latest stable versions installed, the below steps should go smoothly!
-
Clone down this repo
-
Run
npm iin the repo root to install dependencies -
Add a script in
package.jsonthat exports variables you need/want:TARGET: Required. Name of your target program/thing. will choose a folder from the project root to start in.SRC: Optional. Sets the filename of your source file without extension.gulpfile.jsassumesthemeif this isn't provided.
For example, to start working on the
so3.cssObsidian theme in this repo, this script works:"dev:obs:so3": "TARGET=obsidian SRC=so3 gulp" -
Set up an
.envfile that has your destination paths with target included after an underscore, likeDEST_someTarget. If not using the default source filetheme.css, tack on the filename without extension.Some example keys to demonstrate:
For a
new-theme.cssfile in asomeTargetfolder:DEST_someTarget_new-theme=/path/to/destinationFor just the default
theme.cssfile in this repo'sobsidianfolder:DEST_obsidian=path/to/destination -
Edit the
expectedFilenamesobject ingulpfile.jsto reflect what filename your target expects to use. If someTarget expectsuser.theme.css,expectedFilenameswould include:someTarget: 'user.theme.css' -
Finally, run your script to start Gulp and get your CSS compiling!