Skip to content

Commit

Permalink
Merge pull request #141 from 0kyn/add-font-color-picker-ts
Browse files Browse the repository at this point in the history
Add font color picker in Typescript
  • Loading branch information
ondras authored Oct 30, 2021
2 parents 1195732 + 930d086 commit 668a2c6
Show file tree
Hide file tree
Showing 9 changed files with 285 additions and 134 deletions.
2 changes: 1 addition & 1 deletion css/pane.less
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@

&[hidden] #toggle::after { content: ""; }

#color {
.color-picker {
display: flex;
flex-direction: row;

Expand Down
18 changes: 16 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,22 @@ <h3>My Mind</h3>
</select></label>
</p>
<p>
<label><span>Color</span></label>
<span id="color">
<span>Font color</span>
<span id="fontColor" class="color-picker">
<a data-color="" title="Inherit" href="#"></a>
<a data-color="#000" title="Black" href="#"></a>
<a data-color="#e33" title="Red" href="#"></a>
<a data-color="#3e3" title="Green" href="#"></a>
<a data-color="#33e" title="Blue" href="#"></a>
<a data-color="#dd3" title="Yellow" href="#"></a>
<a data-color="#3dd" title="Cyan" href="#"></a>
<a data-color="#d3d" title="Magenta" href="#"></a>
<a data-color="#fa3" title="Orange" href="#"></a>
</span>
</p>
<p>
<span>Color</span>
<span id="color" class="color-picker">
<a data-color="" title="Inherit" href="#"></a>
<a data-color="#000" title="Black" href="#"></a>
<a data-color="#e33" title="Red" href="#"></a>
Expand Down
8 changes: 4 additions & 4 deletions my-mind.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 668a2c6

Please sign in to comment.