@link-foundation/ui-themes 0.0.0-stage → 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (110) hide show
  1. package/LICENSE +24 -0
  2. package/README.md +121 -2
  3. package/package.json +52 -4
  4. package/src/classic/catalog.js +193 -0
  5. package/src/classic/effect-governor.js +199 -0
  6. package/src/classic/effect-quality.js +76 -0
  7. package/src/classic/frame-color.js +27 -0
  8. package/src/classic/frame-css-controls.js +65 -0
  9. package/src/classic/frame-css-corners.js +138 -0
  10. package/src/classic/frame-css-edge-geometry.js +74 -0
  11. package/src/classic/frame-css-edges.js +99 -0
  12. package/src/classic/frame-css-enums.js +65 -0
  13. package/src/classic/frame-css-geometry.js +133 -0
  14. package/src/classic/frame-css-modes.js +45 -0
  15. package/src/classic/frame-css-states.js +85 -0
  16. package/src/classic/frame-css-values.js +156 -0
  17. package/src/classic/frame-css.js +232 -0
  18. package/src/classic/frame-geometry.js +189 -0
  19. package/src/classic/frame-schema.js +328 -0
  20. package/src/classic/frame-vocabulary.js +10 -0
  21. package/src/classic/frames.d.ts +143 -0
  22. package/src/classic/frames.js +77 -0
  23. package/src/classic/material-visibility.js +94 -0
  24. package/src/classic/materials.d.ts +133 -0
  25. package/src/classic/materials.js +139 -0
  26. package/src/classic/optical-css.js +47 -0
  27. package/src/classic/optics.js +107 -0
  28. package/src/classic/refraction.js +145 -0
  29. package/src/fluent2/brand-aliases.js +157 -0
  30. package/src/fluent2/brand.js +84 -0
  31. package/src/fluent2/names.js +31 -0
  32. package/src/index.d.ts +54 -0
  33. package/src/index.js +79 -0
  34. package/src/mapping.js +135 -0
  35. package/src/material3/mapping.js +18 -0
  36. package/src/material3/mui.js +128 -0
  37. package/src/material3/seed.js +144 -0
  38. package/themes/base/theme.lino +35 -0
  39. package/themes/classic/README.md +90 -0
  40. package/themes/classic/deepcase/2025.lino +156 -0
  41. package/themes/classic/deepcase/classic.lino +86 -0
  42. package/themes/classic/deepcase/dark.lino +87 -0
  43. package/themes/classic/deepcase/deepcase-0.1.lino +63 -0
  44. package/themes/classic/deepcase/handler-windows.lino +22 -0
  45. package/themes/classic/deepcase/landing.lino +60 -0
  46. package/themes/classic/deepcase/perception.lino +88 -0
  47. package/themes/classic/formal-ai/chat-bubbles.lino +40 -0
  48. package/themes/classic/formal-ai/chat-cards.lino +40 -0
  49. package/themes/classic/formal-ai/chat-compact.lino +40 -0
  50. package/themes/classic/formal-ai/composer.lino +132 -0
  51. package/themes/classic/formal-ai/fa-contrast.lino +79 -0
  52. package/themes/classic/formal-ai/fa-flat.lino +79 -0
  53. package/themes/classic/formal-ai/fa-glass.lino +79 -0
  54. package/themes/classic/formal-ai/fa-material.lino +79 -0
  55. package/themes/classic/immortality/arwes.lino +59 -0
  56. package/themes/classic/immortality/palettes.lino +968 -0
  57. package/themes/classic/immortality/poseidon.lino +59 -0
  58. package/themes/classic/immortality/quiet.lino +59 -0
  59. package/themes/classic/konard/futuristic.lino +89 -0
  60. package/themes/classic/konard/glass.lino +89 -0
  61. package/themes/classic/konard/liquid.lino +89 -0
  62. package/themes/classic/meta-sovereign/chat-signal.lino +68 -0
  63. package/themes/classic/meta-sovereign/chat-t3.lino +68 -0
  64. package/themes/classic/meta-sovereign/chat-telegram.lino +74 -0
  65. package/themes/classic/meta-sovereign/chat-whatsapp.lino +68 -0
  66. package/themes/fluent2/LICENSE.txt +15 -0
  67. package/themes/fluent2/brand-aliases.lino +101 -0
  68. package/themes/fluent2/colors-dark.lino +1124 -0
  69. package/themes/fluent2/colors-high-contrast.lino +1109 -0
  70. package/themes/fluent2/colors.lino +1489 -0
  71. package/themes/fluent2/fluent-mapping.lino +120 -0
  72. package/themes/fluent2/motion-dark.lino +62 -0
  73. package/themes/fluent2/motion-high-contrast.lino +62 -0
  74. package/themes/fluent2/motion.lino +70 -0
  75. package/themes/fluent2/shadow-dark.lino +50 -0
  76. package/themes/fluent2/shadow-high-contrast.lino +50 -0
  77. package/themes/fluent2/shadow.lino +49 -0
  78. package/themes/fluent2/shape-dark.lino +47 -0
  79. package/themes/fluent2/shape-high-contrast.lino +47 -0
  80. package/themes/fluent2/shape.lino +46 -0
  81. package/themes/fluent2/spacing-dark.lino +68 -0
  82. package/themes/fluent2/spacing-high-contrast.lino +68 -0
  83. package/themes/fluent2/spacing.lino +67 -0
  84. package/themes/fluent2/styles.lino +511 -0
  85. package/themes/fluent2/templates.lino +60 -0
  86. package/themes/fluent2/theme.lino +31 -0
  87. package/themes/fluent2/type-dark.lino +83 -0
  88. package/themes/fluent2/type-high-contrast.lino +83 -0
  89. package/themes/fluent2/type.lino +82 -0
  90. package/themes/hig/colors.lino +54 -0
  91. package/themes/hig/materials.lino +7 -0
  92. package/themes/hig/motion.lino +13 -0
  93. package/themes/hig/shape.lino +5 -0
  94. package/themes/hig/spacing.lino +11 -0
  95. package/themes/hig/styles.lino +143 -0
  96. package/themes/hig/swiftui-mapping.lino +80 -0
  97. package/themes/hig/templates.lino +36 -0
  98. package/themes/hig/theme.lino +3 -0
  99. package/themes/hig/type.lino +26 -0
  100. package/themes/hig-ios/theme.lino +5 -0
  101. package/themes/hig-macos/theme.lino +5 -0
  102. package/themes/material3/colors.lino +320 -0
  103. package/themes/material3/elevation.lino +110 -0
  104. package/themes/material3/motion.lino +102 -0
  105. package/themes/material3/mui-mapping.lino +216 -0
  106. package/themes/material3/shape.lino +16 -0
  107. package/themes/material3/styles.lino +498 -0
  108. package/themes/material3/templates.lino +55 -0
  109. package/themes/material3/theme.lino +7 -0
  110. package/themes/material3/type.lino +336 -0
@@ -0,0 +1,31 @@
1
+ fluent2: theme
2
+ extends fluent2-colors fluent2-shape fluent2-spacing fluent2-type fluent2-shadow fluent2-motion fluent2-colors-dark fluent2-shape-dark fluent2-spacing-dark fluent2-type-dark fluent2-shadow-dark fluent2-motion-dark fluent2-colors-high-contrast fluent2-shape-high-contrast fluent2-spacing-high-contrast fluent2-type-high-contrast fluent2-shadow-high-contrast fluent2-motion-high-contrast fluent2-styles fluent2-templates
3
+ token font.body system-ui sans-serif
4
+ type fontFamily
5
+ token focus.ring.width 2px
6
+ token focus.ring.color
7
+ token color.on-surface
8
+ token elevation.0
9
+ shadow
10
+ offset-x 0px
11
+ offset-y 0px
12
+ blur 0px
13
+ spread 0px
14
+ color '#00000000'
15
+ token ui.control.hover '#00000000'
16
+ token ui.control.pressed '#00000000'
17
+ token ui.control.corner 4px
18
+ token opacity.disabled 1
19
+ token opacity.hover 0
20
+ token opacity.pressed 0
21
+ pair color.on-surface color.surface
22
+ pair color.on-surface-variant color.surface
23
+ pair color.on-primary color.primary
24
+ pair color.on-primary fluent.color-brand-background-hover
25
+ pair color.on-primary fluent.color-brand-background-pressed
26
+ pair color.outline color.surface
27
+ min 3
28
+ pair fluent.color-compound-brand-background color.surface
29
+ min 3
30
+ pair fluent.color-neutral-foreground-inverted fluent.color-compound-brand-background
31
+ min 3
@@ -0,0 +1,83 @@
1
+ fluent2-type-dark: theme
2
+ mode dark
3
+ token fluent.font-size-base100 10px
4
+ fluent fontSizeBase100
5
+ source-value 10px
6
+ token fluent.font-size-base200 12px
7
+ fluent fontSizeBase200
8
+ source-value 12px
9
+ token type.body.medium.size 14px
10
+ fluent fontSizeBase300
11
+ source-value 14px
12
+ token fluent.font-size-base400 16px
13
+ fluent fontSizeBase400
14
+ source-value 16px
15
+ token fluent.font-size-base500 20px
16
+ fluent fontSizeBase500
17
+ source-value 20px
18
+ token fluent.font-size-base600 24px
19
+ fluent fontSizeBase600
20
+ source-value 24px
21
+ token fluent.font-size-hero700 28px
22
+ fluent fontSizeHero700
23
+ source-value 28px
24
+ token fluent.font-size-hero800 32px
25
+ fluent fontSizeHero800
26
+ source-value 32px
27
+ token fluent.font-size-hero900 40px
28
+ fluent fontSizeHero900
29
+ source-value 40px
30
+ token fluent.font-size-hero1000 68px
31
+ fluent fontSizeHero1000
32
+ source-value 68px
33
+ token fluent.line-height-base100 14px
34
+ fluent lineHeightBase100
35
+ source-value 14px
36
+ token fluent.line-height-base200 16px
37
+ fluent lineHeightBase200
38
+ source-value 16px
39
+ token type.body.medium.line-height 20px
40
+ fluent lineHeightBase300
41
+ source-value 20px
42
+ token fluent.line-height-base400 22px
43
+ fluent lineHeightBase400
44
+ source-value 22px
45
+ token fluent.line-height-base500 28px
46
+ fluent lineHeightBase500
47
+ source-value 28px
48
+ token fluent.line-height-base600 32px
49
+ fluent lineHeightBase600
50
+ source-value 32px
51
+ token fluent.line-height-hero700 36px
52
+ fluent lineHeightHero700
53
+ source-value 36px
54
+ token fluent.line-height-hero800 40px
55
+ fluent lineHeightHero800
56
+ source-value 40px
57
+ token fluent.line-height-hero900 52px
58
+ fluent lineHeightHero900
59
+ source-value 52px
60
+ token fluent.line-height-hero1000 92px
61
+ fluent lineHeightHero1000
62
+ source-value 92px
63
+ token fluent.font-family-base "'Segoe UI', 'Segoe UI Web (West European)', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', sans-serif"
64
+ fluent fontFamilyBase
65
+ source-value "'Segoe UI', 'Segoe UI Web (West European)', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', sans-serif"
66
+ token fluent.font-family-monospace "Consolas, 'Courier New', Courier, monospace"
67
+ fluent fontFamilyMonospace
68
+ source-value "Consolas, 'Courier New', Courier, monospace"
69
+ token fluent.font-family-numeric "Bahnschrift, 'Segoe UI', 'Segoe UI Web (West European)', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', sans-serif"
70
+ fluent fontFamilyNumeric
71
+ source-value "Bahnschrift, 'Segoe UI', 'Segoe UI Web (West European)', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', sans-serif"
72
+ token fluent.font-weight-regular 400
73
+ fluent fontWeightRegular
74
+ source-value 400
75
+ token fluent.font-weight-medium 500
76
+ fluent fontWeightMedium
77
+ source-value 500
78
+ token fluent.font-weight-semibold 600
79
+ fluent fontWeightSemibold
80
+ source-value 600
81
+ token fluent.font-weight-bold 700
82
+ fluent fontWeightBold
83
+ source-value 700
@@ -0,0 +1,83 @@
1
+ fluent2-type-high-contrast: theme
2
+ mode high-contrast
3
+ token fluent.font-size-base100 10px
4
+ fluent fontSizeBase100
5
+ source-value 10px
6
+ token fluent.font-size-base200 12px
7
+ fluent fontSizeBase200
8
+ source-value 12px
9
+ token type.body.medium.size 14px
10
+ fluent fontSizeBase300
11
+ source-value 14px
12
+ token fluent.font-size-base400 16px
13
+ fluent fontSizeBase400
14
+ source-value 16px
15
+ token fluent.font-size-base500 20px
16
+ fluent fontSizeBase500
17
+ source-value 20px
18
+ token fluent.font-size-base600 24px
19
+ fluent fontSizeBase600
20
+ source-value 24px
21
+ token fluent.font-size-hero700 28px
22
+ fluent fontSizeHero700
23
+ source-value 28px
24
+ token fluent.font-size-hero800 32px
25
+ fluent fontSizeHero800
26
+ source-value 32px
27
+ token fluent.font-size-hero900 40px
28
+ fluent fontSizeHero900
29
+ source-value 40px
30
+ token fluent.font-size-hero1000 68px
31
+ fluent fontSizeHero1000
32
+ source-value 68px
33
+ token fluent.line-height-base100 14px
34
+ fluent lineHeightBase100
35
+ source-value 14px
36
+ token fluent.line-height-base200 16px
37
+ fluent lineHeightBase200
38
+ source-value 16px
39
+ token type.body.medium.line-height 20px
40
+ fluent lineHeightBase300
41
+ source-value 20px
42
+ token fluent.line-height-base400 22px
43
+ fluent lineHeightBase400
44
+ source-value 22px
45
+ token fluent.line-height-base500 28px
46
+ fluent lineHeightBase500
47
+ source-value 28px
48
+ token fluent.line-height-base600 32px
49
+ fluent lineHeightBase600
50
+ source-value 32px
51
+ token fluent.line-height-hero700 36px
52
+ fluent lineHeightHero700
53
+ source-value 36px
54
+ token fluent.line-height-hero800 40px
55
+ fluent lineHeightHero800
56
+ source-value 40px
57
+ token fluent.line-height-hero900 52px
58
+ fluent lineHeightHero900
59
+ source-value 52px
60
+ token fluent.line-height-hero1000 92px
61
+ fluent lineHeightHero1000
62
+ source-value 92px
63
+ token fluent.font-family-base '-apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, "Apple Color Emoji", "Segoe UI Emoji", sans-serif'
64
+ fluent fontFamilyBase
65
+ source-value '-apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, "Apple Color Emoji", "Segoe UI Emoji", sans-serif'
66
+ token fluent.font-family-monospace "Consolas, 'Courier New', Courier, monospace"
67
+ fluent fontFamilyMonospace
68
+ source-value "Consolas, 'Courier New', Courier, monospace"
69
+ token fluent.font-family-numeric "Bahnschrift, 'Segoe UI', 'Segoe UI Web (West European)', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', sans-serif"
70
+ fluent fontFamilyNumeric
71
+ source-value "Bahnschrift, 'Segoe UI', 'Segoe UI Web (West European)', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', sans-serif"
72
+ token fluent.font-weight-regular 400
73
+ fluent fontWeightRegular
74
+ source-value 400
75
+ token fluent.font-weight-medium 500
76
+ fluent fontWeightMedium
77
+ source-value 500
78
+ token fluent.font-weight-semibold 600
79
+ fluent fontWeightSemibold
80
+ source-value 600
81
+ token fluent.font-weight-bold 700
82
+ fluent fontWeightBold
83
+ source-value 700
@@ -0,0 +1,82 @@
1
+ fluent2-type: theme
2
+ token fluent.font-size-base100 10px
3
+ fluent fontSizeBase100
4
+ source-value 10px
5
+ token fluent.font-size-base200 12px
6
+ fluent fontSizeBase200
7
+ source-value 12px
8
+ token type.body.medium.size 14px
9
+ fluent fontSizeBase300
10
+ source-value 14px
11
+ token fluent.font-size-base400 16px
12
+ fluent fontSizeBase400
13
+ source-value 16px
14
+ token fluent.font-size-base500 20px
15
+ fluent fontSizeBase500
16
+ source-value 20px
17
+ token fluent.font-size-base600 24px
18
+ fluent fontSizeBase600
19
+ source-value 24px
20
+ token fluent.font-size-hero700 28px
21
+ fluent fontSizeHero700
22
+ source-value 28px
23
+ token fluent.font-size-hero800 32px
24
+ fluent fontSizeHero800
25
+ source-value 32px
26
+ token fluent.font-size-hero900 40px
27
+ fluent fontSizeHero900
28
+ source-value 40px
29
+ token fluent.font-size-hero1000 68px
30
+ fluent fontSizeHero1000
31
+ source-value 68px
32
+ token fluent.line-height-base100 14px
33
+ fluent lineHeightBase100
34
+ source-value 14px
35
+ token fluent.line-height-base200 16px
36
+ fluent lineHeightBase200
37
+ source-value 16px
38
+ token type.body.medium.line-height 20px
39
+ fluent lineHeightBase300
40
+ source-value 20px
41
+ token fluent.line-height-base400 22px
42
+ fluent lineHeightBase400
43
+ source-value 22px
44
+ token fluent.line-height-base500 28px
45
+ fluent lineHeightBase500
46
+ source-value 28px
47
+ token fluent.line-height-base600 32px
48
+ fluent lineHeightBase600
49
+ source-value 32px
50
+ token fluent.line-height-hero700 36px
51
+ fluent lineHeightHero700
52
+ source-value 36px
53
+ token fluent.line-height-hero800 40px
54
+ fluent lineHeightHero800
55
+ source-value 40px
56
+ token fluent.line-height-hero900 52px
57
+ fluent lineHeightHero900
58
+ source-value 52px
59
+ token fluent.line-height-hero1000 92px
60
+ fluent lineHeightHero1000
61
+ source-value 92px
62
+ token fluent.font-family-base "'Segoe UI', 'Segoe UI Web (West European)', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', sans-serif"
63
+ fluent fontFamilyBase
64
+ source-value "'Segoe UI', 'Segoe UI Web (West European)', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', sans-serif"
65
+ token fluent.font-family-monospace "Consolas, 'Courier New', Courier, monospace"
66
+ fluent fontFamilyMonospace
67
+ source-value "Consolas, 'Courier New', Courier, monospace"
68
+ token fluent.font-family-numeric "Bahnschrift, 'Segoe UI', 'Segoe UI Web (West European)', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', sans-serif"
69
+ fluent fontFamilyNumeric
70
+ source-value "Bahnschrift, 'Segoe UI', 'Segoe UI Web (West European)', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', sans-serif"
71
+ token fluent.font-weight-regular 400
72
+ fluent fontWeightRegular
73
+ source-value 400
74
+ token fluent.font-weight-medium 500
75
+ fluent fontWeightMedium
76
+ source-value 500
77
+ token fluent.font-weight-semibold 600
78
+ fluent fontWeightSemibold
79
+ source-value 600
80
+ token fluent.font-weight-bold 700
81
+ fluent fontWeightBold
82
+ source-value 700
@@ -0,0 +1,54 @@
1
+ hig-colors: theme
2
+ token color.surface '#FCFCFE'
3
+ description 'HIG role: system-background; independently chosen colour'
4
+ token color.on-surface '#20232C'
5
+ description 'HIG role: label; independently chosen colour'
6
+ token color.on-surface-variant '#555B68'
7
+ description 'HIG role: secondary-label; independently chosen colour'
8
+ token color.grouped-background '#EDF0F6'
9
+ description 'HIG role: system-grouped-background; independently chosen colour'
10
+ token color.separator '#737B89'
11
+ description 'HIG role: separator; independently chosen colour'
12
+ token color.primary '#2356B0'
13
+ description 'HIG role: tint; independently chosen colour'
14
+ token color.on-primary '#FFFFFF'
15
+ description 'HIG role: label-on-tint; independently chosen colour'
16
+ token color.accent.blue '#2356B0'
17
+ token color.accent.brown '#795332'
18
+ token color.accent.cyan '#006578'
19
+ token color.accent.green '#216738'
20
+ token color.accent.indigo '#51459E'
21
+ token color.accent.mint '#006C5E'
22
+ token color.accent.orange '#945000'
23
+ token color.accent.pink '#A12562'
24
+ token color.accent.purple '#7C369E'
25
+ token color.accent.red '#AA2834'
26
+ token color.accent.teal '#006778'
27
+ token color.accent.yellow '#756000'
28
+ token color.accent.gray '#555B68'
29
+ token color.outline
30
+ token color.separator
31
+ token color.error
32
+ token color.accent.red
33
+ pair color.on-surface color.surface
34
+ pair color.on-surface-variant color.surface
35
+ pair color.on-surface color.grouped-background
36
+ pair color.on-surface-variant color.grouped-background
37
+ pair color.primary color.surface
38
+ pair color.on-primary color.primary
39
+ mode dark
40
+ token color.surface '#181A20'
41
+ token color.on-surface '#F5F6FA'
42
+ token color.on-surface-variant '#BFC5D3'
43
+ token color.grouped-background '#242832'
44
+ token color.separator '#929BAB'
45
+ token color.primary '#AEC9FF'
46
+ token color.on-primary '#12284B'
47
+ mode high-contrast
48
+ token color.surface '#FFFFFF'
49
+ token color.on-surface '#111111'
50
+ token color.on-surface-variant '#333333'
51
+ token color.grouped-background '#FFFFFF'
52
+ token color.separator '#444444'
53
+ token color.primary '#143F8A'
54
+ token color.on-primary '#FFFFFF'
@@ -0,0 +1,7 @@
1
+ hig-materials: theme
2
+ token material.regular.blur 20px
3
+ token material.regular.opacity 0.90
4
+ token material.thin.blur 12px
5
+ token material.thin.opacity 0.86
6
+ token material.thick.blur 30px
7
+ token material.thick.opacity 0.96
@@ -0,0 +1,13 @@
1
+ hig-motion: theme
2
+ token motion.duration.short 180ms
3
+ token motion.duration.medium 350ms
4
+ token motion.duration.fade 120ms
5
+ token motion.switch.travel 20px
6
+ token motion.spring.default
7
+ spring
8
+ response 0.35s
9
+ damping 0.85
10
+ motion reduced
11
+ token motion.duration.short 120ms
12
+ token motion.duration.medium 120ms
13
+ token motion.switch.travel 0px
@@ -0,0 +1,5 @@
1
+ hig-shape: theme
2
+ token shape.corner.small 6px
3
+ token shape.corner.medium 10px
4
+ token shape.corner.large 16px
5
+ token shape.corner.full 999px
@@ -0,0 +1,11 @@
1
+ hig-spacing: theme
2
+ token space.x-small 4px
3
+ token space.small 8px
4
+ token space.medium 16px
5
+ token space.large 24px
6
+ token space.x-large 32px
7
+ token size.target.min 44px
8
+ token size.target.minimum
9
+ token size.target.min
10
+ token size.control.height 44px
11
+ token size.list-row.height 48px
@@ -0,0 +1,143 @@
1
+ hig-styles: theme
2
+ style
3
+ selector
4
+ data-part root
5
+ within
6
+ type button
7
+ min-width
8
+ token size.target.min
9
+ min-height
10
+ token size.target.min
11
+ style
12
+ selector
13
+ data-part input
14
+ within
15
+ type switch
16
+ min-width
17
+ token size.target.min
18
+ min-height
19
+ token size.target.min
20
+ style
21
+ selector
22
+ data-part input
23
+ within
24
+ type text-field
25
+ min-width
26
+ token size.target.min
27
+ min-height
28
+ token size.target.min
29
+ style
30
+ selector
31
+ data-part thumb
32
+ within
33
+ type slider
34
+ min-width
35
+ token size.target.min
36
+ min-height
37
+ token size.target.min
38
+ style
39
+ selector
40
+ data-part input
41
+ within
42
+ type number-field
43
+ min-width
44
+ token size.target.min
45
+ min-height
46
+ token size.target.min
47
+ style
48
+ selector
49
+ data-part input
50
+ within
51
+ type radio
52
+ min-width
53
+ token size.target.min
54
+ min-height
55
+ token size.target.min
56
+ style
57
+ selector
58
+ data-part input
59
+ within
60
+ type select
61
+ min-width
62
+ token size.target.min
63
+ min-height
64
+ token size.target.min
65
+ style
66
+ selector
67
+ data-part root
68
+ within
69
+ type button
70
+ radius
71
+ token shape.corner.small
72
+ style
73
+ selector
74
+ data-part input
75
+ within
76
+ type text-field
77
+ radius
78
+ token shape.corner.small
79
+ style
80
+ selector
81
+ data-part input
82
+ within
83
+ type number-field
84
+ radius
85
+ token shape.corner.small
86
+ style
87
+ selector
88
+ data-part input
89
+ within
90
+ type select
91
+ radius
92
+ token shape.corner.small
93
+ style
94
+ selector
95
+ data-part root
96
+ within
97
+ type button
98
+ variant bordered
99
+ background
100
+ token color.grouped-background
101
+ color
102
+ token color.primary
103
+ border-color
104
+ token color.separator
105
+ border-width 1px
106
+ style
107
+ selector
108
+ data-part root
109
+ within
110
+ type button
111
+ variant borderless
112
+ background
113
+ token color.surface
114
+ color
115
+ token color.primary
116
+ border-color
117
+ token color.separator
118
+ border-width 0px
119
+ style
120
+ selector
121
+ data-part root
122
+ within
123
+ type button
124
+ variant prominent
125
+ background
126
+ token color.primary
127
+ color
128
+ token color.on-primary
129
+ border-color
130
+ token color.separator
131
+ border-width 0px
132
+ style
133
+ selector
134
+ material regular
135
+ material regular
136
+ style
137
+ selector
138
+ material thin
139
+ material thin
140
+ style
141
+ selector
142
+ material thick
143
+ material thick
@@ -0,0 +1,80 @@
1
+ map Button
2
+ kind button
3
+ prop buttonStyle bordered
4
+ variant bordered
5
+ prop buttonStyle borderless
6
+ variant borderless
7
+ prop buttonStyle borderedProminent
8
+ variant prominent
9
+ status mapped
10
+ map Toggle
11
+ kind switch
12
+ status mapped
13
+ map TextField
14
+ kind text-field
15
+ status mapped
16
+ map SecureField
17
+ kind text-field
18
+ prop secure true
19
+ type password
20
+ status mapped
21
+ map Slider
22
+ kind slider
23
+ status mapped
24
+ map Stepper
25
+ kind number-field
26
+ status partial
27
+ map Picker
28
+ kind select
29
+ prop pickerStyle segmented
30
+ appearance segmented
31
+ status partial
32
+ map List
33
+ kind list
34
+ status partial
35
+ map Form
36
+ kind form
37
+ status none
38
+ map Section
39
+ kind stack
40
+ status partial
41
+ map VStack
42
+ kind stack
43
+ prop axis vertical
44
+ direction vertical
45
+ status mapped
46
+ map HStack
47
+ kind stack
48
+ prop axis horizontal
49
+ direction horizontal
50
+ status mapped
51
+ map ZStack
52
+ kind stack
53
+ status partial
54
+ map ScrollView
55
+ kind scroll-area
56
+ status none
57
+ map TabView
58
+ kind tabs
59
+ status partial
60
+ map NavigationStack
61
+ kind navigation
62
+ status none
63
+ map Sheet
64
+ kind dialog
65
+ status partial
66
+ map Alert
67
+ kind alert-dialog
68
+ status partial
69
+ map Menu
70
+ kind menu
71
+ status mapped
72
+ map ProgressView
73
+ kind progress
74
+ status mapped
75
+ map Label
76
+ kind label
77
+ status partial
78
+ map Image
79
+ kind image
80
+ status mapped
@@ -0,0 +1,36 @@
1
+ hig-templates: theme
2
+ template button
3
+ part root
4
+ kind box
5
+ part label
6
+ kind text
7
+ template switch
8
+ part root
9
+ kind box
10
+ part label
11
+ kind text
12
+ template text-field
13
+ part root
14
+ kind box
15
+ part label
16
+ kind text
17
+ template slider
18
+ part root
19
+ kind box
20
+ part label
21
+ kind text
22
+ template number-field
23
+ part root
24
+ kind box
25
+ part label
26
+ kind text
27
+ template radio-group
28
+ part root
29
+ kind box
30
+ part label
31
+ kind text
32
+ template select
33
+ part root
34
+ kind box
35
+ part label
36
+ kind text
@@ -0,0 +1,3 @@
1
+ hig: theme
2
+ extends hig-colors hig-type hig-shape hig-spacing hig-motion hig-materials hig-styles hig-templates
3
+ transparency on
@@ -0,0 +1,26 @@
1
+ hig-type: theme
2
+ token font.family.text 'system-ui, -apple-system, BlinkMacSystemFont, sans-serif'
3
+ token font.family.mono 'ui-monospace, monospace'
4
+ token text.base.size 1rem
5
+ token text.large-title.size 2rem
6
+ token text.large-title.weight 400
7
+ token text.title-1.size 1.647059rem
8
+ token text.title-1.weight 400
9
+ token text.title-2.size 1.294118rem
10
+ token text.title-2.weight 400
11
+ token text.title-3.size 1.176471rem
12
+ token text.title-3.weight 400
13
+ token text.headline.size 1rem
14
+ token text.headline.weight 600
15
+ token text.body.size 1rem
16
+ token text.body.weight 400
17
+ token text.callout.size 0.941176rem
18
+ token text.callout.weight 400
19
+ token text.subheadline.size 0.882353rem
20
+ token text.subheadline.weight 400
21
+ token text.footnote.size 0.764706rem
22
+ token text.footnote.weight 400
23
+ token text.caption-1.size 0.705882rem
24
+ token text.caption-1.weight 400
25
+ token text.caption-2.size 0.647059rem
26
+ token text.caption-2.weight 400
@@ -0,0 +1,5 @@
1
+ hig-ios: theme
2
+ extends hig
3
+ token text.base.size 1.0625rem
4
+ token size.control.height 46px
5
+ token size.list-row.height 52px
@@ -0,0 +1,5 @@
1
+ hig-macos: theme
2
+ extends hig
3
+ token text.base.size .8125rem
4
+ token size.control.height 32px
5
+ token size.list-row.height 36px