add white color

master^2
Pete Matsyburka 4 days ago
parent 93a852ac14
commit 56d4fe7fa9

@ -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)
} }

Loading…
Cancel
Save