Skip to content

Commit b29aadf

Browse files
authored
Revert color lib bump (#1666)
1 parent 2ce7f08 commit b29aadf

File tree

5 files changed

+56
-85
lines changed

5 files changed

+56
-85
lines changed

package-lock.json

Lines changed: 52 additions & 81 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"dependencies": {
2121
"@material/mwc-select": "^0.27.0",
2222
"@material/mwc-textfield": "^0.27.0",
23-
"color": "^5.0.0",
23+
"color": "^4.2.3",
2424
"hammerjs": "^2.0.8",
2525
"home-assistant-js-websocket": "^9.4.0",
2626
"lit": "^3.2.1",

src/cards/light-card/controls/light-color-control.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import Color from "color";
1+
import * as Color from "color";
22
import { HassEntity } from "home-assistant-js-websocket";
33
import {
44
css,

src/cards/light-card/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import Color from "color";
1+
import * as Color from "color";
22
import {
33
LightColorMode,
44
LightEntity,

src/utils/colors.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { css } from "lit";
2-
import Color from "color";
2+
import * as Color from "color";
33

44
export const COLORS = [
55
"primary",

0 commit comments

Comments
 (0)