@danxbot/ui 1.0.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 (183) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +126 -0
  3. package/dist/fonts/bricolage-grotesque-0.woff2 +0 -0
  4. package/dist/fonts/bricolage-grotesque-1.woff2 +0 -0
  5. package/dist/fonts/bricolage-grotesque-2.woff2 +0 -0
  6. package/dist/fonts/figtree-0.woff2 +0 -0
  7. package/dist/fonts/figtree-1.woff2 +0 -0
  8. package/dist/fonts/figtree-2.woff2 +0 -0
  9. package/dist/fonts/figtree-3.woff2 +0 -0
  10. package/dist/fonts/jetbrains-mono-0.woff2 +0 -0
  11. package/dist/fonts/jetbrains-mono-1.woff2 +0 -0
  12. package/dist/fonts/jetbrains-mono-10.woff2 +0 -0
  13. package/dist/fonts/jetbrains-mono-11.woff2 +0 -0
  14. package/dist/fonts/jetbrains-mono-2.woff2 +0 -0
  15. package/dist/fonts/jetbrains-mono-3.woff2 +0 -0
  16. package/dist/fonts/jetbrains-mono-4.woff2 +0 -0
  17. package/dist/fonts/jetbrains-mono-5.woff2 +0 -0
  18. package/dist/fonts/jetbrains-mono-6.woff2 +0 -0
  19. package/dist/fonts/jetbrains-mono-7.woff2 +0 -0
  20. package/dist/fonts/jetbrains-mono-8.woff2 +0 -0
  21. package/dist/fonts/jetbrains-mono-9.woff2 +0 -0
  22. package/dist/fonts.css +187 -0
  23. package/dist/index.js +42425 -0
  24. package/dist/index.js.map +1 -0
  25. package/dist/styles.css +190 -0
  26. package/dist/types/components/Accordion.d.ts +15 -0
  27. package/dist/types/components/AppShell.d.ts +58 -0
  28. package/dist/types/components/Avatar.d.ts +154 -0
  29. package/dist/types/components/Badge.d.ts +73 -0
  30. package/dist/types/components/Button.d.ts +103 -0
  31. package/dist/types/components/Card.d.ts +193 -0
  32. package/dist/types/components/Choice.d.ts +112 -0
  33. package/dist/types/components/CodeEditor.d.ts +86 -0
  34. package/dist/types/components/Combobox.d.ts +37 -0
  35. package/dist/types/components/CommandPalette.d.ts +33 -0
  36. package/dist/types/components/DatePicker.d.ts +20 -0
  37. package/dist/types/components/Dialog.d.ts +117 -0
  38. package/dist/types/components/DragDrop.d.ts +60 -0
  39. package/dist/types/components/ErrorBoundary.d.ts +16 -0
  40. package/dist/types/components/Field.d.ts +37 -0
  41. package/dist/types/components/FileUpload.d.ts +22 -0
  42. package/dist/types/components/Icon.d.ts +40 -0
  43. package/dist/types/components/Input.d.ts +120 -0
  44. package/dist/types/components/Loading.d.ts +83 -0
  45. package/dist/types/components/MarkdownEditor.d.ts +24 -0
  46. package/dist/types/components/Menu.d.ts +57 -0
  47. package/dist/types/components/Navigation.d.ts +46 -0
  48. package/dist/types/components/NumberInput.d.ts +88 -0
  49. package/dist/types/components/OTPInput.d.ts +11 -0
  50. package/dist/types/components/Panel.d.ts +94 -0
  51. package/dist/types/components/Popover.d.ts +64 -0
  52. package/dist/types/components/Progress.d.ts +178 -0
  53. package/dist/types/components/Select.d.ts +53 -0
  54. package/dist/types/components/Slider.d.ts +203 -0
  55. package/dist/types/components/Spinner.d.ts +29 -0
  56. package/dist/types/components/Stat.d.ts +98 -0
  57. package/dist/types/components/StatusSelect.d.ts +23 -0
  58. package/dist/types/components/Surface.d.ts +110 -0
  59. package/dist/types/components/Table.d.ts +46 -0
  60. package/dist/types/components/Tabs.d.ts +84 -0
  61. package/dist/types/components/ThemeMenu.d.ts +4 -0
  62. package/dist/types/components/Toast.d.ts +46 -0
  63. package/dist/types/components/Toggle.d.ts +65 -0
  64. package/dist/types/components/Tree.d.ts +20 -0
  65. package/dist/types/components/calendar/CalendarMonth.d.ts +33 -0
  66. package/dist/types/components/calendar/CalendarTimeGrid.d.ts +75 -0
  67. package/dist/types/components/calendar/EventActions.d.ts +17 -0
  68. package/dist/types/components/calendar/format.d.ts +43 -0
  69. package/dist/types/components/calendar/index.d.ts +9 -0
  70. package/dist/types/components/calendar/palette.d.ts +17 -0
  71. package/dist/types/components/calendar/use-calendar-drag.d.ts +54 -0
  72. package/dist/types/components/calendar/use-event-keyboard.d.ts +24 -0
  73. package/dist/types/components/calendar/use-grid-navigation.d.ts +47 -0
  74. package/dist/types/components/calendar/use-now.d.ts +20 -0
  75. package/dist/types/components/chat/Attachment.d.ts +49 -0
  76. package/dist/types/components/chat/Chat.d.ts +60 -0
  77. package/dist/types/components/chat/Composer.d.ts +29 -0
  78. package/dist/types/components/chat/ContextMeter.d.ts +55 -0
  79. package/dist/types/components/chat/EffortControl.d.ts +23 -0
  80. package/dist/types/components/chat/Markdown.d.ts +22 -0
  81. package/dist/types/components/chat/Message.d.ts +59 -0
  82. package/dist/types/components/chat/MessageScroller.d.ts +13 -0
  83. package/dist/types/components/chat/ModelSelector.d.ts +44 -0
  84. package/dist/types/components/chat/types.d.ts +155 -0
  85. package/dist/types/components/code-editor/context.d.ts +32 -0
  86. package/dist/types/components/code-editor/editing.d.ts +39 -0
  87. package/dist/types/components/code-editor/highlight.d.ts +20 -0
  88. package/dist/types/components/code-editor/recipe.d.ts +109 -0
  89. package/dist/types/components/code-editor/state.d.ts +14 -0
  90. package/dist/types/components/drag-drop/context.d.ts +45 -0
  91. package/dist/types/components/drag-drop/recipe.d.ts +121 -0
  92. package/dist/types/components/drag-drop/shift.d.ts +66 -0
  93. package/dist/types/components/markdown/Affordances.d.ts +76 -0
  94. package/dist/types/components/rbac/AccountMenu.d.ts +8 -0
  95. package/dist/types/components/rbac/DevToolsPopover.d.ts +5 -0
  96. package/dist/types/components/rbac/ProfilePage.d.ts +1 -0
  97. package/dist/types/components/rbac/RBACProvider.d.ts +64 -0
  98. package/dist/types/components/rbac/RolePermissionMatrix.d.ts +6 -0
  99. package/dist/types/components/rbac/RolesPermissionsPage.d.ts +1 -0
  100. package/dist/types/components/rbac/index.d.ts +7 -0
  101. package/dist/types/components/rbac/types.d.ts +26 -0
  102. package/dist/types/components/roadmap/PhaseManager.d.ts +19 -0
  103. package/dist/types/components/roadmap/RoadmapItemCard.d.ts +45 -0
  104. package/dist/types/components/roadmap/RoadmapPage.d.ts +9 -0
  105. package/dist/types/components/roadmap/RoadmapSwimlaneBoard.d.ts +9 -0
  106. package/dist/types/components/roadmap/UseCaseCard.d.ts +14 -0
  107. package/dist/types/components/roadmap/UseCaseLedgerPage.d.ts +21 -0
  108. package/dist/types/components/roadmap/chip-tones.d.ts +2 -0
  109. package/dist/types/components/roadmap/derive.d.ts +12 -0
  110. package/dist/types/components/roadmap/index.d.ts +9 -0
  111. package/dist/types/components/roadmap/types.d.ts +54 -0
  112. package/dist/types/icons/data.d.ts +1318 -0
  113. package/dist/types/index.d.ts +97 -0
  114. package/dist/types/lib/calendar/band-packer.d.ts +53 -0
  115. package/dist/types/lib/calendar/drag.d.ts +125 -0
  116. package/dist/types/lib/calendar/index.d.ts +4 -0
  117. package/dist/types/lib/calendar/lane-packer.d.ts +88 -0
  118. package/dist/types/lib/calendar/segments.d.ts +91 -0
  119. package/dist/types/lib/calendar/types.d.ts +166 -0
  120. package/dist/types/lib/cn.d.ts +7 -0
  121. package/dist/types/lib/dnd/announce.d.ts +132 -0
  122. package/dist/types/lib/dnd/autoscroll.d.ts +88 -0
  123. package/dist/types/lib/dnd/geometry.d.ts +78 -0
  124. package/dist/types/lib/dnd/index.d.ts +16 -0
  125. package/dist/types/lib/dnd/sensors/gesture.d.ts +37 -0
  126. package/dist/types/lib/dnd/sensors/keyboard.d.ts +50 -0
  127. package/dist/types/lib/dnd/sensors/pointer.d.ts +59 -0
  128. package/dist/types/lib/dnd/session.d.ts +99 -0
  129. package/dist/types/lib/dnd/types.d.ts +162 -0
  130. package/dist/types/lib/dnd/use-drag.d.ts +56 -0
  131. package/dist/types/lib/icons.d.ts +40 -0
  132. package/dist/types/lib/markdown/caret-map.d.ts +48 -0
  133. package/dist/types/lib/markdown/caret.d.ts +6 -0
  134. package/dist/types/lib/markdown/commands.d.ts +170 -0
  135. package/dist/types/lib/markdown/convert.d.ts +82 -0
  136. package/dist/types/lib/markdown/dom.d.ts +67 -0
  137. package/dist/types/lib/markdown/edit.d.ts +16 -0
  138. package/dist/types/lib/markdown/history.d.ts +47 -0
  139. package/dist/types/lib/markdown/hotkeys.d.ts +39 -0
  140. package/dist/types/lib/markdown/input.d.ts +15 -0
  141. package/dist/types/lib/markdown/keys.d.ts +34 -0
  142. package/dist/types/lib/markdown/paste.d.ts +9 -0
  143. package/dist/types/lib/markdown/position.d.ts +43 -0
  144. package/dist/types/lib/markdown/project.d.ts +88 -0
  145. package/dist/types/lib/markdown/reconcile.d.ts +63 -0
  146. package/dist/types/lib/markdown/surface.d.ts +177 -0
  147. package/dist/types/lib/persist.d.ts +40 -0
  148. package/dist/types/lib/preferences.d.ts +80 -0
  149. package/dist/types/lib/sim/createSimStore.d.ts +18 -0
  150. package/dist/types/lib/sim/index.d.ts +5 -0
  151. package/dist/types/lib/sim/latency.d.ts +10 -0
  152. package/dist/types/lib/sim/registry.d.ts +14 -0
  153. package/dist/types/lib/sim/settings.d.ts +11 -0
  154. package/dist/types/lib/sim/types.d.ts +3 -0
  155. package/dist/types/lib/syntax/index.d.ts +16 -0
  156. package/dist/types/lib/syntax/languages/bash.d.ts +1 -0
  157. package/dist/types/lib/syntax/languages/css.d.ts +1 -0
  158. package/dist/types/lib/syntax/languages/html.d.ts +17 -0
  159. package/dist/types/lib/syntax/languages/index.d.ts +33 -0
  160. package/dist/types/lib/syntax/languages/javascript.d.ts +22 -0
  161. package/dist/types/lib/syntax/languages/json.d.ts +1 -0
  162. package/dist/types/lib/syntax/languages/mongodb.d.ts +1 -0
  163. package/dist/types/lib/syntax/languages/plain.d.ts +9 -0
  164. package/dist/types/lib/syntax/languages/sql.d.ts +4 -0
  165. package/dist/types/lib/syntax/languages/vue.d.ts +1 -0
  166. package/dist/types/lib/syntax/languages/yaml.d.ts +1 -0
  167. package/dist/types/lib/syntax/markdown/frames.d.ts +145 -0
  168. package/dist/types/lib/syntax/markdown/grammar.d.ts +1 -0
  169. package/dist/types/lib/syntax/markdown/index.d.ts +4 -0
  170. package/dist/types/lib/syntax/markdown/inline.d.ts +21 -0
  171. package/dist/types/lib/syntax/markdown/parse.d.ts +11 -0
  172. package/dist/types/lib/syntax/markdown/render.d.ts +19 -0
  173. package/dist/types/lib/syntax/markdown/spans.d.ts +84 -0
  174. package/dist/types/lib/syntax/markdown/types.d.ts +108 -0
  175. package/dist/types/lib/syntax/registry.d.ts +37 -0
  176. package/dist/types/lib/syntax/tokenize.d.ts +17 -0
  177. package/dist/types/lib/syntax/types.d.ts +119 -0
  178. package/dist/types/lib/time/index.d.ts +3 -0
  179. package/dist/types/lib/time/plain.d.ts +61 -0
  180. package/dist/types/lib/time/types.d.ts +87 -0
  181. package/dist/types/lib/time/zone.d.ts +97 -0
  182. package/dist/types/lib/use-media-query.d.ts +29 -0
  183. package/package.json +130 -0
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Dan Newman
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,126 @@
1
+ # @danxbot/ui
2
+
3
+ A React design system with motion as a foundation, not a finish pass.
4
+
5
+ ```bash
6
+ npm install @danxbot/ui
7
+ ```
8
+
9
+ ```tsx
10
+ import { Button, Chat, ThemeMenu } from "@danxbot/ui";
11
+ import "@danxbot/ui/styles.css";
12
+ ```
13
+
14
+ Requires React 19 and Tailwind CSS 4. MIT licensed.
15
+
16
+ ## What is in it
17
+
18
+ 102 components across forms, overlays, structure, data, layout and chat.
19
+
20
+ **Forms** — Field, FieldSet, Input, Textarea, Checkbox, Switch, Radio, RadioCard,
21
+ Select, Combobox, MultiCombobox, Slider, NumberInput, OTPInput, FileUpload,
22
+ DatePicker, Toggle, ToggleGroup, Toolbar
23
+
24
+ **Overlays** — Dialog, AlertDialog, Popover, Tooltip, Toast, Menu, CommandPalette
25
+
26
+ **Structure** — Card, Tabs, Accordion, Breadcrumb, Pagination, AppShell,
27
+ Separator, ScrollArea, Collapsible, PanelGroup
28
+
29
+ **Display** — Avatar, Progress, Meter, ProgressRing, Stat, Sparkline, Timeline,
30
+ Tree, EmptyState, Badge, Icon, Spinner, Skeleton, LoadingOverlay
31
+
32
+ **Data** — DataTable
33
+
34
+ **Chat** — Chat, Message, MessageScroller, Composer, Markdown, CodeBlock,
35
+ ToolCall, Attachment, ModelSelector, EffortControl, ContextMeter
36
+
37
+ ## The parts worth knowing about
38
+
39
+ ### Motion is a layer, not a decoration
40
+
41
+ Four spring curves are baked as CSS `linear()` easings. A spring curve encodes
42
+ its damping ratio — its *shape* — and nothing else, so duration stays a free
43
+ parameter and one curve is correct at any speed. There is no JavaScript
44
+ animation runtime; the equivalent costs 35–40 KB to do what these do for free.
45
+
46
+ Reduced motion **reduces**. The usual `animation-duration: 0.01ms !important`
47
+ sweep is wrong twice over: the spec asks for motion removed, reduced *or
48
+ replaced*, and `!important` makes the decision unoverridable. Instead
49
+ `--motion-scale` halves durations and `--motion-travel` zeroes distances, so
50
+ components inherit the preference without knowing it exists.
51
+
52
+ ### Both themes come from one contract
53
+
54
+ Colour is a three-tier OKLCH system — primitives, semantic tokens, component
55
+ tokens — and both themes are written against the same semantic names. Dark
56
+ accents are hand-tuned at roughly 20% reduced chroma, because a large saturated
57
+ fill on a dark surface reads as glare rather than emphasis.
58
+
59
+ ### Accessibility is a floor you can opt into
60
+
61
+ Contrast compliance is a switch (`data-contrast="aa"`), not a permanent state.
62
+ Forcing AA everywhere flattens hierarchy: de-emphasised text stops being
63
+ de-emphasised. The default is the palette as drawn; the AA overlay is one
64
+ attribute away and honours `prefers-contrast: more` on first load.
65
+
66
+ ### Size is a multiplier, not a breakpoint
67
+
68
+ `data-ui-scale` sets a unitless multiplier over `rem`, which composes with the
69
+ reader's own browser font size instead of overriding it. It moves type, spacing,
70
+ control heights and icon sizes together, with hard floors so a tap target never
71
+ drops below 24px.
72
+
73
+ ### Chat messages are typed parts
74
+
75
+ A message is a list of parts — text, code, reasoning, tool call, file, or a
76
+ named application component — never a blob of markdown. An assistant turn
77
+ routinely interleaves prose, a tool call and a confirmation button, and each is
78
+ a different rendering problem. Applications register their own components by
79
+ name, so a message can carry working UI:
80
+
81
+ ```tsx
82
+ <Chat
83
+ messages={messages}
84
+ components={{
85
+ approval: (props, ctx) => (
86
+ <ApprovalCard {...props} onApprove={ctx.app.approve} />
87
+ ),
88
+ }}
89
+ appContext={{ approve }}
90
+ />
91
+ ```
92
+
93
+ Props are plain data and components are addressed by name, so a transcript stays
94
+ serialisable — a component reference in the message would make it impossible to
95
+ persist or replay.
96
+
97
+ ## Setup
98
+
99
+ The stylesheet carries the tokens, the base layer and the self-hosted fonts.
100
+ Import it once at your application root:
101
+
102
+ ```tsx
103
+ import "@danxbot/ui/styles.css";
104
+ ```
105
+
106
+ Fonts are self-hosted woff2 subsets rather than CDN-loaded, because a blocked
107
+ CDN renders every design in a system font with no error anywhere.
108
+
109
+ Preferences are read from `<html>` attributes so plain CSS and portalled content
110
+ both see them:
111
+
112
+ ```tsx
113
+ import { useTheme, useUiScale, useContrast, useMotionPreference } from "@danxbot/ui";
114
+ ```
115
+
116
+ `ThemeMenu` bundles all four into one popover.
117
+
118
+ ## Browser support
119
+
120
+ Modern evergreen browsers — Chrome, Safari, Firefox and modern mobile. That
121
+ choice is what makes `@property`, `@starting-style`, container queries,
122
+ `field-sizing` and OKLCH available without fallbacks.
123
+
124
+ ## Licence
125
+
126
+ MIT
Binary file
Binary file
Binary file
Binary file
package/dist/fonts.css ADDED
@@ -0,0 +1,187 @@
1
+ /* GENERATED by scripts/fetch-fonts.mjs — do not edit by hand.
2
+ Self-hosted so the compiled bundle is self-contained: no CDN dependency, no
3
+ third-party request, no silent fallback to system fonts. Re-run the script
4
+ to refresh.
5
+
6
+ font-display: swap is preserved from the source CSS — text paints
7
+ immediately in a fallback and swaps, rather than blocking on the font. */
8
+
9
+ /* ---- Bricolage Grotesque ---- */
10
+ /* vietnamese */
11
+ @font-face {
12
+ font-family: 'Bricolage Grotesque';
13
+ font-style: normal;
14
+ font-weight: 400 800;
15
+ font-stretch: 75% 100%;
16
+ font-display: swap;
17
+ src: url(./fonts/bricolage-grotesque-0.woff2) format('woff2');
18
+ unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
19
+ }
20
+ /* latin-ext */
21
+ @font-face {
22
+ font-family: 'Bricolage Grotesque';
23
+ font-style: normal;
24
+ font-weight: 400 800;
25
+ font-stretch: 75% 100%;
26
+ font-display: swap;
27
+ src: url(./fonts/bricolage-grotesque-1.woff2) format('woff2');
28
+ unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
29
+ }
30
+ /* latin */
31
+ @font-face {
32
+ font-family: 'Bricolage Grotesque';
33
+ font-style: normal;
34
+ font-weight: 400 800;
35
+ font-stretch: 75% 100%;
36
+ font-display: swap;
37
+ src: url(./fonts/bricolage-grotesque-2.woff2) format('woff2');
38
+ unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
39
+ }
40
+
41
+ /* ---- Figtree ---- */
42
+ /* latin-ext */
43
+ @font-face {
44
+ font-family: 'Figtree';
45
+ font-style: italic;
46
+ font-weight: 300 900;
47
+ font-display: swap;
48
+ src: url(./fonts/figtree-0.woff2) format('woff2');
49
+ unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
50
+ }
51
+ /* latin */
52
+ @font-face {
53
+ font-family: 'Figtree';
54
+ font-style: italic;
55
+ font-weight: 300 900;
56
+ font-display: swap;
57
+ src: url(./fonts/figtree-1.woff2) format('woff2');
58
+ unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
59
+ }
60
+ /* latin-ext */
61
+ @font-face {
62
+ font-family: 'Figtree';
63
+ font-style: normal;
64
+ font-weight: 300 900;
65
+ font-display: swap;
66
+ src: url(./fonts/figtree-2.woff2) format('woff2');
67
+ unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
68
+ }
69
+ /* latin */
70
+ @font-face {
71
+ font-family: 'Figtree';
72
+ font-style: normal;
73
+ font-weight: 300 900;
74
+ font-display: swap;
75
+ src: url(./fonts/figtree-3.woff2) format('woff2');
76
+ unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
77
+ }
78
+
79
+ /* ---- JetBrains Mono ---- */
80
+ /* cyrillic-ext */
81
+ @font-face {
82
+ font-family: 'JetBrains Mono';
83
+ font-style: italic;
84
+ font-weight: 400 700;
85
+ font-display: swap;
86
+ src: url(./fonts/jetbrains-mono-0.woff2) format('woff2');
87
+ unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
88
+ }
89
+ /* cyrillic */
90
+ @font-face {
91
+ font-family: 'JetBrains Mono';
92
+ font-style: italic;
93
+ font-weight: 400 700;
94
+ font-display: swap;
95
+ src: url(./fonts/jetbrains-mono-1.woff2) format('woff2');
96
+ unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
97
+ }
98
+ /* greek */
99
+ @font-face {
100
+ font-family: 'JetBrains Mono';
101
+ font-style: italic;
102
+ font-weight: 400 700;
103
+ font-display: swap;
104
+ src: url(./fonts/jetbrains-mono-2.woff2) format('woff2');
105
+ unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
106
+ }
107
+ /* vietnamese */
108
+ @font-face {
109
+ font-family: 'JetBrains Mono';
110
+ font-style: italic;
111
+ font-weight: 400 700;
112
+ font-display: swap;
113
+ src: url(./fonts/jetbrains-mono-3.woff2) format('woff2');
114
+ unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
115
+ }
116
+ /* latin-ext */
117
+ @font-face {
118
+ font-family: 'JetBrains Mono';
119
+ font-style: italic;
120
+ font-weight: 400 700;
121
+ font-display: swap;
122
+ src: url(./fonts/jetbrains-mono-4.woff2) format('woff2');
123
+ unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
124
+ }
125
+ /* latin */
126
+ @font-face {
127
+ font-family: 'JetBrains Mono';
128
+ font-style: italic;
129
+ font-weight: 400 700;
130
+ font-display: swap;
131
+ src: url(./fonts/jetbrains-mono-5.woff2) format('woff2');
132
+ unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
133
+ }
134
+ /* cyrillic-ext */
135
+ @font-face {
136
+ font-family: 'JetBrains Mono';
137
+ font-style: normal;
138
+ font-weight: 400 700;
139
+ font-display: swap;
140
+ src: url(./fonts/jetbrains-mono-6.woff2) format('woff2');
141
+ unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
142
+ }
143
+ /* cyrillic */
144
+ @font-face {
145
+ font-family: 'JetBrains Mono';
146
+ font-style: normal;
147
+ font-weight: 400 700;
148
+ font-display: swap;
149
+ src: url(./fonts/jetbrains-mono-7.woff2) format('woff2');
150
+ unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
151
+ }
152
+ /* greek */
153
+ @font-face {
154
+ font-family: 'JetBrains Mono';
155
+ font-style: normal;
156
+ font-weight: 400 700;
157
+ font-display: swap;
158
+ src: url(./fonts/jetbrains-mono-8.woff2) format('woff2');
159
+ unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
160
+ }
161
+ /* vietnamese */
162
+ @font-face {
163
+ font-family: 'JetBrains Mono';
164
+ font-style: normal;
165
+ font-weight: 400 700;
166
+ font-display: swap;
167
+ src: url(./fonts/jetbrains-mono-9.woff2) format('woff2');
168
+ unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
169
+ }
170
+ /* latin-ext */
171
+ @font-face {
172
+ font-family: 'JetBrains Mono';
173
+ font-style: normal;
174
+ font-weight: 400 700;
175
+ font-display: swap;
176
+ src: url(./fonts/jetbrains-mono-10.woff2) format('woff2');
177
+ unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
178
+ }
179
+ /* latin */
180
+ @font-face {
181
+ font-family: 'JetBrains Mono';
182
+ font-style: normal;
183
+ font-weight: 400 700;
184
+ font-display: swap;
185
+ src: url(./fonts/jetbrains-mono-11.woff2) format('woff2');
186
+ unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
187
+ }