
Security News
TypeScript is Porting Its Compiler to Go for 10x Faster Builds
TypeScript is porting its compiler to Go, delivering 10x faster builds, lower memory usage, and improved editor performance for a smoother developer experience.
purecss-sass
is a Sass-powered version of Pure CSS for your applications, allowing to include all of Pure's components at once or load them individually.
Original Pure CSS files are converted using sass-convert
and otherwise untouched and unmodified.
To install purecss-sass
npm package execute this command:
$ npm install purecss-sass
If you are using Yarn:
$ yarn add purecss-sass
Open your Gemfile
and add this line:
gem 'purecss-sass'
Save Gemfile
and execute bundle
command to install the gem.
Open /app/assets/stylesheets/application.scss
file and add this line:
@import 'purecss';
Note: Default Rails-generated application comes with
.css
file extension for stylesheet assets files, make sure you change it to.scss
and remove all the*= require_tree .
and*= require_self
statements from the file.
By default, using @import 'purecss';
, all of Pure CSS components are imported except non-responsive forms, which are identical to responsive forms minus media queries.
You can import individual Sass components like this:
@import 'purecss/base'; // Base
@import 'purecss/buttons'; // Buttons
@import 'purecss/forms'; // Forms (Responsive)
@import 'purecss/forms-nr'; // Forms (Non-Responsive)
@import 'purecss/grids'; // Grids (Base)
@import 'purecss/grids-responsive'; // Grids (Responsive)
@import 'purecss/menus'; // Menus (Responsive)
@import 'purecss/tables'; // Tables
Pure CSS for Sass follows the upstream version of Pure. But the last version number may be ahead, in case there is a need to release project-specific changes.
Pure CSS for Sass is inspired from bootstrap-sass by Bootstrap team.
Pure © Yahoo! Inc. Licensed under the BSD license.
purecss-sass
© Dmitriy Tarasov. Licensed under the MIT licence.
FAQs
Unknown package
We found that purecss-sass demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
TypeScript is porting its compiler to Go, delivering 10x faster builds, lower memory usage, and improved editor performance for a smoother developer experience.
Research
Security News
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
Security News
Socket CEO Feross Aboukhadijeh discusses the open web, open source security, and how Socket tackles software supply chain attacks on The Pair Program podcast.