toggle all values

This commit is contained in:
Julie Blanc 2026-03-05 14:49:58 +01:00
parent 203ed18aba
commit fa56118e75
4 changed files with 376 additions and 106 deletions

View file

@ -0,0 +1,14 @@
import { reactive } from 'vue';
// Singleton reactive — TextSettings writes here, ElementPopup reads when disabled
const defaults = reactive({
fontSize: { value: 16, unit: 'px' },
fontFamily: 'Alegreya Sans',
italic: false,
bold: false,
color: 'rgb(0, 0, 0)',
});
export function useTextDefaults() {
return defaults;
}