Download this file
| 1 | // Package desk is the grey desk an editor sits on ([--estilo-desk]), the |
| 2 | // floating glass card ([estilo-card]), the inspector built on it |
| 3 | // ([estilo-inspector], with [estilo-inspector-group] and |
| 4 | // [estilo-inspector-label]) and the segmented control ([estilo-seg], |
| 5 | // [estilo-seg-item]). The values are Docs' own; Slides is the first |
| 6 | // other app to use them. |
| 7 | // |
| 8 | // Scripts off, all of it still works: it is styling only. A segment is |
| 9 | // a button with aria-pressed, or a label around a radio or checkbox, so |
| 10 | // a form posts without script. |
| 11 | // |
| 12 | // It carries no strings. Callers supply every label in their locale. |
| 13 | package desk |
| 14 | |
| 15 | import _ "embed" |
| 16 | |
| 17 | //go:embed desk.css |
| 18 | var css []byte |
| 19 | |
| 20 | // CSS returns desk.css. Link it after base.css. |
| 21 | func CSS() []byte { return append([]byte(nil), css...) } |
| 22 | |