diff --git a/src/components/modals/settings/sections/BackgroundSettings.jsx b/src/components/modals/settings/sections/BackgroundSettings.jsx index 79d11a79..2970d977 100644 --- a/src/components/modals/settings/sections/BackgroundSettings.jsx +++ b/src/components/modals/settings/sections/BackgroundSettings.jsx @@ -214,7 +214,7 @@ export default class BackgroundSettings extends React.PureComponent { const newState = { gradientSettings: { ...s.gradientSettings, - gradient: [...initGradients, lastGradient, { 'colour': '#000000', stop: 100 }].sort((a, b) => (a.stop > b.stop) ? 1 : -1) + gradient: [...initGradients, lastGradient, { 'colour': localStorage.getItem('darkTheme') === 'true' ? '#000000' : '#ffffff', stop: 100 }].sort((a, b) => (a.stop > b.stop) ? 1 : -1) } }; return newState; diff --git a/src/scss/index.scss b/src/scss/index.scss index 55c67406..666b0035 100644 --- a/src/scss/index.scss +++ b/src/scss/index.scss @@ -100,4 +100,10 @@ body { ::selection { background-color: #c2c2c2; +} + +div.picker-area > div.preview > div.color-hue-alpha > div.alpha, +div.color-preview-area > div > div:nth-child(5) +{ + display: none; } \ No newline at end of file