font-size, line-height, color → defaults values

This commit is contained in:
Julie Blanc 2026-03-05 15:59:38 +01:00
parent fa56118e75
commit 8b99326de2
3 changed files with 127 additions and 89 deletions

View file

@ -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)',
});