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
| Prop | Typ | Default |
|---|---|---|
title | string | "" |
text | string | "" |
tone | string: sunflower | mint | rose | sky | "sunflower" |
design | string: classic | lined | squared | dotted | checklist | developer | drawing | "classic" |
size | string: sm | md | lg | "md" |
meta | string | "" |
badge | object | [] |
href | string | "" |
hrefLabel | string | "" |
checkable | boolean | false |
checkUrl | string | "" |
checkBody | object | [] |
trigger | string | "" |
Stellschrauben (Komponenten-Tokens)
| Token | Default |
|---|---|
--note-ink | #34280f |
--note-paper | linear-gradient(128deg,#ffe382 0%,#f7d15a 42%,#efc449 78%,#ffe99a 96%) |
--note-fold-base | #f4cf60 |
--note-next-paper | linear-gradient(130deg,#d6efae,#b5df81 65%,#c9ee9b) |
--note-pad | clamp(10px,6cqw,20px) |
--note-line | clamp(20px,8cqw,28px) |
--note-text-top | calc(var(--note-pad) + var(--note-head) + var(--note-gap)) |
--note-rule | rgb(114 140 152 / .24) |
--note-pattern | none |
--note-pattern-size | var(--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