Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrar de Material-UI a TailwindCSS #667

Draft
wants to merge 7 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,6 @@ tags

# Ignore coverage reports
/coverage

/app/assets/builds/*
!/app/assets/builds/.keep
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ gem 'propshaft', '~> 1.1'
gem 'puma', '~> 6.6'
gem 'rollbar', '~> 3.6'
gem 'stimulus-rails', '~> 1.3'
gem 'tailwindcss-rails', '~> 4.1'
gem 'turbo-rails', '~> 2.0'

group :development, :deploy do
Expand Down
5 changes: 5 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -363,6 +363,10 @@ GEM
stimulus-rails (1.3.4)
railties (>= 6.0.0)
stringio (3.1.2)
tailwindcss-rails (4.1.0)
railties (>= 7.0.0)
tailwindcss-ruby (~> 4.0)
tailwindcss-ruby (4.0.7)
thor (1.3.2)
timeout (0.4.3)
turbo-rails (2.0.11)
Expand Down Expand Up @@ -420,6 +424,7 @@ DEPENDENCIES
shoulda-matchers (~> 6.0)
simplecov
stimulus-rails (~> 1.3)
tailwindcss-rails (~> 4.1)
turbo-rails (~> 2.0)
web-console (~> 4.2)

Expand Down
Empty file added app/assets/builds/.keep
Empty file.
1 change: 1 addition & 0 deletions app/assets/tailwind/application.css
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
@import "tailwindcss";
1 change: 0 additions & 1 deletion app/views/layouts/application.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@

<meta name="viewport" content="width=device-width, initial-scale=1">
<%= stylesheet_link_tag :app, "data-turbo-track": "reload" %>
<%= stylesheet_link_tag :reset, "data-turbo-track": "reload" %>
<%= stylesheet_link_tag 'https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@48,500,0,0' %>
<%= stylesheet_link_tag 'https://fonts.googleapis.com/css?family=Roboto:300,400,500,600,700' %>
<%= stylesheet_link_tag 'https://fonts.googleapis.com/icon?family=Material+Icons' %>
Expand Down
Empty file modified bin/dev
100644 → 100755
Empty file.
3 changes: 3 additions & 0 deletions config/puma.rb
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@
# Run the Solid Queue supervisor inside of Puma for single-server deployments
plugin :solid_queue if ENV["SOLID_QUEUE_IN_PUMA"]

# Run tailwindcss-rails watch mode in the background (only in development).
plugin :tailwindcss if ENV.fetch("RAILS_ENV", "development") == "development"

# Specify the PID file. Defaults to tmp/pids/server.pid in development.
# In other environments, only set the PID file if requested.

Expand Down
48 changes: 0 additions & 48 deletions vendor/assets/stylesheets/reset.css

This file was deleted.

Loading