font-size, line-height, color → defaults values
This commit is contained in:
parent
fa56118e75
commit
8b99326de2
3 changed files with 127 additions and 89 deletions
|
|
@ -3,9 +3,8 @@ import { reactive } from 'vue';
|
|||
// Singleton reactive — TextSettings writes here, ElementPopup reads when disabled
|
||||
const defaults = reactive({
|
||||
fontSize: { value: 16, unit: 'px' },
|
||||
lineHeight: { value: 20, unit: 'px' },
|
||||
fontFamily: 'Alegreya Sans',
|
||||
italic: false,
|
||||
bold: false,
|
||||
color: 'rgb(0, 0, 0)',
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue