diff --git a/src/App.vue b/src/App.vue index 617a456..9606ce3 100644 --- a/src/App.vue +++ b/src/App.vue @@ -72,8 +72,8 @@ const colorsLight --playlist-line: ${stylesPresent.styles.light.playListLine}; --hover-btn: ${stylesPresent.styles.light.hoverBtn}; --box-bg-shadow: ${stylesPresent.styles.light.boxBackgroundShadow}; - --primary-color: 'rgb(${stylesPresent.styles.light.primaryColor})'; - --primary-color-a: 'rgba(${stylesPresent.styles.light.primaryColor},0.3); + --primary-color: rgb(${stylesPresent.styles.light.primaryColor}); + --primary-color-a: rgba(${stylesPresent.styles.light.primaryColor},0.3); }` const colorsDark @@ -86,8 +86,8 @@ const colorsDark --playlist-line: ${stylesPresent.styles.dark.playListLine}; --hover-btn: ${stylesPresent.styles.dark.hoverBtn}; --box-bg-shadow: ${stylesPresent.styles.dark.boxBackgroundShadow}; - --primary-color: 'rgb(${stylesPresent.styles.dark.primaryColor})'; - --primary-color-a: 'rgba(${stylesPresent.styles.dark.primaryColor},0.3); + --primary-color: rgb(${stylesPresent.styles.dark.primaryColor}); + --primary-color-a: rgba(${stylesPresent.styles.dark.primaryColor},0.3); }` if (props.darkModeTarget) { diff --git a/src/Preview.vue b/src/Preview.vue index 24ca69e..ffdf37b 100644 --- a/src/Preview.vue +++ b/src/Preview.vue @@ -27,3 +27,11 @@ function clickChangeTheme() { 切换主题 + + diff --git a/src/components/AudioPlayer.vue b/src/components/AudioPlayer.vue index 723fe4b..e01c981 100644 --- a/src/components/AudioPlayer.vue +++ b/src/components/AudioPlayer.vue @@ -56,7 +56,7 @@ const src = computed(() => {