Skip to content

Commit f47262d

Browse files
committed
fix(album-color-theme): fix Color deps
1 parent 65bf912 commit f47262d

File tree

3 files changed

+3
-26
lines changed

3 files changed

+3
-26
lines changed

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,6 @@
301301
"@playwright/test": "1.50.1",
302302
"@stylistic/eslint-plugin-js": "3.1.0",
303303
"@total-typescript/ts-reset": "0.6.1",
304-
"@types/color": "4.2.0",
305304
"@types/electron-localshortcut": "3.1.3",
306305
"@types/eslint__js": "8.42.3",
307306
"@types/howler": "2.2.12",

pnpm-lock.yaml

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

src/plugins/album-color-theme/index.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { FastAverageColor } from 'fast-average-color';
2-
import Color from 'color';
2+
import Color, { ColorInstance } from 'color';
33

44
import style from './style.css?inline';
55

@@ -14,8 +14,8 @@ export default createPlugin<
1414
unknown,
1515
unknown,
1616
{
17-
color?: Color;
18-
darkColor?: Color;
17+
color?: ColorInstance;
18+
darkColor?: ColorInstance;
1919

2020
playerPage: HTMLElement | null;
2121
navBarBackground: HTMLElement | null;

0 commit comments

Comments
 (0)