Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
theosanderson committed Sep 12, 2023
1 parent 5359bf8 commit 1cd3a81
Showing 1 changed file with 33 additions and 29 deletions.
62 changes: 33 additions & 29 deletions taxonium_component/src/components/DeckSettingsModal.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -158,33 +158,7 @@ const DeckSettingsModal = ({
/>
</label>
</div>
<div>
<label>
Color for terminal node labels
<ColorPicker
color={settings.terminalNodeLabelColor}
setColor={settings.setTerminalNodeLabelColor}
/>
</label>
</div>
<div>
<label>
Color for tree lines
<ColorPicker
color={settings.lineColor}
setColor={settings.setLineColor}
/>
</label>
</div>
<div>
<label>
Color for clade labels
<ColorPicker
color={settings.cladeLabelColor}
setColor={settings.setCladeLabelColor}
/>
</label>
</div>

</div>
</TabPanel>

Expand Down Expand Up @@ -226,14 +200,44 @@ const DeckSettingsModal = ({
</div>
</TabPanel>
<TabPanel>
<div className="space-y-3">
<h3 className="font-medium">Color</h3>
<div className="space-y-3 mt-5">

<div>
<label>
Default color for nodes:
<ColorPicker color={noneColor} setColor={setNoneColor} />
</label>
</div>
<div>
<label>
Color for terminal node labels
<ColorPicker
color={settings.terminalNodeLabelColor}
setColor={settings.setTerminalNodeLabelColor}
/>
</label>
</div>
<div>
<label>
Color for tree lines
<ColorPicker
color={settings.lineColor}
setColor={settings.setLineColor}
/>
</label>
</div>
<div>
<label>
Color for clade labels
<ColorPicker
color={settings.cladeLabelColor}
setColor={settings.setCladeLabelColor}
/>
</label>
</div>
<div className="text-md">
<b>Tip:</b> to modify the color of nodes colored by metadata, click the specific metadata in the key at the bottom left.
</div>
</div>
</TabPanel>
</Tabs>
Expand Down

0 comments on commit 1cd3a81

Please sign in to comment.