No named colors and lowercase hex (#395)

* No named colors and lowercase hex

* consistent
This commit is contained in:
Lipis 2020-01-16 20:16:08 +02:00 committed by Christopher Chedeau
parent 1ae3c64860
commit 8154ccd907
7 changed files with 57 additions and 64 deletions

View file

@ -108,56 +108,56 @@ export function ColorPicker({
const colors = {
// Shade 0
canvasBackground: [
"#FFFFFF",
"#F8F9FA",
"#F1F3F5",
"#FFF5F5",
"#FFF0F6",
"#F8F0FC",
"#F3F0FF",
"#EDF2FF",
"#E7F5FF",
"#E3FAFC",
"#E6FCF5",
"#EBFBEE",
"#F4FCE3",
"#FFF9DB",
"#FFF4E6"
"#ffffff",
"#f8f9fa",
"#f1f3f5",
"#fff5f5",
"#fff0f6",
"#f8f0fc",
"#f3f0ff",
"#edf2ff",
"#e7f5ff",
"#e3fafc",
"#e6fcf5",
"#ebfbee",
"#f4fce3",
"#fff9db",
"#fff4e6"
],
// Shade 6
elementBackground: [
"transparent",
"#CED4DA",
"#868E96",
"#FA5252",
"#E64980",
"#BE4BDB",
"#7950F2",
"#4C6EF5",
"#228BE6",
"#15AABF",
"#12B886",
"#40C057",
"#82C91E",
"#FAB005",
"#FD7E14"
"#ced4da",
"#868e96",
"#fa5252",
"#e64980",
"#be4bdb",
"#7950f2",
"#4c6ef5",
"#228be6",
"#15aabf",
"#12b886",
"#40c057",
"#82c91e",
"#fab005",
"#fd7e14"
],
// Shade 9
elementStroke: [
"#000000",
"#343A40",
"#343a40",
"#495057",
"#C92A2A",
"#A61E4D",
"#862E9C",
"#5F3DC4",
"#364FC7",
"#1864AB",
"#0B7285",
"#087F5B",
"#2B8A3E",
"#5C940D",
"#E67700",
"#D9480F"
"#c92a2a",
"#a61e4d",
"#862e9c",
"#5f3dc4",
"#364fc7",
"#1864ab",
"#0b7285",
"#087f5b",
"#2b8a3e",
"#5c940d",
"#e67700",
"#d9480f"
]
};

View file

@ -27,7 +27,7 @@
}
.context-menu-option:hover {
color: white;
color: #fff;
background-color: #4e95f5;
}