Last active
August 24, 2018 16:04
-
-
Save mparker17/4319ac3f3fa4c9e5d56c to your computer and use it in GitHub Desktop.
Ruby (with rbenv and Bundler), Sass, Compass (with config.rb), and scss-lint configuration for a Drupal 7 / 8 theme.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2.3.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
scss_files: 'scss/**/*.scss' | |
linters: | |
ImportantRule: | |
exclude: | |
- 'scss/_mixins.scss' | |
NestingDepth: | |
max_depth: 4 | |
PropertySortOrder: | |
exclude: | |
- 'scss/_mixins.scss' | |
order: smacss | |
QualifyingElement: | |
allow_element_with_class: true | |
SelectorDepth: | |
max_depth: 5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# @file | |
# Compass Compass CSS Authoring Framework configuration. | |
# | |
require 'compass/import-once/activate' | |
http_path = "/themes/custom/EXAMPLE/" | |
css_dir = "css" | |
sass_dir = "scss" | |
images_dir = "images" | |
javascripts_dir = "js" | |
output_style = :expanded | |
relative_assets = true | |
line_comments = false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# frozen_string_literal: true | |
source "https://rubygems.org" | |
gem "sass" | |
gem "compass" | |
gem "scss_lint", require: false |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment