Skip to content

Commit

Permalink
CSS/JS: Updated build system and theme selection (#2904)
Browse files Browse the repository at this point in the history
* CSS/JS: Updated build system and theme selection

* CSS/JS: Updated build system and theme selection

* Add default theme symlink

* Better theme symlinking

* another attempt

* Include application.js

* Updated & fixed font resources

* Fix fonts & dark mode

* Rebuild css on container boot if PWP__THEME is set
  • Loading branch information
pglombardo authored Dec 17, 2024
1 parent 215ace8 commit b44291e
Show file tree
Hide file tree
Showing 1,664 changed files with 13,282 additions and 11,144 deletions.
1 change: 0 additions & 1 deletion .browserslistrc

This file was deleted.

3 changes: 2 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,10 @@ gem "bootsnap", require: false

# Use SCSS for stylesheets
gem "sass-rails", "~> 6.0", ">= 6.0.0"
gem "cssbundling-rails", "~> 1.4"
gem "terser", "~> 1.2"
# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
gem "bootstrap", "5.2.3"
gem "bootstrap"
gem "json", "~> 2.9" # Legacy carry-over

# Hotwire's SPA-like page accelerator [https://turbo.hotwired.dev]
Expand Down
10 changes: 6 additions & 4 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -134,10 +134,9 @@ GEM
bindex (0.8.1)
bootsnap (1.18.4)
msgpack (~> 1.2)
bootstrap (5.2.3)
bootstrap (5.3.3)
autoprefixer-rails (>= 9.1.0)
popper_js (>= 2.11.6, < 3)
sassc-rails (>= 2.0.0)
popper_js (>= 2.11.8, < 3)
brakeman (6.2.2)
racc
builder (3.3.0)
Expand All @@ -160,6 +159,8 @@ GEM
ostruct
connection_pool (2.4.1)
crass (1.0.6)
cssbundling-rails (1.4.1)
railties (>= 6.0.0)
date (3.4.1)
debase (0.2.8)
debase-ruby_core_source (>= 3.3.6)
Expand Down Expand Up @@ -634,10 +635,11 @@ DEPENDENCIES
aws-sdk-s3
azure-storage-blob (~> 2.0)
bootsnap
bootstrap (= 5.2.3)
bootstrap
brakeman
capybara (>= 3.37.1, < 4.0)
config
cssbundling-rails (~> 1.4)
debase (>= 0.2.5.beta2)
debug
devise (>= 4.9.0)
Expand Down
3 changes: 2 additions & 1 deletion Procfile.dev
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
web: bin/rails server -p 5100
js: yarn watch
js: yarn build --reload
css: yarn watch:css
worker: bundle exec rake solid_queue:start
5 changes: 3 additions & 2 deletions app/assets/config/manifest.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//= link_tree ../images
//= link_directory ../stylesheets .css
//= link_tree ../javascripts .js
//= link_tree ../builds
//= link application.js
//= link_tree ../fonts
Binary file added app/assets/fonts/roboto-cyrillic-100-italic.woff
Binary file not shown.
Binary file added app/assets/fonts/roboto-cyrillic-100-italic.woff2
Binary file not shown.
Binary file added app/assets/fonts/roboto-cyrillic-100-normal.woff
Binary file not shown.
Binary file added app/assets/fonts/roboto-cyrillic-100-normal.woff2
Binary file not shown.
Binary file added app/assets/fonts/roboto-cyrillic-300-italic.woff
Binary file not shown.
Binary file added app/assets/fonts/roboto-cyrillic-300-italic.woff2
Binary file not shown.
Binary file added app/assets/fonts/roboto-cyrillic-300-normal.woff
Binary file not shown.
Binary file added app/assets/fonts/roboto-cyrillic-300-normal.woff2
Binary file not shown.
Binary file added app/assets/fonts/roboto-cyrillic-400-italic.woff
Binary file not shown.
Binary file added app/assets/fonts/roboto-cyrillic-400-italic.woff2
Binary file not shown.
Binary file added app/assets/fonts/roboto-cyrillic-400-normal.woff
Binary file not shown.
Binary file added app/assets/fonts/roboto-cyrillic-400-normal.woff2
Binary file not shown.
Binary file added app/assets/fonts/roboto-cyrillic-500-italic.woff
Binary file not shown.
Binary file added app/assets/fonts/roboto-cyrillic-500-italic.woff2
Binary file not shown.
Binary file added app/assets/fonts/roboto-cyrillic-500-normal.woff
Binary file not shown.
Binary file added app/assets/fonts/roboto-cyrillic-500-normal.woff2
Binary file not shown.
Binary file added app/assets/fonts/roboto-cyrillic-700-italic.woff
Binary file not shown.
Binary file added app/assets/fonts/roboto-cyrillic-700-italic.woff2
Binary file not shown.
Binary file added app/assets/fonts/roboto-cyrillic-700-normal.woff
Binary file not shown.
Binary file added app/assets/fonts/roboto-cyrillic-700-normal.woff2
Binary file not shown.
Binary file added app/assets/fonts/roboto-cyrillic-900-italic.woff
Binary file not shown.
Binary file added app/assets/fonts/roboto-cyrillic-900-italic.woff2
Binary file not shown.
Binary file added app/assets/fonts/roboto-cyrillic-900-normal.woff
Binary file not shown.
Binary file added app/assets/fonts/roboto-cyrillic-900-normal.woff2
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added app/assets/fonts/roboto-greek-100-italic.woff
Binary file not shown.
Binary file added app/assets/fonts/roboto-greek-100-italic.woff2
Binary file not shown.
Binary file added app/assets/fonts/roboto-greek-100-normal.woff
Binary file not shown.
Binary file added app/assets/fonts/roboto-greek-100-normal.woff2
Binary file not shown.
Binary file added app/assets/fonts/roboto-greek-300-italic.woff
Binary file not shown.
Binary file added app/assets/fonts/roboto-greek-300-italic.woff2
Binary file not shown.
Binary file added app/assets/fonts/roboto-greek-300-normal.woff
Binary file not shown.
Binary file added app/assets/fonts/roboto-greek-300-normal.woff2
Binary file not shown.
Binary file added app/assets/fonts/roboto-greek-400-italic.woff
Binary file not shown.
Binary file added app/assets/fonts/roboto-greek-400-italic.woff2
Binary file not shown.
Binary file added app/assets/fonts/roboto-greek-400-normal.woff
Binary file not shown.
Binary file added app/assets/fonts/roboto-greek-400-normal.woff2
Binary file not shown.
Binary file added app/assets/fonts/roboto-greek-500-italic.woff
Binary file not shown.
Binary file added app/assets/fonts/roboto-greek-500-italic.woff2
Binary file not shown.
Binary file added app/assets/fonts/roboto-greek-500-normal.woff
Binary file not shown.
Binary file added app/assets/fonts/roboto-greek-500-normal.woff2
Binary file not shown.
Binary file added app/assets/fonts/roboto-greek-700-italic.woff
Binary file not shown.
Binary file added app/assets/fonts/roboto-greek-700-italic.woff2
Binary file not shown.
Binary file added app/assets/fonts/roboto-greek-700-normal.woff
Binary file not shown.
Binary file added app/assets/fonts/roboto-greek-700-normal.woff2
Binary file not shown.
Binary file added app/assets/fonts/roboto-greek-900-italic.woff
Binary file not shown.
Binary file added app/assets/fonts/roboto-greek-900-italic.woff2
Binary file not shown.
Binary file added app/assets/fonts/roboto-greek-900-normal.woff
Binary file not shown.
Binary file added app/assets/fonts/roboto-greek-900-normal.woff2
Binary file not shown.
Binary file added app/assets/fonts/roboto-greek-ext-100-italic.woff
Binary file not shown.
Binary file not shown.
Binary file added app/assets/fonts/roboto-greek-ext-100-normal.woff
Binary file not shown.
Binary file not shown.
Binary file added app/assets/fonts/roboto-greek-ext-300-italic.woff
Binary file not shown.
Binary file not shown.
Binary file added app/assets/fonts/roboto-greek-ext-300-normal.woff
Binary file not shown.
Binary file not shown.
Binary file added app/assets/fonts/roboto-greek-ext-400-italic.woff
Binary file not shown.
Binary file not shown.
Binary file added app/assets/fonts/roboto-greek-ext-400-normal.woff
Binary file not shown.
Binary file not shown.
Binary file added app/assets/fonts/roboto-greek-ext-500-italic.woff
Binary file not shown.
Binary file not shown.
Binary file added app/assets/fonts/roboto-greek-ext-500-normal.woff
Binary file not shown.
Binary file not shown.
Binary file added app/assets/fonts/roboto-greek-ext-700-italic.woff
Binary file not shown.
Binary file not shown.
Binary file added app/assets/fonts/roboto-greek-ext-700-normal.woff
Binary file not shown.
Binary file not shown.
Binary file added app/assets/fonts/roboto-greek-ext-900-italic.woff
Binary file not shown.
Binary file not shown.
Binary file added app/assets/fonts/roboto-greek-ext-900-normal.woff
Binary file not shown.
Binary file not shown.
Binary file added app/assets/fonts/roboto-latin-100-italic.woff
Binary file not shown.
Binary file added app/assets/fonts/roboto-latin-100-italic.woff2
Binary file not shown.
Binary file added app/assets/fonts/roboto-latin-100-normal.woff
Binary file not shown.
Binary file added app/assets/fonts/roboto-latin-100-normal.woff2
Binary file not shown.
Binary file added app/assets/fonts/roboto-latin-300-italic.woff
Binary file not shown.
Binary file added app/assets/fonts/roboto-latin-300-italic.woff2
Binary file not shown.
Binary file added app/assets/fonts/roboto-latin-300-normal.woff
Binary file not shown.
Binary file added app/assets/fonts/roboto-latin-300-normal.woff2
Binary file not shown.
Binary file added app/assets/fonts/roboto-latin-400-italic.woff
Binary file not shown.
Binary file added app/assets/fonts/roboto-latin-400-italic.woff2
Binary file not shown.
Binary file added app/assets/fonts/roboto-latin-400-normal.woff
Binary file not shown.
Binary file added app/assets/fonts/roboto-latin-400-normal.woff2
Binary file not shown.
Binary file added app/assets/fonts/roboto-latin-500-italic.woff
Binary file not shown.
Binary file added app/assets/fonts/roboto-latin-500-italic.woff2
Binary file not shown.
Binary file added app/assets/fonts/roboto-latin-500-normal.woff
Binary file not shown.
Binary file added app/assets/fonts/roboto-latin-500-normal.woff2
Binary file not shown.
Binary file added app/assets/fonts/roboto-latin-700-italic.woff
Binary file not shown.
Binary file added app/assets/fonts/roboto-latin-700-italic.woff2
Binary file not shown.
Binary file added app/assets/fonts/roboto-latin-700-normal.woff
Binary file not shown.
Binary file added app/assets/fonts/roboto-latin-700-normal.woff2
Binary file not shown.
Binary file added app/assets/fonts/roboto-latin-900-italic.woff
Binary file not shown.
Binary file added app/assets/fonts/roboto-latin-900-italic.woff2
Binary file not shown.
Binary file added app/assets/fonts/roboto-latin-900-normal.woff
Binary file not shown.
Binary file added app/assets/fonts/roboto-latin-900-normal.woff2
Binary file not shown.
Binary file added app/assets/fonts/roboto-latin-ext-100-italic.woff
Binary file not shown.
Binary file not shown.
Binary file added app/assets/fonts/roboto-latin-ext-100-normal.woff
Binary file not shown.
Binary file not shown.
Binary file added app/assets/fonts/roboto-latin-ext-300-italic.woff
Binary file not shown.
Binary file not shown.
Binary file added app/assets/fonts/roboto-latin-ext-300-normal.woff
Binary file not shown.
Binary file not shown.
Binary file added app/assets/fonts/roboto-latin-ext-400-italic.woff
Binary file not shown.
Binary file not shown.
Binary file added app/assets/fonts/roboto-latin-ext-400-normal.woff
Binary file not shown.
Binary file not shown.
Binary file added app/assets/fonts/roboto-latin-ext-500-italic.woff
Binary file not shown.
Binary file not shown.
Binary file added app/assets/fonts/roboto-latin-ext-500-normal.woff
Binary file not shown.
Binary file not shown.
Binary file added app/assets/fonts/roboto-latin-ext-700-italic.woff
Binary file not shown.
Binary file not shown.
Binary file added app/assets/fonts/roboto-latin-ext-700-normal.woff
Binary file not shown.
Binary file not shown.
Binary file added app/assets/fonts/roboto-latin-ext-900-italic.woff
Binary file not shown.
Binary file not shown.
Binary file added app/assets/fonts/roboto-latin-ext-900-normal.woff
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading

0 comments on commit b44291e

Please sign in to comment.