Skip to content

Commit

Permalink
Adicionado novas predefinições de cores (#2)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonas authored Aug 4, 2024
1 parent 93a28a9 commit 4ecff73
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 4 deletions.
10 changes: 8 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,14 @@
onchange="preset(this.value); updateOutputText(event); ">
<option value='0'>Nenhum</option>
<option value='1'>Arco-íris</option>
<option value='2'>VIP Férias</option>
<option value='3'>Caixa dos Piratas</option>
<option value='2'>VIP Premium</option>
<option value='3'>VIP Master</option>
<option value='4'>VIP Ultimate</option>
<option value='5'>VIP Aniversário</option>
<option value='6'>VIP Férias</option>
<option value='7'>Platinum</option>
<option value='8'>Caixa Samurai</option>
<option value='9'>Caixa dos Piratas</option>
</select>
</div>
</div>
Expand Down
22 changes: 20 additions & 2 deletions script.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,29 @@ const presets = {
colors: ["FF0000", "FF7F00", "FFFF00", "00FF00", "0000FF", "4B0082", "9400D3"],
},
2: {
colors: ["#AAFF99", "#73D1FF", "#FFB8B8", "#CD70FF"],
colors: ["#FFCA2C", "#FF7926"],
},
3: {
colors: ["#31FFF9", "#2F97DA"],
},
4: {
colors: ["#FF14E8", "#AA00AA"],
},
5: {
colors: ["#58ff82", "#21f9e6", "#7e8fff"],
},
6: {
colors: ["#AAFF99", "#73D1FF", "#FFB8B8", "#CD70FF"],
},
7: {
colors: ["#FF5555", "#AA0000"],
},
8: {
colors: ["#FF5A5A", "#FFA500", "#373232"],
},
9: {
colors: ["#00AAAA", "#FFFF33", "#FFAA00", "#FF0000"],
}
},
}
const formats = {
0: {
Expand Down

0 comments on commit 4ecff73

Please sign in to comment.