Skip to content

Commit

Permalink
Tailwind 3 JIT with standalone CLI (#916)
Browse files Browse the repository at this point in the history
* Tailwind standalone cli

* Rewrite scss syntax to css - Fixes #930

* Rename tailwind_content configuration

* Refactor tailwind rake tasks

* Add tailwind build to install script

* Update tailwindcss-rails

* At least tailwindcss 2.0

* Add Tailwind docs
  • Loading branch information
Bramjetten authored Jan 14, 2022
1 parent 53d6228 commit a04a669
Show file tree
Hide file tree
Showing 25 changed files with 3,628 additions and 207,332 deletions.
3 changes: 0 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,6 @@ test/dummy/storage/*

/node_modules
/public/spina-packs
yarn-debug.log*
.yarn-integrity
/yarn-error.log

.nova
.ruby-version
5 changes: 4 additions & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ PATH
rails (>= 6.0)
sprockets-rails
stimulus-rails (>= 0.7.0)
tailwindcss-rails (>= 2.0.0)
turbo-rails (>= 0.9, < 2.0)
view_component (~> 2.32)

Expand Down Expand Up @@ -190,7 +191,7 @@ GEM
net-protocol
timeout
nio4r (2.5.8)
nokogiri (1.13.0)
nokogiri (1.13.1)
mini_portile2 (~> 2.7.0)
racc (~> 1.4)
pg (1.2.3)
Expand Down Expand Up @@ -265,6 +266,8 @@ GEM
stimulus-rails (1.0.2)
railties (>= 6.0.0)
strscan (3.0.1)
tailwindcss-rails (2.0.4)
railties (>= 6.0.0)
thor (1.2.1)
timeout (0.2.0)
turbo-rails (1.0.0)
Expand Down
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,6 @@ Spina is released under the [MIT license](LICENSE.md).

## Acknowledgements

The Tailwind purger was created by [@dhh](https://twitter.com/dhh) for [tailwindcss-rails](https://github.com/rails/tailwindcss-rails)

Icons were designed by [@steveschoger](https://twitter.com/steveschoger) - [Heroicons](https://github.com/tailwindlabs/heroicons).

HotKeys support via [Hotkeys.js](https://wangchujiang.com/hotkeys/)
Expand Down
3 changes: 2 additions & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ load 'rails/tasks/engine.rake'

load 'rails/tasks/statistics.rake'

load 'lib/tasks/spina_tasks.rake'
load 'lib/tasks/install.rake'
load 'lib/tasks/tailwind.rake'

require 'bundler/gem_tasks'

Expand Down
Loading

0 comments on commit a04a669

Please sign in to comment.