@charmland/gem 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 (121) hide show
  1. package/LICENSE +177 -0
  2. package/NOTICE +13 -0
  3. package/README.md +24 -2
  4. package/assets/fonts/Hypography-Italic.woff2 +0 -0
  5. package/assets/fonts/Hypography-Regular.woff2 +0 -0
  6. package/assets/fonts/PPFraktionMono-Variable.ttf +0 -0
  7. package/assets/fonts/PPFraktionMonoItalic-Variable.ttf +0 -0
  8. package/assets/fonts/PPFraktionSans-Variable.ttf +0 -0
  9. package/assets/fonts/PPFraktionSansItalic-Variable.ttf +0 -0
  10. package/bin/gem-elm.js +3 -0
  11. package/dist/browser/boot.d.ts +10 -0
  12. package/dist/browser/boot.js +14 -0
  13. package/dist/browser/color-scheme.d.ts +9 -0
  14. package/dist/browser/color-scheme.js +76 -0
  15. package/dist/browser/ports.d.ts +37 -0
  16. package/dist/browser/ports.js +90 -0
  17. package/dist/browser/router.d.ts +5 -0
  18. package/dist/browser/router.js +35 -0
  19. package/dist/browser/runtime.d.ts +12 -0
  20. package/dist/browser/runtime.js +22 -0
  21. package/dist/browser/tabs.d.ts +9 -0
  22. package/dist/browser/tabs.js +69 -0
  23. package/dist/default/theme.css +4664 -0
  24. package/dist/default/theme.js +13652 -0
  25. package/dist/node/build.d.ts +16 -0
  26. package/dist/node/build.js +48 -0
  27. package/dist/node/cli.d.ts +2 -0
  28. package/dist/node/cli.js +21 -0
  29. package/elm.json +28 -0
  30. package/package.json +86 -4
  31. package/src/app/Gem/App.elm +1275 -0
  32. package/src/app/Gem/CharmSticker.elm +35 -0
  33. package/src/app/Gem/Components.elm +292 -0
  34. package/src/app/Gem/Main.elm +17 -0
  35. package/src/app/Gem/Ports.elm +32 -0
  36. package/src/app/Gem/Shell.elm +964 -0
  37. package/src/browser/theme.d.ts +1 -0
  38. package/src/core/Gem/Node.elm +219 -0
  39. package/src/core/Gem/Page.elm +409 -0
  40. package/src/core/Gem/Render.elm +472 -0
  41. package/src/core/Gem/Slots.elm +11 -0
  42. package/src/styles/docs.scss +1083 -0
  43. package/src/styles/fonts.scss +51 -0
  44. package/src/styles/gem.scss +362 -0
  45. package/src/styles/theme.scss +8 -0
  46. package/src/styles/ui/burger.scss +272 -0
  47. package/src/styles/ui/button.scss +350 -0
  48. package/src/styles/ui/charmtone.scss +70 -0
  49. package/src/styles/ui/controls-extra.scss +316 -0
  50. package/src/styles/ui/controls.scss +110 -0
  51. package/src/styles/ui/display.scss +359 -0
  52. package/src/styles/ui/dropdown.scss +341 -0
  53. package/src/styles/ui/form.scss +314 -0
  54. package/src/styles/ui/menu.scss +200 -0
  55. package/src/styles/ui/meter.scss +124 -0
  56. package/src/styles/ui/modal.scss +545 -0
  57. package/src/styles/ui/oauth.scss +50 -0
  58. package/src/styles/ui/page-nav.scss +63 -0
  59. package/src/styles/ui/reset.scss +111 -0
  60. package/src/styles/ui/scrollbar.scss +39 -0
  61. package/src/styles/ui/search.scss +164 -0
  62. package/src/styles/ui/sidebar.scss +229 -0
  63. package/src/styles/ui/squircle.scss +60 -0
  64. package/src/styles/ui/table.scss +97 -0
  65. package/src/styles/ui/theme.scss +132 -0
  66. package/src/styles/ui/toast.scss +587 -0
  67. package/src/styles/ui/toc.scss +128 -0
  68. package/src/styles/ui/typography.scss +21 -0
  69. package/src/styles/ui/ui.scss +33 -0
  70. package/src/ui/Ui/Badge.elm +51 -0
  71. package/src/ui/Ui/Banner.elm +97 -0
  72. package/src/ui/Ui/Burger.elm +259 -0
  73. package/src/ui/Ui/Button.elm +261 -0
  74. package/src/ui/Ui/Card.elm +32 -0
  75. package/src/ui/Ui/Cards.elm +15 -0
  76. package/src/ui/Ui/ChoiceGroup.elm +62 -0
  77. package/src/ui/Ui/CopyButton.elm +139 -0
  78. package/src/ui/Ui/Divider.elm +16 -0
  79. package/src/ui/Ui/Dropdown.elm +600 -0
  80. package/src/ui/Ui/Empty.elm +41 -0
  81. package/src/ui/Ui/ErrorBubble.elm +34 -0
  82. package/src/ui/Ui/Field.elm +45 -0
  83. package/src/ui/Ui/FormStatus.elm +32 -0
  84. package/src/ui/Ui/Icon.elm +381 -0
  85. package/src/ui/Ui/InlineForm.elm +51 -0
  86. package/src/ui/Ui/Input.elm +113 -0
  87. package/src/ui/Ui/KeyValue.elm +25 -0
  88. package/src/ui/Ui/ListRow.elm +67 -0
  89. package/src/ui/Ui/Loader.elm +32 -0
  90. package/src/ui/Ui/Logo/Charm.elm +21 -0
  91. package/src/ui/Ui/Logo/CharmMark.elm +32 -0
  92. package/src/ui/Ui/Logo/CharmSticker.elm +35 -0
  93. package/src/ui/Ui/Logo/Discord.elm +26 -0
  94. package/src/ui/Ui/Logo/GitHub.elm +21 -0
  95. package/src/ui/Ui/Logo/Google.elm +21 -0
  96. package/src/ui/Ui/Logo/Hexy.elm +29 -0
  97. package/src/ui/Ui/Logo/Hyper.elm +42 -0
  98. package/src/ui/Ui/Logo/Integration.elm +117 -0
  99. package/src/ui/Ui/Logo/Prism.elm +35 -0
  100. package/src/ui/Ui/Logos.elm +115 -0
  101. package/src/ui/Ui/Menu.elm +348 -0
  102. package/src/ui/Ui/Meter.elm +132 -0
  103. package/src/ui/Ui/Modal.elm +247 -0
  104. package/src/ui/Ui/Motion.elm +32 -0
  105. package/src/ui/Ui/NumberBox.elm +86 -0
  106. package/src/ui/Ui/OAuthButton.elm +39 -0
  107. package/src/ui/Ui/PageNav.elm +65 -0
  108. package/src/ui/Ui/Pager.elm +49 -0
  109. package/src/ui/Ui/Search.elm +396 -0
  110. package/src/ui/Ui/SearchBox.elm +78 -0
  111. package/src/ui/Ui/Section.elm +21 -0
  112. package/src/ui/Ui/Sidebar.elm +239 -0
  113. package/src/ui/Ui/Stat.elm +29 -0
  114. package/src/ui/Ui/Switch.elm +34 -0
  115. package/src/ui/Ui/Table.elm +89 -0
  116. package/src/ui/Ui/Tabs.elm +280 -0
  117. package/src/ui/Ui/ToC.elm +120 -0
  118. package/src/ui/Ui/Toast.elm +1145 -0
  119. package/src/ui/Ui/Toolbar.elm +31 -0
  120. package/src/ui/Ui/TwoStepConfirm.elm +159 -0
  121. package/src/ui/Ui/Typography.elm +33 -0
@@ -0,0 +1,21 @@
1
+ module Ui.Logo.Charm exposing (view)
2
+
3
+ import Html exposing (Html)
4
+ import Svg exposing (path, svg)
5
+ import Svg.Attributes exposing (class, d, fill, height, viewBox, width)
6
+
7
+
8
+ view : Html msg
9
+ view =
10
+ svg
11
+ [ class "charm-logo"
12
+ , width "500"
13
+ , height "150"
14
+ , fill "none"
15
+ , viewBox "0 0 500 150"
16
+ ]
17
+ [ path
18
+ [ d "M37.996 112.893c5.837 0 11.261-2.438 15.466-5.861 2.594-2.106 5.27-1.535 5.807.944.206.923.248 1.898.248 2.894 0 10.975-8.772 24.107-30.964 24.107-18.05 0-30.469-7.977-28.31-32.25l2.15-24.605c1.322-15.457 7.118-28.59 18.38-35.902 5.961-3.828 13.576-5.986 22.843-5.986 14.568 0 19.207 5.82 19.207 12.137 0 4.16-2.149 8.641-5.3 10.809-2.81-.498-5.466-.83-8.11-.83-5.3 0-10.105 1.162-13.576 4.326-2.976 2.655-4.97 6.815-5.466 12.634l-2.314 25.27c-.662 7.136 1.488 12.313 9.939 12.313m58.188 6.296c-.496 5.653-2.976 9.139-6.458 11.472-4.97 3.33-10.765 4.326-15.725 4.326-5.135 0-6.622-2.821-6.126-8.143l9.608-110.392c.496-5.156 2.15-9.637 5.796-11.805C88.57 1.494 94.2 0 99.17 0c4.639 0 7.284 2.49 6.954 5.82l-3.978 41.389h1.984c2.149-2.656 4.473-4.824 6.788-6.484 4.473-2.987 9.433-4.491 15.063-4.491 12.089 0 18.05 6.317 16.727 20.943l-5.3 61.503c-.496 5.156-2.149 9.139-5.796 11.307-5.631 3.496-10.931 4.99-15.89 4.99-5.135 0-7.119-2.822-6.788-6.318l5.3-61.834c.331-3.33-.661-4.99-3.482-4.99-1.818 0-4.639.498-5.961 1.328-2.81 1.66-3.978 3.496-4.308 6.483zm122.359-.497c-.496 5.156-1.984 8.973-5.796 11.307-5.631 3.496-10.766 4.989-15.229 4.989-4.639 0-6.623-2.489-6.292-5.819l.496-6.483h-1.819c-1.157 1.825-2.149 3.496-3.481 4.823-3.978 4.16-8.937 7.479-17.223 7.479-15.395 0-20.199-13.464-19.042-27.426l2.48-28.755c1.488-17.292 7.284-26.763 16.551-33.08 8.276-5.654 18.876-9.471 31.295-9.471 6.623 0 12.584.664 16.221 1.66 6.788 1.825 8.276 4.491 7.945 8.972zm-40.397-10.809c-.331 4.658 1.488 6.649 5.135 6.649 2.149 0 3.977-.663 5.465-1.825 1.819-1.328 2.976-3.496 3.141-5.986l4.308-49.698c-.661-.166-1.818-.332-3.481-.332-3.317 0-5.962 1.328-7.946 3.662-1.818 2.158-2.975 5.487-3.316 9.637zm88.904-58.184c2.645-6.483 7.946-13.465 17.048-13.465 7.284 0 10.27 4.326 10.27 10.311 0 4.99-1.984 10.975-5.301 16.629-2.975-.83-5.961-1.162-8.771-.996-8.772.332-15.891 5.487-16.717 14.626l-3.482 42.385c-.496 5.654-2.975 9.139-6.457 11.473-4.97 3.33-10.766 4.326-15.725 4.326-5.135 0-6.623-2.822-6.127-8.143l6.458-74.138c.495-5.155 2.149-9.637 5.796-11.805 5.3-3.153 10.6-4.657 15.559-4.657 4.639 0 6.623 2.49 6.292 5.82l-.661 7.644h1.818zm108.287 78.961 5.465-64.5c.331-3.33-.165-4.99-2.975-4.99-1.818 0-4.143.497-5.466 1.327-2.644 1.66-4.143 3.994-4.308 6.65l-4.474 51.534c-.495 5.155-2.149 9.139-5.796 11.307-5.63 3.496-10.931 4.989-15.89 4.989-5.135 0-7.118-2.821-6.788-6.317l5.466-64.5c.33-3.33-.166-4.99-2.976-4.99-1.818 0-4.308.497-5.631 1.327-2.81 1.66-3.977 3.496-4.308 6.484l-4.474 52.198c-.496 5.653-2.975 9.139-6.457 11.473-4.97 3.33-10.766 4.325-15.725 4.325-5.135 0-6.623-2.821-6.127-8.143l6.458-74.137c.496-5.156 2.149-9.637 5.796-11.805 5.3-3.154 10.6-4.658 15.559-4.658 4.639 0 6.623 2.49 6.292 5.82l-.495 5.155h1.818c1.653-1.991 3.316-3.828 5.135-5.155 4.969-3.994 10.6-5.82 17.058-5.82 10.765 0 14.733 5.322 16.22 10.975h1.323c1.818-2.157 4.143-4.16 6.127-5.653 4.804-3.662 10.269-5.322 16.561-5.322 12.088 0 17.719 6.318 16.386 20.944l-5.3 61.503c-.496 5.155-2.149 9.139-5.796 11.307-5.631 3.496-10.931 4.989-15.89 4.989-5.135 0-7.119-2.821-6.788-6.317m42.185 20.767c-4.143 0-6.788-1.991-6.788-6.317 0-7.977 2.645-12.8 8.275-12.8h55.461c4.308 0 6.953 1.991 6.953 6.317 0 7.977-2.645 12.8-8.275 12.8zm70.194-25.145h-1.819v-1.12h5.011v1.12h-1.798v4.938h-1.394zm4.752-1.12h2.418l1.219 5.135h.238l1.198-5.135H500v6.058h-1.26v-5.176h-.248l-1.22 5.176h-2.097l-1.26-5.176h-.248v5.176h-1.199z"
19
+ ]
20
+ []
21
+ ]
@@ -0,0 +1,32 @@
1
+ module Ui.Logo.CharmMark exposing (view)
2
+
3
+ {-| The Charm mark (the round charple glyph), standing in for Crush, the
4
+ Charm agent, in the home page's integrations grid. Source backup:
5
+ img/charm-mark.svg, vendored from the old frontend's producer logos.
6
+ -}
7
+
8
+ import Html exposing (Html)
9
+ import Svg exposing (path, svg)
10
+ import Svg.Attributes exposing (class, d, fill, height, viewBox, width)
11
+
12
+
13
+ view : Html msg
14
+ view =
15
+ svg
16
+ [ class "charm-mark"
17
+ , width "512"
18
+ , height "512"
19
+ , fill "none"
20
+ , viewBox "0 0 512 512"
21
+ ]
22
+ [ path
23
+ [ fill "#6b50ff"
24
+ , d "M277.814 220.797c-1.096-.923-2.423-1.327-3.751-1.154-2.712.289-4.617 2.539-5.136 6.233-.577 3.866-.635 19.39.462 22.679.808 2.54 2.885 4.098 5.251 4.098h.404c2.136-.173 4.617-1.674 5.136-4.79.751-4.271.578-17.601.174-22.103-.174-1.904-1.155-3.809-2.54-4.905zM337.544 220.451c-1.847-.577-3.636 0-5.078 1.558-.866.923-1.328 2.77-1.443 3.693-.462 4.156-.577 18.064 0 22.161.462 2.77 2.597 4.732 5.252 4.732 2.25 0 5.02-1.558 5.597-5.829.577-4.155.577-16.389 0-20.486-.404-2.771-2.193-5.137-4.443-5.829h.115M254.153 248.094c-5.02.692-7.213 5.367-6.752 9.637.404 3.751 2.944 7.676 7.676 7.676h.635c2.943-.231 5.251-1.732 6.463-4.386 1.443-3.174 1.039-7.329-.981-10.042-1.674-2.25-4.155-3.231-6.983-2.885zM361.205 252.018c-1.328-2.597-3.636-3.982-6.579-3.866-4.617.173-6.637 4.039-6.925 7.329-.404 3.808 1.327 8.137 5.367 9.118a8.5 8.5 0 0 0 2.077.231c2.136 0 3.925-.866 5.252-2.54 2.135-2.712 2.481-7.156.865-10.33h-.057zM296.166 262.463v.635c-.288 6.06 2.828 8.83 4.675 9.926a9.47 9.47 0 0 0 4.963 1.385c1.731 0 3.404-.404 4.905-1.269 3.289-1.905 5.136-5.54 5.021-9.984v-.635h-19.564zM38.32 391.502h.057v-.057z"
25
+ ]
26
+ []
27
+ , path
28
+ [ fill "#6b50ff"
29
+ , d "M256 0C114.611 0 0 114.611 0 256c0 21.757 2.712 42.878 7.849 63.019l97.413-97.356c.174.692.289 1.442.52 2.135 1.558 5.136 4.328 9.811 7.098 13.908l-99.607 99.607c1.328 3.982 2.77 7.906 4.27 11.83L119.46 247.228c2.77 3.924 5.656 7.733 8.426 11.369.519.692 1.096 1.443 1.615 2.135L24.642 365.591a369 369 0 0 0 5.367 10.676L136.31 269.966c3.347 4.674 6.464 9.406 9.176 14.369L38.608 391.214a215 215 0 0 0 6.348 9.695l105.666-105.666c.75 2.019 1.443 4.039 2.078 6.117 1.212 4.27 2.02 8.541 2.539 12.869L54.997 414.471c2.366 3.001 4.79 5.886 7.272 8.772l93.951-93.952c.058 6.06-.173 12.235-.404 18.583-.058 1.789-.115 3.693-.173 5.54l-82.12 82.121c2.654 2.712 5.366 5.367 8.194 7.906l73.753-73.753v2.539c.231 6.464.577 13.043 1.904 19.102l-63.076 63.077a210 210 0 0 0 9.002 7.04l58.633-58.633c3.232 5.021 7.791 8.426 13.447 10.1l-58.172 58.171a220 220 0 0 0 9.984 6.117l63.827-63.827c2.366-.404 4.79-.981 7.444-1.731 10.504-3.116 20.545-8.022 30.183-12.696l.692-.346-86.853 86.853c3.578 1.789 7.272 3.462 10.965 5.078l103.473-103.473c5.137-1.443 10.273-2.366 15.467-2.366 1.962 0 3.981.115 5.944.403 1.154.174 2.25.462 3.404.693L170.301 497.226a213 213 0 0 0 12.119 3.982l111.899-111.899c4.386 1.616 8.83 3.463 13.389 5.367 1.096.462 2.251.924 3.405 1.385L201.176 505.998c4.443.981 8.945 1.847 13.446 2.597l108.033-108.032c1.616.577 3.231 1.212 4.905 1.731 5.425 1.731 9.984 2.77 14.023 3.232L235.975 511.134c6.636.52 13.273.866 20.025.866 141.389 0 256-114.611 256-256S397.389 0 256 0m121.767 95.048c1.212 21.237 18.237 38.261 39.416 39.589-21.122 1.269-38.031 18.178-39.416 39.242-1.212-21.237-18.236-38.261-39.415-39.589 21.121-1.269 38.03-18.178 39.415-39.242M346.431 394.56c-4.097 0-9.176-1.097-15.466-3.059-17.025-5.367-33.01-15.235-51.073-17.659a54 54 0 0 0-7.445-.519c-22.622 0-42.993 13.446-63.769 22.391a627 627 0 0 1-5.944 2.424c-.462.173-.981.404-1.443.577a115 115 0 0 1-4.732 1.616c-.462.115-.866.288-1.327.461a70 70 0 0 1-6.117 1.443c-.174 0-.289 0-.462.058-1.789.288-3.463.462-4.963.462-14.716 0-16.274-13.447-16.851-30.817-.174-5.887-.058-11.715.115-17.544 0-.981.058-1.904.115-2.886.635-17.774 1.674-35.318-3.404-53.15-6.868-24.065-23.777-41.436-37.512-61.288-5.944-8.599-16.678-22.333-5.194-30.759 10.965-8.079 40.917-12.119 55.344-17.197 37.05-12.985 44.206-35.954 64.173-65.789 4.617-6.926 15.005-22.276 23.488-23.777.75-.115 1.558-.173 2.308-.173.924 0 1.847.058 2.77.289.058 0 .173 0 .231.057.75.173 1.501.404 2.251.635.115 0 .231.115.346.173.693.289 1.385.577 2.078.981l.346.173c.692.404 1.385.808 2.077 1.328.058 0 .174.115.231.173.751.519 1.443 1.096 2.193 1.673 7.56 6.406 13.851 16.909 18.006 23.315 18.813 29.028 26.027 50.9 60.71 64.981 11.023 4.502 37.338 10.215 44.841 17.486h-.058c8.426 8.195-1.154 22.045-5.944 30.009-10.734 17.948-23.488 33.414-29.086 54.19-6.81 25.161-1.731 51.073-4.501 76.58-1.154 10.388-3.29 16.851-7.272 20.314l-.23.231c-2.309 1.847-5.194 2.712-8.83 2.712zm67.52-16.274c-.808-14.081-12.061-25.393-26.142-26.258 14.023-.866 25.219-12.061 26.142-26.027.808 14.081 12.062 25.392 26.143 26.258-14.024.865-25.219 12.061-26.143 26.027m33.703-119.055c-.52-9.234-7.907-16.678-17.14-17.255 9.176-.578 16.563-7.907 17.14-17.083.519 9.234 7.906 16.679 17.139 17.256-9.175.577-16.562 7.906-17.139 17.082"
30
+ ]
31
+ []
32
+ ]
@@ -0,0 +1,35 @@
1
+ module Ui.Logo.CharmSticker exposing (view)
2
+
3
+ import Html exposing (Html)
4
+ import Svg exposing (g, path, svg)
5
+ import Svg.Attributes exposing (class, d, fill, viewBox)
6
+
7
+
8
+ {-| The Charm sticker: the wordmark and mascot printed on a purple
9
+ rounded blob. Unlike the plain wordmark it carries its own brand
10
+ colors, so it ignores the surrounding text color. Source SVG backed up
11
+ in `src/img/charm-sticker.svg`.
12
+ -}
13
+ view : Html msg
14
+ view =
15
+ svg
16
+ [ class "charm-sticker"
17
+ , viewBox "0 0 215.92 122.78"
18
+ ]
19
+ [ path
20
+ [ fill "#6B50FF"
21
+ , d "M211.9 28.75c-3.05-2.97-7.33-4.28-11.47-5.55-.79-.24-1.98-.61-2.35-.76-3.07-1.25-3.85-2.39-6.63-7.02-.69-1.15-1.47-2.46-2.37-3.84l-.29-.46C186.48 7.51 181.68 0 172.95 0c-.79 0-1.58.07-2.35.2-5.76.99-9.45 5.45-12.58 10.12-1 1.5-1.87 2.91-2.63 4.15-1.25 2.04-2.53 4.38-4.54 5.82-3.02 2.16-8.07 4.2-18.27 4.2l-87.34-.03c-15.36 0-28.2 7.09-36.15 19.98C3.06 54.2 0 67.24 0 83.19c0 23.65 16.39 39.54 40.81 39.55l120.72.04c11.9 0 23.32-4.61 31.33-13.51 8.6-9.55 11.72-22.02 13.09-34.5.33-3 .29-5.86.26-8.38-.04-3.01-.07-5.61.48-7.65.53-1.94 1.8-3.9 3.42-6.39.69-1.07 1.41-2.17 2.14-3.38l.22-.36c.8-1.31 2.01-3.29 2.77-5.77 1.6-5.23.35-10.49-3.34-14.08Z"
22
+ ]
23
+ []
24
+ , g
25
+ [ fill "#FFFAF1" ]
26
+ [ path
27
+ [ d "M187.84 85.37c-1.03 3.36-2.33 6.35-3.93 8.94-4.96 8.04-12.7 12.29-22.37 12.28l-120.72-.04c-15.66 0-24.64-8.52-24.64-23.36 0-12.91 2.25-23.09 6.68-30.26 4.97-8.05 12.7-12.3 22.38-12.3l86.58.03c-.55-1.85-.56-3.69-.13-5.39l-86.46-.03c-11.64 0-20.96 5.13-26.96 14.85-4.96 8.03-7.47 19.17-7.48 33.09 0 17.73 11.5 28.74 30.02 28.75l120.72.04c11.64 0 20.96-5.13 26.96-14.84 2.03-3.3 3.64-7.14 4.84-11.46-.68.11-1.33.16-1.91.16-1.09 0-2.27-.16-3.58-.47Z"
28
+ ]
29
+ []
30
+ , path
31
+ [ d "M204.36 36.48c-1.73-1.68-7.81-3.01-10.35-4.04-8-3.25-9.67-8.3-14-15.01-1.53-2.36-4.33-7.16-7.6-6.6-1.96.34-4.36 3.89-5.43 5.48-4.6 6.88-6.26 12.2-14.81 15.19-3.33 1.16-10.24 2.1-12.77 3.96-2.65 1.95-.17 5.12 1.2 7.11 3.16 4.59 7.07 8.6 8.65 14.16 1.62 5.7.55 11.24.73 16.99.15 4.89.65 8.41 6.54 6.66 6.43-1.91 12.48-7.16 19.54-6.21 4.17.56 7.86 2.85 11.79 4.08 5.06 1.59 6.78.66 7.37-4.67.65-5.89-.52-11.86 1.05-17.68 1.3-4.79 4.24-8.37 6.71-12.5 1.1-1.84 3.31-5.04 1.38-6.93ZM170.5 48.99c-2.16.15-2.42-3.4-.32-3.69 2.25-.31 2.59 3.53.32 3.69m5.5-3.93c-.21 1.19-1.79 1.38-2.2.15-.24-.73-.22-4.3-.1-5.17.09-.59.37-1.24 1.05-1.31.72-.07 1.22.62 1.28 1.27.1 1.04.14 4.1-.04 5.06Zm4 3.56h4.22c.06 3.26-4.35 3.28-4.22 0m10.28-3.78c-.22 1.61-2.01 1.52-2.21.25-.15-.92-.12-4.11 0-5.08.03-.23.14-.6.29-.76.75-.82 1.79-.13 1.93.9.13.93.12 3.76 0 4.69Zm2.73 3.98c-1.62-.39-1.49-3.43.34-3.5 2.29-.08 2.07 4.08-.34 3.5M38.45 84.35c1.63 0 3.15-.68 4.33-1.64.73-.59 1.47-.43 1.63.27.06.26.07.53.07.81 0 3.09-2.46 6.78-8.68 6.77-5.06 0-8.53-2.25-7.93-9.07l.61-6.92c.37-4.34 2-8.04 5.15-10.09 1.67-1.07 3.8-1.68 6.4-1.68 4.08 0 5.38 1.64 5.38 3.41 0 1.1-.52 2.26-1.33 2.92-.08.06-.21.11-.36.08-.71-.13-1.39-.2-2.07-.2-1.48 0-2.83.33-3.8 1.21-.83.75-1.39 1.91-1.53 3.55l-.65 7.1c-.19 2.01.42 3.46 2.78 3.46ZM63.1 62.8c-1.58 0-2.97.42-4.22 1.26-.65.47-1.46 1.3-1.9 1.82-.29.34-.57.05-.54-.15s1.1-11.48 1.1-11.48c.09-.94-.65-1.64-1.95-1.64-1.39 0-2.97.42-4.45 1.31-1.02.61-1.49 1.87-1.63 3.32l-2.7 31.03c-.14 1.49.28 2.29 1.72 2.29s3.01-.28 4.4-1.21c.98-.66 1.67-1.64 1.81-3.23l1.21-13.93c.09-.84.42-1.35 1.21-1.82.37-.23 1.16-.37 1.67-.37.79 0 1.07.47.98 1.4l-1.49 17.38c-.09.98.46 1.77 1.9 1.78s2.87-.42 4.45-1.4c1.02-.61 1.49-1.73 1.62-3.18l1.49-17.29c.37-4.11-1.3-5.89-4.68-5.89m46.87 2.92c0-1.68-.84-2.9-2.88-2.9-2.41 0-3.88 1.76-4.65 3.49-.04.1-.14.35-.39.29s-.21-.34-.21-.34l.16-1.81c.09-.94-.46-1.63-1.76-1.64-1.39 0-2.87.42-4.36 1.31-1.02.61-1.48 1.87-1.62 3.32l-1.81 20.84c-.14 1.5.28 2.29 1.72 2.29 1.39 0 3.01-.28 4.4-1.21.98-.66 1.67-1.64 1.81-3.23l.98-11.92c.23-2.57 2.23-4.02 4.68-4.11.64-.04 1.32 0 2 .17.4.1.66-.24.77-.44.75-1.44 1.18-2.88 1.18-4.12Zm30.98 20.29 1.49-17.29c.38-4.11-1.2-5.89-4.59-5.89-1.76 0-3.29.47-4.64 1.5-.55.42-1.39 1.19-1.62 1.48-.11.14-.43.22-.53-.11-.46-1.51-1.46-2.87-4.47-2.87-1.81 0-3.39.51-4.78 1.64-.51.37-1.22 1.13-1.43 1.43-.18.26-.53.12-.5-.16.04-.32.12-1.27.12-1.27.09-.94-.46-1.64-1.76-1.64-1.39 0-2.87.42-4.36 1.31-1.02.61-1.49 1.87-1.62 3.32l-1.82 20.84c-.14 1.49.28 2.29 1.72 2.29s3.01-.28 4.4-1.22c.98-.66 1.67-1.63 1.81-3.23l1.26-14.67c.09-.84.42-1.35 1.21-1.82.37-.23 1.07-.37 1.58-.37.79 0 .93.47.83 1.4l-1.54 18.13c-.09.98.46 1.78 1.9 1.78s2.88-.42 4.45-1.4c1.02-.61 1.48-1.73 1.62-3.18l1.26-14.49c.05-.75.47-1.4 1.21-1.87.37-.23 1.02-.37 1.53-.37.79 0 .93.47.84 1.4l-1.54 18.13c-.09.98.46 1.78 1.9 1.78 1.39 0 2.88-.42 4.45-1.4 1.02-.61 1.48-1.73 1.62-3.18m20.81 5.05c0-1.22-.74-1.78-1.95-1.78h-15.53c-1.58 0-2.32 1.35-2.32 3.59 0 1.22.74 1.78 1.9 1.78h15.58c1.58 0 2.32-1.35 2.32-3.59M90.74 65.81 89.02 86c-.14 1.45-.56 2.52-1.62 3.18-1.58.98-3.02 1.4-4.27 1.4s-1.85-.7-1.76-1.64c0 0 .09-1.33.15-1.71s-.38-.47-.56-.13c-.17.34-.56 1-.94 1.37-1.11 1.17-2.5 2.1-4.82 2.1-4.31 0-5.65-3.79-5.33-7.71l.7-8.08c.42-4.86 2.04-7.52 4.64-9.3 2.32-1.59 5.29-2.66 8.77-2.66 1.86 0 3.53.19 4.54.47 1.9.52 2.32 1.27 2.23 2.52Zm-7.97 2.84c-.19-.05-.51-.09-.98-.09-.93 0-1.67.37-2.22 1.03-.51.61-.83 1.54-.93 2.71l-.93 10.65c-.09 1.31.42 1.87 1.44 1.87.6 0 1.11-.19 1.53-.51.51-.38.83-.98.88-1.68l1.21-13.97Zm79.32 17.43h.68v2.02h.54v-2.02h.69v-.44h-1.91zm2.18 2.02h.53v-.43c0-.33-.02-.67-.04-1.01l.51 1.38h.49l.51-1.38c-.02.35-.04.7-.04 1v.43h.54v-2.45h-.6l-.65 1.84-.65-1.84h-.6v2.45Z"
32
+ ]
33
+ []
34
+ ]
35
+ ]
@@ -0,0 +1,26 @@
1
+ module Ui.Logo.Discord exposing (view)
2
+
3
+ {-| The Discord mark: the chat bubble with a pair of eyes. Filled with
4
+ `currentColor`, so it follows whatever text color surrounds it. Backed up
5
+ as `src/img/discord.svg`.
6
+ -}
7
+
8
+ import Html exposing (Html)
9
+ import Svg exposing (path, svg)
10
+ import Svg.Attributes exposing (class, d, fill, height, viewBox, width)
11
+
12
+
13
+ view : Html msg
14
+ view =
15
+ svg
16
+ [ class "discord-logo"
17
+ , width "71"
18
+ , height "55"
19
+ , fill "currentColor"
20
+ , viewBox "0 0 71 55"
21
+ ]
22
+ [ path
23
+ [ d "M60.1045 4.8978C55.5792 2.8214 50.7265 1.2916 45.6527 0.41542C45.5603 0.39851 45.468 0.440769 45.4204 0.525289C44.7963 1.6353 44.105 3.0834 43.6209 4.2216C38.1637 3.4046 32.7345 3.4046 27.3892 4.2216C26.905 3.0581 26.1886 1.6353 25.5617 0.525289C25.5141 0.443589 25.4218 0.40133 25.3294 0.41542C20.2584 1.2888 15.4057 2.8186 10.8776 4.8978C10.8384 4.9147 10.8048 4.9429 10.7825 4.9795C1.57795 18.7309 -0.943561 32.1443 0.293408 45.3914C0.299005 45.4562 0.335386 45.5182 0.385761 45.5576C6.45866 50.0174 12.3413 52.7249 18.1147 54.5195C18.2071 54.5477 18.305 54.5139 18.3638 54.4378C19.7295 52.5728 20.9469 50.6063 21.9907 48.5383C22.0523 48.4172 21.9935 48.2735 21.8676 48.2256C19.9366 47.4931 18.0979 46.6 16.3292 45.5858C16.1893 45.5041 16.1781 45.304 16.3068 45.2082C16.679 44.9293 17.0513 44.6391 17.4067 44.3461C17.471 44.2926 17.5606 44.2813 17.6362 44.3151C29.2558 49.6202 41.8354 49.6202 53.3179 44.3151C53.3935 44.2785 53.4831 44.2898 53.5502 44.3433C53.9057 44.6363 54.2779 44.9293 54.6529 45.2082C54.7816 45.304 54.7732 45.5041 54.6333 45.5858C52.8646 46.6197 51.0259 47.4931 49.0921 48.2228C48.9662 48.2707 48.9102 48.4172 48.9718 48.5383C50.038 50.6034 51.2554 52.5699 52.5959 54.435C52.6519 54.5139 52.7526 54.5477 52.845 54.5195C58.6464 52.7249 64.529 50.0174 70.6019 45.5576C70.6551 45.5182 70.6887 45.459 70.6943 45.3942C72.1747 30.0791 68.2147 16.7757 60.1968 4.9823C60.1772 4.9429 60.1437 4.9147 60.1045 4.8978ZM23.7259 37.3253C20.2276 37.3253 17.3451 34.1136 17.3451 30.1693C17.3451 26.225 20.1717 23.0133 23.7259 23.0133C27.308 23.0133 30.1626 26.2532 30.1066 30.1693C30.1066 34.1136 27.28 37.3253 23.7259 37.3253ZM47.3178 37.3253C43.8196 37.3253 40.9371 34.1136 40.9371 30.1693C40.9371 26.225 43.7636 23.0133 47.3178 23.0133C50.9 23.0133 53.7545 26.2532 53.6986 30.1693C53.6986 34.1136 50.9 37.3253 47.3178 37.3253Z"
24
+ ]
25
+ []
26
+ ]
@@ -0,0 +1,21 @@
1
+ module Ui.Logo.GitHub exposing (view)
2
+
3
+ import Html exposing (Html)
4
+ import Svg exposing (path, svg)
5
+ import Svg.Attributes exposing (class, d, fill, height, viewBox, width)
6
+
7
+
8
+ view : Html msg
9
+ view =
10
+ svg
11
+ [ class "github-logo"
12
+ , width "37"
13
+ , height "36"
14
+ , fill "none"
15
+ , viewBox "0 0 37 36"
16
+ ]
17
+ [ path
18
+ [ d "M18.5 0C8.256 0 0 8.21 0 18.277 0 26.772 5.908 33.965 13.875 36v-3.677c-5.817-1.731-7.371-6.086-7.443-6.264a.535.535 0 0 1 .253-.59c.162-.124.415-.089.596.09.036 0 3.161 3.034 7.028 2.963.289-.768.758-1.535 1.5-2.089-4.97-.75-8.871-3.623-8.871-8.156 0-1.857.776-3.73 2.15-5.248-.434-1.731-.615-3.855.162-5.408 1.97.16 3.902 1.143 5.348 2.017 1.21-.285 2.493-.5 3.902-.5s2.692.215 3.902.5c1.446-.874 3.379-1.856 5.348-2.017.777 1.553.56 3.677.163 5.408 1.373 1.517 2.15 3.391 2.15 5.248 0 4.533-3.903 7.407-8.871 8.156 1.554 1.196 1.933 3.302 1.933 4.784V36C31.092 33.965 37 26.772 37 18.277 37 8.21 28.69 0 18.5 0"
19
+ ]
20
+ []
21
+ ]
@@ -0,0 +1,21 @@
1
+ module Ui.Logo.Google exposing (view)
2
+
3
+ import Html exposing (Html)
4
+ import Svg exposing (path, svg)
5
+ import Svg.Attributes exposing (class, d, fill, height, viewBox, width)
6
+
7
+
8
+ view : Html msg
9
+ view =
10
+ svg
11
+ [ class "google-logo"
12
+ , width "24"
13
+ , height "24"
14
+ , fill "none"
15
+ , viewBox "0 0 24 24"
16
+ ]
17
+ [ path [ fill "#4285F4", d "M22.56 12.25c0-.78-.07-1.53-.2-2.25H12v4.26h5.92c-.26 1.37-1.04 2.53-2.21 3.31v2.77h3.57c2.08-1.92 3.28-4.74 3.28-8.09" ] []
18
+ , path [ fill "#34A853", d "M12 23c2.97 0 5.46-.98 7.28-2.66l-3.57-2.77c-.98.66-2.23 1.06-3.71 1.06-2.86 0-5.29-1.93-6.16-4.53H2.18v2.84C3.99 20.53 7.7 23 12 23" ] []
19
+ , path [ fill "#FBBC05", d "M5.84 14.09c-.22-.66-.35-1.36-.35-2.09s.13-1.43.35-2.09V7.07H2.18C1.43 8.55 1 10.22 1 12s.43 3.45 1.18 4.93z" ] []
20
+ , path [ fill "#EA4335", d "M12 5.38c1.62 0 3.06.56 4.21 1.64l3.15-3.15C17.45 2.09 14.97 1 12 1 7.7 1 3.99 3.47 2.18 7.07l3.66 2.84c.87-2.6 3.3-4.53 6.16-4.53" ] []
21
+ ]
@@ -0,0 +1,29 @@
1
+ module Ui.Logo.Hexy exposing (view)
2
+
3
+ {-| Hexy, the hypercredit currency mark: a filled diagonal lozenge.
4
+ Filled with `currentColor`, and the `.hexy-icon` class pins dolly pink
5
+ onto it in the stylesheet, so the currency's brand color is the default
6
+ wherever the mark lands and a usage cannot forget to tint it. The one
7
+ exception is the currency switcher, whose button states color the glyph
8
+ through a scoped `color: inherit`. Source backup: img/hexy.svg; the
9
+ outline cut lives at img/hexy-outline.svg.
10
+ -}
11
+
12
+ import Html exposing (Html)
13
+ import Svg exposing (path, svg)
14
+ import Svg.Attributes exposing (class, d, fill, height, viewBox, width)
15
+
16
+
17
+ view : Html msg
18
+ view =
19
+ svg
20
+ [ class "hexy-icon"
21
+ , width "24"
22
+ , height "24"
23
+ , viewBox "0 0 100 100"
24
+ , fill "currentColor"
25
+ ]
26
+ [ path
27
+ [ d "M50.23 0 0 50.23V100h49.77L100 49.77V0z" ]
28
+ []
29
+ ]
@@ -0,0 +1,42 @@
1
+ module Ui.Logo.Hyper exposing (view)
2
+
3
+ import Html exposing (Html)
4
+ import Svg exposing (path, svg)
5
+ import Svg.Attributes exposing (class, d, fill, height, viewBox, width)
6
+
7
+
8
+ view : Html msg
9
+ view =
10
+ svg
11
+ [ class "logo"
12
+ , width "235"
13
+ , height "77"
14
+ , fill "none"
15
+ , viewBox "0 0 235 77"
16
+ ]
17
+ [ path
18
+ [ class "border"
19
+ , d "M230.191 54.187c1.124-1.952 2.09-3.826 2.713-6.004 1.87-6.545 1.984-15.131-2.661-20.568-3.139-3.676-7.807-5.783-12.804-5.783h-108c.008-.14.021-.277.021-.419a6.65 6.65 0 0 0-6.647-6.648h-1.276l.111-1.295c.303-3.39-.954-5.55-2.065-6.766-1.529-1.675-3.726-2.598-6.186-2.598l-26.58.003a7 7 0 0 0-1.16-1.76C64.308.855 62.334 0 60.245 0c-1.764 0-3.527.499-5.1 1.443A7.6 7.6 0 0 0 52.46 4.2c-1.662.205-3.212.749-4.543 1.606l-.032.02c-2.873 1.875-4.639 5.038-4.968 8.894l-.242 2.78c-.152 1.72.054 3.143.427 4.33h-27.83a9.675 9.675 0 0 0-9.556 8.162L.119 65.327a9.677 9.677 0 0 0 9.558 11.19H220.2c4.13 0 7.875-2.3 9.772-6.001 1.857-3.622 1.551-7.898-.795-11.16l-1.256-1.746c.052.07 2.128-3.176 2.27-3.421z"
20
+ ]
21
+ []
22
+ , path
23
+ [ class "wordmark"
24
+ , d "m56.79 44.207 2.012-12.699H46.779l-2.01 12.699H25.282l2.01-12.699h-12.02L9.675 66.841h12.023l2.01-12.699h19.486l-2.011 12.699h12.022l2.01-12.699zm100.9-2.762h23.628l1.575-9.937h-31.504c-2.291 0-4.441 1.857-4.804 4.147l-.697 4.403-2.668 16.847-.917 5.79c-.363 2.29 1.2 4.146 3.491 4.146h31.503l1.574-9.936h-23.628l2.449-15.46z"
25
+ ]
26
+ []
27
+ , path
28
+ [ class "wordmark"
29
+ , d "m160.043 44.206-1.574 9.936h20.838l1.575-9.936zm57.395-12.698h-27.634c-2.291 0-4.441 1.857-4.804 4.147l-.916 5.79-4.022 25.395h12.021l4.022-25.395h16.03l-.438 2.761h-13.265l-1.39 8.777a.98.98 0 0 0 .159.73l9.172 12.752a.93.93 0 0 0 .772.375h13.053c.95 0 1.635-1.12 1.121-1.835l-7.813-10.863h.344c4.58 0 8.882-3.713 9.608-8.293l.109-.689.848-5.36c.725-4.579-2.401-8.29-6.98-8.29zm-75.11 13.582.827-5.222.011-.067c.725-4.58-2.4-8.293-6.98-8.293h-27.634c-2.291 0-4.441 1.857-4.804 4.147l-.916 5.79L98.81 66.84h12.021l4.022-25.395h16.03l-.438 2.761h-13.286l-.916 5.79c-.363 2.29 1.2 4.147 3.49 4.147h12.868c4.581 0 8.883-3.713 9.608-8.293l.121-.759zm-74.613 6.909h15.894l.916-5.79c.363-2.29-1.2-4.147-3.49-4.147h-8.013c-.61 0-1.028-.495-.93-1.106l1.496-9.448H61.566l-1.757 11.097c-.822 5.188 2.718 9.394 7.906 9.394"
30
+ ]
31
+ []
32
+ , path
33
+ [ class "wordmark"
34
+ , d "M89.591 31.515 86.265 52.52c-.2 1.26-1.384 2.282-2.645 2.282H57.795l-1.248 7.876c-.362 2.29 1.2 4.147 3.491 4.147h21.678c7.9 0 15.319-6.404 16.57-14.304l3.327-21.004H89.591"
35
+ ]
36
+ []
37
+ , path
38
+ [ class "wordmark"
39
+ , d "m77.31 39.823.909-.054c.386-.023.748-.357.809-.746l1.074-6.85c.06-.39-.203-.687-.588-.664l-.908.054c-.386.022-.748.357-.809.746l-1.074 6.85c-.061.39.202.687.587.663m5.051.001.908-.054c.387-.023.748-.357.81-.746l1.074-6.85c.06-.39-.203-.687-.588-.664l-.908.054c-.386.022-.748.357-.809.746l-1.075 6.85c-.06.39.203.687.588.663M73.51 10.723c-.41-.112-1.083-.188-1.831-.188a6.2 6.2 0 0 0-3.533 1.073c-1.047.717-1.7 1.789-1.868 3.749l-.28 3.257c-.13 1.582.41 3.108 2.15 3.108.934 0 1.494-.376 1.942-.846.151-.15.31-.418.378-.554.07-.136.247-.098.224.054s-.06.687-.06.687c-.036.377.188.659.71.659.524 0 1.085-.169 1.72-.565.43-.265.598-.698.655-1.282l.69-8.136c.037-.506-.13-.808-.898-1.017zm-2.802 7.796a.9.9 0 0 1-.354.68.98.98 0 0 1-.617.206c-.412 0-.618-.227-.58-.753l.373-4.294c.038-.47.168-.848.374-1.092.224-.265.522-.415.896-.415a1.7 1.7 0 0 1 .393.038zm-17.371.701c.66 0 1.27-.277 1.747-.664.292-.24.594-.175.655.106.024.104.028.216.028.328 0 1.243-.991 2.732-3.496 2.732-2.038 0-3.438-.904-3.196-3.655l.244-2.788c.148-1.751.803-3.239 2.075-4.068.673-.433 1.531-.677 2.578-.677 1.644 0 2.167.659 2.167 1.375 0 .443-.21.91-.535 1.178a.2.2 0 0 1-.146.033 4.7 4.7 0 0 0-.832-.08c-.598 0-1.14.131-1.532.49-.336.3-.561.77-.617 1.43l-.261 2.864c-.075.809.167 1.395 1.121 1.395m11.82-6.312-.599 6.968c-.055.584-.242 1.036-.654 1.282-.636.395-1.233.565-1.794.565s-.803-.32-.766-.715l.6-7.006c.036-.378-.076-.566-.394-.566-.206 0-.523.056-.673.15-.318.189-.449.396-.486.734l-.485 5.613c-.056.64-.336 1.036-.729 1.3-.56.378-1.215.49-1.774.49-.56 0-.748-.32-.692-.922l1.084-12.508c.056-.585.243-1.092.655-1.338.597-.358 1.231-.527 1.793-.527.524 0 .822.283.785.66 0 0-.43 4.547-.443 4.63-.013.08.103.197.22.06.178-.212.504-.545.765-.734a2.96 2.96 0 0 1 1.7-.51c1.365 0 2.038.717 1.889 2.375zm16.523.455c-.042.08-.147.216-.308.178a2.8 2.8 0 0 0-.806-.067c-.99.037-1.793.621-1.887 1.657l-.392 4.803c-.056.64-.336 1.035-.73 1.3-.561.378-1.214.49-1.774.49s-.748-.32-.692-.924l.729-8.4c.056-.583.243-1.092.654-1.337.6-.357 1.196-.527 1.757-.527.523 0 .748.282.71.659l-.063.728s-.017.115.086.138.14-.08.158-.118c.312-.7.901-1.408 1.875-1.408.822 0 1.159.489 1.159 1.168 0 .5-.171 1.078-.475 1.66m12.313 7.793c-.636.396-1.234.567-1.795.567s-.803-.32-.766-.716l.618-7.308c.037-.378-.018-.567-.337-.567-.204 0-.467.056-.617.15-.298.19-.466.453-.485.754l-.505 5.839c-.056.585-.243 1.036-.654 1.281-.636.396-1.234.567-1.795.567s-.803-.32-.765-.716l.617-7.308c.037-.378-.019-.567-.336-.567-.205 0-.486.056-.636.15-.317.19-.448.397-.486.735l-.504 5.914c-.056.641-.336 1.036-.73 1.3-.56.377-1.214.49-1.774.49s-.748-.32-.692-.923l.73-8.4c.055-.585.242-1.092.654-1.338.598-.357 1.196-.528 1.756-.528.523 0 .748.284.71.66 0 0-.032.381-.049.51-.014.117.129.17.201.068.086-.122.371-.428.578-.577.56-.452 1.196-.66 1.924-.66 1.215 0 1.618.548 1.804 1.156.04.133.17.1.214.043.094-.118.43-.427.654-.596.542-.414 1.16-.604 1.87-.604 1.365 0 2 .717 1.85 2.374l-.599 6.969c-.056.585-.242 1.036-.654 1.281zm8.105 2.203H95.82c-.467 0-.765-.226-.765-.716 0-.902.298-1.45.934-1.45h6.26c.486 0 .784.227.784.716 0 .904-.298 1.45-.934 1.45m.899-3.466h.512v.119h-.185v.542h-.144v-.542h-.184v-.119zm.587 0h.16l.173.493.174-.493h.162v.66h-.144v-.115c0-.082.006-.176.011-.27l-.136.37h-.132l-.138-.372q.01.138.011.272v.116h-.141z"
40
+ ]
41
+ []
42
+ ]
@@ -0,0 +1,117 @@
1
+ module Ui.Logo.Integration exposing (claudeCode, cline, codex, crush, cursor, openCode, pi, rooCode, vscode, zed)
2
+
3
+ {-| The agents' own marks for the home page's integrations grid. Claude
4
+ Code, Codex, OpenCode, and Pi are vendored from @lobehub/icons-static-svg
5
+ (MIT, the source of the lab logos); Zed's is from its repository
6
+ (assets/images/zed\_logo.svg); Cline, Roo Code, and Cursor are from the
7
+ same lobehub set. The single-color marks fill with `currentColor` so
8
+ they follow the card's text; Claude Code and Codex keep their brand
9
+ colors, overridden per-mark from the stylesheet. Crush's mark is
10
+ pending a proper source. Source backups: img/agents/.
11
+ -}
12
+
13
+ import Html exposing (Html)
14
+ import Svg exposing (Svg, defs, linearGradient, path, stop, svg)
15
+ import Svg.Attributes exposing (class, clipRule, d, fill, fillRule, gradientUnits, id, offset, stopColor, viewBox, x1, x2, y1, y2)
16
+
17
+
18
+ mark : String -> List (Svg msg) -> Html msg
19
+ mark box children =
20
+ svg [ class "integration-mark", viewBox box, fill "currentColor" ] children
21
+
22
+
23
+ {-| Claude Code's pixel mascot, in Anthropic's clay.
24
+ -}
25
+ claudeCode : Html msg
26
+ claudeCode =
27
+ mark "0 0 24 24"
28
+ [ path [ d "M20.998 10.949H24v3.102h-3v3.028h-1.487V20H18v-2.921h-1.487V20H15v-2.921H9V20H7.488v-2.921H6V20H4.487v-2.921H3V14.05H0V10.95h3V5h17.998v5.949zM6 10.949h1.488V8.102H6v2.847zm10.51 0H18V8.102h-1.49v2.847z", fill "#D97757", fillRule "evenodd", clipRule "evenodd" ] [] ]
29
+
30
+
31
+ {-| The Codex mark: a terminal prompt on its gradient, inside a white
32
+ tile.
33
+ -}
34
+ codex : Html msg
35
+ codex =
36
+ mark "0 0 24 24"
37
+ [ path [ d "M19.503 0H4.496A4.496 4.496 0 000 4.496v15.007A4.496 4.496 0 004.496 24h15.007A4.496 4.496 0 0024 19.503V4.496A4.496 4.496 0 0019.503 0z", fill "#fff" ] []
38
+ , path [ d "M9.064 3.344a4.578 4.578 0 012.285-.312c1 .115 1.891.54 2.673 1.275.01.01.024.017.037.021a.09.09 0 00.043 0 4.55 4.55 0 013.046.275l.047.022.116.057a4.581 4.581 0 012.188 2.399c.209.51.313 1.041.315 1.595a4.24 4.24 0 01-.134 1.223.123.123 0 00.03.115c.594.607.988 1.33 1.183 2.17.289 1.425-.007 2.71-.887 3.854l-.136.166a4.548 4.548 0 01-2.201 1.388.123.123 0 00-.081.076c-.191.551-.383 1.023-.74 1.494-.9 1.187-2.222 1.846-3.711 1.838-1.187-.006-2.239-.44-3.157-1.302a.107.107 0 00-.105-.024c-.388.125-.78.143-1.204.138a4.441 4.441 0 01-1.945-.466 4.544 4.544 0 01-1.61-1.335c-.152-.202-.303-.392-.414-.617a5.81 5.81 0 01-.37-.961 4.582 4.582 0 01-.014-2.298.124.124 0 00.006-.056.085.085 0 00-.027-.048 4.467 4.467 0 01-1.034-1.651 3.896 3.896 0 01-.251-1.192 5.189 5.189 0 01.141-1.6c.337-1.112.982-1.985 1.933-2.618.212-.141.413-.251.601-.33.215-.089.43-.164.646-.227a.098.098 0 00.065-.066 4.51 4.51 0 01.829-1.615 4.535 4.535 0 011.837-1.388zm3.482 10.565a.637.637 0 000 1.272h3.636a.637.637 0 100-1.272h-3.636zM8.462 9.23a.637.637 0 00-1.106.631l1.272 2.224-1.266 2.136a.636.636 0 101.095.649l1.454-2.455a.636.636 0 00.005-.64L8.462 9.23z", fill "url(#codex-gradient)" ] []
39
+ , defs []
40
+ [ linearGradient [ id "codex-gradient", gradientUnits "userSpaceOnUse", x1 "12", x2 "12", y1 "3", y2 "21" ]
41
+ [ stop [ stopColor "#B1A7FF" ] []
42
+ , stop [ offset ".5", stopColor "#7A9DFF" ] []
43
+ , stop [ offset "1", stopColor "#3941FF" ] []
44
+ ]
45
+ ]
46
+ ]
47
+
48
+
49
+ {-| OpenCode's nested squares.
50
+ -}
51
+ openCode : Html msg
52
+ openCode =
53
+ mark "0 0 24 24"
54
+ [ path [ d "M16 6H8v12h8V6zm4 16H4V2h16v20z", fillRule "evenodd" ] [] ]
55
+
56
+
57
+ {-| The Pi agent's mark.
58
+ -}
59
+ pi : Html msg
60
+ pi =
61
+ mark "0 0 24 24"
62
+ [ path [ d "M1 1h16.5v11H12v5.5H6.5V23H1V1zm5.5 5.5V12H12V6.5H6.5z", fillRule "evenodd", clipRule "evenodd" ] []
63
+ , path [ d "M17.5 12H23v11h-5.5V12z" ] []
64
+ ]
65
+
66
+
67
+ {-| Zed's folded Z.
68
+ -}
69
+ zed : Html msg
70
+ zed =
71
+ mark "0 0 96 96"
72
+ [ path [ d "M9 6C7.34315 6 6 7.34315 6 9V75H0V9C0 4.02944 4.02944 0 9 0H89.3787C93.3878 0 95.3955 4.84715 92.5607 7.68198L43.0551 57.1875H57V51H63V58.6875C63 61.1728 60.9853 63.1875 58.5 63.1875H37.0551L26.7426 73.5H73.5V36H79.5V73.5C79.5 76.8137 76.8137 79.5 73.5 79.5H20.7426L10.2426 90H87C88.6569 90 90 88.6569 90 87V21H96V87C96 91.9706 91.9706 96 87 96H6.62132C2.61224 96 0.604504 91.1529 3.43934 88.318L52.7574 39H39V45H33V37.5C33 35.0147 35.0147 33 37.5 33H58.7574L69.2574 22.5H22.5V60H16.5V22.5C16.5 19.1863 19.1863 16.5 22.5 16.5H75.2574L85.7574 6H9Z", fillRule "evenodd", clipRule "evenodd" ] [] ]
73
+
74
+
75
+ {-| Crush's face: Charm's own mark, a pepper-pink pixel grid. The path
76
+ carries no fill of its own, so the stylesheet sets its color.
77
+ -}
78
+ crush : Html msg
79
+ crush =
80
+ mark "0 0 1500 1277.62"
81
+ [ path [ d "M1391.27 212.03V103.3h-116.89V0H896.53v103.3h-76.11v108.73H679.59V103.3h-76.11V0H225.62v103.3H108.73v108.73H0v538.23h108.73v163.1h116.89v141.35H386v76.11h130.48v65.24h103.3v81.55h260.44v-81.55h103.3v-65.24H1114v-76.11h160.38V913.36h116.89v-163.1H1500V212.03zM511.5 748.59h-58.13v-58.13h58.13zm97.12-58.13h-58.13V532.8h58.13zm195.75 58.13H695.64v-58.13h108.73zm145.14-58.13h-58.13V532.8h58.13zm97.13 58.13h-58.13v-58.13h58.13z", fillRule "evenodd", clipRule "evenodd" ] [] ]
82
+
83
+
84
+ {-| Cline's robot head, from the lobehub set.
85
+ -}
86
+ cline : Html msg
87
+ cline =
88
+ mark "0 0 24 24"
89
+ [ path [ d "M17.035 3.991c2.75 0 4.98 2.24 4.98 5.003v1.667l1.45 2.896a1.01 1.01 0 01-.002.909l-1.448 2.864v1.668c0 2.762-2.23 5.002-4.98 5.002H7.074c-2.751 0-4.98-2.24-4.98-5.002V17.33l-1.48-2.855a1.01 1.01 0 01-.003-.927l1.482-2.887V8.994c0-2.763 2.23-5.003 4.98-5.003h9.962zM8.265 9.6a2.274 2.274 0 00-2.274 2.274v4.042a2.274 2.274 0 004.547 0v-4.042A2.274 2.274 0 008.265 9.6zm7.326 0a2.274 2.274 0 00-2.274 2.274v4.042a2.274 2.274 0 104.548 0v-4.042A2.274 2.274 0 0015.59 9.6z", fillRule "evenodd", clipRule "evenodd" ] []
90
+ , path [ d "M12.054 5.558a2.779 2.779 0 100-5.558 2.779 2.779 0 000 5.558z" ] []
91
+ ]
92
+
93
+
94
+ {-| Roo Code's kangaroo, from the lobehub set.
95
+ -}
96
+ rooCode : Html msg
97
+ rooCode =
98
+ mark "0 0 24 24"
99
+ [ path [ d "M20.113 5.5l-.442 1.557a.157.157 0 01-.196.106l-7.414-2.157a.16.16 0 00-.143.028l-7.342 5.74a.159.159 0 01-.074.032l-4.37.656a.154.154 0 00-.132.162l.02.245c.005.078.071.14.152.141l5.074.128.058.002 3.75-1.953a.16.16 0 01.164.01l2.657 1.847a.152.152 0 01.066.125l-.023 2.45c0 .032.01.063.028.089l3.737 5.227c.03.04.077.065.129.065h1.182a.153.153 0 00.14-.224l-2.664-4.919a.15.15 0 01.005-.152l1.389-2.169a.156.156 0 01.062-.055l4.965-2.456a.16.16 0 01.158.01l1.418.921a.16.16 0 00.087.026h1.289c.125 0 .2-.136.13-.237l-3.578-5.29c-.074-.109-.246-.082-.282.044z", fillRule "evenodd", clipRule "evenodd" ] [] ]
100
+
101
+
102
+ {-| Cursor's isometric cube, from the lobehub set.
103
+ -}
104
+ cursor : Html msg
105
+ cursor =
106
+ mark "0 0 24 24"
107
+ [ path [ d "M22.106 5.68L12.5.135a.998.998 0 00-.998 0L1.893 5.68a.84.84 0 00-.419.726v11.186c0 .3.16.577.42.727l9.607 5.547a.999.999 0 00.998 0l9.608-5.547a.84.84 0 00.42-.727V6.407a.84.84 0 00-.42-.726zm-.603 1.176L12.228 22.92c-.063.108-.228.064-.228-.061V12.34a.59.59 0 00-.295-.51l-9.11-5.26c-.107-.062-.063-.228.062-.228h18.55c.264 0 .428.286.296.514z", fillRule "evenodd", clipRule "evenodd" ] [] ]
108
+
109
+
110
+ {-| Visual Studio Code's folded ribbon, from simple-icons 12.4.0 (the
111
+ mark left the package when Microsoft brands were withdrawn; this is the
112
+ last version that carried it).
113
+ -}
114
+ vscode : Html msg
115
+ vscode =
116
+ mark "0 0 24 24"
117
+ [ path [ d "M23.15 2.587L18.21.21a1.494 1.494 0 0 0-1.705.29l-9.46 8.63-4.12-3.128a.999.999 0 0 0-1.276.057L.327 7.261A1 1 0 0 0 .326 8.74L3.899 12 .326 15.26a1 1 0 0 0 .001 1.479L1.65 17.94a.999.999 0 0 0 1.276.057l4.12-3.128 9.46 8.63a1.492 1.492 0 0 0 1.704.29l4.942-2.377A1.5 1.5 0 0 0 24 20.06V3.939a1.5 1.5 0 0 0-.85-1.352zm-5.146 14.861L10.826 12l7.178-5.448v10.896z", fillRule "evenodd", clipRule "evenodd" ] [] ]
@@ -0,0 +1,35 @@
1
+ module Ui.Logo.Prism exposing (view)
2
+
3
+ {-| The Charm Prism wordmark: the PRISM letterforms under the small
4
+ "charm" lockup, from the Figma Prism card. Flat fixed fill, not
5
+ currentColor: the mark keeps its shape wherever it lands. home.scss
6
+ paints the page color through these shapes via a CSS mask. Source
7
+ backup: img/prism.svg.
8
+ -}
9
+
10
+ import Html exposing (Html)
11
+ import Html.Attributes exposing (attribute)
12
+ import Svg exposing (path, svg)
13
+ import Svg.Attributes exposing (d, fill, height, viewBox, width)
14
+
15
+
16
+ view : Html msg
17
+ view =
18
+ svg
19
+ [ attribute "role" "img"
20
+ , attribute "aria-label" "Charm Prism"
21
+ , width "147"
22
+ , height "49.2"
23
+ , viewBox "0 0 1127.95 377.79"
24
+ ]
25
+ [ path
26
+ [ d "M289.68 68.77h5.49v1.26h-1.98v5.81h-1.54v-5.81h-1.96v-1.26Zm6.29 0h1.72l1.86 5.29 1.86-5.29h1.74v7.07h-1.54V74.6c0-.88.06-1.88.12-2.89l-1.46 3.97h-1.42l-1.48-3.99c.06.98.12 1.96.12 2.91v1.24h-1.52zM284.85 90.91h-33.72c-2.51 0-4.11-1.21-4.11-3.85 0-4.85 1.6-7.79 5.01-7.79h33.62c2.61 0 4.21 1.22 4.21 3.85 0 4.86-1.6 7.79-5.01 7.79M241.33 79.08c-3.41 2.12-6.63 3.04-9.63 3.04s-4.31-1.72-4.11-3.85l3.32-39.24c.2-2.03-.1-3.04-1.81-3.04-1.1 0-2.51.3-3.31.81-1.6 1.02-2.51 2.43-2.61 4.05l-2.71 31.35c-.3 3.14-1.31 5.56-3.51 6.88-3.41 2.12-6.63 3.04-9.63 3.04s-4.31-1.72-4.11-3.85l3.31-39.24c.2-2.03-.1-3.04-1.8-3.04-1.1 0-2.61.3-3.41.81-1.7 1.02-2.41 2.13-2.61 3.95L196 72.5c-.3 3.44-1.8 5.56-3.92 6.98-3.01 2.02-6.53 2.64-9.53 2.64s-4.02-1.72-3.71-4.96l3.92-45.1c.3-3.14 1.3-5.86 3.51-7.18 3.21-1.92 6.43-2.84 9.43-2.84 2.81 0 4.02 1.52 3.81 3.54 0 0-.18 2.04-.26 2.74-.07.62.69.91 1.08.36.46-.65 1.99-2.29 3.1-3.1 3.01-2.43 6.43-3.54 10.33-3.54 6.53 0 8.69 2.95 9.68 6.21.22.72.91.54 1.15.24.5-.63 2.31-2.29 3.51-3.2 2.91-2.23 6.23-3.24 10.04-3.24 7.33 0 10.74 3.85 9.93 12.74l-3.21 37.42c-.3 3.14-1.3 5.56-3.51 6.88ZM175.22 37.23c-.23.43-.79 1.16-1.66.95-1.46-.35-2.93-.44-4.32-.36-5.32.2-9.63 3.34-10.13 8.9L157 72.51c-.3 3.44-1.8 5.56-3.92 6.98-3.01 2.02-6.53 2.63-9.53 2.63s-4.02-1.72-3.71-4.96l3.91-45.1c.3-3.13 1.31-5.86 3.51-7.18 3.22-1.92 6.43-2.83 9.43-2.83 2.81 0 4.02 1.51 3.81 3.54l-.34 3.91s-.1.62.46.74c.55.13.76-.43.85-.64 1.68-3.76 4.84-7.56 10.07-7.56 4.41 0 6.22 2.63 6.22 6.27 0 2.68-.92 5.79-2.55 8.91ZM131.34 23.07c-2.2-.61-5.81-1.01-9.83-1.01-7.53 0-13.95 2.33-18.97 5.76-5.62 3.85-9.13 9.6-10.03 20.13l-1.5 17.49c-.7 8.49 2.21 16.68 11.54 16.68 5.02 0 8.03-2.02 10.44-4.55.81-.81 1.66-2.24 2.03-2.97s1.33-.53 1.2.29c-.12.82-.32 3.69-.32 3.69-.2 2.02 1 3.54 3.81 3.54s5.82-.91 9.23-3.03c2.31-1.42 3.21-3.75 3.51-6.88l3.7-43.69c.2-2.72-.7-4.34-4.82-5.46ZM116.3 64.93c-.1 1.51-.8 2.83-1.9 3.64-.9.71-2.01 1.11-3.31 1.11-2.21 0-3.32-1.22-3.11-4.05l2.01-23.05c.21-2.52.91-4.55 2.01-5.86 1.2-1.42 2.81-2.23 4.81-2.23 1.01 0 1.71.1 2.11.2l-2.61 30.24ZM86.5 34.79l-3.22 37.42c-.3 3.13-1.3 5.56-3.51 6.88-3.41 2.13-6.62 3.03-9.63 3.03s-4.31-1.72-4.12-3.84l3.22-37.62c.2-2.03-.4-3.04-2.11-3.04-1.1 0-2.81.3-3.61.81-1.7 1.02-2.41 2.13-2.61 3.95l-2.6 30.14c-.3 3.44-1.8 5.56-3.92 6.98-3.01 2.02-6.53 2.63-9.53 2.63s-4.02-1.72-3.71-4.95l5.82-67.16c.3-3.14 1.31-5.86 3.52-7.18C53.69.92 57.1.01 60.12.01c2.81 0 4.41 1.51 4.21 3.54 0 0-2.31 24.41-2.38 24.85s.55 1.06 1.17.33c.96-1.14 2.71-2.93 4.11-3.94 2.71-1.82 5.72-2.74 9.13-2.74 7.33 0 10.94 3.85 10.14 12.74M23.03 68.68c3.54 0 6.82-1.48 9.38-3.56 1.57-1.29 3.19-.94 3.52.57.13.56.15 1.15.15 1.76 0 6.68-5.32 14.67-18.77 14.67C6.37 82.12-1.15 77.26.15 62.5l1.31-14.97c.8-9.4 4.31-17.39 11.14-21.84 3.61-2.33 8.22-3.64 13.84-3.64 8.83 0 11.64 3.54 11.64 7.38 0 2.38-1.13 4.89-2.87 6.32-.16.13-.46.23-.78.17-1.54-.28-3-.43-4.47-.43-3.21 0-6.12.71-8.23 2.63-1.8 1.61-3.01 4.14-3.31 7.69l-1.4 15.37c-.4 4.34.9 7.49 6.02 7.49Z"
27
+ , fill "#f7f6fb"
28
+ ]
29
+ []
30
+ , path
31
+ [ d "M140.5 121.8H0v251.97h73.4v-84.34h67.1c45.78 0 82.9-36.02 82.9-83.82s-37.12-83.82-82.9-83.82Zm-15.82 109.42H73.4v-51.2h51.28c13.99 0 25.32 11.1 25.32 25.33s-11.34 25.87-25.32 25.87M497.7 121.8h73.4v251.97h-73.4zM714.19 215.49c-29.67-6.53-43.11-9.51-43.11-22.43s15.87-17.36 30.51-17.1c15.17.26 32.55 8.58 32.55 24.73h73.5c-6.16-52.84-47.93-82.96-106.57-82.96-50.4-.51-101.96 24.17-101.96 79.28s51.27 68.26 95.64 77.99c28.8 6.32 43.69 9.71 43.69 22.54s-11.52 18.85-32.23 18.85-38.44-11.72-39.05-28.73h-74.33c.82 59.82 57.2 90.13 113.87 90.13s104.02-27.37 104.02-86.33-77.57-71.81-96.51-75.99zM1030.15 121.8l-49.97 144.63-49.96-144.63h-97.8v251.96h73.16V234l47.49 139.76h54.23L1054.79 234v139.76h73.16V121.8zM417.26 278.25c54.77-22.82 51.49-75.61 51.49-75.61 0-45.68-35.8-80.85-79.95-80.85H245.41v251.97h73.37v-84.29h23.14l52.8 84.29h81.83zm-48.56-47h-49.89v-51.24h49.89c14.74 0 26.72 10.77 26.72 25.46s-12.08 25.77-26.72 25.77Z"
32
+ , fill "#f7f6fb"
33
+ ]
34
+ []
35
+ ]
@@ -0,0 +1,115 @@
1
+ module Ui.Logos exposing
2
+ ( Assistant(..)
3
+ , Logo(..)
4
+ , assistant
5
+ , view
6
+ )
7
+
8
+ {-| The brand marks. These are assets, not icons: each one carries its own
9
+ geometry and some carry their own colors, so they do not follow `currentColor`
10
+ the way `Ui.Icon` does.
11
+ -}
12
+
13
+ import Html exposing (Html)
14
+ import Ui.Logo.Charm as Charm
15
+ import Ui.Logo.CharmMark as CharmMark
16
+ import Ui.Logo.CharmSticker as CharmSticker
17
+ import Ui.Logo.Discord as Discord
18
+ import Ui.Logo.GitHub as GitHub
19
+ import Ui.Logo.Google as Google
20
+ import Ui.Logo.Hexy as Hexy
21
+ import Ui.Logo.Hyper as Hyper
22
+ import Ui.Logo.Integration as Integration
23
+ import Ui.Logo.Prism as Prism
24
+
25
+
26
+ type Logo
27
+ = Charm
28
+ | CharmMark
29
+ | CharmSticker
30
+ | Discord
31
+ | GitHub
32
+ | Google
33
+ | Hexy
34
+ | Hyper
35
+ | Prism
36
+
37
+
38
+ view : Logo -> Html msg
39
+ view logo =
40
+ case logo of
41
+ Charm ->
42
+ Charm.view
43
+
44
+ CharmMark ->
45
+ CharmMark.view
46
+
47
+ CharmSticker ->
48
+ CharmSticker.view
49
+
50
+ Discord ->
51
+ Discord.view
52
+
53
+ GitHub ->
54
+ GitHub.view
55
+
56
+ Google ->
57
+ Google.view
58
+
59
+ Hexy ->
60
+ Hexy.view
61
+
62
+ Hyper ->
63
+ Hyper.view
64
+
65
+ Prism ->
66
+ Prism.view
67
+
68
+
69
+ {-| The coding agents' marks for integration grids.
70
+ -}
71
+ type Assistant
72
+ = ClaudeCode
73
+ | Cline
74
+ | Codex
75
+ | Crush
76
+ | Cursor
77
+ | OpenCode
78
+ | Pi
79
+ | RooCode
80
+ | VSCode
81
+ | Zed
82
+
83
+
84
+ assistant : Assistant -> Html msg
85
+ assistant name =
86
+ case name of
87
+ ClaudeCode ->
88
+ Integration.claudeCode
89
+
90
+ Cline ->
91
+ Integration.cline
92
+
93
+ Codex ->
94
+ Integration.codex
95
+
96
+ Crush ->
97
+ Integration.crush
98
+
99
+ Cursor ->
100
+ Integration.cursor
101
+
102
+ OpenCode ->
103
+ Integration.openCode
104
+
105
+ Pi ->
106
+ Integration.pi
107
+
108
+ RooCode ->
109
+ Integration.rooCode
110
+
111
+ VSCode ->
112
+ Integration.vscode
113
+
114
+ Zed ->
115
+ Integration.zed