mirror of
https://github.com/mue/mue.git
synced 2026-07-20 15:34:10 +02:00
Hiding alpha settings
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
Reference in New Issue
Block a user