@louvain/ui 0.0.0-stage → 1.0.1

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 (81) hide show
  1. package/CHANGELOG.md +17 -0
  2. package/LICENSE +202 -0
  3. package/NOTICE +21 -0
  4. package/README.md +73 -2
  5. package/TRADEMARKS.md +11 -0
  6. package/assets/lou-ell/ell-gotit-dark.svg +1 -0
  7. package/assets/lou-ell/ell-gotit.svg +1 -0
  8. package/assets/lou-ell/ell-hero-dark.svg +1 -0
  9. package/assets/lou-ell/ell-hero-mono.svg +1 -0
  10. package/assets/lou-ell/ell-hero.svg +1 -0
  11. package/assets/lou-ell/ell-icon-64-mono.svg +1 -0
  12. package/assets/lou-ell/ell-icon-64.svg +1 -0
  13. package/assets/lou-ell/ell-listen-dark.svg +1 -0
  14. package/assets/lou-ell/ell-listen.svg +1 -0
  15. package/assets/lou-ell/ell-mark-16-dark.svg +1 -0
  16. package/assets/lou-ell/ell-mark-16.svg +1 -0
  17. package/assets/lou-ell/ell-write-dark.svg +1 -0
  18. package/assets/lou-ell/ell-write.svg +1 -0
  19. package/assets/louvain-notes.svg +1 -0
  20. package/css/button-raised.css +92 -0
  21. package/css/button.css +64 -0
  22. package/css/site-chrome/header.css +942 -0
  23. package/css/site-chrome/motion.css +137 -0
  24. package/css/site-chrome/sheet.css +2535 -0
  25. package/css/site-chrome.css +3 -0
  26. package/css/tokens.css +870 -0
  27. package/dist/button-class.d.ts +7 -0
  28. package/dist/button-class.js +20 -0
  29. package/dist/index.d.ts +2 -0
  30. package/dist/index.js +2 -0
  31. package/dist/logo.d.ts +12 -0
  32. package/dist/logo.js +14 -0
  33. package/dist/lou-ell-svg.d.ts +16 -0
  34. package/dist/lou-ell-svg.js +15 -0
  35. package/dist/notes-avatar.d.ts +1 -0
  36. package/dist/notes-avatar.js +1 -0
  37. package/dist/site-chrome/footer.d.ts +5 -0
  38. package/dist/site-chrome/footer.js +24 -0
  39. package/dist/site-chrome/github-stars.d.ts +6 -0
  40. package/dist/site-chrome/github-stars.js +15 -0
  41. package/dist/site-chrome/head.d.ts +8 -0
  42. package/dist/site-chrome/head.js +4 -0
  43. package/dist/site-chrome/header-context.d.ts +8 -0
  44. package/dist/site-chrome/header-context.js +9 -0
  45. package/dist/site-chrome/header-menu.d.ts +7 -0
  46. package/dist/site-chrome/header-menu.js +68 -0
  47. package/dist/site-chrome/header-sheet.d.ts +3 -0
  48. package/dist/site-chrome/header-sheet.js +35 -0
  49. package/dist/site-chrome/icons.d.ts +6 -0
  50. package/dist/site-chrome/icons.js +19 -0
  51. package/dist/site-chrome/index.d.ts +15 -0
  52. package/dist/site-chrome/index.js +15 -0
  53. package/dist/site-chrome/lines.d.ts +59 -0
  54. package/dist/site-chrome/lines.js +65 -0
  55. package/dist/site-chrome/menu-art.d.ts +5 -0
  56. package/dist/site-chrome/menu-art.js +6 -0
  57. package/dist/site-chrome/nav-machine.d.ts +24 -0
  58. package/dist/site-chrome/nav-machine.js +19 -0
  59. package/dist/site-chrome/open-or-demo.d.ts +14 -0
  60. package/dist/site-chrome/open-or-demo.js +12 -0
  61. package/dist/site-chrome/page-link.d.ts +18 -0
  62. package/dist/site-chrome/page-link.js +8 -0
  63. package/dist/site-chrome/page-rail.d.ts +4 -0
  64. package/dist/site-chrome/page-rail.js +78 -0
  65. package/dist/site-chrome/reveal.d.ts +3 -0
  66. package/dist/site-chrome/reveal.js +30 -0
  67. package/dist/site-chrome/ribbon.d.ts +3 -0
  68. package/dist/site-chrome/ribbon.js +32 -0
  69. package/dist/site-chrome/site-header.d.ts +14 -0
  70. package/dist/site-chrome/site-header.js +74 -0
  71. package/dist/site-chrome/site-map.d.ts +64 -0
  72. package/dist/site-chrome/site-map.js +230 -0
  73. package/dist/site-chrome/theme-toggle.d.ts +3 -0
  74. package/dist/site-chrome/theme-toggle.js +22 -0
  75. package/dist/theme.d.ts +17 -0
  76. package/dist/theme.js +92 -0
  77. package/fonts/OFL-host-grotesk.txt +93 -0
  78. package/fonts/OFL-jetbrains-mono.txt +93 -0
  79. package/fonts/host-grotesk-latin-wght-normal.woff2 +0 -0
  80. package/fonts/jetbrains-mono-latin-wght-normal.woff2 +0 -0
  81. package/package.json +99 -3
package/CHANGELOG.md ADDED
@@ -0,0 +1,17 @@
1
+ # @louvain/ui
2
+
3
+ ## 1.0.1
4
+
5
+ ### Patch Changes
6
+
7
+ - abce312: louvain.ai's map lists the new Download page (`/download`) under Resources, so the header's Resources menu, the phone sheet and the footer link to it.
8
+ - 2c791f8: Add the `--shell-page-fill-end` token: the gap under a page whose panes scroll inside themselves.
9
+ - cd38e31: Site footer: an open-source links line. Under the tagline, "Open source: pg_rebac · Louvain Engine", plain links to pgrebac.com and the engine's repository; `PG_REBAC` joins `ENGINE` in `lines.ts`.
10
+ - ab5fa7b: Add the sky-after-dark tokens: `--on-sky`, `--sky-dusk-*` (top, bottom, sun, glow, far and near hill) and `--sky-night-*` (top, bottom, moon, glow, hill), in every theme block, with `--color-on-sky` for Tailwind.
11
+ - b009e3b: Site menus: a Guides group in the header's Resources menu ("What is a company brain?", "Glean pricing", "Microsoft Copilot pricing"), and the same three under Resources in the footer. A menu of four groups lays them out two by two (`.mega-cols[data-cols="4"]`), where it fell back to one column.
12
+
13
+ ## 1.0.0
14
+
15
+ ### Major Changes
16
+
17
+ - c7e3121: The first release of `@louvain/ui` (ADR-111 slice 1): the colour tokens, the one button's sheets and class recipe, the logo and Lou the Ell (from `@louvain/brand`), louvain.ai's header, footer, theme toggle and the pieces they draw (`@louvain/ui/site-chrome`, configured by `origin`, `auth`, `themeStorage`, `link`, `pathname` and `score`), its sheets (`@louvain/ui/site-chrome.css`), the fonts with their OFL licences, and the shared theme cookie (`@louvain/ui/theme`: `louvain.theme` on `.louvain.ai`). Moves no pixel: louvain.ai's and the product's computed styles are identical before and after.
package/LICENSE ADDED
@@ -0,0 +1,202 @@
1
+
2
+ Apache License
3
+ Version 2.0, January 2004
4
+ http://www.apache.org/licenses/
5
+
6
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
7
+
8
+ 1. Definitions.
9
+
10
+ "License" shall mean the terms and conditions for use, reproduction,
11
+ and distribution as defined by Sections 1 through 9 of this document.
12
+
13
+ "Licensor" shall mean the copyright owner or entity authorized by
14
+ the copyright owner that is granting the License.
15
+
16
+ "Legal Entity" shall mean the union of the acting entity and all
17
+ other entities that control, are controlled by, or are under common
18
+ control with that entity. For the purposes of this definition,
19
+ "control" means (i) the power, direct or indirect, to cause the
20
+ direction or management of such entity, whether by contract or
21
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
22
+ outstanding shares, or (iii) beneficial ownership of such entity.
23
+
24
+ "You" (or "Your") shall mean an individual or Legal Entity
25
+ exercising permissions granted by this License.
26
+
27
+ "Source" form shall mean the preferred form for making modifications,
28
+ including but not limited to software source code, documentation
29
+ source, and configuration files.
30
+
31
+ "Object" form shall mean any form resulting from mechanical
32
+ transformation or translation of a Source form, including but
33
+ not limited to compiled object code, generated documentation,
34
+ and conversions to other media types.
35
+
36
+ "Work" shall mean the work of authorship, whether in Source or
37
+ Object form, made available under the License, as indicated by a
38
+ copyright notice that is included in or attached to the work
39
+ (an example is provided in the Appendix below).
40
+
41
+ "Derivative Works" shall mean any work, whether in Source or Object
42
+ form, that is based on (or derived from) the Work and for which the
43
+ editorial revisions, annotations, elaborations, or other modifications
44
+ represent, as a whole, an original work of authorship. For the purposes
45
+ of this License, Derivative Works shall not include works that remain
46
+ separable from, or merely link (or bind by name) to the interfaces of,
47
+ the Work and Derivative Works thereof.
48
+
49
+ "Contribution" shall mean any work of authorship, including
50
+ the original version of the Work and any modifications or additions
51
+ to that Work or Derivative Works thereof, that is intentionally
52
+ submitted to Licensor for inclusion in the Work by the copyright owner
53
+ or by an individual or Legal Entity authorized to submit on behalf of
54
+ the copyright owner. For the purposes of this definition, "submitted"
55
+ means any form of electronic, verbal, or written communication sent
56
+ to the Licensor or its representatives, including but not limited to
57
+ communication on electronic mailing lists, source code control systems,
58
+ and issue tracking systems that are managed by, or on behalf of, the
59
+ Licensor for the purpose of discussing and improving the Work, but
60
+ excluding communication that is conspicuously marked or otherwise
61
+ designated in writing by the copyright owner as "Not a Contribution."
62
+
63
+ "Contributor" shall mean Licensor and any individual or Legal Entity
64
+ on behalf of whom a Contribution has been received by Licensor and
65
+ subsequently incorporated within the Work.
66
+
67
+ 2. Grant of Copyright License. Subject to the terms and conditions of
68
+ this License, each Contributor hereby grants to You a perpetual,
69
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
70
+ copyright license to reproduce, prepare Derivative Works of,
71
+ publicly display, publicly perform, sublicense, and distribute the
72
+ Work and such Derivative Works in Source or Object form.
73
+
74
+ 3. Grant of Patent License. Subject to the terms and conditions of
75
+ this License, each Contributor hereby grants to You a perpetual,
76
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
77
+ (except as stated in this section) patent license to make, have made,
78
+ use, offer to sell, sell, import, and otherwise transfer the Work,
79
+ where such license applies only to those patent claims licensable
80
+ by such Contributor that are necessarily infringed by their
81
+ Contribution(s) alone or by combination of their Contribution(s)
82
+ with the Work to which such Contribution(s) was submitted. If You
83
+ institute patent litigation against any entity (including a
84
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
85
+ or a Contribution incorporated within the Work constitutes direct
86
+ or contributory patent infringement, then any patent licenses
87
+ granted to You under this License for that Work shall terminate
88
+ as of the date such litigation is filed.
89
+
90
+ 4. Redistribution. You may reproduce and distribute copies of the
91
+ Work or Derivative Works thereof in any medium, with or without
92
+ modifications, and in Source or Object form, provided that You
93
+ meet the following conditions:
94
+
95
+ (a) You must give any other recipients of the Work or
96
+ Derivative Works a copy of this License; and
97
+
98
+ (b) You must cause any modified files to carry prominent notices
99
+ stating that You changed the files; and
100
+
101
+ (c) You must retain, in the Source form of any Derivative Works
102
+ that You distribute, all copyright, patent, trademark, and
103
+ attribution notices from the Source form of the Work,
104
+ excluding those notices that do not pertain to any part of
105
+ the Derivative Works; and
106
+
107
+ (d) If the Work includes a "NOTICE" text file as part of its
108
+ distribution, then any Derivative Works that You distribute must
109
+ include a readable copy of the attribution notices contained
110
+ within such NOTICE file, excluding those notices that do not
111
+ pertain to any part of the Derivative Works, in at least one
112
+ of the following places: within a NOTICE text file distributed
113
+ as part of the Derivative Works; within the Source form or
114
+ documentation, if provided along with the Derivative Works; or,
115
+ within a display generated by the Derivative Works, if and
116
+ wherever such third-party notices normally appear. The contents
117
+ of the NOTICE file are for informational purposes only and
118
+ do not modify the License. You may add Your own attribution
119
+ notices within Derivative Works that You distribute, alongside
120
+ or as an addendum to the NOTICE text from the Work, provided
121
+ that such additional attribution notices cannot be construed
122
+ as modifying the License.
123
+
124
+ You may add Your own copyright statement to Your modifications and
125
+ may provide additional or different license terms and conditions
126
+ for use, reproduction, or distribution of Your modifications, or
127
+ for any such Derivative Works as a whole, provided Your use,
128
+ reproduction, and distribution of the Work otherwise complies with
129
+ the conditions stated in this License.
130
+
131
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
132
+ any Contribution intentionally submitted for inclusion in the Work
133
+ by You to the Licensor shall be under the terms and conditions of
134
+ this License, without any additional terms or conditions.
135
+ Notwithstanding the above, nothing herein shall supersede or modify
136
+ the terms of any separate license agreement you may have executed
137
+ with Licensor regarding such Contributions.
138
+
139
+ 6. Trademarks. This License does not grant permission to use the trade
140
+ names, trademarks, service marks, or product names of the Licensor,
141
+ except as required for reasonable and customary use in describing the
142
+ origin of the Work and reproducing the content of the NOTICE file.
143
+
144
+ 7. Disclaimer of Warranty. Unless required by applicable law or
145
+ agreed to in writing, Licensor provides the Work (and each
146
+ Contributor provides its Contributions) on an "AS IS" BASIS,
147
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
148
+ implied, including, without limitation, any warranties or conditions
149
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
150
+ PARTICULAR PURPOSE. You are solely responsible for determining the
151
+ appropriateness of using or redistributing the Work and assume any
152
+ risks associated with Your exercise of permissions under this License.
153
+
154
+ 8. Limitation of Liability. In no event and under no legal theory,
155
+ whether in tort (including negligence), contract, or otherwise,
156
+ unless required by applicable law (such as deliberate and grossly
157
+ negligent acts) or agreed to in writing, shall any Contributor be
158
+ liable to You for damages, including any direct, indirect, special,
159
+ incidental, or consequential damages of any character arising as a
160
+ result of this License or out of the use or inability to use the
161
+ Work (including but not limited to damages for loss of goodwill,
162
+ work stoppage, computer failure or malfunction, or any and all
163
+ other commercial damages or losses), even if such Contributor
164
+ has been advised of the possibility of such damages.
165
+
166
+ 9. Accepting Warranty or Additional Liability. While redistributing
167
+ the Work or Derivative Works thereof, You may choose to offer,
168
+ and charge a fee for, acceptance of support, warranty, indemnity,
169
+ or other liability obligations and/or rights consistent with this
170
+ License. However, in accepting such obligations, You may act only
171
+ on Your own behalf and on Your sole responsibility, not on behalf
172
+ of any other Contributor, and only if You agree to indemnify,
173
+ defend, and hold each Contributor harmless for any liability
174
+ incurred by, or claims asserted against, such Contributor by reason
175
+ of your accepting any such warranty or additional liability.
176
+
177
+ END OF TERMS AND CONDITIONS
178
+
179
+ APPENDIX: How to apply the Apache License to your work.
180
+
181
+ To apply the Apache License to your work, attach the following
182
+ boilerplate notice, with the fields enclosed by brackets "[]"
183
+ replaced with your own identifying information. (Don't include
184
+ the brackets!) The text should be enclosed in the appropriate
185
+ comment syntax for the file format. We also recommend that a
186
+ file or class name and description of purpose be included on the
187
+ same "printed page" as the copyright notice for easier
188
+ identification within third-party archives.
189
+
190
+ Copyright [yyyy] [name of copyright owner]
191
+
192
+ Licensed under the Apache License, Version 2.0 (the "License");
193
+ you may not use this file except in compliance with the License.
194
+ You may obtain a copy of the License at
195
+
196
+ http://www.apache.org/licenses/LICENSE-2.0
197
+
198
+ Unless required by applicable law or agreed to in writing, software
199
+ distributed under the License is distributed on an "AS IS" BASIS,
200
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
201
+ See the License for the specific language governing permissions and
202
+ limitations under the License.
package/NOTICE ADDED
@@ -0,0 +1,21 @@
1
+ @louvain/ui
2
+ Copyright 2026 Louvain AI Ltd
3
+
4
+ This product is licensed under the Apache License, Version 2.0 (LICENSE).
5
+
6
+ THE MARKS ARE NOT LICENSED (TRADEMARKS.md). These files draw the Louvain name, the Louvain logo or Lou the Ell, and a
7
+ fork or any other distribution must remove or replace them before it ships:
8
+
9
+ src/logo.tsx Lockup, Mark: the Louvain logo
10
+ src/lou-ell-svg.ts Lou the Ell, as strings
11
+ src/notes-avatar.ts Louvain Notes' picture in a call (Lou the Ell)
12
+ assets/lou-ell/*.svg Lou the Ell
13
+ assets/louvain-notes.svg Louvain Notes' picture in a call
14
+ src/site-chrome/* louvain.ai's header and footer, which draw the logo and name Louvain's pages
15
+
16
+ and their compiled forms under dist/.
17
+
18
+ THE FONTS ARE THEIR AUTHORS', under the SIL Open Font License 1.1, with the licence beside each:
19
+
20
+ fonts/host-grotesk-latin-wght-normal.woff2 Host Grotesk fonts/OFL-host-grotesk.txt
21
+ fonts/jetbrains-mono-latin-wght-normal.woff2 JetBrains Mono fonts/OFL-jetbrains-mono.txt
package/README.md CHANGED
@@ -1,3 +1,74 @@
1
- # Temporary Holding Version
1
+ # @louvain/ui
2
2
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
3
+ Louvain's look, for every app that draws it: the colour tokens, the one button, the logo, louvain.ai's header and
4
+ footer, and one theme choice shared across `*.louvain.ai`. Apache-2.0 code; the marks are reserved (`TRADEMARKS.md`).
5
+
6
+ ```sh
7
+ npm install @louvain/ui
8
+ ```
9
+
10
+ Peers: `react` and `react-dom` 19.1 or later. No framework is imported: a Next.js app passes its own `Link`.
11
+
12
+ ## Entry points
13
+
14
+ | Import | What |
15
+ |---|---|
16
+ | `@louvain/ui/tokens.css` | Every colour, size, radius, shadow and duration, light and dark, as CSS custom properties and Tailwind 4 `@theme` |
17
+ | `@louvain/ui/button.css`, `@louvain/ui/button-raised.css` | The one button's shape and sizes, and its raised look |
18
+ | `@louvain/ui` | `buttonLook` / `buttonClass` (the button's class list), `Lockup` and `Mark` (the logo) |
19
+ | `@louvain/ui/lou-ell`, `@louvain/ui/notes-avatar` | Lou the Ell as SVG strings; Louvain Notes' picture in a call |
20
+ | `@louvain/ui/theme` | The shared theme cookie: `THEME_SCRIPT` (before paint), `readTheme`, `writeTheme`, `applyTheme` |
21
+ | `@louvain/ui/site-chrome` | louvain.ai's `SiteHeader`, `Footer`, `ThemeToggle`, `PageRail`, `Reveal`, `Ribbon`, `OpenOrDemo`, `BookDemo`, `PageLink`, `Head`, `GitHubStarsLink`, and the map they name |
22
+ | `@louvain/ui/site-chrome.css` | louvain.ai's sheet, header and motion rules |
23
+ | `@louvain/ui/fonts/*` | Host Grotesk and JetBrains Mono (`woff2`), each with its OFL licence |
24
+
25
+ ## Using it
26
+
27
+ Import the sheets in this order, in one global stylesheet:
28
+
29
+ ```css
30
+ @import "tailwindcss";
31
+ @import "@louvain/ui/tokens.css";
32
+ @import "@louvain/ui/button.css";
33
+ @import "@louvain/ui/button-raised.css";
34
+ @import "@louvain/ui/site-chrome.css"; /* only a site that draws louvain.ai's chrome */
35
+ @source "../node_modules/@louvain/ui/dist"; /* the buttons and the chrome are Tailwind utilities */
36
+ ```
37
+
38
+ Without the `@source` line the buttons keep their class names and lose their rules, silently.
39
+
40
+ Load the fonts with `next/font/local` from the package's files, under the names the sheets read:
41
+
42
+ ```ts
43
+ const host = localFont({ src: "../node_modules/@louvain/ui/fonts/host-grotesk-latin-wght-normal.woff2", variable: "--font-host", weight: "300 700" });
44
+ const mono = localFont({ src: "../node_modules/@louvain/ui/fonts/jetbrains-mono-latin-wght-normal.woff2", variable: "--font-jetbrains", weight: "400 500" });
45
+ ```
46
+
47
+ Draw louvain.ai's chrome on another `*.louvain.ai` host:
48
+
49
+ ```tsx
50
+ import { THEME_SCRIPT } from "@louvain/ui/theme";
51
+ import { Footer, SiteHeader } from "@louvain/ui/site-chrome";
52
+
53
+ <script dangerouslySetInnerHTML={{ __html: THEME_SCRIPT }} />
54
+ <SiteHeader origin="https://louvain.ai" auth="none" score={null} />
55
+ <Footer origin="https://louvain.ai" />
56
+ ```
57
+
58
+ - `origin`: louvain.ai's address. Every link the chrome draws becomes that full address and a plain `<a>`.
59
+ - `auth`: `"cookie-hint"` on louvain.ai (its head script swaps Sign in for Open Louvain); `"none"` elsewhere (one stable
60
+ Sign in link to the product's `/app`).
61
+ - `themeStorage`: the theme cookie's domain, `.louvain.ai` by default. Off that domain the cookie is the host's own.
62
+ - `link` and `pathname`: louvain.ai passes Next's `Link` and `usePathname()` (the header, `PageRail` and `Reveal`).
63
+
64
+ ## The theme cookie
65
+
66
+ One cookie, `louvain.theme`, on `.louvain.ai`, holds `light` or `dark`; System deletes it. It is written only when a
67
+ person presses a theme control, read only in the browser, and only the two literal values are accepted. A choice kept
68
+ under the old per-origin storage keys (`louvain.theme`, `brain.theme`) is carried into the cookie once and the keys
69
+ are removed.
70
+
71
+ ## Versions
72
+
73
+ Semver, with a changelog (`CHANGELOG.md`) and a GitHub Release per version, tagged `ui-v<version>`. A change that
74
+ moves pixels is never silent: its changelog entry names the components it moves.
package/TRADEMARKS.md ADDED
@@ -0,0 +1,11 @@
1
+ # Trademarks
2
+
3
+ "Louvain", the Louvain logo and Lou the Ell are trademarks of Louvain AI Ltd. The Apache-2.0 licence covers this
4
+ package's code and styles, not the names or the marks: its section 6 grants no permission to use them.
5
+
6
+ You may use the components, the tokens and the styles in your own software. Do not ship the Louvain logo, Lou the Ell
7
+ or louvain.ai's header and footer (`NOTICE` names their files), and do not call a fork, a distribution or a hosted
8
+ service "Louvain", or use the marks in a way that suggests Louvain AI Ltd made or endorses it, without asking first by
9
+ opening an issue in Louvain's repository.
10
+
11
+ The fonts in `fonts/` are their authors', under the SIL Open Font License 1.1, with the licence beside each.
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200" role="img" aria-label="Lou the Ell, Got it, dark"><ellipse cx="100" cy="168" rx="64" ry="6" fill="#000000" fill-opacity=".35"/><path d="M58 64 V146 H150" fill="none" stroke="#7f72ff" stroke-width="16" stroke-linecap="round" stroke-linejoin="round"/><circle cx="58" cy="146" r="19" fill="#7f72ff"/><circle cx="150" cy="146" r="12" fill="#7f72ff"/><g class="lou-pop"><circle cx="150" cy="58" r="17" fill="#f5b21f"/><path d="M141.07 58 l5.67 5.67 l10.2 -11.33" fill="none" stroke="#05050f" stroke-width="3.95" stroke-linecap="round" stroke-linejoin="round"/></g><path d="M176 28 Q176 34 182 34 Q176 34 176 40 Q176 34 170 34 Q176 34 176 28Z" fill="#f5b21f"/><path d="M124 25.8 Q124 30 128.2 30 Q124 30 124 34.2 Q124 30 119.8 30 Q124 30 124 25.8Z" fill="#f5b21f"/><g transform="rotate(-3 58 70)"><circle cx="58" cy="54" r="30" fill="#7f72ff"/><ellipse cx="38" cy="64" rx="5" ry="3.4" fill="#ffd79a" opacity=".85"/><ellipse cx="78" cy="64" rx="5" ry="3.4" fill="#ffd79a" opacity=".85"/><path d="M41 52 q6 -7.5 12 0" fill="none" stroke="#ffffff" stroke-width="3.2" stroke-linecap="round" stroke-linejoin="round"/><path d="M63 52 q6 -7.5 12 0" fill="none" stroke="#ffffff" stroke-width="3.2" stroke-linecap="round" stroke-linejoin="round"/><path d="M48 66 q10 9 20 0" fill="none" stroke="#ffffff" stroke-width="3.2" stroke-linecap="round" stroke-linejoin="round"/></g></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200" role="img" aria-label="Lou the Ell, Got it"><ellipse cx="100" cy="168" rx="64" ry="6" fill="#25006f" fill-opacity=".12"/><path d="M58 64 V146 H150" fill="none" stroke="#6331fb" stroke-width="16" stroke-linecap="round" stroke-linejoin="round"/><circle cx="58" cy="146" r="19" fill="#6331fb"/><circle cx="150" cy="146" r="12" fill="#6331fb"/><g class="lou-pop"><circle cx="150" cy="58" r="17" fill="#f5b21f"/><path d="M141.07 58 l5.67 5.67 l10.2 -11.33" fill="none" stroke="#25006f" stroke-width="3.95" stroke-linecap="round" stroke-linejoin="round"/></g><path d="M176 28 Q176 34 182 34 Q176 34 176 40 Q176 34 170 34 Q176 34 176 28Z" fill="#f5b21f"/><path d="M124 25.8 Q124 30 128.2 30 Q124 30 124 34.2 Q124 30 119.8 30 Q124 30 124 25.8Z" fill="#f5b21f"/><g transform="rotate(-3 58 70)"><circle cx="58" cy="54" r="30" fill="#6331fb"/><ellipse cx="38" cy="64" rx="5" ry="3.4" fill="#ffd79a" opacity=".85"/><ellipse cx="78" cy="64" rx="5" ry="3.4" fill="#ffd79a" opacity=".85"/><path d="M41 52 q6 -7.5 12 0" fill="none" stroke="#ffffff" stroke-width="3.2" stroke-linecap="round" stroke-linejoin="round"/><path d="M63 52 q6 -7.5 12 0" fill="none" stroke="#ffffff" stroke-width="3.2" stroke-linecap="round" stroke-linejoin="round"/><path d="M48 66 q10 9 20 0" fill="none" stroke="#ffffff" stroke-width="3.2" stroke-linecap="round" stroke-linejoin="round"/></g></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200" role="img" aria-label="Lou the Ell, Hero, dark"><ellipse cx="100" cy="168" rx="64" ry="6" fill="#000000" fill-opacity=".35"/><path d="M58 64 V146 H150" fill="none" stroke="#7f72ff" stroke-width="16" stroke-linecap="round" stroke-linejoin="round"/><circle cx="58" cy="146" r="19" fill="#7f72ff"/><circle cx="150" cy="146" r="12" fill="#7f72ff"/><g class="lou-pulse"><circle cx="150" cy="58" r="15" fill="#25006f" stroke="#7f72ff" stroke-width="3" stroke-opacity=".6"/></g><g class="lou-wave"><path d="M126 49 q-7 9 0 18" fill="none" stroke="#f5b21f" stroke-width="3.5" stroke-linecap="round" stroke-linejoin="round"/></g><g transform="rotate(-5 58 70)"><circle cx="58" cy="54" r="30" fill="#7f72ff"/><ellipse cx="38" cy="64" rx="5" ry="3.4" fill="#ffd79a" opacity=".85"/><ellipse cx="78" cy="64" rx="5" ry="3.4" fill="#ffd79a" opacity=".85"/><ellipse cx="47" cy="50" rx="6" ry="7.5" fill="#ffffff"/><circle cx="47" cy="50" r="3.6" fill="#05050f"/><circle cx="48.26" cy="48.56" r="1.15" fill="#ffffff"/><ellipse cx="69" cy="50" rx="6" ry="7.5" fill="#ffffff"/><circle cx="69" cy="50" r="3.6" fill="#05050f"/><circle cx="70.26" cy="48.56" r="1.15" fill="#ffffff"/><path d="M50 67 q8 6 16 0" fill="none" stroke="#ffffff" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"/></g></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200" role="img" aria-label="Lou the Ell, mono"><ellipse cx="100" cy="168" rx="64" ry="6" fill="#1d1b22" fill-opacity="0"/><path d="M58 64 V146 H150" fill="none" stroke="#1d1b22" stroke-width="16" stroke-linecap="round" stroke-linejoin="round"/><circle cx="58" cy="146" r="19" fill="#1d1b22"/><circle cx="150" cy="146" r="12" fill="#1d1b22"/><g class="lou-pulse"><circle cx="150" cy="58" r="15" fill="#ffffff" stroke="#1d1b22" stroke-width="3" stroke-opacity=".6"/></g><g class="lou-wave"><path d="M126 49 q-7 9 0 18" fill="none" stroke="#1d1b22" stroke-width="3.5" stroke-linecap="round" stroke-linejoin="round"/></g><g transform="rotate(-5 58 70)"><circle cx="58" cy="54" r="30" fill="#1d1b22"/><ellipse cx="38" cy="64" rx="5" ry="3.4" fill="none" opacity=".85"/><ellipse cx="78" cy="64" rx="5" ry="3.4" fill="none" opacity=".85"/><ellipse cx="47" cy="50" rx="6" ry="7.5" fill="#ffffff"/><circle cx="47" cy="50" r="3.6" fill="#1d1b22"/><circle cx="48.26" cy="48.56" r="1.15" fill="#ffffff"/><ellipse cx="69" cy="50" rx="6" ry="7.5" fill="#ffffff"/><circle cx="69" cy="50" r="3.6" fill="#1d1b22"/><circle cx="70.26" cy="48.56" r="1.15" fill="#ffffff"/><path d="M50 67 q8 6 16 0" fill="none" stroke="#ffffff" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"/></g></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200" role="img" aria-label="Lou the Ell, Hero"><ellipse cx="100" cy="168" rx="64" ry="6" fill="#25006f" fill-opacity=".12"/><path d="M58 64 V146 H150" fill="none" stroke="#6331fb" stroke-width="16" stroke-linecap="round" stroke-linejoin="round"/><circle cx="58" cy="146" r="19" fill="#6331fb"/><circle cx="150" cy="146" r="12" fill="#6331fb"/><g class="lou-pulse"><circle cx="150" cy="58" r="15" fill="#e6defe" stroke="#6331fb" stroke-width="3" stroke-opacity=".6"/></g><g class="lou-wave"><path d="M126 49 q-7 9 0 18" fill="none" stroke="#f5b21f" stroke-width="3.5" stroke-linecap="round" stroke-linejoin="round"/></g><g transform="rotate(-5 58 70)"><circle cx="58" cy="54" r="30" fill="#6331fb"/><ellipse cx="38" cy="64" rx="5" ry="3.4" fill="#ffd79a" opacity=".85"/><ellipse cx="78" cy="64" rx="5" ry="3.4" fill="#ffd79a" opacity=".85"/><ellipse cx="47" cy="50" rx="6" ry="7.5" fill="#ffffff"/><circle cx="47" cy="50" r="3.6" fill="#25006f"/><circle cx="48.26" cy="48.56" r="1.15" fill="#ffffff"/><ellipse cx="69" cy="50" rx="6" ry="7.5" fill="#ffffff"/><circle cx="69" cy="50" r="3.6" fill="#25006f"/><circle cx="70.26" cy="48.56" r="1.15" fill="#ffffff"/><path d="M50 67 q8 6 16 0" fill="none" stroke="#ffffff" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"/></g></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64" role="img" aria-label="Lou the Ell icon, mono"><circle cx="32" cy="32" r="32" fill="#1d1b22"/><path d="M23 24 V44 H44" fill="none" stroke="#ffffff" stroke-width="4.6" stroke-linecap="round" stroke-linejoin="round"/><circle cx="23" cy="44" r="5.8" fill="#ffffff"/><circle cx="44" cy="44" r="4" fill="#ffffff"/><circle cx="23" cy="21" r="9.6" fill="#ffffff"/><circle cx="19.6" cy="20.6" r="1.9" fill="#1d1b22"/><circle cx="26.4" cy="20.6" r="1.9" fill="#1d1b22"/><circle cx="44" cy="21" r="4.6" fill="none" stroke="#ffffff" stroke-width="2"/><path d="M37.5 17.5 q-2.6 3.5 0 7" fill="none" stroke="#1d1b22" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round"/></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64" role="img" aria-label="Lou the Ell icon"><circle cx="32" cy="32" r="32" fill="#6331fb"/><path d="M23 24 V44 H44" fill="none" stroke="#ffffff" stroke-width="4.6" stroke-linecap="round" stroke-linejoin="round"/><circle cx="23" cy="44" r="5.8" fill="#ffffff"/><circle cx="44" cy="44" r="4" fill="#ffffff"/><circle cx="23" cy="21" r="9.6" fill="#ffffff"/><circle cx="19.6" cy="20.6" r="1.9" fill="#6331fb"/><circle cx="26.4" cy="20.6" r="1.9" fill="#6331fb"/><circle cx="44" cy="21" r="4.6" fill="none" stroke="#ffffff" stroke-width="2"/><path d="M37.5 17.5 q-2.6 3.5 0 7" fill="none" stroke="#f5b21f" stroke-width="2.2" stroke-linecap="round" stroke-linejoin="round"/></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200" role="img" aria-label="Lou the Ell, Listening, dark"><ellipse cx="100" cy="168" rx="64" ry="6" fill="#000000" fill-opacity=".35"/><path d="M58 64 V146 H150" fill="none" stroke="#7f72ff" stroke-width="16" stroke-linecap="round" stroke-linejoin="round"/><circle cx="58" cy="146" r="19" fill="#7f72ff"/><circle cx="150" cy="146" r="12" fill="#7f72ff"/><g class="lou-pulse"><circle cx="150" cy="58" r="15" fill="#25006f" stroke="#7f72ff" stroke-width="3" stroke-opacity=".6"/></g><g class="lou-wave"><path d="M126 49 q-7 9 0 18" fill="none" stroke="#f5b21f" stroke-width="3.5" stroke-linecap="round" stroke-linejoin="round"/><path d="M117 42 q-12 16 0 32" fill="none" stroke="#f5b21f" stroke-width="3.5" stroke-linecap="round" stroke-linejoin="round" opacity=".6"/></g><g transform="rotate(9 58 70)"><circle cx="58" cy="54" r="30" fill="#7f72ff"/><ellipse cx="38" cy="64" rx="5" ry="3.4" fill="#ffd79a" opacity=".85"/><ellipse cx="78" cy="64" rx="5" ry="3.4" fill="#ffd79a" opacity=".85"/><ellipse cx="47" cy="50" rx="6" ry="7.5" fill="#ffffff"/><circle cx="49.2" cy="50" r="3.6" fill="#05050f"/><circle cx="50.46" cy="48.56" r="1.15" fill="#ffffff"/><ellipse cx="69" cy="50" rx="6" ry="7.5" fill="#ffffff"/><circle cx="71.2" cy="50" r="3.6" fill="#05050f"/><circle cx="72.46" cy="48.56" r="1.15" fill="#ffffff"/><path d="M50 67 q8 6 16 0" fill="none" stroke="#ffffff" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"/></g></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200" role="img" aria-label="Lou the Ell, Listening"><ellipse cx="100" cy="168" rx="64" ry="6" fill="#25006f" fill-opacity=".12"/><path d="M58 64 V146 H150" fill="none" stroke="#6331fb" stroke-width="16" stroke-linecap="round" stroke-linejoin="round"/><circle cx="58" cy="146" r="19" fill="#6331fb"/><circle cx="150" cy="146" r="12" fill="#6331fb"/><g class="lou-pulse"><circle cx="150" cy="58" r="15" fill="#e6defe" stroke="#6331fb" stroke-width="3" stroke-opacity=".6"/></g><g class="lou-wave"><path d="M126 49 q-7 9 0 18" fill="none" stroke="#f5b21f" stroke-width="3.5" stroke-linecap="round" stroke-linejoin="round"/><path d="M117 42 q-12 16 0 32" fill="none" stroke="#f5b21f" stroke-width="3.5" stroke-linecap="round" stroke-linejoin="round" opacity=".6"/></g><g transform="rotate(9 58 70)"><circle cx="58" cy="54" r="30" fill="#6331fb"/><ellipse cx="38" cy="64" rx="5" ry="3.4" fill="#ffd79a" opacity=".85"/><ellipse cx="78" cy="64" rx="5" ry="3.4" fill="#ffd79a" opacity=".85"/><ellipse cx="47" cy="50" rx="6" ry="7.5" fill="#ffffff"/><circle cx="49.2" cy="50" r="3.6" fill="#25006f"/><circle cx="50.46" cy="48.56" r="1.15" fill="#ffffff"/><ellipse cx="69" cy="50" rx="6" ry="7.5" fill="#ffffff"/><circle cx="71.2" cy="50" r="3.6" fill="#25006f"/><circle cx="72.46" cy="48.56" r="1.15" fill="#ffffff"/><path d="M50 67 q8 6 16 0" fill="none" stroke="#ffffff" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"/></g></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64" role="img" aria-label="Lou listening mark, dark"><path d="M15 15 V49 H49" fill="none" stroke="#7f72ff" stroke-width="5.2" stroke-linecap="round" stroke-linejoin="round"/><circle cx="15" cy="15" r="7.4" fill="#7f72ff"/><circle cx="49" cy="49" r="7" fill="#7f72ff"/><circle cx="15" cy="49" r="9.6" fill="#7f72ff"/><circle cx="49" cy="15" r="7" fill="#25006f" stroke="#7f72ff" stroke-width="2.4"/><path d="M36 8 q-4.5 7 0 14" fill="none" stroke="#f5b21f" stroke-width="3.4" stroke-linecap="round" stroke-linejoin="round"/></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64" role="img" aria-label="Lou listening mark"><path d="M15 15 V49 H49" fill="none" stroke="#6331fb" stroke-width="5.2" stroke-linecap="round" stroke-linejoin="round"/><circle cx="15" cy="15" r="7.4" fill="#6331fb"/><circle cx="49" cy="49" r="7" fill="#6331fb"/><circle cx="15" cy="49" r="9.6" fill="#6331fb"/><circle cx="49" cy="15" r="7" fill="#e6defe" stroke="#6331fb" stroke-width="2.4"/><path d="M36 8 q-4.5 7 0 14" fill="none" stroke="#f5b21f" stroke-width="3.4" stroke-linecap="round" stroke-linejoin="round"/></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200" role="img" aria-label="Lou the Ell, Writing / thinking, dark"><ellipse cx="100" cy="168" rx="64" ry="6" fill="#000000" fill-opacity=".35"/><path d="M58 64 V146 H150" fill="none" stroke="#7f72ff" stroke-width="16" stroke-linecap="round" stroke-linejoin="round"/><circle cx="58" cy="146" r="19" fill="#7f72ff"/><circle cx="150" cy="146" r="12" fill="#7f72ff"/><g class="lou-pulse"><circle cx="150" cy="58" r="15" fill="#25006f" stroke="#7f72ff" stroke-width="3" stroke-opacity=".6"/></g><circle cx="143" cy="58" r="2.2" fill="#7f72ff"/><circle cx="150" cy="58" r="2.2" fill="#7f72ff"/><circle cx="157" cy="58" r="2.2" fill="#7f72ff"/><g class="lou-write"><path d="M92 124 H140" fill="none" stroke="#e6defe" stroke-width="3.5" stroke-linecap="round" stroke-linejoin="round" opacity=".45"/><path d="M92 112 H124" fill="none" stroke="#e6defe" stroke-width="3.5" stroke-linecap="round" stroke-linejoin="round" opacity=".45"/><path d="M130 112 H136" fill="none" stroke="#e6defe" stroke-width="3.5" stroke-linecap="round" stroke-linejoin="round" opacity=".45"/></g><path d="M150 132 l-8 -14" fill="none" stroke="#f5b21f" stroke-width="5" stroke-linecap="round" stroke-linejoin="round"/><circle cx="150" cy="132" r="2" fill="#05050f"/><g transform="rotate(-4 58 70)"><circle cx="58" cy="54" r="30" fill="#7f72ff"/><ellipse cx="38" cy="64" rx="5" ry="3.4" fill="#ffd79a" opacity=".85"/><ellipse cx="78" cy="64" rx="5" ry="3.4" fill="#ffd79a" opacity=".85"/><ellipse cx="47" cy="50" rx="6" ry="7.5" fill="#ffffff"/><circle cx="47" cy="53" r="3.6" fill="#05050f"/><circle cx="48.26" cy="51.56" r="1.15" fill="#ffffff"/><ellipse cx="69" cy="50" rx="6" ry="7.5" fill="#ffffff"/><circle cx="69" cy="53" r="3.6" fill="#05050f"/><circle cx="70.26" cy="51.56" r="1.15" fill="#ffffff"/><path d="M53 70 q5 2 10 0" fill="none" stroke="#ffffff" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"/></g></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200" role="img" aria-label="Lou the Ell, Writing / thinking"><ellipse cx="100" cy="168" rx="64" ry="6" fill="#25006f" fill-opacity=".12"/><path d="M58 64 V146 H150" fill="none" stroke="#6331fb" stroke-width="16" stroke-linecap="round" stroke-linejoin="round"/><circle cx="58" cy="146" r="19" fill="#6331fb"/><circle cx="150" cy="146" r="12" fill="#6331fb"/><g class="lou-pulse"><circle cx="150" cy="58" r="15" fill="#e6defe" stroke="#6331fb" stroke-width="3" stroke-opacity=".6"/></g><circle cx="143" cy="58" r="2.2" fill="#6331fb"/><circle cx="150" cy="58" r="2.2" fill="#6331fb"/><circle cx="157" cy="58" r="2.2" fill="#6331fb"/><g class="lou-write"><path d="M92 124 H140" fill="none" stroke="#25006f" stroke-width="3.5" stroke-linecap="round" stroke-linejoin="round" opacity=".45"/><path d="M92 112 H124" fill="none" stroke="#25006f" stroke-width="3.5" stroke-linecap="round" stroke-linejoin="round" opacity=".45"/><path d="M130 112 H136" fill="none" stroke="#25006f" stroke-width="3.5" stroke-linecap="round" stroke-linejoin="round" opacity=".45"/></g><path d="M150 132 l-8 -14" fill="none" stroke="#f5b21f" stroke-width="5" stroke-linecap="round" stroke-linejoin="round"/><circle cx="150" cy="132" r="2" fill="#25006f"/><g transform="rotate(-4 58 70)"><circle cx="58" cy="54" r="30" fill="#6331fb"/><ellipse cx="38" cy="64" rx="5" ry="3.4" fill="#ffd79a" opacity=".85"/><ellipse cx="78" cy="64" rx="5" ry="3.4" fill="#ffd79a" opacity=".85"/><ellipse cx="47" cy="50" rx="6" ry="7.5" fill="#ffffff"/><circle cx="47" cy="53" r="3.6" fill="#25006f"/><circle cx="48.26" cy="51.56" r="1.15" fill="#ffffff"/><ellipse cx="69" cy="50" rx="6" ry="7.5" fill="#ffffff"/><circle cx="69" cy="53" r="3.6" fill="#25006f"/><circle cx="70.26" cy="51.56" r="1.15" fill="#ffffff"/><path d="M53 70 q5 2 10 0" fill="none" stroke="#ffffff" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"/></g></svg>
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="1280" height="720" viewBox="0 0 1280 720" role="img" aria-label="Lou"><title>Lou</title><rect width="1280" height="720" fill="#6331fb"/><g transform="translate(400 120) scale(7.5)"><path d="M15 15 V49 H49" fill="none" stroke="#ffffff" stroke-width="4.4" stroke-linecap="round" stroke-linejoin="round"/><circle cx="15" cy="15" r="6.6" fill="#ffffff"/><circle cx="49" cy="49" r="6.6" fill="#ffffff"/><circle cx="15" cy="49" r="9.2" fill="#ffffff"/><circle cx="49" cy="15" r="6.6" fill="#7a51fc" stroke="#ffffff" stroke-width="1.8" stroke-opacity="0.55"/></g></svg>
@@ -0,0 +1,92 @@
1
+ :is(
2
+ .btn-primary,
3
+ .btn-brand,
4
+ .btn-secondary,
5
+ .btn-brand-secondary,
6
+ .btn-tint,
7
+ .btn-danger,
8
+ .app-ui .conversation-send
9
+ ) {
10
+ border: 1px solid var(--btn-edge);
11
+ border-bottom-color: var(--btn-lip);
12
+ color: var(--btn-ink);
13
+ background: linear-gradient(180deg in oklch, var(--btn-sheen), transparent 70%), var(--btn-fill);
14
+ box-shadow:
15
+ inset 0 1px 0 var(--btn-highlight),
16
+ inset 0 -2px 0 var(--btn-bevel),
17
+ 0 1px 2px var(--btn-contact),
18
+ 0 8px 24px -6px var(--btn-glow);
19
+ }
20
+ @media (hover: hover) {
21
+ :is(
22
+ .btn-primary,
23
+ .btn-brand,
24
+ .btn-secondary,
25
+ .btn-brand-secondary,
26
+ .btn-tint,
27
+ .btn-danger,
28
+ .app-ui .conversation-send
29
+ ):hover:not(:disabled) {
30
+ border-color: var(--btn-edge-hover);
31
+ border-bottom-color: var(--btn-lip-hover);
32
+ color: var(--btn-ink-hover);
33
+ background:
34
+ linear-gradient(180deg in oklch, var(--btn-sheen), transparent 70%), var(--btn-fill-hover);
35
+ box-shadow:
36
+ inset 0 1px 0 var(--btn-highlight),
37
+ inset 0 -2px 0 var(--btn-bevel),
38
+ 0 2px 3px var(--btn-contact),
39
+ 0 12px 32px -6px var(--btn-glow);
40
+ }
41
+ }
42
+ :is(
43
+ .btn-primary,
44
+ .btn-brand,
45
+ .btn-secondary,
46
+ .btn-brand-secondary,
47
+ .btn-tint,
48
+ .btn-danger,
49
+ .app-ui .conversation-send
50
+ ):active:not(:disabled) {
51
+ box-shadow:
52
+ inset 0 2px 4px var(--btn-contact),
53
+ inset 0 -1px 0 var(--btn-bevel),
54
+ 0 1px 1px var(--btn-contact);
55
+ }
56
+ :is(
57
+ .btn-primary,
58
+ .btn-brand,
59
+ .btn-secondary,
60
+ .btn-brand-secondary,
61
+ .btn-tint,
62
+ .btn-danger,
63
+ .app-ui .conversation-send
64
+ ):disabled {
65
+ box-shadow: none;
66
+ }
67
+
68
+ @media (prefers-reduced-motion: no-preference) and (hover: hover) {
69
+ :is(.btn-primary, .btn-brand, .btn-brand-secondary, .app-ui .conversation-send):hover:not(
70
+ :disabled
71
+ ) {
72
+ transform: translateY(-1px);
73
+ }
74
+ :is(.btn-primary, .btn-brand, .btn-brand-secondary, .app-ui .conversation-send):active:not(
75
+ :disabled
76
+ ) {
77
+ transform: none;
78
+ }
79
+ }
80
+ @media (prefers-reduced-motion: reduce) {
81
+ :is(
82
+ .btn-primary,
83
+ .btn-brand,
84
+ .btn-secondary,
85
+ .btn-brand-secondary,
86
+ .btn-tint,
87
+ .btn-danger,
88
+ .app-ui .conversation-send
89
+ ):is(:hover, :active) {
90
+ transform: none;
91
+ }
92
+ }
package/css/button.css ADDED
@@ -0,0 +1,64 @@
1
+ .btn-primary,
2
+ .btn-secondary,
3
+ .btn-danger,
4
+ .btn-tint,
5
+ .btn-brand,
6
+ .btn-brand-secondary {
7
+ border-radius: var(--radius-md);
8
+ font-weight: var(--font-weight-medium);
9
+ transition:
10
+ background var(--duration-2) var(--ease-product),
11
+ border-color var(--duration-2) var(--ease-product),
12
+ box-shadow var(--duration-2) var(--ease-product),
13
+ transform var(--duration-1) var(--ease-product);
14
+ }
15
+ :is(.btn-primary, .btn-secondary, .btn-danger, .btn-tint, .btn-brand, .btn-brand-secondary):is(
16
+ :disabled,
17
+ [aria-disabled="true"]
18
+ ) {
19
+ opacity: 0.5;
20
+ cursor: not-allowed;
21
+ }
22
+
23
+ :is(
24
+ .btn-primary,
25
+ .btn-secondary,
26
+ .btn-danger,
27
+ .btn-tint,
28
+ .btn-brand,
29
+ .btn-brand-secondary,
30
+ .ui-button
31
+ ):active:not(:disabled, [aria-disabled="true"]) {
32
+ transform: translateY(1px);
33
+ }
34
+
35
+ .ui-button[data-size="xs"] {
36
+ min-height: var(--space-7);
37
+ gap: calc(var(--space-1) * 1.5);
38
+ border-radius: var(--radius-sm);
39
+ }
40
+ .ui-button[data-size="sm"] {
41
+ min-height: 34px;
42
+ }
43
+ .ui-button[data-size="md"] {
44
+ min-height: 40px;
45
+ }
46
+ .ui-button[data-size="lg"] {
47
+ min-height: var(--target-min);
48
+ }
49
+ @media (pointer: coarse) {
50
+ .ui-button {
51
+ position: relative;
52
+ }
53
+ .ui-button[data-size="md"] {
54
+ min-height: var(--target-min);
55
+ }
56
+ .ui-button::before {
57
+ content: "";
58
+ position: absolute;
59
+ inset: 50%;
60
+ width: max(100%, var(--target-min));
61
+ height: max(100%, var(--target-min));
62
+ transform: translate(-50%, -50%);
63
+ }
64
+ }