From ee05893d4c0a95c4cd41e58d94706679ead1f88e Mon Sep 17 00:00:00 2001 From: Su-Yong Date: Tue, 6 Feb 2024 00:00:32 +0900 Subject: [PATCH] feat(album-color-theme): change nav-bar style --- src/plugins/album-color-theme/index.ts | 1 + src/plugins/in-app-menu/renderer.tsx | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/album-color-theme/index.ts b/src/plugins/album-color-theme/index.ts index ce02f5f7..d9976aa4 100644 --- a/src/plugins/album-color-theme/index.ts +++ b/src/plugins/album-color-theme/index.ts @@ -186,6 +186,7 @@ export default createPlugin< document.body.style.setProperty('background', this.getMixedColor('#030303', COLOR_KEY), 'important'); document.documentElement.style.setProperty('--ytmusic-background', this.getMixedColor('#030303', DARK_COLOR_KEY), 'important'); + document.documentElement.style.setProperty('--ytmusic-nav-bar', this.getMixedColor('#030303', DARK_COLOR_KEY), 'important'); }, }, }); diff --git a/src/plugins/in-app-menu/renderer.tsx b/src/plugins/in-app-menu/renderer.tsx index 4ff048bb..3fdb928a 100644 --- a/src/plugins/in-app-menu/renderer.tsx +++ b/src/plugins/in-app-menu/renderer.tsx @@ -1,6 +1,5 @@ import { createSignal } from 'solid-js'; import { render } from 'solid-js/web'; -import { extractCss } from 'solid-styled-components'; import { TitleBar } from './renderer/TitleBar'; import { defaultInAppMenuConfig, InAppMenuConfig } from './constants';