Skip to content

BSS lang is a fast CSS preprocessor written in JavaScript.

License

Notifications You must be signed in to change notification settings

brickifycss/bss-lang

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Brick stylesheets

BSS lang is a fast CSS preprocessor written in JavaScript.
It comes with is own meta language.
Can be easly extended to add rules and parse/extend others preprocessor such as SASS, STYLUS, LESS, POSTCSS...

***!!! WORK IN PROGRESS, POC STATE !!! DOES NOT USE IT IN PRODUCTION ***

CORE

BSS core only support basic CSS behavior.
If you wants to support nested, variables..., you should import new lexicon and plugin.

How to use?

git clone git@github.com:brickifycss/bss-lang.git 
cd bss-lang

node example

Lexicon / Dictionnary

List of core lexicons

Write a Lexicon or extend/override

List of plugins

TOOLS

  • CSS validation
  • CSS optimization
  • CSS vendors
  • CSS gzip

Resources

TODO

  • major refactoring, clean code, comment code
  • Documentation
  • Tests
  • Coverage
  • Benchmarks
  • SASS comparion syntax
  • hooks / middleware (middleware and hooks from brickify)
  • global hooks (onInit,onRegister, onParse, onEnter,onLeave, onTranspile, onMatched, onStart, onEnd) (useful to apply plugin in plugin/lexicon)
  • Error management
  • Cache management
  • Source maps
  • verbose, CLI
  • Separate plugins and lexicons in their own repository
  • CSS Block plugin / Write CSS, Sass Block plugin, Scss Block plugin
  • Other plugins, mixins, placeholder, function, operators, others directives (if...)
  • ...

Releases

No releases published

Packages

No packages published