pacem-less 0.51.4-cayley → 0.51.4-cramer

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/themebuilder.js +1 -1
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.51.4-cayley",
2
+ "version": "0.51.4-cramer",
3
3
  "name": "pacem-less",
4
4
  "homepage": "https://js.pacem.it",
5
5
  "repository": {
package/themebuilder.js CHANGED
@@ -272,7 +272,7 @@ const rootColor = 'root' in palette ? Pacem.Colors.parse(palette['root']) : Pace
272
272
  rootModule = colorModuleBackground(rootColor, 'root');
273
273
  pushLessVariables('root', rootModule);
274
274
  if ('default' in palette) {
275
- const defaultColor = contrastColor(desaturateColor(Pacem.Colors.parse(palette['default'])), rootModule.base, WCAG_MAX_CONTRAST, darkTheme);
275
+ const defaultColor = contrastColor(Pacem.Colors.parse(palette['default']), rootModule.base, WCAG_MAX_CONTRAST, darkTheme);
276
276
  const defaultModule = colorModule(defaultColor, 'default');
277
277
  pushLessVariables('default', defaultModule);
278
278
  }