fix: adjust order of highlighting colors

pull/7453/head
Konstantinos Kaloutas 2022-11-24 10:03:11 +02:00 committed by Tienson Qin
parent 14ee3d0cca
commit 66fc6c5fe1
3 changed files with 7 additions and 7 deletions

View File

@ -178,7 +178,7 @@
(action-fn! action true)))}
[:li.item-colors
(for [it ["yellow", "blue", "green", "red", "purple"]]
(for [it ["yellow", "red", "green", "blue", "purple"]]
[:a {:key it :data-color it :data-action it} it])]

View File

@ -56,13 +56,13 @@
(defonce icon-size (if (mobile-util/native-platform?) 26 20))
(def block-background-colors
["gray"
["yellow"
"red"
"yellow"
"pink"
"green"
"blue"
"purple"
"pink"])
"gray"])
(rum/defc ls-textarea
< rum/reactive

View File

@ -4,13 +4,13 @@ import type { TLEventMap } from './TLEventMap'
import type { TLHandle } from './TLHandle'
export enum Color {
Gray = 'gray',
Red = 'red',
Yellow = 'yellow',
Red = 'red',
Pink = 'pink',
Green = 'green',
Blue = 'blue',
Purple = 'purple',
Pink = 'pink',
Gray = 'gray',
Default = '',
}