vueless 0.0.267 → 0.0.268

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vueless",
3
- "version": "0.0.267",
3
+ "version": "0.0.268",
4
4
  "license": "MIT",
5
5
  "description": "Vue Styleless Component Framework.",
6
6
  "homepage": "https://vueless.com",
@@ -218,7 +218,9 @@ export default class UIService {
218
218
  @returns { String }
219
219
  */
220
220
  getColor(color) {
221
- return brand === GRAYSCALE_COLOR && color === BRAND_COLOR ? GRAYSCALE_COLOR : color;
221
+ return (brand ?? DEFAULT_BRAND_COLOR) === GRAYSCALE_COLOR && color === BRAND_COLOR
222
+ ? GRAYSCALE_COLOR
223
+ : color;
222
224
  }
223
225
 
224
226
  /**
package/web-types.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "framework": "vue",
3
3
  "name": "vueless",
4
- "version": "0.0.267",
4
+ "version": "0.0.268",
5
5
  "contributions": {
6
6
  "html": {
7
7
  "description-markup": "markdown",