Add pastel colors

master
Skylar Ittner 6 years ago
parent 0b64eb555f
commit c83cbd5e65

@ -15,28 +15,35 @@ foreach ($noteids as $n) {
<style nonce="<?php echo $SECURE_NONCE; ?>">
<?php
$colors = [
"F44336",
"F06292",
"AB47BC",
"7E57C2",
"5C6BC0",
"42A5F5",
"03A9F4",
"00BCD4",
"26A69A",
"4CAF50",
"8BC34A",
"CDDC39",
"FFF176",
"FFC107",
//"FFA726",
"FF7043",
"E64A19",
"795548",
"9E9E9E",
//"78909C",
"000000",
"FFFFFF",
// Pastel colors
"EF9A9A", // red
"FFCC80", // orange
"FFF59D", // yellow
"E6EE9C", // lime
"A5D6A7", // green
"80CBC4", // teal
"81D4FA", // light blue
"90CAF9", // blue
"B39DDB", // purple
"F48FB1", // pink
// Bright colors
"F44336", // red
"FF9800", // orange
"FFEB3B", // yellow
"8BC34A", // light green
"4CAF50", // green
"009688", // teal
"03A9F4", // light blue
"2196F3", // blue
"673AB7", // purple
"E91E63", // pink
// Other colors
"FFFFFF", // white
"E0E0E0", // pastel gray
"9E9E9E", // gray
"BCAAA4", // pastel brown
"795548", // brown
"000000", // black
];
foreach ($notes as $note) {
@ -113,7 +120,7 @@ foreach ($colors as $c) {
<input type="hidden" name="noteid" value="" />
<input type="hidden" name="color" value="FFFFFF" />
<div class="modal-header">
<h5 class="modal-title"><?php $Strings->get("Set color"); ?></h5>
<h5 class="modal-title"><i class="fas fa-palette"></i> <?php $Strings->get("Set color"); ?></h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">&times;</span>
</button>

Loading…
Cancel
Save