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


First seen
Supported databases
Minimum MODX Requirement

cssSweet Releases

Signature Released on  
4.2.0-rc3 2018-01-28 (5 months ago)
4.1.0-pl1 2017-06-22 (1 year ago)

We've also seen 7 unverified versions of cssSweet in use on client sites, but have not been able of verifying those versions or finding out when they were released. We don't currently show these because do not yet have a way to automatically import a full historic record from a trusted source.