Set fullscreen player text shadow to css var
This commit is contained in:
parent
63e441429e
commit
d517afdfd3
3 changed files with 6 additions and 4 deletions
|
@ -255,7 +255,7 @@ export const FullScreenPlayerImage = () => {
|
|||
overflow="hidden"
|
||||
pb="0.5rem"
|
||||
style={{
|
||||
textShadow: '0 0 5px rgb(0 0 0 / 100%)',
|
||||
textShadow: 'var(--fullscreen-player-text-shadow)',
|
||||
}}
|
||||
w="100%"
|
||||
weight={900}
|
||||
|
@ -269,7 +269,7 @@ export const FullScreenPlayerImage = () => {
|
|||
order={3}
|
||||
overflow="hidden"
|
||||
style={{
|
||||
textShadow: '0 0 5px rgb(0 0 0 / 100%)',
|
||||
textShadow: 'var(--fullscreen-player-text-shadow)',
|
||||
}}
|
||||
to={generatePath(AppRoute.LIBRARY_ALBUMS_DETAIL, {
|
||||
albumId: currentSong?.albumId || '',
|
||||
|
@ -286,7 +286,7 @@ export const FullScreenPlayerImage = () => {
|
|||
align="center"
|
||||
order={3}
|
||||
style={{
|
||||
textShadow: '0 0 5px rgb(0 0 0 / 100%)',
|
||||
textShadow: 'var(--fullscreen-player-text-shadow)',
|
||||
}}
|
||||
transform="uppercase"
|
||||
>
|
||||
|
@ -304,7 +304,7 @@ export const FullScreenPlayerImage = () => {
|
|||
$link
|
||||
component={Link}
|
||||
style={{
|
||||
textShadow: '0 0 5px rgb(0 0 0 / 100%)',
|
||||
textShadow: 'var(--fullscreen-player-text-shadow)',
|
||||
}}
|
||||
to={generatePath(AppRoute.LIBRARY_ALBUM_ARTISTS_DETAIL, {
|
||||
albumArtistId: artist.id,
|
||||
|
|
|
@ -116,6 +116,7 @@
|
|||
--table-fg: rgb(179, 179, 179);
|
||||
--table-row-hover-bg: rgba(100, 100, 100, 20%);
|
||||
--table-row-selected-bg: rgba(100, 100, 100, 40%);
|
||||
--fullscreen-player-text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
|
||||
|
||||
.ag-theme-alpine-dark {
|
||||
--ag-font-family: var(--content-font-family);
|
||||
|
|
|
@ -95,6 +95,7 @@ body[data-theme='defaultLight'] {
|
|||
--table-fg: rgb(179, 179, 179);
|
||||
--table-row-hover-bg: rgba(150, 150, 150, 20%);
|
||||
--table-row-selected-bg: rgba(150, 150, 150, 30%);
|
||||
--fullscreen-player-text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
|
||||
|
||||
.ag-theme-alpine-dark {
|
||||
--ag-font-family: var(--content-font-family);
|
||||
|
|
Reference in a new issue