Invisible Docs
GalerieTokens

Hafti-Notiz — component.note

Hafti-Papier (Notizzettel) zum Lesen, wie das Hafti-Widget des Desktops (component.widget widget-note-paper.css): Farbe (tone sunflower|mint|rose|sky), Papier (design classic|lined|squared|dotted|checklist|developer), darunter das naechste Blatt, Eselsohr in Ruheform. Titel, Text bzw. Aufgaben ([ ]

Componentv1.2.1Inhaltweb.applicationdesktop.shellbuilder.preview

Beispiele

Keine Demo-Fälle hinterlegt (demo.php ergänzen).

Eigenschaften

PropTypDefault
titlestring""
textstring""
tonestring: sunflower | mint | rose | sky"sunflower"
designstring: classic | lined | squared | dotted | checklist | developer | drawing"classic"
sizestring: sm | md | lg"md"
metastring""
badgeobject[]
hrefstring""
hrefLabelstring""
checkablebooleanfalse
checkUrlstring""
checkBodyobject[]
triggerstring""

Stellschrauben (Komponenten-Tokens)

TokenDefault
--note-ink#34280f
--note-paperlinear-gradient(128deg,#ffe382 0%,#f7d15a 42%,#efc449 78%,#ffe99a 96%)
--note-fold-base#f4cf60
--note-next-paperlinear-gradient(130deg,#d6efae,#b5df81 65%,#c9ee9b)
--note-padclamp(10px,6cqw,20px)
--note-lineclamp(20px,8cqw,28px)
--note-text-topcalc(var(--note-pad) + var(--note-head) + var(--note-gap))
--note-rulergb(114 140 152 / .24)
--note-patternnone
--note-pattern-sizevar(--note-grid) var(--note-grid)
--dev-font'Cascadia Code','SFMono-Regular',Consolas,'Liberation Mono',monospace

Genutzte Design-Tokens

duration.base easing.standard focus.ring-color focus.ring-offset focus.ring-width font.family.default size.2