diff --git a/web/src/components/Settings/PrimarySettingsComponent.jsx b/web/src/components/Settings/PrimarySettingsComponent.jsx index 4c51482..643e6bf 100644 --- a/web/src/components/Settings/PrimarySettingsComponent.jsx +++ b/web/src/components/Settings/PrimarySettingsComponent.jsx @@ -95,7 +95,7 @@ export default function PrimarySettingsComponent({ /> } + control={} label={t('SettingsDialog.PreloadBuffer')} /> @@ -123,7 +123,9 @@ export default function PrimarySettingsComponent({ } + control={ + + } label={t('SettingsDialog.RemoveCacheOnDrop')} />
diff --git a/web/src/components/Settings/SecondarySettingsComponent.jsx b/web/src/components/Settings/SecondarySettingsComponent.jsx index 0d1fcd6..12b6550 100644 --- a/web/src/components/Settings/SecondarySettingsComponent.jsx +++ b/web/src/components/Settings/SecondarySettingsComponent.jsx @@ -30,27 +30,27 @@ export default function SecondarySettingsComponent({ settings, inputForm }) { {t('SettingsDialog.AdditionalSettings')} } + control={} label='IPv6' />
} + control={} label='TCP (Transmission Control Protocol)' />
} + control={} label='μTP (Micro Transport Protocol)' />
} + control={} label='PEX (Peer Exchange)' />
} + control={} label={t('SettingsDialog.ForceEncrypt')} />
@@ -75,7 +75,7 @@ export default function SecondarySettingsComponent({ settings, inputForm }) { />
} + control={} label={t('SettingsDialog.DHT')} />
@@ -100,7 +100,7 @@ export default function SecondarySettingsComponent({ settings, inputForm }) { />
} + control={} label={t('SettingsDialog.Upload')} />
@@ -125,7 +125,7 @@ export default function SecondarySettingsComponent({ settings, inputForm }) { />
} + control={} label='UPnP (Universal Plug and Play)' />
diff --git a/web/src/components/Settings/SettingsDialog.jsx b/web/src/components/Settings/SettingsDialog.jsx index f1700b1..5c3368a 100644 --- a/web/src/components/Settings/SettingsDialog.jsx +++ b/web/src/components/Settings/SettingsDialog.jsx @@ -102,8 +102,8 @@ export default function SettingsDialog({ handleClose }) { @@ -169,7 +169,7 @@ export default function SettingsDialog({ handleClose }) { {t('SettingsDialog.ResetToDefault')} - diff --git a/web/src/components/Settings/SliderInput.jsx b/web/src/components/Settings/SliderInput.jsx index a4d987e..5dc0a1c 100644 --- a/web/src/components/Settings/SliderInput.jsx +++ b/web/src/components/Settings/SliderInput.jsx @@ -28,7 +28,14 @@ export default function SliderInput({ - + {isProMode && ( diff --git a/web/src/components/Settings/style.js b/web/src/components/Settings/style.js index 075c63c..ab1bea4 100644 --- a/web/src/components/Settings/style.js +++ b/web/src/components/Settings/style.js @@ -17,18 +17,24 @@ export const SettingsHeader = styled(Header)` ` export const FooterSection = styled.div` - padding: 20px; - display: grid; - grid-auto-flow: column; - justify-content: end; - gap: 10px; - align-items: center; - background: #e8e5eb; + ${({ + theme: { + settingsDialog: { footerBG }, + }, + }) => css` + padding: 20px; + display: grid; + grid-auto-flow: column; + justify-content: end; + gap: 10px; + align-items: center; + background: ${footerBG}; - @media (max-width: 500px) { - grid-auto-flow: row; - justify-content: stretch; - } + @media (max-width: 500px) { + grid-auto-flow: row; + justify-content: stretch; + } + `} ` export const Divider = styled.div` height: 1px; @@ -37,8 +43,13 @@ export const Divider = styled.div` ` export const Content = styled.div` - ${({ isLoading }) => css` - background: #f1eff3; + ${({ + isLoading, + theme: { + settingsDialog: { contentBG }, + }, + }) => css` + background: ${contentBG}; overflow: auto; flex: 1; diff --git a/web/src/style/colors.js b/web/src/style/colors.js index 1a009a0..d78eeae 100644 --- a/web/src/style/colors.js +++ b/web/src/style/colors.js @@ -47,6 +47,10 @@ export const themeColors = { defaultSecondaryColor: '#00a383', defaultTertiaryColor: '#03aa89', }, + settingsDialog: { + contentBG: '#f1eff3', + footerBG: '#f1eff3', + }, }, dark: { app: { @@ -94,6 +98,10 @@ export const themeColors = { defaultSecondaryColor: rgba('#545a5e', 0.9), defaultTertiaryColor: '#545a5e', }, + settingsDialog: { + contentBG: '#5A6166', + footerBG: '#323637', + }, }, }