@craftcms/sass

1.1.0 • Public • Published

Sass Mixins for Craft CMS

Plugins that need to extend the Craft CMS Control Panel can use this library and import _mixins.sass from their Sass files, giving them the same mixins and variables used by core Control Panel templates.

Installation

Installation via npm is recommended.

npm install craftcms-sass --save-dev

Usage

Import the mixins into your Sass files with the @import directive:

@import "../node_modules/craftcms-sass/mixins";

(The exact path will vary depending on where your node_modules folder is in relation to your Sass file.)

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.1.0
    78
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.1.0
    78
  • 1.0.1
    0
  • 1.0.0
    0

Package Sidebar

Install

npm i @craftcms/sass

Homepage

craftcms.com

Weekly Downloads

74

Version

1.1.0

License

MIT

Unpacked Size

16.2 kB

Total Files

4

Last publish

Collaborators

  • nfourtythree
  • angrybrad
  • brandonkelly
  • timkelty