mirror of
https://github.com/th-ch/youtube-music.git
synced 2026-01-14 03:41:46 +00:00
fix(album-color-theme): fix Color deps
This commit is contained in:
@ -301,7 +301,6 @@
|
|||||||
"@playwright/test": "1.50.1",
|
"@playwright/test": "1.50.1",
|
||||||
"@stylistic/eslint-plugin-js": "3.1.0",
|
"@stylistic/eslint-plugin-js": "3.1.0",
|
||||||
"@total-typescript/ts-reset": "0.6.1",
|
"@total-typescript/ts-reset": "0.6.1",
|
||||||
"@types/color": "4.2.0",
|
|
||||||
"@types/electron-localshortcut": "3.1.3",
|
"@types/electron-localshortcut": "3.1.3",
|
||||||
"@types/eslint__js": "8.42.3",
|
"@types/eslint__js": "8.42.3",
|
||||||
"@types/howler": "2.2.12",
|
"@types/howler": "2.2.12",
|
||||||
|
|||||||
22
pnpm-lock.yaml
generated
22
pnpm-lock.yaml
generated
@ -214,9 +214,6 @@ importers:
|
|||||||
'@total-typescript/ts-reset':
|
'@total-typescript/ts-reset':
|
||||||
specifier: 0.6.1
|
specifier: 0.6.1
|
||||||
version: 0.6.1
|
version: 0.6.1
|
||||||
'@types/color':
|
|
||||||
specifier: 4.2.0
|
|
||||||
version: 4.2.0
|
|
||||||
'@types/electron-localshortcut':
|
'@types/electron-localshortcut':
|
||||||
specifier: 3.1.3
|
specifier: 3.1.3
|
||||||
version: 3.1.3
|
version: 3.1.3
|
||||||
@ -1472,15 +1469,6 @@ packages:
|
|||||||
'@types/cacheable-request@6.0.3':
|
'@types/cacheable-request@6.0.3':
|
||||||
resolution: {integrity: sha512-IQ3EbTzGxIigb1I3qPZc1rWJnH0BmSKv5QYTalEwweFvyBDLSAe24zP0le/hyi7ecGfZVlIVAg4BZqb8WBwKqw==}
|
resolution: {integrity: sha512-IQ3EbTzGxIigb1I3qPZc1rWJnH0BmSKv5QYTalEwweFvyBDLSAe24zP0le/hyi7ecGfZVlIVAg4BZqb8WBwKqw==}
|
||||||
|
|
||||||
'@types/color-convert@2.0.4':
|
|
||||||
resolution: {integrity: sha512-Ub1MmDdyZ7mX//g25uBAoH/mWGd9swVbt8BseymnaE18SU4po/PjmCrHxqIIRjBo3hV/vh1KGr0eMxUhp+t+dQ==}
|
|
||||||
|
|
||||||
'@types/color-name@1.1.5':
|
|
||||||
resolution: {integrity: sha512-j2K5UJqGTxeesj6oQuGpMgifpT5k9HprgQd8D1Y0lOFqKHl3PJu5GMeS4Y5EgjS55AE6OQxf8mPED9uaGbf4Cg==}
|
|
||||||
|
|
||||||
'@types/color@4.2.0':
|
|
||||||
resolution: {integrity: sha512-6+xrIRImMtGAL2X3qYkd02Mgs+gFGs+WsK0b7VVMaO4mYRISwyTjcqNrO0mNSmYEoq++rSLDB2F5HDNmqfOe+A==}
|
|
||||||
|
|
||||||
'@types/debug@4.1.12':
|
'@types/debug@4.1.12':
|
||||||
resolution: {integrity: sha512-vIChWdVG3LG1SMxEvI/AK+FWJthlrqlTu7fbrlywTkkaONwk/UAGaULXRlf8vkzFBLVm0zkMdCquhL5aOjhXPQ==}
|
resolution: {integrity: sha512-vIChWdVG3LG1SMxEvI/AK+FWJthlrqlTu7fbrlywTkkaONwk/UAGaULXRlf8vkzFBLVm0zkMdCquhL5aOjhXPQ==}
|
||||||
|
|
||||||
@ -5805,16 +5793,6 @@ snapshots:
|
|||||||
'@types/node': 20.17.19
|
'@types/node': 20.17.19
|
||||||
'@types/responselike': 1.0.3
|
'@types/responselike': 1.0.3
|
||||||
|
|
||||||
'@types/color-convert@2.0.4':
|
|
||||||
dependencies:
|
|
||||||
'@types/color-name': 1.1.5
|
|
||||||
|
|
||||||
'@types/color-name@1.1.5': {}
|
|
||||||
|
|
||||||
'@types/color@4.2.0':
|
|
||||||
dependencies:
|
|
||||||
'@types/color-convert': 2.0.4
|
|
||||||
|
|
||||||
'@types/debug@4.1.12':
|
'@types/debug@4.1.12':
|
||||||
dependencies:
|
dependencies:
|
||||||
'@types/ms': 2.1.0
|
'@types/ms': 2.1.0
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
import { FastAverageColor } from 'fast-average-color';
|
import { FastAverageColor } from 'fast-average-color';
|
||||||
import Color from 'color';
|
import Color, { ColorInstance } from 'color';
|
||||||
|
|
||||||
import style from './style.css?inline';
|
import style from './style.css?inline';
|
||||||
|
|
||||||
@ -14,8 +14,8 @@ export default createPlugin<
|
|||||||
unknown,
|
unknown,
|
||||||
unknown,
|
unknown,
|
||||||
{
|
{
|
||||||
color?: Color;
|
color?: ColorInstance;
|
||||||
darkColor?: Color;
|
darkColor?: ColorInstance;
|
||||||
|
|
||||||
playerPage: HTMLElement | null;
|
playerPage: HTMLElement | null;
|
||||||
navBarBackground: HTMLElement | null;
|
navBarBackground: HTMLElement | null;
|
||||||
|
|||||||
Reference in New Issue
Block a user