mirror of
https://github.com/status-im/nimbus-gui.git
synced 2025-03-01 19:40:44 +00:00
feat: add setting color functionality
This commit is contained in:
parent
10bee2f66a
commit
a3b128053a
@ -13,6 +13,7 @@ import ReactionIcon from '../../components/Icons/ReactionIcon'
|
|||||||
|
|
||||||
const CreateLocalNodePage = () => {
|
const CreateLocalNodePage = () => {
|
||||||
const [autoConnectChecked, setAutoConnectChecked] = useState(false)
|
const [autoConnectChecked, setAutoConnectChecked] = useState(false)
|
||||||
|
const [chosenColor, setChosenColor] = useState('#FFFFFF')
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<PageWrapperShadow rightImageSrc="/background-images/day-night-bg.png">
|
<PageWrapperShadow rightImageSrc="/background-images/day-night-bg.png">
|
||||||
@ -64,6 +65,8 @@ const CreateLocalNodePage = () => {
|
|||||||
'#C78F67',
|
'#C78F67',
|
||||||
'#CB6256',
|
'#CB6256',
|
||||||
]}
|
]}
|
||||||
|
color={chosenColor}
|
||||||
|
onChange={color => setChosenColor(color.hex)}
|
||||||
/>
|
/>
|
||||||
</YStack>
|
</YStack>
|
||||||
</XStack>
|
</XStack>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user