Skip to content

Commit

Permalink
Added black/white & better colorpicker position/ui
Browse files Browse the repository at this point in the history
  • Loading branch information
andreiggr committed Dec 5, 2021
1 parent 6bb63e7 commit 601e07c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 2 additions & 0 deletions src/StyleWrapper/EEAColorscheme.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,12 @@ const updatedEEAColorcheme = [
'#f7a600',
'#b94b19',
'#8d4107',
'#000000',
'#6f6f6e',
'#929291',
'#bcbcbc',
'#e3e3e3',
'#ffffff',
];

export default updatedEEAColorcheme;
2 changes: 1 addition & 1 deletion src/Widgets/SimpleColorPicker.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export default (props) => {
<Button.Group>
<Button
style={{ backgroundColor: value }}
onClick={() => setShowPicker(true)}
onClick={() => setShowPicker(!showPicker)}
size="huge"
title="Pick color"
>
Expand Down
3 changes: 2 additions & 1 deletion src/styles.less
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,7 @@
.color-picker {
position: absolute !important;
top: 0 !important;
transform: translateY(-100%);
transform: translateY(45%);
z-index: 2;
}
}

0 comments on commit 601e07c

Please sign in to comment.