This commit is contained in:
Daniel Shleifman
2021-06-26 22:28:50 +03:00
parent 9b521ef06c
commit e2241cf7fd
8 changed files with 22 additions and 13 deletions

View File

@@ -42,7 +42,9 @@ export default function DetailedView({
</DetailedViewWidgetSection>
<DetailedViewCacheSection>
<SectionTitle mb={20}>{t('Cache')}</SectionTitle>
<SectionTitle color='#000' mb={20}>
{t('Cache')}
</SectionTitle>
<TorrentCache cache={cache} />
</DetailedViewCacheSection>
</>

View File

@@ -1,16 +1,17 @@
import { rgba } from 'polished'
import { mainColors } from 'style/colors'
export const snakeSettings = {
dark: {
default: {
borderWidth: 1,
borderWidth: 2,
pieceSize: 14,
gapBetweenPieces: 3,
borderColor: mainColors.dark.primary,
completeColor: mainColors.dark.primary,
backgroundColor: '#fff',
progressColor: '#545a5e',
readerColor: '#fff',
borderColor: mainColors.dark.secondary,
completeColor: rgba(mainColors.dark.primary, 0.65),
backgroundColor: '#f1eff3',
progressColor: mainColors.dark.secondary,
readerColor: '#000',
rangeColor: '#cda184',
},
mini: {

View File

@@ -33,7 +33,7 @@ import { isFilePlayable } from './helpers'
const Loader = () => (
<div style={{ minHeight: '80vh', display: 'grid', placeItems: 'center' }}>
<CircularProgress />
<CircularProgress color='secondary' />
</div>
)
@@ -225,7 +225,7 @@ export default function DialogTorrentDetailsContent({ closeDialog, torrent }) {
{seasonAmount?.length > 1 && (
<>
<SectionSubName mb={7}>{t('SelectSeason')}</SectionSubName>
<ButtonGroup style={{ marginBottom: '30px' }} color='primary'>
<ButtonGroup style={{ marginBottom: '30px' }} color='secondary'>
{seasonAmount.map(season => (
<Button
key={season}

View File

@@ -142,6 +142,7 @@ export const SectionSubName = styled.div`
export const SectionTitle = styled.div`
${({
color,
theme: {
dialogTorrentDetailsContent: { fontColor },
},
@@ -152,7 +153,7 @@ export const SectionTitle = styled.div`
font-weight: 300;
line-height: 1;
word-break: break-word;
color: ${fontColor};
color: ${color || fontColor};
@media (max-width: 800px) {
font-size: 25px;