All Projects → KittyGiraudel → Sass Compatibility

KittyGiraudel / Sass Compatibility

Sass compatibility issues between different engines.

Labels

Projects that are alternatives of or similar to Sass Compatibility

Bliki Ja.github.io
Stars: ✭ 123 (-6.11%)
Mutual labels:  scss
So Simple Theme
A simple Jekyll theme for words and pictures.
Stars: ✭ 1,701 (+1198.47%)
Mutual labels:  scss
Meshki
Meshki: A Black-Colored, Responsive Boilerplate for UI Development
Stars: ✭ 129 (-1.53%)
Mutual labels:  scss
Ztext
Easy to implement, 3D typography for the web. Works with every font.
Stars: ✭ 125 (-4.58%)
Mutual labels:  scss
Fast
Develop, build, deploy, redeploy, and teardown frontend projects fast.
Stars: ✭ 126 (-3.82%)
Mutual labels:  scss
Compass Inuit
💮 Compass extension for inuit.css. More than 40k users served!
Stars: ✭ 127 (-3.05%)
Mutual labels:  scss
Frasco
Quick starter for Jekyll including full setup for Sass, PostCSS, Autoprefixer, stylelint, Webpack, ESLint, imagemin, Browsersync, etc.
Stars: ✭ 123 (-6.11%)
Mutual labels:  scss
Ng Pi Admin
Angular admin http://treesflower.com/ng-pi-admin
Stars: ✭ 131 (+0%)
Mutual labels:  scss
Toolkit
Sky's CSS Toolkit
Stars: ✭ 126 (-3.82%)
Mutual labels:  scss
Vscode Scss
🔌 IntelliSense for Variables, Mixins and Functions in all Sass (SCSS syntax only) files.
Stars: ✭ 128 (-2.29%)
Mutual labels:  scss
Phpid Learning
🙋 Belajar daring bersama PHPID
Stars: ✭ 125 (-4.58%)
Mutual labels:  scss
Wayou.github.io
Stars: ✭ 125 (-4.58%)
Mutual labels:  scss
Hocus Pocus
Universal and lightweight stylesheet starter kit
Stars: ✭ 128 (-2.29%)
Mutual labels:  scss
Gel Grid
A flexible code implementation of the GEL Grid Guidelines
Stars: ✭ 124 (-5.34%)
Mutual labels:  scss
Clean Greader
clean-greader is a tiny tiny rss theme based on the latest Google Reader and inspired by other Google Services.
Stars: ✭ 129 (-1.53%)
Mutual labels:  scss
Hugo Hero Theme
A modern business theme for Hugo.
Stars: ✭ 124 (-5.34%)
Mutual labels:  scss
Baseguide
Lightweight and robust CSS framework for prototyping and production code.
Stars: ✭ 127 (-3.05%)
Mutual labels:  scss
Awesome Sass
Sass is an extension of CSS that adds power and elegance to the basic language. It allows you to use variables, nested rules, mixins, inline imports, and more, all with a fully CSS-compatible syntax. Sass helps keep large stylesheets well-organized, and get small stylesheets up and running quickly.
Stars: ✭ 1,714 (+1208.4%)
Mutual labels:  scss
Web Starter Kit
Web Starter Kit is an opinionated boilerplate for web development. A solid starting point for both professionals and newcomers to the industry.
Stars: ✭ 130 (-0.76%)
Mutual labels:  scss
Guides
An effort to provide awesome documentation for the RubyGems ecosystem.
Stars: ✭ 128 (-2.29%)
Mutual labels:  scss

Sass Compatibility

Sass compatibility issues between different engines.

Building

You'll need a couple things to get started.

Docker

If you don't already have a Docker environment you can download and install boot2docker (OS X, Windows).

boot2docker init
boot2docker up

Ruby

If you don't already have Ruby setup you can download the installer from the Ruby website or use brew on OS X.

Bundler

Once you have Ruby installed you need to install the Bundler gem, and use it to install the required gem dependencies.

gem install bundler
bundle install

Running

Execute the test suit via bundler.

bundle exec rake

The Rakefile will:

  • Clone sass-spec and symlink sass-spec/spec to spec if needed.
  • Load tests from _data/tests.yml.
  • Download docker images of the Ruby Sass and Libsass executables.
  • Compile each test input with all supported engines, and normalize the output CSS (creating output.#{engine}.css files in the test directory).
  • Create a expected_output_clean.css from expected_output.css for each test using the same normalization rules.
  • Compare the output of each engine with the expected output and create a support.yml file in each test directory (containing the results for this test).
  • Aggregate the test data for every feature described in _data/tests.yml, in _data/support.yml.
  • Compute support stats in _data/stats.yml.
  • Create a (summarized) SCSS version of the stats in _sass/utils/_stats.scss.

I/O YAML structure

_data/tests.yml

This file contains a list of features to test, with one or multiple tests (relative to the project root) for each feature.

call_function: spec/basic/60_call

angle_conversion:
  - spec/libsass-clised-issues/issue_666/angle
  - spec/libsass-clised-issues/issue_666/length

A test, according to sass-spec, is a directory with input.scss and expected_output.css files.

_data/support.yml

All the features described in _data/tests.yml are present, but will now contain the test results, for each engine, with details for each individual test.

If support is true for an engine, all the tests passed. If false, all the tests failed. If nil, the results were mixed.

call_function:
  ruby_sass_3_2:
    support: false
    tests:
      spec/basic/60_call: false
  ruby_sass_3_4:
    support: true
    tests:
      spec/basic/60_call: true

angle_conversion:
  ruby_sass_3_2:
    support:
    tests:
      spec/libsass-closed-issues/issue_666/angle: false
      spec/libsass-closed-issues/issue_666/length: true
  ruby_sass_3_4:
    support: true
    tests:
      spec/libsass-closed-issues/issue_666/angle: true
      spec/libsass-closed-issues/issue_666/length: true

Note: I stripped some engines from the example output to keep it lightweight.

Credits

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].