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

Loading…
Cancel
Save