Skip to content

Commit

Permalink
Remove all Sass dependencies from testing and sandbox environments
Browse files Browse the repository at this point in the history
  • Loading branch information
spohlenz committed Sep 21, 2023
1 parent 7aa2942 commit 13b7dab
Show file tree
Hide file tree
Showing 9 changed files with 23 additions and 41 deletions.
3 changes: 0 additions & 3 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,6 @@ group :test do
gem 'capybara-screenshot'
end

#gem 'sassc-rails'
gem 'dartsass-sprockets'

gem 'haml'
gem 'sqlite3', '~> 1.4'

Expand Down
3 changes: 0 additions & 3 deletions gemfiles/rails-5.2.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,4 @@ end

gem 'rails', '~> 5.2.0'

#gem 'sassc-rails'
gem 'dartsass-sprockets'

gemspec path: "../"
3 changes: 0 additions & 3 deletions gemfiles/rails-6.0.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,4 @@ end
gem 'rails', '~> 6.0.0'
gem 'sqlite3', '~> 1.4'

#gem 'sassc-rails'
gem 'dartsass-sprockets'

gemspec path: "../"
3 changes: 0 additions & 3 deletions gemfiles/rails-6.1.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,4 @@ end
gem 'rails', '~> 6.1.0'
gem 'sqlite3', '~> 1.4'

#gem 'sassc-rails'
gem 'dartsass-sprockets'

gemspec path: "../"
3 changes: 0 additions & 3 deletions gemfiles/rails-7.0.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,4 @@ end
gem 'rails', '~> 7.0.0'
gem 'sqlite3', '~> 1.4'

#gem 'sassc-rails'
gem 'dartsass-sprockets'

gemspec path: "../"
3 changes: 0 additions & 3 deletions gemfiles/rails-7.1.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,4 @@ end
gem 'rails', '~> 7.1.0.beta1'
gem 'sqlite3', '~> 1.4'

#gem 'sassc-rails'
gem 'dartsass-sprockets'

gemspec path: "../"
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
// This file may be used for providing additional customizations to the Trestle
// admin. It will be automatically included within all admin pages.
//
// For organizational purposes, you may wish to define your customizations
// within individual partials and `import` them here, e.g.
//
// @import "trestle/custom/my_custom_css";
//
/* This file may be used for providing additional customizations to the Trestle
* admin. It will be automatically included within all admin pages.
*
* For organizational purposes, you may wish to define your customizations
* within individual partials in this folder and they'll be required below.
*
*= require_tree .
*/

.user-link {
display: inline-flex;
Expand All @@ -23,11 +23,11 @@

width: 3rem;
height: 3rem;
}

&::-webkit-color-swatch {
border: 0;
border-radius: 50%;
}
.color-swatch::-webkit-color-swatch {
border: 0;
border-radius: 50%;
}

.grid-example {
Expand All @@ -37,8 +37,8 @@

border: 1px solid #ddd;
background: #fafafa;
}

code {
display: block;
}
.grid-example code {
display: block;
}
8 changes: 8 additions & 0 deletions spec/dummy/app/assets/stylesheets/trestle/_custom.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
/* This file may be used for providing additional customizations to the Trestle
* admin. It will be automatically included within all admin pages.
*
* For organizational purposes, you may wish to define your customizations
* within individual partials in this folder and they'll be required below.
*
*= require_tree .
*/
8 changes: 0 additions & 8 deletions spec/dummy/app/assets/stylesheets/trestle/_custom.scss

This file was deleted.

0 comments on commit 13b7dab

Please sign in to comment.