mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-14 02:06:29 +00:00
prepare alpha.5 (remain work: MD preview, keybind)
This commit is contained in:
@@ -8,6 +8,7 @@ const GREEN = '#02FF26'
|
||||
const DARKGREEN = '#008A59'
|
||||
const RED = '#E10051'
|
||||
const PURPLE = '#B013A4'
|
||||
const BRAND_COLOR = '#2BAC8F'
|
||||
|
||||
function getColorByIndex (index) {
|
||||
switch (index % 8) {
|
||||
@@ -28,7 +29,7 @@ function getColorByIndex (index) {
|
||||
case 7:
|
||||
return PURPLE
|
||||
default:
|
||||
return 'gray'
|
||||
return BRAND_COLOR
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user