0.0.3-dev-1 • Published 3 years ago
synth-css v0.0.3-dev-1
Synth-Css
Extended css:
Synth is an extension of css, adding some functionality on top of it, such as variables, functions, and modules.
Notes: This project is still in an early stage of development and with few things implemented yet.
Installation
yarn add synth-css
Syntax
The syntax is very simple, you can use pure css with it as well.
Just create a .sy
file like this:
/*
Using semantic-ui as an example.
*/
define .ui.inverted.segment as $segment
define .white-theme as $white
body.$white $segment (
/* FORCE is the same as using !important */
color: black FORCE;
background: white FORCE;
)
Usage
To compile the files
synth --dir:__dirname/path/to/your/.sy/files --out:__dirname/out/dir
0.0.3-dev
3 years ago
0.0.3-dev-1
3 years ago
0.0.2-yarn
3 years ago
0.0.2-yarn-dev
3 years ago
0.0.2
3 years ago
0.0.1
3 years ago