mirror of
https://github.com/Ernous/TorrServerJellyfin.git
synced 2025-12-19 21:46:11 +05:00
update theme colors
This commit is contained in:
@@ -3,9 +3,9 @@ import styled, { css } from 'styled-components'
|
|||||||
const viewedPrimaryColor = '#858c90'
|
const viewedPrimaryColor = '#858c90'
|
||||||
const viewedSecondaryColor = '#8c9498'
|
const viewedSecondaryColor = '#8c9498'
|
||||||
const viewedTertiaryColor = '#949ca0'
|
const viewedTertiaryColor = '#949ca0'
|
||||||
const bigTableDividerColor = '#ddd'
|
const bigTableDividerColor = '#d2d2d2'
|
||||||
const bigTableDefaultRowColor = '#fff'
|
const bigTableDefaultRowColor = '#f3f3f3'
|
||||||
const bigTableViewedRowColor = '#f3f3f3'
|
const bigTableViewedRowColor = '#ddd'
|
||||||
|
|
||||||
const viewedIndicator = css`
|
const viewedIndicator = css`
|
||||||
${({
|
${({
|
||||||
@@ -187,7 +187,7 @@ export const ShortTable = styled.div`
|
|||||||
grid-template-columns: repeat(3, 1fr);
|
grid-template-columns: repeat(3, 1fr);
|
||||||
align-items: center;
|
align-items: center;
|
||||||
gap: 20px;
|
gap: 20px;
|
||||||
background: #fff;
|
background: #f3f3f3;
|
||||||
|
|
||||||
@media (max-width: 410px) {
|
@media (max-width: 410px) {
|
||||||
gap: 10px;
|
gap: 10px;
|
||||||
|
|||||||
@@ -7,10 +7,10 @@ export const snakeSettings = {
|
|||||||
borderWidth: 1,
|
borderWidth: 1,
|
||||||
pieceSize: 14,
|
pieceSize: 14,
|
||||||
gapBetweenPieces: 3,
|
gapBetweenPieces: 3,
|
||||||
borderColor: rgba('#949ca0', 0.25),
|
borderColor: rgba('#fff', 0.85),
|
||||||
completeColor: rgba(mainColors.dark.primary, 0.5),
|
completeColor: rgba(mainColors.dark.primary, 0.5),
|
||||||
backgroundColor: '#f1eff3',
|
backgroundColor: mainColors.dark.secondary,
|
||||||
progressColor: mainColors.dark.secondary,
|
progressColor: rgba('#fff', 0.2),
|
||||||
readerColor: '#8f0405',
|
readerColor: '#8f0405',
|
||||||
rangeColor: '#cda184',
|
rangeColor: '#cda184',
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -28,13 +28,16 @@ const TorrentFunctions = memo(
|
|||||||
<>
|
<>
|
||||||
<SmallLabel>{t('DownloadPlaylist')}</SmallLabel>
|
<SmallLabel>{t('DownloadPlaylist')}</SmallLabel>
|
||||||
<SectionSubName mb={10}>
|
<SectionSubName mb={10}>
|
||||||
{t('LatestFilePlayed')} <strong>{latestViewedFileData?.title}.
|
{t('LatestFilePlayed')}{' '}
|
||||||
{latestViewedFileData?.season && (
|
<strong>
|
||||||
<>
|
{latestViewedFileData?.title}.
|
||||||
{' '}
|
{latestViewedFileData?.season && (
|
||||||
{t('Season')}: {latestViewedFileData?.season}. {t('Episode')}: {latestViewedFileData?.episode}.
|
<>
|
||||||
</>
|
{' '}
|
||||||
)}</strong>
|
{t('Season')}: {latestViewedFileData?.season}. {t('Episode')}: {latestViewedFileData?.episode}.
|
||||||
|
</>
|
||||||
|
)}
|
||||||
|
</strong>
|
||||||
</SectionSubName>
|
</SectionSubName>
|
||||||
|
|
||||||
<MainSectionButtonGroup>
|
<MainSectionButtonGroup>
|
||||||
|
|||||||
@@ -289,7 +289,7 @@ export const LoadingProgress = styled.div.attrs(
|
|||||||
return {
|
return {
|
||||||
// this block is here according to styled-components recomendation about fast changable components
|
// this block is here according to styled-components recomendation about fast changable components
|
||||||
style: {
|
style: {
|
||||||
background: `linear-gradient(to right, ${gradientStartColor} 0%, ${gradientEndColor} ${percentage}%, #fff ${percentage}%, #fff 100%)`,
|
background: `linear-gradient(to right, ${gradientStartColor} 0%, ${gradientEndColor} ${percentage}%, #eee ${percentage}%, #fff 100%)`,
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -78,7 +78,7 @@ export const themeColors = {
|
|||||||
detailedView: {
|
detailedView: {
|
||||||
gradientStartColor: '#656f76',
|
gradientStartColor: '#656f76',
|
||||||
gradientEndColor: '#545a5e',
|
gradientEndColor: '#545a5e',
|
||||||
cacheSectionBGColor: '#dee3e5',
|
cacheSectionBGColor: '#949ca0',
|
||||||
},
|
},
|
||||||
addDialog: {
|
addDialog: {
|
||||||
gradientStartColor: '#656f76',
|
gradientStartColor: '#656f76',
|
||||||
|
|||||||
Reference in New Issue
Block a user