add white color
This commit is contained in:
@@ -257,6 +257,7 @@ export default {
|
|||||||
colors () {
|
colors () {
|
||||||
return [
|
return [
|
||||||
{ label: '⬛', value: 'black' },
|
{ label: '⬛', value: 'black' },
|
||||||
|
{ label: '⬜', value: 'white' },
|
||||||
{ label: '🟦', value: 'blue' },
|
{ label: '🟦', value: 'blue' },
|
||||||
{ label: '🟥', value: 'red' }
|
{ label: '🟥', value: 'red' }
|
||||||
]
|
]
|
||||||
@@ -271,6 +272,7 @@ export default {
|
|||||||
'items-center': !this.preferences.valign || this.preferences.valign === 'center',
|
'items-center': !this.preferences.valign || this.preferences.valign === 'center',
|
||||||
'items-start': this.preferences.valign === 'top',
|
'items-start': this.preferences.valign === 'top',
|
||||||
'items-end': this.preferences.valign === 'bottom',
|
'items-end': this.preferences.valign === 'bottom',
|
||||||
|
'bg-black': this.preferences.color === 'white',
|
||||||
'font-bold': ['bold_italic', 'bold'].includes(this.preferences.font_type),
|
'font-bold': ['bold_italic', 'bold'].includes(this.preferences.font_type),
|
||||||
italic: ['bold_italic', 'italic'].includes(this.preferences.font_type)
|
italic: ['bold_italic', 'italic'].includes(this.preferences.font_type)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user