3 values systeme for heritage
This commit is contained in:
parent
449f0eda31
commit
bc2317ab69
4 changed files with 280 additions and 215 deletions
|
|
@ -1,11 +1,13 @@
|
|||
import { reactive } from 'vue';
|
||||
|
||||
// Singleton reactive — TextSettings writes here, ElementPopup reads when disabled
|
||||
// Initial values match stylesheet.print.css (overwritten by syncFromStore on first mount)
|
||||
const defaults = reactive({
|
||||
fontSize: { value: 16, unit: 'px' },
|
||||
lineHeight: { value: 20, unit: 'px' },
|
||||
fontSize: { value: 14, unit: 'px' },
|
||||
lineHeight: { value: 18, unit: 'px' },
|
||||
fontFamily: 'sans-serif',
|
||||
color: 'rgb(0, 0, 0)',
|
||||
_initialized: false,
|
||||
});
|
||||
|
||||
export function useTextDefaults() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue