Macro-driven atomic CSS library for Clojure(Script).
Hybrid of TailwindCSS and https://github.com/clj-commons/cljss
[:div {:class (c [:pt 8] [:px 6] :h-screen :flex :flex-col [:space-y 4])}
[search/search]
[:div {:class (c :flex [:space-x 4] :flex-1 :overflow-hidden)}
[:div {:class (c [:w 80] [:px 4] [:py 3] [:bg :gray-100] :border [:border-b 0] :rounded-tl :rounded-tr :overflow-auto)}
[search/filter-list]]
[:div {:class (c :flex :flex-col :flex-1 [:space-y 4])}
[:div {:class (c [:px 4] [:py 3] [:bg :gray-100] :border :rounded :flex :items-center)}
[navigation/button]
[:div {:class (c :ml-auto)}
[search/filter-form]]]
Documentation may be found here: https://healthsamurai.github.io/macrocss
Documentation was written using MacroCSS library: https://github.com/HealthSamurai/macrocss/tree/master/examples
To release new library version:
- Commit existing changes.
- Run:
bb release-fix
for small fixes:0.1.0
->0.1.1
bb release-minor
for minor changes:0.1.1
->0.2.0
bb release-major
for major updates:6.5.9
->7.0.0
Warning
Executing
bb release
functions creates a commit, bumps library version, issues new tag and pushes updates to Clojars. To avoid library version update do not usebb release
functions.
Watch samurai seminar in Russian - https://storage.googleapis.com/samurai-files/samurai-seminar-css.mp4
- Olim Saidov
- Nikolai Ryzhikov