• MODX.com

    4,300 downloads

cssSweet

cssSweet is an extra by sepiariver, first released on 2018-01-28.

Package Description

cssSweet is a suite of tools for processing (S)CSS. It comes with several output modifiers to modify CSS values, and a plugin that concatenates and processes (S)CSS from specified Chunks and outputs to a minified CSS file. version 2+ also concatenates and minifies JS with a 2nd plugin.

The documentation site is here: http://sepiariver.github.io/cssSweet

as well as here: http://rtfm.modx.com/extras/revo/csssweet (this one needs updating)

Example Use Cases

  • - Use system or context settings to store primary colors in a site's color scheme, then process all other color values relative to these, so you can shift the entire color theme by modifying a few settings.
  • - Use in conjunction with ClientConfig to give site owners a nice UI to manage CSS styles--but only the ones you expose, and only in the manner you choose!
  • - Author MODX "themes" that are customizable by the end user.
  • - Use other MODX tags & placeholders in your CSS--limitless possibilities! Utilize "dynamic CSS" without the performance penalty, because the plugin writes the static CSS file on the Manager Clear Cache and Chunk Save actions, not per request.
  • - Manage your Sass, CSS, and JS development workflow right from inside the MODX Manager.
  • - Add a code editor like Ace, and you can use MODX as your IDE for front-end development.

In 4.2.0:

  • Updated scssphp library to 0.7.4
  • Fixed scssphp parser bug that caused slow processing of large files
  • Supports ClientConfig custom event
  • Added ability to override all scriptProperties with "dev_mode"
  • Arbitrary modes as property namespaces

Usage/Installation Instructions

Install via Package Management. 

Github repo: https://github.com/sepiariver/cssSweet

Readme/Docs: http://sepiariver.github.io/cssSweet/

RTFM: http://rtfm.modx.com/extras/revo/csssweet

Details

Developer(s)
sepiariver
Released
2018-01-28
First seen
2018-01-28
License
GPLv2
Supported databases
MySQL
Minimum MODX Requirement
2.4

cssSweet Releases

Vendor Signature Released on
MODX.com 4.2.0-rc3 2018-01-28 (7 months ago)
MODX.com 4.1.0-pl1 2017-06-22 (1 year ago)

We've also seen 8 unverified versions of cssSweet in use, but don't list those as we've been unable of confirming they are official releases from an official source.