@hkdigital/lib-core 0.4.17 → 0.4.18

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.
@@ -109,13 +109,13 @@ function generateColorStyles() {
109
109
  for (const colorName of colorNames) {
110
110
  colors[colorName] = {};
111
111
  for (const shade of shades) {
112
- colors[colorName][shade] = `rgb(var(--color-${colorName}-${shade}) / <alpha-value>)`;
112
+ colors[colorName][shade] = `var(--color-${colorName}-${shade})`;
113
113
  }
114
114
 
115
115
  // Add contrast colors
116
116
  for (const shade of shades) {
117
117
  colors[`${colorName}-contrast`] = colors[`${colorName}-contrast`] || {};
118
- colors[`${colorName}-contrast`][shade] = `rgb(var(--color-${colorName}-contrast-${shade}) / <alpha-value>)`;
118
+ colors[`${colorName}-contrast`][shade] = `var(--color-${colorName}-contrast-${shade})`;
119
119
  }
120
120
  }
121
121
 
@@ -107,7 +107,7 @@ export function customUtilitiesPlugin({ addUtilities, theme }) {
107
107
  * // fontFamily: 'var(--heading-font-family)',
108
108
  * // fontStyle: 'var(--heading-font-style)',
109
109
  * // letterSpacing: 'var(--heading-letter-spacing)',
110
- * // color: 'rgb(var(--heading-font-color))'
110
+ * // color: 'var(--heading-font-color)'
111
111
  * // }
112
112
  * // }
113
113
  */
@@ -8,5 +8,5 @@ export function setMetaThemeColor() {
8
8
  .getPropertyValue('--color-surface-950')
9
9
  .trim();
10
10
 
11
- themeStore.setMetaThemeColor(`rgb(${surfaceColor})`);
11
+ themeStore.setMetaThemeColor(surfaceColor);
12
12
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hkdigital/lib-core",
3
- "version": "0.4.17",
3
+ "version": "0.4.18",
4
4
  "author": {
5
5
  "name": "HKdigital",
6
6
  "url": "https://hkdigital.nl"