passlang
v0.0.1
Published
Next generation CSS preprocessor. It's programmatically awesome.
Downloads
3
Maintainers
Readme
passlang
Usage
- Write your CSS(eg:-
example.pass.ts
)import { css } from '@passlang/core' export default css` nav { width: ${10 + 10}px; /* operators */ } ul { font: 100% ${font_stack}; /* using variables */ } li { ${theme()} /* using functions / mixins */ } a { ${equal_heights}/* extending styles */ } `
- Convert it to css
Take a look at the newly creatednpx passlang example.pass.ts
example.pass.css
file.
Contact me via discussions for help.