a lightweight, interval-based utility to combat digital strain through "Ma" (intentional pauses) for the eyes and body.
1import { Theme } from "../theme.slint";
2
3export component AppHeader inherits HorizontalLayout {
4 padding-left: 28px * Theme.font-scale;
5 padding-right: 28px * Theme.font-scale;
6 padding-top: 18px * Theme.font-scale;
7 padding-bottom: 0px;
8 spacing: 0px;
9
10 HorizontalLayout {
11 spacing: 10px * Theme.font-scale;
12 alignment: center;
13
14 Text {
15 text: "ioma";
16 font-family: "Shippori Mincho";
17 font-size: Theme.font_header;
18 color: Theme.ink;
19 vertical-alignment: center;
20 }
21
22 Text {
23 text: "間";
24 font-family: "Shippori Mincho";
25 font-size: Theme.font_xxsmall;
26 color: Theme.ink-lo;
27 vertical-alignment: bottom;
28 }
29 }
30
31 Rectangle { horizontal-stretch: 1; }
32}