Skip to content

Commit

Permalink
Adicionado opção de cor do VIP Natal (#3)
Browse files Browse the repository at this point in the history
* Adicionado opção de cor do VIP Natal.

* Adicionado cor do VIP Natal comentários do tipo de cor.

---------

Co-authored-by: Jonas <[email protected]>
  • Loading branch information
SrBedrock and JONAT1NH4 authored Dec 5, 2024
1 parent 3c46471 commit 00caa21
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 5 deletions.
7 changes: 4 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,10 @@
<option value='5'>VIP Platinum</option>
<option value='6'>VIP Aniversário</option>
<option value='7'>VIP Férias</option>
<option value='8'>Caixa Samurai - 2024</option>
<option value='9'>Caixa dos Piratas - 2024</option>
<option value='10'>Caixa de Halloween - 2024</option>
<option value='8'>VIP Natal</option>
<option value='9'>Caixa Samurai - 2024</option>
<option value='10'>Caixa dos Piratas - 2024</option>
<option value='11'>Caixa de Halloween - 2024</option>
</select>
</div>
</div>
Expand Down
18 changes: 16 additions & 2 deletions script.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,34 +3,48 @@ const nickName = document.getElementById('nickname');
const coloredNick = document.getElementById('coloredNick');
const savedColors = ['084CFB', 'ADF3FD', getRandomHexColor(), getRandomHexColor(), getRandomHexColor(), getRandomHexColor(), getRandomHexColor(), getRandomHexColor(), getRandomHexColor(), getRandomHexColor()];
const presets = {
// Arco-Írias
1: {
colors: ["FF0000", "FF7F00", "FFFF00", "00FF00", "0000FF", "4B0082", "9400D3"],
},
// VIP Premium
2: {
colors: ["#FFCA2C", "#FF7926"],
},
// VIP Master
3: {
colors: ["#31FFF9", "#2F97DA"],
},
// VIP Ultimate
4: {
colors: ["#FF14E8", "#AA00AA"],
},
// VIP Platinum
5: {
colors: ["#FF5555", "#AA0000"],
},
// VIP Aniversário
6: {
colors: ["#58ff82", "#21f9e6", "#7e8fff"],
},
// VIP Férias
7: {
colors: ["#AAFF99", "#73D1FF", "#FFB8B8", "#CD70FF"],
},
// VIP Natal
8: {
colors: ["#FF5A5A", "#FFA500", "#373232"],
colors: ["#FF3A3A", "#FDFDFD", "#D4FFF8", "#26BEF6"],
},
// Caixa Samurai
9: {
colors: ["#00AAAA", "#FFFF33", "#FFAA00", "#FF0000"],
colors: ["#FF5A5A", "#FFA500", "#373232"],
},
// Caixa Piratas
10: {
colors: ["#00AAAA", "#FFFF33", "#FFAA00", "#FF0000"],
},
// Caixa Halloween
11: {
colors: ["#FC79B9", "#E99055"],
}
}
Expand Down

0 comments on commit 00caa21

Please sign in to comment.