app: cherry-pick rune's pause and sound fixes onto the checkout
Rune comes from app/vendor/rune now, a checkout of 63ad0209 on branch ported, carrying the four commits of upstream issues 1320 (a pause while a clip is layered holds the layer's picture and time) and 1325 (a video's sound is read ahead of the clock and leads it). Both were written against eb9f1104 and ported across the refactors since. The faults are the first two and the third in docs/rune-upstream.md; the app's workarounds in review.rs stay until the fixes arrive upstream.
This commit is contained in:
1 parent
80fef698ce
commit
5bf262b82b
3795 files changed
+663463
-28
No files matched your search
+18
@@ -0,0 +1,18 @@
|
||||
[package]
|
||||
name = "rune-theme-opencode"
|
||||
version = "0.0.1"
|
||||
edition.workspace = true
|
||||
license.workspace = true
|
||||
description = "OpenCode's design language (@opencode/ui tokens, fonts, icons) as a rune-kit theme."
|
||||
|
||||
[dependencies]
|
||||
rune = { workspace = true }
|
||||
rune-kit = { workspace = true }
|
||||
serde_json = { workspace = true }
|
||||
|
||||
[dev-dependencies]
|
||||
rune = { workspace = true, default-features = true }
|
||||
rune-kit = { workspace = true, default-features = true }
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
@@ -0,0 +1,93 @@
|
||||
Copyright © 2017 IBM Corp. with Reserved Font Name "Plex"
|
||||
|
||||
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
||||
|
||||
This license is copied below, and is also available with a FAQ at: http://scripts.sil.org/OFL
|
||||
|
||||
|
||||
-----------------------------------------------------------
|
||||
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
||||
-----------------------------------------------------------
|
||||
|
||||
PREAMBLE
|
||||
The goals of the Open Font License (OFL) are to stimulate worldwide
|
||||
development of collaborative font projects, to support the font creation
|
||||
efforts of academic and linguistic communities, and to provide a free and
|
||||
open framework in which fonts may be shared and improved in partnership
|
||||
with others.
|
||||
|
||||
The OFL allows the licensed fonts to be used, studied, modified and
|
||||
redistributed freely as long as they are not sold by themselves. The
|
||||
fonts, including any derivative works, can be bundled, embedded,
|
||||
redistributed and/or sold with any software provided that any reserved
|
||||
names are not used by derivative works. The fonts and derivatives,
|
||||
however, cannot be released under any other type of license. The
|
||||
requirement for fonts to remain under this license does not apply
|
||||
to any document created using the fonts or their derivatives.
|
||||
|
||||
DEFINITIONS
|
||||
"Font Software" refers to the set of files released by the Copyright
|
||||
Holder(s) under this license and clearly marked as such. This may
|
||||
include source files, build scripts and documentation.
|
||||
|
||||
"Reserved Font Name" refers to any names specified as such after the
|
||||
copyright statement(s).
|
||||
|
||||
"Original Version" refers to the collection of Font Software components as
|
||||
distributed by the Copyright Holder(s).
|
||||
|
||||
"Modified Version" refers to any derivative made by adding to, deleting,
|
||||
or substituting -- in part or in whole -- any of the components of the
|
||||
Original Version, by changing formats or by porting the Font Software to a
|
||||
new environment.
|
||||
|
||||
"Author" refers to any designer, engineer, programmer, technical
|
||||
writer or other person who contributed to the Font Software.
|
||||
|
||||
PERMISSION & CONDITIONS
|
||||
Permission is hereby granted, free of charge, to any person obtaining
|
||||
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
||||
redistribute, and sell modified and unmodified copies of the Font
|
||||
Software, subject to the following conditions:
|
||||
|
||||
1) Neither the Font Software nor any of its individual components,
|
||||
in Original or Modified Versions, may be sold by itself.
|
||||
|
||||
2) Original or Modified Versions of the Font Software may be bundled,
|
||||
redistributed and/or sold with any software, provided that each copy
|
||||
contains the above copyright notice and this license. These can be
|
||||
included either as stand-alone text files, human-readable headers or
|
||||
in the appropriate machine-readable metadata fields within text or
|
||||
binary files as long as those fields can be easily viewed by the user.
|
||||
|
||||
3) No Modified Version of the Font Software may use the Reserved Font
|
||||
Name(s) unless explicit written permission is granted by the corresponding
|
||||
Copyright Holder. This restriction only applies to the primary font name as
|
||||
presented to the users.
|
||||
|
||||
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
||||
Software shall not be used to promote, endorse or advertise any
|
||||
Modified Version, except to acknowledge the contribution(s) of the
|
||||
Copyright Holder(s) and the Author(s) or with their explicit written
|
||||
permission.
|
||||
|
||||
5) The Font Software, modified or unmodified, in part or in whole,
|
||||
must be distributed entirely under this license, and must not be
|
||||
distributed under any other license. The requirement for fonts to
|
||||
remain under this license does not apply to any document created
|
||||
using the Font Software.
|
||||
|
||||
TERMINATION
|
||||
This license becomes null and void if any of the above conditions are
|
||||
not met.
|
||||
|
||||
DISCLAIMER
|
||||
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
||||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
||||
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
||||
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
||||
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
||||
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
||||
OTHER DEALINGS IN THE FONT SOFTWARE.
|
||||
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,92 @@
|
||||
Copyright (c) 2016 The Inter Project Authors (https://github.com/rsms/inter)
|
||||
|
||||
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
||||
This license is copied below, and is also available with a FAQ at:
|
||||
http://scripts.sil.org/OFL
|
||||
|
||||
-----------------------------------------------------------
|
||||
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
||||
-----------------------------------------------------------
|
||||
|
||||
PREAMBLE
|
||||
The goals of the Open Font License (OFL) are to stimulate worldwide
|
||||
development of collaborative font projects, to support the font creation
|
||||
efforts of academic and linguistic communities, and to provide a free and
|
||||
open framework in which fonts may be shared and improved in partnership
|
||||
with others.
|
||||
|
||||
The OFL allows the licensed fonts to be used, studied, modified and
|
||||
redistributed freely as long as they are not sold by themselves. The
|
||||
fonts, including any derivative works, can be bundled, embedded,
|
||||
redistributed and/or sold with any software provided that any reserved
|
||||
names are not used by derivative works. The fonts and derivatives,
|
||||
however, cannot be released under any other type of license. The
|
||||
requirement for fonts to remain under this license does not apply
|
||||
to any document created using the fonts or their derivatives.
|
||||
|
||||
DEFINITIONS
|
||||
"Font Software" refers to the set of files released by the Copyright
|
||||
Holder(s) under this license and clearly marked as such. This may
|
||||
include source files, build scripts and documentation.
|
||||
|
||||
"Reserved Font Name" refers to any names specified as such after the
|
||||
copyright statement(s).
|
||||
|
||||
"Original Version" refers to the collection of Font Software components as
|
||||
distributed by the Copyright Holder(s).
|
||||
|
||||
"Modified Version" refers to any derivative made by adding to, deleting,
|
||||
or substituting -- in part or in whole -- any of the components of the
|
||||
Original Version, by changing formats or by porting the Font Software to a
|
||||
new environment.
|
||||
|
||||
"Author" refers to any designer, engineer, programmer, technical
|
||||
writer or other person who contributed to the Font Software.
|
||||
|
||||
PERMISSION AND CONDITIONS
|
||||
Permission is hereby granted, free of charge, to any person obtaining
|
||||
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
||||
redistribute, and sell modified and unmodified copies of the Font
|
||||
Software, subject to the following conditions:
|
||||
|
||||
1) Neither the Font Software nor any of its individual components,
|
||||
in Original or Modified Versions, may be sold by itself.
|
||||
|
||||
2) Original or Modified Versions of the Font Software may be bundled,
|
||||
redistributed and/or sold with any software, provided that each copy
|
||||
contains the above copyright notice and this license. These can be
|
||||
included either as stand-alone text files, human-readable headers or
|
||||
in the appropriate machine-readable metadata fields within text or
|
||||
binary files as long as those fields can be easily viewed by the user.
|
||||
|
||||
3) No Modified Version of the Font Software may use the Reserved Font
|
||||
Name(s) unless explicit written permission is granted by the corresponding
|
||||
Copyright Holder. This restriction only applies to the primary font name as
|
||||
presented to the users.
|
||||
|
||||
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
||||
Software shall not be used to promote, endorse or advertise any
|
||||
Modified Version, except to acknowledge the contribution(s) of the
|
||||
Copyright Holder(s) and the Author(s) or with their explicit written
|
||||
permission.
|
||||
|
||||
5) The Font Software, modified or unmodified, in part or in whole,
|
||||
must be distributed entirely under this license, and must not be
|
||||
distributed under any other license. The requirement for fonts to
|
||||
remain under this license does not apply to any document created
|
||||
using the Font Software.
|
||||
|
||||
TERMINATION
|
||||
This license becomes null and void if any of the above conditions are
|
||||
not met.
|
||||
|
||||
DISCLAIMER
|
||||
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
||||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
||||
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
||||
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
||||
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
||||
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
||||
OTHER DEALINGS IN THE FONT SOFTWARE.
|
||||
Binary file not shown.
+2521
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,2 @@
|
||||
max_width = 120
|
||||
use_small_heuristics = "Max"
|
||||
@@ -0,0 +1,36 @@
|
||||
//! Generated by tools/app-icons.py from @opencode/ui's app marks. Do not edit.
|
||||
use rune::Icon;
|
||||
|
||||
static VSCODE: Icon = Icon { name: "app-vscode", view: 40.0, body: r##"<g fill="none"><mask id="mask0_5437_79124" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="5" y="5" width="30" height="30"><path fill-rule="evenodd" clip-rule="evenodd" d="M26.0227 34.1285C26.2519 34.2179 26.4969 34.2592 26.7427 34.2497C26.9884 34.2403 27.2296 34.1804 27.4512 34.0738L33.3809 31.2206C33.6863 31.0736 33.9439 30.8433 34.1243 30.5563C34.3046 30.2693 34.4002 29.9372 34.4001 29.5983V10.2522C34.4001 9.91323 34.3044 9.58119 34.1241 9.29424C33.9437 9.00729 33.686 8.77709 33.3806 8.63014L27.4518 5.77692C27.1167 5.6157 26.7398 5.56263 26.3733 5.62507C26.0067 5.6875 25.6687 5.86235 25.4059 6.1254L14.0543 16.4807L9.10994 12.7281C8.88691 12.5587 8.61163 12.4728 8.33186 12.4852C8.05209 12.4976 7.78549 12.6076 7.57835 12.7961L5.99262 14.2387C5.86908 14.3511 5.77035 14.488 5.70276 14.6408C5.63517 14.7935 5.60021 14.9587 5.6001 15.1257C5.59999 15.2928 5.63474 15.458 5.70213 15.6108C5.76952 15.7636 5.86807 15.9007 5.99147 16.0133L10.2792 19.9252L5.99176 23.8371C5.86836 23.9497 5.76981 24.0868 5.70242 24.2396C5.63503 24.3925 5.60028 24.5577 5.60039 24.7247C5.60049 24.8917 5.63546 25.0569 5.70305 25.2097C5.77064 25.3624 5.86936 25.4994 5.99291 25.6118L7.57864 27.0547C7.78578 27.2431 8.05237 27.3531 8.33214 27.3655C8.61191 27.3779 8.8872 27.292 9.11022 27.1226L14.0546 23.3694L25.4059 33.7253C25.5814 33.9011 25.7913 34.0384 26.0227 34.1285ZM27.2044 13.3876L18.5918 19.9252L27.2047 26.4631L27.2044 13.3876Z" fill="#ffffff"/></mask><g mask="url(#mask0_5437_79124)"><path d="M33.3807 8.6342L27.4467 5.77724C27.1116 5.61588 26.7346 5.56266 26.368 5.62494C26.0013 5.68722 25.663 5.86191 25.3999 6.12486L5.97403 23.8369C5.85059 23.9494 5.75201 24.0865 5.68459 24.2393C5.61718 24.3922 5.58241 24.5574 5.58252 24.7245C5.58263 24.8915 5.61761 25.0567 5.68522 25.2094C5.75284 25.3622 5.8516 25.4991 5.97518 25.6115L7.56206 27.0541C7.76938 27.2425 8.03605 27.3524 8.31587 27.3648C8.59569 27.3772 8.87105 27.2913 9.09422 27.1221L32.4879 9.37551C33.2727 8.78022 34.3999 9.3398 34.3999 10.3251V10.2559C34.3999 9.91713 34.3042 9.58524 34.1239 9.2984C33.9436 9.01157 33.686 8.78145 33.3807 8.63449V8.6342Z" fill="#0065A9"/><g filter="url(#filter0_d_5437_79124)"><path d="M33.3807 31.2161L27.4467 34.0731C27.1116 34.2345 26.7346 34.2877 26.3679 34.2255C26.0012 34.1632 25.663 33.9885 25.3999 33.7255L5.97403 16.0135C5.85059 15.9009 5.75201 15.7638 5.68459 15.611C5.61718 15.4582 5.58241 15.2929 5.58252 15.1259C5.58263 14.9588 5.61761 14.7937 5.68522 14.6409C5.75284 14.4882 5.8516 14.3512 5.97518 14.2388L7.56206 12.7962C7.76938 12.6079 8.03605 12.498 8.31587 12.4856C8.59569 12.4731 8.87105 12.559 9.09422 12.7282L32.4879 30.4748C33.2727 31.0701 34.3999 30.5105 34.3999 29.5253V29.5944C34.3999 29.9332 34.3042 30.2651 34.1239 30.5519C33.9436 30.8388 33.686 31.0692 33.3807 31.2161Z" fill="#007ACC"/></g><g filter="url(#filter1_d_5437_79124)"><path d="M27.447 34.0738C27.1118 34.235 26.7347 34.2881 26.3679 34.2257C26.0012 34.1633 25.6629 33.9884 25.3999 33.7253C26.064 34.3898 27.1999 33.9194 27.1999 32.98V6.87104C27.1999 5.93159 26.064 5.46128 25.3999 6.12541C25.6629 5.86234 26.0012 5.68749 26.3679 5.62506C26.7347 5.56263 27.1118 5.6157 27.447 5.77693L33.3798 8.63044C33.6853 8.77731 33.9432 9.00748 34.1236 9.29443C34.3041 9.58139 34.3999 9.91347 34.3999 10.2525V29.5986C34.3999 29.9376 34.3042 30.2697 34.1238 30.5567C33.9434 30.8437 33.6856 31.0739 33.3801 31.2209L27.447 34.0738Z" fill="#1F9CF0"/></g><path opacity="0.25" fill-rule="evenodd" clip-rule="evenodd" d="M26.0052 34.1285C26.2343 34.2179 26.4793 34.2591 26.7251 34.2497C26.9709 34.2403 27.212 34.1804 27.4336 34.0738L33.3633 31.2206C33.6687 31.0736 33.9265 30.8434 34.1068 30.5564C34.2872 30.2694 34.3829 29.9372 34.3828 29.5983V10.2522C34.3828 9.91323 34.2871 9.58119 34.1068 9.29424C33.9264 9.00729 33.6687 8.77709 33.3633 8.63014L27.4339 5.77692C27.0989 5.6157 26.722 5.56263 26.3554 5.62507C25.9889 5.6875 25.6508 5.86235 25.388 6.1254L14.0367 16.4807L9.09236 12.7281C8.86936 12.5588 8.59413 12.4729 8.31442 12.4853C8.03472 12.4977 7.76818 12.6077 7.56106 12.7961L5.97504 14.2387C5.8515 14.3511 5.75277 14.488 5.68518 14.6408C5.6176 14.7935 5.58263 14.9587 5.58252 15.1257C5.58241 15.2928 5.61716 15.458 5.68456 15.6108C5.75195 15.7636 5.85049 15.9007 5.97389 16.0133L10.2616 19.9252L5.97389 23.8371C5.85049 23.9497 5.75195 24.0868 5.68456 24.2396C5.61716 24.3925 5.58241 24.5577 5.58252 24.7247C5.58263 24.8917 5.6176 25.0569 5.68518 25.2097C5.75277 25.3624 5.8515 25.4994 5.97504 25.6118L7.56106 27.0544C7.76818 27.2428 8.03472 27.3527 8.31442 27.3651C8.59413 27.3775 8.86936 27.2916 9.09236 27.1223L14.0367 23.3697L25.388 33.7256C25.5635 33.9014 25.7737 34.0384 26.0052 34.1285ZM27.1868 13.3876L18.5739 19.9252L27.1868 26.4631V13.3876Z" fill="url(#paint0_linear_5437_79124)" style="mix-blend-mode:overlay"/></g><defs><filter id="filter0_d_5437_79124" x="-7.75188" y="-0.850024" width="55.4862" height="48.4354" filterUnits="userSpaceOnUse" color-
Line truncated
|
||||
static CURSOR: Icon = Icon { name: "app-cursor", view: 40.0, body: r##"<g fill="none"><g clip-path="url(#clip0_5436_78947)"><mask id="mask0_5436_78947" style="mask-type:luminance" maskUnits="userSpaceOnUse" x="4" y="4" width="32" height="32"><path d="M4 4H36V36H4V4Z" fill="#ffffff"/></mask><g mask="url(#mask0_5436_78947)"><path d="M28.375 4H11.625C7.41383 4 4 7.41383 4 11.625V28.375C4 32.5862 7.41383 36 11.625 36H28.375C32.5862 36 36 32.5862 36 28.375V11.625C36 7.41383 32.5862 4 28.375 4Z" fill="#000000"/></g><path d="M29.6214 14.2072L20.9502 9.12249C20.6718 8.95917 20.3282 8.95917 20.0498 9.12249L11.3786 14.2072C11.1445 14.3445 11 14.5984 11 14.8733V25.1267C11 25.4012 11.1445 25.6555 11.3786 25.7928L20.0498 30.8775C20.3282 31.0408 20.6718 31.0408 20.9502 30.8775L29.6214 25.7928C29.8555 25.6555 30 25.4016 30 25.1267V14.8733C30 14.5988 29.8555 14.3445 29.6214 14.2072ZM29.0767 15.2843L20.706 30.0101C20.6494 30.1093 20.5 30.0688 20.5 29.9538V20.3115C20.5 20.1189 20.3986 19.9407 20.2342 19.8439L12.0124 15.0226C11.9147 14.9651 11.9546 14.8134 12.0678 14.8134H28.8093C29.047 14.8134 29.1956 15.0751 29.0767 15.2843Z" fill="#ffffff"/></g><defs><clipPath id="clip0_5436_78947"><rect width="32" height="32" fill="#ffffff" transform="translate(4 4)"/></clipPath></defs></g>"## };
|
||||
static ZED: Icon = Icon { name: "app-zed", view: 40.0, body: r##"<g fill="none"><g clip-path="url(#clip0_5437_79109)"><mask id="mask0_5437_79109" style="mask-type:luminance" maskUnits="userSpaceOnUse" x="5" y="5" width="30" height="30"><path d="M5.6001 5.59961H34.4001V34.3996H5.6001V5.59961Z" fill="#ffffff"/></mask><g mask="url(#mask0_5437_79109)"><path fill-rule="evenodd" clip-rule="evenodd" d="M8.3001 7.39961C8.0614 7.39961 7.83248 7.49443 7.6637 7.66321C7.49492 7.832 7.4001 8.06091 7.4001 8.29961V28.0996H5.6001V8.29961C5.6001 7.58352 5.88456 6.89677 6.39091 6.39042C6.89726 5.88407 7.58401 5.59961 8.3001 5.59961H32.4138C33.6165 5.59961 34.2186 7.05371 33.3684 7.90421L18.5166 22.7557H22.7001V20.8996H24.5001V23.206C24.5001 23.5641 24.3579 23.9074 24.1047 24.1606C23.8515 24.4138 23.5081 24.556 23.1501 24.556H16.7166L13.623 27.6496H27.6501V16.3996H29.4501V27.6496C29.4501 28.127 29.2605 28.5848 28.9229 28.9224C28.5853 29.26 28.1275 29.4496 27.6501 29.4496H11.823L8.673 32.5996H31.7001C31.9388 32.5996 32.1677 32.5048 32.3365 32.336C32.5053 32.1672 32.6001 31.9383 32.6001 31.6996V11.8996H34.4001V31.6996C34.4001 32.4157 34.1156 33.1024 33.6093 33.6088C33.1029 34.1151 32.4162 34.3996 31.7001 34.3996H7.5864C6.3837 34.3996 5.7816 32.9455 6.6318 32.095L21.4272 17.2996H17.3001V19.0996H15.5001V16.8496C15.5001 16.4916 15.6423 16.1482 15.8955 15.895C16.1487 15.6418 16.4921 15.4996 16.8501 15.4996H23.2272L26.3772 12.3496H12.3501V23.5996H10.5501V12.3496C10.5501 11.8722 10.7397 11.4144 11.0773 11.0768C11.4149 10.7393 11.8727 10.5496 12.3501 10.5496H28.1772L31.3272 7.39961H8.3001Z" fill="#000000"/></g></g><defs><clipPath id="clip0_5437_79109"><rect width="28.8" height="28.8" fill="#ffffff" transform="translate(5.6001 5.59961)"/></clipPath></defs></g>"## };
|
||||
static ZED_DARK: Icon = Icon { name: "app-zed-dark", view: 40.0, body: r##"<g fill="none"><g clip-path="url(#clip0_5437_79100)"><mask id="mask0_5437_79100" style="mask-type:luminance" maskUnits="userSpaceOnUse" x="5" y="5" width="30" height="30"><path d="M5.6001 5.59961H34.4001V34.3996H5.6001V5.59961Z" fill="#ffffff"/></mask><g mask="url(#mask0_5437_79100)"><path fill-rule="evenodd" clip-rule="evenodd" d="M8.3001 7.39961C8.0614 7.39961 7.83248 7.49443 7.6637 7.66321C7.49492 7.832 7.4001 8.06091 7.4001 8.29961V28.0996H5.6001V8.29961C5.6001 7.58352 5.88456 6.89677 6.39091 6.39042C6.89726 5.88407 7.58401 5.59961 8.3001 5.59961H32.4138C33.6165 5.59961 34.2186 7.05371 33.3684 7.90421L18.5166 22.7557H22.7001V20.8996H24.5001V23.206C24.5001 23.5641 24.3579 23.9074 24.1047 24.1606C23.8515 24.4138 23.5081 24.556 23.1501 24.556H16.7166L13.623 27.6496H27.6501V16.3996H29.4501V27.6496C29.4501 28.127 29.2605 28.5848 28.9229 28.9224C28.5853 29.26 28.1275 29.4496 27.6501 29.4496H11.823L8.673 32.5996H31.7001C31.9388 32.5996 32.1677 32.5048 32.3365 32.336C32.5053 32.1672 32.6001 31.9383 32.6001 31.6996V11.8996H34.4001V31.6996C34.4001 32.4157 34.1156 33.1024 33.6093 33.6088C33.1029 34.1151 32.4162 34.3996 31.7001 34.3996H7.5864C6.3837 34.3996 5.7816 32.9455 6.6318 32.095L21.4272 17.2996H17.3001V19.0996H15.5001V16.8496C15.5001 16.4916 15.6423 16.1482 15.8955 15.895C16.1487 15.6418 16.4921 15.4996 16.8501 15.4996H23.2272L26.3772 12.3496H12.3501V23.5996H10.5501V12.3496C10.5501 11.8722 10.7397 11.4144 11.0773 11.0768C11.4149 10.7393 11.8727 10.5496 12.3501 10.5496H28.1772L31.3272 7.39961H8.3001Z" fill="#ffffff"/></g></g><defs><clipPath id="clip0_5437_79100"><rect width="28.8" height="28.8" fill="#ffffff" transform="translate(5.6001 5.59961)"/></clipPath></defs></g>"## };
|
||||
static FILE_EXPLORER: Icon = Icon { name: "app-file-explorer", view: 40.0, body: r##"<g fill="none"><path d="M16.2414 8.05369L14.955 6.65636C14.7646 6.44946 14.5333 6.2843 14.2757 6.17133C14.0182 6.05836 13.7401 6.00002 13.4588 6H4.86684C4.753 5.99995 4.64025 6.02234 4.53506 6.06589C4.42987 6.10944 4.33429 6.17329 4.25379 6.25379C4.17329 6.33429 4.10944 6.42987 4.06589 6.53506C4.02234 6.64025 3.99995 6.753 4 6.86684V12.8779L4.04302 12.8825C4.10268 12.6706 4.22985 12.4839 4.40523 12.3508C4.5806 12.2177 4.7946 12.1455 5.01476 12.1451H13.189C14.3506 12.1451 15.4795 11.6366 16.1675 10.7004C16.5166 10.2255 16.9726 9.83942 17.4985 9.57327C18.0244 9.30713 18.6056 9.16842 19.195 9.16836H34.9852C35.2544 9.16836 35.5125 9.27527 35.7028 9.46557C35.8931 9.65587 36 9.91398 36 10.1831V8.99058C36 8.77152 35.913 8.56144 35.7581 8.40654C35.6032 8.25164 35.3931 8.16462 35.174 8.16462H16.4953C16.4476 8.16469 16.4004 8.15486 16.3567 8.13577C16.313 8.11667 16.2738 8.08873 16.2414 8.05369Z" fill="url(#paint0_linear_5437_79060)"/><path d="M16.2002 10.3751C15.8497 10.8375 15.397 11.2125 14.8774 11.4707C14.3579 11.7289 13.7855 11.8634 13.2053 11.8634H5.01476C4.88147 11.8634 4.74948 11.8897 4.62634 11.9407C4.5032 11.9917 4.39132 12.0665 4.29709 12.1608C4.20286 12.255 4.12812 12.3669 4.07714 12.4901C4.02617 12.6133 3.99995 12.7453 4 12.8785V32.4302C4 32.6993 4.10691 32.9574 4.29722 33.1477C4.48752 33.338 4.74563 33.4449 5.01476 33.4449H34.9852C35.2544 33.4449 35.5125 33.338 35.7028 33.1477C35.8931 32.9574 36 32.6993 36 32.4302V9.90147C36 9.63234 35.8931 9.37424 35.7028 9.18393C35.5125 8.99363 35.2544 8.88672 34.9852 8.88672H19.195C18.6148 8.88679 18.0425 9.0212 17.5229 9.27942C17.0033 9.53764 16.5506 9.91265 16.2002 10.3751Z" fill="url(#paint1_linear_5437_79060)"/><path d="M27.7632 23.2969H12.2368C11.7852 23.2968 11.3379 23.3857 10.9207 23.5585C10.5034 23.7312 10.1242 23.9846 9.80488 24.3039C9.48553 24.6233 9.23222 25.0024 9.05943 25.4197C8.88664 25.8369 8.79776 26.2842 8.79785 26.7358V33.4448H31.2025V26.7358C31.2021 24.8364 29.6626 23.2969 27.7632 23.2969Z" fill="url(#paint2_linear_5437_79060)"/><path d="M26.5965 29.7865H13.404C13.2154 29.7865 13.0345 29.7116 12.9012 29.5782C12.7678 29.4448 12.6929 29.264 12.6929 29.0754C12.6929 28.8868 12.7678 28.7059 12.9012 28.5725C13.0345 28.4392 13.2154 28.3643 13.404 28.3643H26.5965C26.7851 28.3643 26.966 28.4392 27.0993 28.5725C27.2327 28.7059 27.3076 28.8868 27.3076 29.0754C27.3076 29.264 27.2327 29.4448 27.0993 29.5782C26.966 29.7116 26.7851 29.7865 26.5965 29.7865Z" fill="#10498A"/><defs><linearGradient id="paint0_linear_5437_79060" x1="19.7682" y1="9.59964" x2="19.2608" y2="6.75804" gradientUnits="userSpaceOnUse"><stop stop-color="#CE9918"/><stop offset="0.5902" stop-color="#DF9E00"/></linearGradient><linearGradient id="paint1_linear_5437_79060" x1="26.3559" y1="28.492" x2="13.062" y2="13.1687" gradientUnits="userSpaceOnUse"><stop stop-color="#F5B509"/><stop offset="1" stop-color="#FECE49"/></linearGradient><linearGradient id="paint2_linear_5437_79060" x1="27.4873" y1="32.5737" x2="7.9015" y2="23.2375" gradientUnits="userSpaceOnUse"><stop stop-color="#0161B2"/><stop offset="1" stop-color="#1291DD"/></linearGradient></defs></g>"## };
|
||||
static ITERM2: Icon = Icon { name: "app-iterm2", view: 40.0, body: r##"<g fill="none"><rect x="4" y="4" width="32" height="32" rx="6.4" fill="url(#paint0_linear_5437_79079)"/><rect x="4.80005" y="4.7998" width="30.4" height="30.4" rx="5.6" fill="#000000"/><rect x="7.19995" y="7.2002" width="25.6" height="25.6" rx="3.2" fill="#202A2F"/><path d="M25.2454 8.85742H19.2454V20.8574H25.2454V8.85742Z" fill="#0EE827" fill-opacity="0.35"/><path d="M11.7895 18.9218C11.4758 18.8949 11.1817 18.85 10.9072 18.7872C10.6424 18.7154 10.3973 18.6392 10.1718 18.5584C9.95613 18.4776 9.76496 18.4014 9.59829 18.3296C9.44145 18.2488 9.32378 18.186 9.24536 18.1412L9.87771 16.9567C9.94631 17.0016 10.064 17.0644 10.2306 17.1452C10.3973 17.2259 10.5836 17.3111 10.7895 17.4009C11.0052 17.4816 11.2257 17.5534 11.4513 17.6162C11.6768 17.679 11.8875 17.7105 12.0836 17.7105C13.064 17.7105 13.5542 17.3381 13.5542 16.5933C13.5542 16.4138 13.5199 16.2658 13.4512 16.1492C13.3925 16.0325 13.2993 15.9338 13.1719 15.853C13.0542 15.7633 12.9071 15.687 12.7307 15.6242C12.564 15.5525 12.3729 15.4806 12.1571 15.4089C11.7453 15.2653 11.3777 15.1172 11.0542 14.9647C10.7405 14.8032 10.4708 14.6237 10.2454 14.4263C10.0199 14.2289 9.8483 14.0046 9.73063 13.7534C9.61303 13.5021 9.5542 13.2149 9.5542 12.8919C9.5542 12.6407 9.60812 12.3984 9.71596 12.1651C9.82379 11.9318 9.97572 11.7254 10.1718 11.546C10.3679 11.3576 10.6032 11.2005 10.8777 11.0749C11.1522 10.9403 11.4562 10.8461 11.7895 10.7922V8.85742H12.9954V10.7653C13.2503 10.7922 13.4954 10.8326 13.7307 10.8865C13.966 10.9403 14.1767 10.9986 14.363 11.0614C14.5493 11.1242 14.7062 11.1871 14.8336 11.2499C14.9709 11.3037 15.0689 11.3441 15.1278 11.371L14.5395 12.4747C14.4611 12.4388 14.3483 12.3939 14.2012 12.3401C14.064 12.2773 13.9072 12.2144 13.7307 12.1517C13.5542 12.0888 13.363 12.035 13.1571 11.9901C12.9513 11.9453 12.7454 11.9228 12.5395 11.9228C12.2062 11.9228 11.9071 11.9856 11.6424 12.1112C11.3875 12.2279 11.2601 12.4298 11.2601 12.7169C11.2601 12.8964 11.2944 13.058 11.363 13.2015C11.4414 13.3361 11.5493 13.4573 11.6865 13.5649C11.8336 13.6726 12.0101 13.7758 12.2159 13.8745C12.4316 13.9642 12.6768 14.054 12.9513 14.1437C13.314 14.2782 13.6376 14.4173 13.9218 14.5609C14.2062 14.7045 14.4463 14.866 14.6424 15.0455C14.8385 15.2249 14.9856 15.4313 15.0836 15.6646C15.1914 15.8979 15.2454 16.1715 15.2454 16.4856C15.2454 16.7548 15.1964 17.015 15.0983 17.2662C15.0101 17.5175 14.8679 17.7508 14.6718 17.9661C14.4856 18.1815 14.2503 18.3699 13.966 18.5315C13.6915 18.684 13.3679 18.7962 12.9954 18.8679V20.8574H11.7895V18.9218Z" fill="#0EE827"/><defs><linearGradient id="paint0_linear_5437_79079" x1="20" y1="4" x2="20" y2="36" gradientUnits="userSpaceOnUse"><stop stop-color="#D4E6E8"/><stop offset="1" stop-color="#767573"/></linearGradient></defs></g>"## };
|
||||
static GHOSTTY: Icon = Icon { name: "app-ghostty", view: 40.0, body: r##"<g fill="none"><g clip-path="url(#clip0_5437_79067)"><path d="M27.395 36C26.1435 35.9986 24.9203 35.6274 23.879 34.933C22.8374 35.6273 21.6139 35.9985 20.362 36C19.113 36 17.882 35.625 16.846 34.933C15.8189 35.6241 14.61 35.9954 13.372 36H13.334C12.4944 36.0006 11.6633 35.8321 10.8902 35.5047C10.1171 35.1772 9.41781 34.6975 8.83405 34.094C7.65642 32.8996 6.99679 31.2893 6.99805 29.612V17.362C7.00005 9.995 12.994 4 20.362 4C27.731 4 33.725 9.994 33.725 17.363V29.616C33.725 33.009 31.099 35.808 27.747 35.991C27.63 35.998 27.513 36 27.395 36Z" fill="#3551F3"/><path d="M27.395 34.5932C26.2752 34.5924 25.1889 34.2104 24.315 33.5102C24.1961 33.4145 24.0476 33.3632 23.895 33.3652C23.7174 33.367 23.5457 33.4291 23.408 33.5412C22.5392 34.2237 21.4668 34.5951 20.362 34.5962C19.2576 34.5949 18.1855 34.2234 17.317 33.5412C17.1835 33.4338 17.0174 33.3752 16.846 33.3752C16.6747 33.3752 16.5085 33.4338 16.375 33.5412C15.518 34.2199 14.4581 34.5914 13.365 34.5962H13.332C12.6806 34.5961 12.0359 34.4649 11.4362 34.2102C10.8366 33.9556 10.2945 33.5829 9.84201 33.1142C8.92225 32.1822 8.40639 30.9256 8.40601 29.6162V17.3672C8.40601 10.7702 13.77 5.40723 20.363 5.40723C26.955 5.40723 32.319 10.7702 32.319 17.3632V29.6162C32.319 32.2612 30.277 34.4432 27.669 34.5862C27.5777 34.5909 27.4864 34.5932 27.395 34.5932Z" fill="#000000"/><path d="M30.912 17.3635V29.6165C30.912 31.4925 29.465 33.0795 27.592 33.1825C26.725 33.2323 25.8704 32.9582 25.194 32.4135C24.416 31.7875 23.321 31.8155 22.536 32.4345C21.9163 32.9237 21.1495 33.1891 20.36 33.1875C19.5714 33.1889 18.8056 32.9235 18.187 32.4345C17.8057 32.1306 17.3326 31.9651 16.845 31.9651C16.3574 31.9651 15.8843 32.1306 15.503 32.4345C14.8904 32.9183 14.1336 33.1834 13.353 33.1875C11.405 33.2015 9.81299 31.5605 9.81299 29.6125V17.3625C9.81299 11.5375 14.537 6.81348 20.363 6.81348C26.188 6.81348 30.912 11.5375 30.912 17.3635Z" fill="#ffffff"/><path d="M18.28 16.4366L14.35 14.1666C14.104 14.0248 13.8117 13.9865 13.5374 14.06C13.2632 14.1335 13.0292 14.3128 12.887 14.5586C12.7452 14.8045 12.7067 15.0966 12.78 15.3709C12.8533 15.6452 13.0324 15.8792 13.278 16.0216L15.604 17.3646L13.278 18.7076C13.045 18.8559 12.8783 19.0886 12.8126 19.3569C12.7469 19.6252 12.7873 19.9085 12.9255 20.1478C13.0636 20.387 13.2887 20.5637 13.554 20.641C13.8192 20.7183 14.104 20.6902 14.349 20.5626L18.281 18.2926C18.4436 18.1985 18.5786 18.0633 18.6724 17.9006C18.7662 17.7379 18.8156 17.5534 18.8156 17.3656C18.8156 17.1777 18.7662 16.9932 18.6724 16.8305C18.5786 16.6678 18.4436 16.5326 18.281 16.4386V16.4366H18.28ZM27.182 16.2906H22.018C21.7338 16.2906 21.4613 16.4034 21.2604 16.6044C21.0594 16.8053 20.9465 17.0779 20.9465 17.3621C20.9465 17.6462 21.0594 17.9188 21.2604 18.1197C21.4613 18.3207 21.7338 18.4336 22.018 18.4336H27.182C27.4662 18.4336 27.7387 18.3207 27.9397 18.1197C28.1406 17.9188 28.2535 17.6462 28.2535 17.3621C28.2535 17.0779 28.1406 16.8053 27.9397 16.6044C27.7387 16.4034 27.4662 16.2906 27.182 16.2906Z" fill="#000000"/></g><defs><clipPath id="clip0_5437_79067"><rect width="27" height="32" fill="#ffffff" transform="translate(7 4)"/></clipPath></defs></g>"## };
|
||||
static ANDROID_STUDIO: Icon = Icon { name: "app-android-studio", view: 40.0, body: r##"<g fill="none"><mask id="mask0_5436_78784" style="mask-type:luminance" maskUnits="userSpaceOnUse" x="2" y="2" width="36" height="36"><path d="M36.5936 2H3.4064C2.62967 2 2 2.62967 2 3.4064V36.5936C2 37.3703 2.62967 38 3.4064 38H36.5936C37.3703 38 38 37.3703 38 36.5936V3.4064C38 2.62967 37.3703 2 36.5936 2Z" fill="#ffffff"/></mask><g mask="url(#mask0_5436_78784)"><path opacity="0.2" d="M15.7562 37.8478C15.1622 37.7074 14.666 37.378 13.9706 36.6652C12.8096 35.4736 11.867 34.978 10.229 34.696C8.53043 34.4032 7.77503 33.772 7.32143 32.2636C6.76103 30.4012 6.17543 29.5096 4.88843 28.5592C3.42863 27.481 3.05423 26.5306 3.41063 24.8074C3.74063 23.2114 3.61463 22.0774 2.94383 20.6182C2.14463 18.8782 2.24303 17.9482 3.37883 16.522C4.41983 15.214 4.74683 14.35 4.90283 12.4924C5.06003 10.6174 5.58203 9.84819 7.11803 9.22539C8.40083 8.70579 9.49763 7.80339 10.106 6.76899C10.8092 5.57199 10.9118 5.43519 11.3474 5.10999C12.0506 4.58559 12.6194 4.43979 13.7018 4.50759C15.5828 4.62579 16.5908 4.39959 17.8538 3.57759C19.5008 2.50539 20.4992 2.50539 22.1462 3.57759C23.4092 4.39959 24.4172 4.62579 26.2982 4.50759C28.0766 4.39659 28.8164 4.86339 29.9006 6.78099C30.4382 7.73139 31.5362 8.65599 32.7386 9.17019C34.4498 9.90279 34.9478 10.5718 35.0738 12.3094C35.2106 14.191 35.5964 15.2434 36.6188 16.5214C37.757 17.9452 37.856 18.8764 37.0556 20.6182C36.3854 22.0768 36.2594 23.2114 36.5894 24.8074C36.9452 26.5306 36.5714 27.481 35.111 28.5592C33.8246 29.5096 33.239 30.4012 32.6786 32.2636C32.2244 33.772 31.4696 34.4032 29.7704 34.696C28.1294 34.978 27.1856 35.476 26.0294 36.6688C24.7472 37.9912 23.8274 38.209 22.0352 37.6168C20.5694 37.132 19.4402 37.1302 17.9798 37.609C16.9574 37.945 16.412 38.0032 15.7562 37.8478Z" fill="#000000"/><path d="M15.7562 37.4962C15.1622 37.3558 14.666 37.0264 13.9706 36.3136C12.8096 35.122 11.867 34.6264 10.229 34.3444C8.53043 34.0516 7.77503 33.4204 7.32143 31.912C6.76103 30.0496 6.17543 29.158 4.88843 28.2076C3.42863 27.1294 3.05423 26.179 3.41063 24.4558C3.74063 22.8598 3.61463 21.7258 2.94383 20.2666C2.14463 18.5266 2.24303 17.5966 3.37883 16.1704C4.41983 14.8624 4.74683 13.9984 4.90283 12.1408C5.06003 10.2658 5.58203 9.49662 7.11803 8.87382C8.40083 8.35422 9.49763 7.45182 10.106 6.41742C10.8092 5.22042 10.9118 5.08362 11.3474 4.75842C12.0506 4.23402 12.6194 4.08822 13.7018 4.15602C15.5828 4.27422 16.5908 4.04802 17.8538 3.22602C19.5008 2.15383 20.4992 2.15383 22.1462 3.22602C23.4092 4.04802 24.4172 4.27422 26.2982 4.15602C28.0766 4.04502 28.8164 4.51182 29.9006 6.42942C30.4382 7.37982 31.5362 8.30442 32.7386 8.81862C34.4498 9.55122 34.9478 10.2202 35.0738 11.9578C35.2106 13.8394 35.5964 14.8918 36.6188 16.1698C37.757 17.5936 37.856 18.5248 37.0556 20.2666C36.3854 21.7258 36.2594 22.8604 36.5894 24.4558C36.9452 26.179 36.5714 27.1294 35.111 28.2076C33.8246 29.158 33.239 30.0496 32.6786 31.912C32.2244 33.4204 31.4696 34.0516 29.7704 34.3444C28.1294 34.6264 27.1856 35.1244 26.0294 36.3172C24.7472 37.6396 23.8274 37.8574 22.0352 37.2652C20.5694 36.7804 19.4402 36.7786 17.9798 37.2574C16.9574 37.5934 16.412 37.6516 15.7562 37.4962Z" fill="#ffffff"/><path d="M28.0543 30.5054C28.0876 30.6095 28.0808 30.7223 28.0352 30.8217C27.9896 30.9211 27.9086 30.9999 27.8079 31.0426C27.7073 31.0854 27.5943 31.089 27.4912 31.0527C27.388 31.0165 27.3021 30.9431 27.2503 30.8468L26.1937 28.8848C26.1508 28.8057 26.125 28.7185 26.1178 28.6288C26.1106 28.5392 26.1222 28.449 26.1519 28.3641C26.1816 28.2792 26.2287 28.2014 26.2902 28.1358C26.3517 28.0702 26.4263 28.0181 26.5091 27.983C26.5919 27.9478 26.6811 27.9304 26.7711 27.9317C26.861 27.9331 26.9497 27.9532 27.0314 27.9908C27.1131 28.0285 27.186 28.0827 27.2455 28.1502C27.305 28.2177 27.3497 28.2968 27.3769 28.3826L28.0543 30.5054Z" fill="#034ECA"/><path d="M28.0543 30.5054C28.0876 30.6095 28.0808 30.7223 28.0352 30.8217C27.9896 30.9211 27.9086 30.9999 27.8079 31.0426C27.7073 31.0854 27.5943 31.089 27.4912 31.0527C27.388 31.0165 27.3021 30.9431 27.2503 30.8468L26.1937 28.8848C26.1508 28.8057 26.125 28.7185 26.1178 28.6288C26.1106 28.5392 26.1222 28.449 26.1519 28.3641C26.1816 28.2792 26.2287 28.2014 26.2902 28.1358C26.3517 28.0702 26.4263 28.0181 26.5091 27.983C26.5919 27.9478 26.6811 27.9304 26.7711 27.9317C26.861 27.9331 26.9497 27.9532 27.0314 27.9908C27.1131 28.0285 27.186 28.0827 27.2455 28.1502C27.305 28.2177 27.3497 28.2968 27.3769 28.3826L28.0543 30.5054Z" fill="url(#paint0_linear_5436_78784)"/><mask id="mask1_5436_78784" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="24" y="16" width="7" height="8"><path d="M27.2289 23.4656C27.6264 23.2061 27.9706 22.8729 28.2429 22.484C28.5285 22.0786 28.7308 21.6206 28.8381 21.1364L28.8459 21.1376L29.2899 21.2216C29.5379 21.2683 29.7859 21.3149 30.0339 21.3614C30.0861 21.3707 30.1397 21.368 30.1907 21.3535C30.2416 21.3389 30.2886 21.3129 30.3279 21.2774C30.3896 21.2221 30.4289 21.1461 30.4385 21.0638C30.4481 20.9815 30.4274 20.8985
Line truncated
|
||||
static ANTIGRAVITY: Icon = Icon { name: "app-antigravity", view: 40.0, body: r##"<g fill="none"><mask id="mask0_5436_78917" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="4" y="4" width="32" height="32"><path d="M33.0017 34.7292C34.7884 36.1587 37.4682 35.2056 35.0115 32.5854C27.6419 24.9626 29.2053 4 20.049 4C10.8927 4 12.456 24.9626 5.08629 32.5854C2.40641 35.4438 5.3096 36.1587 7.09621 34.7292C14.0192 29.7269 13.5726 20.913 20.049 20.913C26.5253 20.913 26.0787 29.7269 33.0017 34.7292Z" fill="#000000"/></mask><g mask="url(#mask0_5436_78917)"><g filter="url(#filter0_f_5436_78917)"><path d="M2.6428 -3.09688C2.0994 2.00961 6.22486 6.70203 11.8573 7.38397C17.4897 8.06591 22.4962 4.47909 23.0395 -0.627401C23.5829 -5.73389 19.4575 -10.4263 13.8251 -11.1082C8.19268 -11.7902 3.1862 -8.20337 2.6428 -3.09688Z" fill="#FFE432"/></g><g filter="url(#filter1_f_5436_78917)"><path d="M24.359 13.5949C25.7702 20.0758 31.9478 24.0825 38.1572 22.5441C44.3666 21.0058 48.2563 14.5049 46.8451 8.0241C45.4339 1.54324 39.2563 -2.46345 33.0469 -0.925119C26.8375 0.613209 22.9479 7.11405 24.359 13.5949Z" fill="#FC413D"/></g><g filter="url(#filter2_f_5436_78917)"><path d="M-12.5892 17.9443C-10.8061 24.6327 -2.77556 28.0574 5.34752 25.5933C13.4706 23.1294 18.6101 15.7099 16.827 9.02145C15.0439 2.33301 7.0133 -1.09159 -1.10977 1.3724C-9.23284 3.83637 -14.3724 11.2559 -12.5892 17.9443Z" fill="#00B95C"/></g><g filter="url(#filter3_f_5436_78917)"><path d="M-12.5892 17.9443C-10.8061 24.6327 -2.77556 28.0574 5.34752 25.5933C13.4706 23.1294 18.6101 15.7099 16.827 9.02145C15.0439 2.33301 7.0133 -1.09159 -1.10977 1.3724C-9.23284 3.83637 -14.3724 11.2559 -12.5892 17.9443Z" fill="#00B95C"/></g><g filter="url(#filter4_f_5436_78917)"><path d="M-6.1442 23.4854C-1.67415 28.3554 6.02429 28.048 11.0507 22.7989C16.0772 17.5497 16.5282 9.34639 12.0581 4.47628C7.58808 -0.39381 -0.110356 -0.0864739 -5.13679 5.16274C-10.1632 10.412 -10.6143 18.6153 -6.1442 23.4854Z" fill="#00B95C"/></g><g filter="url(#filter5_f_5436_78917)"><path d="M17.2432 41.8532C18.6312 48.2281 24.4218 52.24 30.1768 50.8142C35.9317 49.3883 39.4718 43.0649 38.0837 36.6901C36.6958 30.3153 30.9053 26.3034 25.1501 27.7291C19.3952 29.155 15.8551 35.4784 17.2432 41.8532Z" fill="#3186FF"/></g><g filter="url(#filter6_f_5436_78917)"><path d="M7.43056 -9.06427C4.52402 -2.15801 7.70398 6.09157 14.5332 9.36164C21.3624 12.6317 29.2548 9.68399 32.1612 2.77772C35.0679 -4.12855 31.8879 -12.3781 25.0588 -15.6482C18.2295 -18.9183 10.3371 -15.9705 7.43056 -9.06427Z" fill="#FBBC04"/></g><g filter="url(#filter7_f_5436_78917)"><path d="M-0.355758 57.5976C-7.3922 54.6515 4.6329 30.4094 7.6231 22.2847C10.6134 14.1599 18.7416 9.96211 25.778 12.9086C32.8145 15.855 41.1549 32.0836 38.1644 40.2085C35.1742 48.3331 6.6807 60.544 -0.355758 57.5976Z" fill="#3186FF"/></g><g filter="url(#filter8_f_5436_78917)"><path d="M42.2801 27.4246C40.3961 29.7697 35.48 28.5738 31.2997 24.7533C27.1193 20.9328 25.2575 15.9345 27.1413 13.5892C29.0251 11.244 33.9411 12.4399 38.1215 16.2604C42.3019 20.0809 44.1638 25.0792 42.2801 27.4246Z" fill="#749BFF"/></g><g filter="url(#filter9_f_5436_78917)"><path d="M28.2171 15.4855C35.9652 21.076 44.8873 21.4433 48.1454 16.3058C51.4034 11.1683 47.7636 2.47155 40.0155 -3.11898C32.2675 -8.7095 23.3454 -9.07676 20.0874 -3.93929C16.8293 1.19821 20.4691 9.89496 28.2171 15.4855Z" fill="#FC413D"/></g><g filter="url(#filter10_f_5436_78917)"><path d="M2.78038 6.39313C0.860867 11.3323 1.48778 16.3015 4.18063 17.4922C6.87347 18.6829 10.6125 15.6442 12.5321 10.7051C14.4516 5.76593 13.8246 0.796692 11.1318 -0.394021C8.43895 -1.58473 4.69989 1.45397 2.78038 6.39313Z" fill="#FFEE48"/></g></g><defs><filter id="filter0_f_5436_78917" x="0.0242057" y="-13.7619" width="25.634" height="23.7992" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/><feGaussianBlur stdDeviation="1.28526" result="effect1_foregroundBlur_5436_78917"/></filter><filter id="filter1_f_5436_78917" x="11.6427" y="-13.681" width="47.9187" height="48.9812" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/><feGaussianBlur stdDeviation="6.21356" result="effect1_foregroundBlur_5436_78917"/></filter><filter id="filter2_f_5436_78917" x="-23.5069" y="-9.99099" width="51.2515" height="46.9478" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/><feGaussianBlur stdDeviation="5.28212" result="effect1_foregroundBlur_5436_78917"/></filter><filter id="filter3_f_5436_78917" x="-23.5069" y="-9.99099" width="51.2515" height="46.9478" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flo
Line truncated
|
||||
static POWERSHELL: Icon = Icon { name: "app-powershell", view: 40.0, body: r##"<g fill="none"><path fill-rule="evenodd" clip-rule="evenodd" d="M34.9013 7.2002H10.604C9.83641 7.2002 9.09532 7.84723 8.91004 8.66305L4.03999 31.3373C3.85472 32.1532 4.33113 32.8002 5.0987 32.8002H29.396C30.1636 32.8002 30.9047 32.1532 31.09 31.3373L35.96 8.69118C36.1453 7.87536 35.6689 7.2002 34.9013 7.2002Z" fill="url(#paint0_linear_5437_79143)"/><path fill-rule="evenodd" clip-rule="evenodd" d="M19.7489 26.5009H25.2421C25.8826 26.5009 26.3999 27.0942 26.3999 27.8223C26.3999 28.5505 25.8826 29.1438 25.2421 29.1438H19.7489C19.1085 29.1438 18.5912 28.5505 18.5912 27.8223C18.5912 27.0942 19.1085 26.5009 19.7489 26.5009ZM23.3208 20.6216C23.2222 20.8374 23.0252 21.0531 22.6803 21.3228L12.4575 29.3596C11.8909 29.7911 11.1027 29.6293 10.6593 28.982C10.2405 28.3347 10.339 27.4448 10.881 27.0133L20.0938 19.7047V19.5429L14.305 12.8006C13.837 12.2612 13.8862 11.3713 14.4035 10.8049C14.9455 10.2655 15.7584 10.2655 16.2264 10.8049L23.173 18.8956C23.5917 19.408 23.6163 20.1092 23.3208 20.6216Z" fill="#2C5591"/><path fill-rule="evenodd" clip-rule="evenodd" d="M23.2368 20.6216C23.1387 20.8374 22.9426 21.0531 22.5993 21.3228L12.448 29.3596C11.8841 29.7911 11.0994 29.6293 10.6581 28.982C10.2412 28.3347 10.3393 27.4448 10.8788 27.0133L20.0492 19.7047V19.5429L14.287 12.8006C13.8212 12.2612 13.8702 11.3713 14.3851 10.8049C14.9246 10.2655 15.7337 10.2655 16.1996 10.8049L23.1142 18.8956C23.5311 19.3811 23.5556 20.0822 23.2368 20.6216ZM19.7795 26.6357H25.2475C25.885 26.6357 26.3999 27.202 26.3999 27.8763C26.3999 28.5775 25.885 29.1168 25.2475 29.1168H19.7795C19.142 29.1168 18.6271 28.5505 18.6271 27.8763C18.6271 27.1751 19.142 26.6357 19.7795 26.6357Z" fill="#ffffff"/><defs><linearGradient id="paint0_linear_5437_79143" x1="9.76654" y1="10.3425" x2="29.068" y2="26.4694" gradientUnits="userSpaceOnUse"><stop stop-color="#2D4664"/><stop offset="0.169" stop-color="#29405B"/><stop offset="0.445" stop-color="#1E2F43"/><stop offset="0.79" stop-color="#0C131B"/><stop offset="1"/></linearGradient></defs></g>"## };
|
||||
static WINDOWS_TERMINAL: Icon = Icon { name: "app-windows-terminal", view: 40.0, body: r##"<g fill="none"><rect x="4" y="7" width="32" height="26" rx="3" fill="#1F1F1F"/><path d="M4 10C4 8.34315 5.34315 7 7 7H33C34.6569 7 36 8.34315 36 10V13H4V10Z" fill="url(#paint0_linear_wt)"/><rect x="4.5" y="7.5" width="31" height="25" rx="2.5" stroke="#000000" stroke-opacity="0.3"/><path d="M11 18.5L16 22L11 25.5" stroke="#ffffff" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M18.5 26.5H27.5" stroke="#ffffff" stroke-width="2" stroke-linecap="round"/><defs><linearGradient id="paint0_linear_wt" x1="4" y1="7" x2="36" y2="13" gradientUnits="userSpaceOnUse"><stop stop-color="#3A96DD"/><stop offset="1" stop-color="#2F66C4"/></linearGradient></defs></g>"## };
|
||||
static SUBLIME_TEXT: Icon = Icon { name: "app-sublime-text", view: 40.0, body: r##"<g fill="none"><g clip-path="url(#clip0_5436_78897)"><path d="M35.911 20.0773C35.911 19.7026 35.552 19.4866 35.1114 19.5939L4.79962 27.0055C4.35812 27.1135 4 27.5052 4 27.8792V35.4541C4 35.8288 4.35812 36.0455 4.79962 35.9375L35.1114 28.5266C35.552 28.4187 35.911 28.0269 35.911 27.6523V20.0774V20.0773Z" fill="url(#paint0_linear_5436_78897)"/><path d="M4 19.8353C4 20.21 4.35812 20.6016 4.79962 20.7097L35.1159 28.1219C35.5573 28.2299 35.9155 28.0133 35.9155 27.6393V20.0637C35.9155 19.6897 35.5573 19.298 35.1159 19.19L4.79962 11.7778C4.35812 11.6699 4 11.8858 4 12.2603V19.8353V19.8353Z" fill="#FF9800"/><path d="M35.911 4.51106C35.911 4.1365 35.552 3.91973 35.1114 4.02778L4.79962 11.4387C4.35812 11.5466 4 11.9383 4 12.313V19.8879C4 20.2626 4.35812 20.4786 4.79962 20.3712L35.1114 12.9596C35.552 12.8517 35.911 12.46 35.911 12.086V4.51106Z" fill="#FF9800"/></g><defs><linearGradient id="paint0_linear_5436_78897" x1="1762.84" y1="981.852" x2="1845.15" y2="624.882" gradientUnits="userSpaceOnUse"><stop stop-color="#FF9700"/><stop offset="0.53" stop-color="#F48E00"/><stop offset="1" stop-color="#D06F00"/></linearGradient><clipPath id="clip0_5436_78897"><rect width="32" height="32" fill="#ffffff" transform="translate(4 4)"/></clipPath></defs></g>"## };
|
||||
|
||||
/// Desktop's mark for app `id` (`AppIcon`'s ids: "vscode", "file-explorer", ...), in the
|
||||
/// variant for a dark or light appearance; None for the marks Desktop draws from PNGs. Windows
|
||||
/// Terminal isn't one of Desktop's: its mark here is drawn for Rune (a console window with a prompt).
|
||||
pub fn named(id: &str, dark: bool) -> Option<&'static Icon> {
|
||||
Some(match id {
|
||||
"zed" if dark => &ZED_DARK,
|
||||
"vscode" => &VSCODE,
|
||||
"cursor" => &CURSOR,
|
||||
"zed" => &ZED,
|
||||
"file-explorer" => &FILE_EXPLORER,
|
||||
"iterm2" => &ITERM2,
|
||||
"ghostty" => &GHOSTTY,
|
||||
"android-studio" => &ANDROID_STUDIO,
|
||||
"antigravity" => &ANTIGRAVITY,
|
||||
"powershell" => &POWERSHELL,
|
||||
"windows-terminal" => &WINDOWS_TERMINAL,
|
||||
"sublime-text" => &SUBLIME_TEXT,
|
||||
_ => return None,
|
||||
})
|
||||
}
|
||||
@@ -0,0 +1,46 @@
|
||||
//! `@opencode/ui`'s `FileIcon`: the colour file-type badge Desktop shows beside a path in the
|
||||
//! command palette, the `@` mention list, tool rows, review headers and file tabs, chosen as its
|
||||
//! `chooseIconName` does. The badges paint their own colours, so `rune::icon` draws them as they
|
||||
//! are in either appearance; draw them at 16 points (`file-icon.css`).
|
||||
//!
|
||||
//! ```ignore
|
||||
//! row().gap(8.0).child(icon(file_icons::file("src/util/format.ts"), 16.0)).child(text("format.ts"))
|
||||
//! ```
|
||||
|
||||
mod catalog;
|
||||
|
||||
use rune::Icon;
|
||||
|
||||
/// The badge for a file at `path` (`/` or `\` separated, or just a name): its whole name first
|
||||
/// (`package.json`, `Dockerfile`), then its dotted suffixes longest first (`d.ts` before `ts`), else
|
||||
/// the plain document.
|
||||
pub fn file(path: &str) -> &'static Icon {
|
||||
let name = basename(path).to_lowercase();
|
||||
if let Some(icon) = catalog::by_file_name(&name) {
|
||||
return icon;
|
||||
}
|
||||
// The whole name counts as a suffix too, so `dockerfile` matches without a dot.
|
||||
std::iter::once(0)
|
||||
.chain(name.match_indices('.').map(|(i, _)| i + 1).filter(|&i| i < name.len()))
|
||||
.find_map(|i| catalog::by_extension(&name[i..]))
|
||||
.unwrap_or(&catalog::DOCUMENT)
|
||||
}
|
||||
|
||||
/// The icon for a folder at `path`, open or closed: by its name as written, or with a leading
|
||||
/// `.` or `_`, or wrapped in `__` (`src`, `.github`, `__tests__`), else the plain folder.
|
||||
pub fn folder(path: &str, expanded: bool) -> &'static Icon {
|
||||
let name = basename(path).to_lowercase();
|
||||
let variants = [name.clone(), format!(".{name}"), format!("_{name}"), format!("__{name}__")];
|
||||
let (closed, open) =
|
||||
variants.iter().find_map(|v| catalog::by_folder_name(v)).unwrap_or((&catalog::FOLDER, &catalog::FOLDER_OPEN));
|
||||
if expanded { open } else { closed }
|
||||
}
|
||||
|
||||
/// Every badge and folder icon, for a gallery.
|
||||
pub fn all() -> &'static [&'static Icon] {
|
||||
catalog::ALL
|
||||
}
|
||||
|
||||
fn basename(path: &str) -> &str {
|
||||
path.rsplit(['/', '\\']).find(|s| !s.is_empty()).unwrap_or("")
|
||||
}
|
||||
File diff suppressed because it is too large.
Load diff
+351
@@ -0,0 +1,351 @@
|
||||
//! Generated by tools/icons.py from @opencode/ui's icon catalog. Do not edit.
|
||||
#![allow(dead_code)]
|
||||
use rune::Icon;
|
||||
pub static ALIGN_RIGHT: Icon = Icon { name: "align-right", view: 20.0, body: r#"<path d="M12.292 6.04167L16.2503 9.99998L12.292 13.9583M2.91699 9.99998H15.6253M17.0837 3.75V16.25" stroke="currentColor" stroke-linecap="square"/>"# };
|
||||
pub static ARROW_UP: Icon = Icon { name: "arrow-up", view: 16.0, body: r#"<path d="M8 12.5V3.5M11.5 7L8 3.5L4.5 7" stroke-linecap="round" stroke-linejoin="round" stroke="currentColor"/>"# };
|
||||
pub static ARROW_LEFT: Icon = Icon { name: "arrow-left", view: 16.0, body: r#"<g transform="rotate(270 8 8)"><path d="M8 12.5V3.5M11.5 7L8 3.5L4.5 7" stroke-linecap="round" stroke-linejoin="round" stroke="currentColor"/></g>"# };
|
||||
pub static ARROW_RIGHT: Icon = Icon { name: "arrow-right", view: 16.0, body: r#"<g transform="rotate(90 8 8)"><path d="M8 12.5V3.5M11.5 7L8 3.5L4.5 7" stroke-linecap="round" stroke-linejoin="round" stroke="currentColor"/></g>"# };
|
||||
pub static ARCHIVE: Icon = Icon { name: "archive", view: 16.0, body: r#"<path d="M2.5 5.5V13.5H13.5V5.5M2.5 5.5H1.5V2.5H14.5V5.5H13.5M2.5 5.5H13.5M6.5 7.5H9.5" stroke-linecap="round" stroke-linejoin="round" stroke="currentColor"/>"# };
|
||||
pub static PROMPT: Icon = Icon { name: "prompt", view: 20.0, body: r#"<path d="M14.5841 12.0807H17.9193V2.91406H5.6276V6.2474M14.5859 6.2474H2.08594V15.4141H5.0026V17.4974L8.7526 15.4141H14.5859V6.2474Z" stroke="currentColor" stroke-linecap="square"/>"# };
|
||||
pub static BRAIN: Icon = Icon { name: "brain", view: 20.0, body: r#"<path d="M13.332 8.7487C11.4911 8.7487 9.9987 7.25631 9.9987 5.41536M6.66536 11.2487C8.50631 11.2487 9.9987 12.7411 9.9987 14.582M9.9987 2.78209L9.9987 17.0658M16.004 15.0475C17.1255 14.5876 17.9154 13.4849 17.9154 12.1978C17.9154 11.3363 17.5615 10.5575 16.9913 9.9987C17.5615 9.43991 17.9154 8.66108 17.9154 7.79962C17.9154 6.21199 16.7136 4.90504 15.1702 4.73878C14.7858 3.21216 13.4039 2.08203 11.758 2.08203C11.1171 2.08203 10.5162 2.25337 9.9987 2.55275C9.48117 2.25337 8.88032 2.08203 8.23944 2.08203C6.59353 2.08203 5.21157 3.21216 4.82722 4.73878C3.28377 4.90504 2.08203 6.21199 2.08203 7.79962C2.08203 8.66108 2.43585 9.43991 3.00609 9.9987C2.43585 10.5575 2.08203 11.3363 2.08203 12.1978C2.08203 13.4849 2.87191 14.5876 3.99339 15.0475C4.46688 16.7033 5.9917 17.9154 7.79962 17.9154C8.61335 17.9154 9.36972 17.6698 9.9987 17.2488C10.6277 17.6698 11.384 17.9154 12.1978 17.9154C14.0057 17.9154 15.5305 16.7033 16.004 15.0475Z" stroke="currentColor"/>"# };
|
||||
pub static FORK: Icon = Icon { name: "fork", view: 16.0, body: r#"<path d="M8.39211 13.5L8.39211 8.10506C8.39211 8.03787 8.36505 7.9735 8.31705 7.92648L2.77783 2.50007M6.77783 2.50007L2.77783 2.50007L2.77783 6.50007M13.5002 6.50007L13.5002 2.50007L9.5002 2.50007M13.5002 2.50007L10 6" stroke-linecap="round" stroke-linejoin="round" stroke="currentColor"/>"# };
|
||||
pub static WORKSPACE_ISOLATED: Icon = Icon { name: "workspace-isolated", view: 16.0, body: r#"<path d="M10.5 10.5V5.5H5.5V10.5H10.5Z" fill="currentColor"/><rect x="2.5" y="2.5" width="11" height="11" stroke="currentColor"/>"# };
|
||||
pub static BULLET_LIST: Icon = Icon { name: "bullet-list", view: 16.0, body: r#"<path d="M8.5 4.5H14.5M8.5 11.5H14.5M1.5 2.5V6.5H5.5V2.5H1.5ZM1.5 9.5V13.5H5.5V9.5H1.5Z" stroke-linecap="round" stroke-linejoin="round" stroke="currentColor"/>"# };
|
||||
pub static CHEVRON_DOWN: Icon = Icon { name: "chevron-down", view: 16.0, body: r#"<g transform="rotate(180 8 8)"><path d="M4.5 9.5L8 6.5L11.5 9.5" stroke-linecap="round" stroke-linejoin="round" stroke="currentColor"/></g>"# };
|
||||
pub static CHEVRON_LEFT: Icon = Icon { name: "chevron-left", view: 16.0, body: r#"<g transform="rotate(270 8 8)"><path d="M4.5 9.5L8 6.5L11.5 9.5" stroke-linecap="round" stroke-linejoin="round" stroke="currentColor"/></g>"# };
|
||||
pub static CHEVRON_RIGHT: Icon = Icon { name: "chevron-right", view: 16.0, body: r#"<g transform="rotate(90 8 8)"><path d="M4.5 9.5L8 6.5L11.5 9.5" stroke-linecap="round" stroke-linejoin="round" stroke="currentColor"/></g>"# };
|
||||
pub static CHEVRON_GRABBER_VERTICAL: Icon = Icon { name: "chevron-grabber-vertical", view: 16.0, body: r#"<path d="M5 6L8 3.5L11 6M5 10L8 12.5L11 10" stroke-linecap="round" stroke-linejoin="round" stroke="currentColor"/>"# };
|
||||
pub static CHEVRON_DOUBLE_RIGHT: Icon = Icon { name: "chevron-double-right", view: 20.0, body: r#"<path d="M11.6654 13.3346L14.9987 10.0013L11.6654 6.66797M5.83203 13.3346L9.16536 10.0013L5.83203 6.66797" stroke="currentColor" stroke-linecap="square"/>"# };
|
||||
pub static CIRCLE_X: Icon = Icon { name: "circle-x", view: 20.0, body: r#"<path fill-rule="evenodd" clip-rule="evenodd" d="M1.6665 10.0003C1.6665 5.39795 5.39746 1.66699 9.99984 1.66699C14.6022 1.66699 18.3332 5.39795 18.3332 10.0003C18.3332 14.6027 14.6022 18.3337 9.99984 18.3337C5.39746 18.3337 1.6665 14.6027 1.6665 10.0003ZM7.49984 6.91107L6.91058 7.50033L9.41058 10.0003L6.91058 12.5003L7.49984 13.0896L9.99984 10.5896L12.4998 13.0896L13.0891 12.5003L10.5891 10.0003L13.0891 7.50033L12.4998 6.91107L9.99984 9.41107L7.49984 6.91107Z" fill="currentColor"/>"# };
|
||||
pub static CLOSE: Icon = Icon { name: "close", view: 16.0, body: r#"<path d="M4.5 11.5L8 8M8 8L11.5 4.5M8 8L4.5 4.5M8 8L11.5 11.5" stroke-linecap="round" stroke="currentColor"/>"# };
|
||||
pub static CHECKLIST: Icon = Icon { name: "checklist", view: 20.0, body: r#"<path d="M9.58342 13.7498H17.0834M9.58342 6.24984H17.0834M2.91675 6.6665L4.58341 7.9165L7.08341 4.1665M2.91675 14.1665L4.58341 15.4165L7.08341 11.6665" stroke="currentColor" stroke-linecap="square"/>"# };
|
||||
pub static TERMINAL: Icon = Icon { name: "terminal", view: 16.0, body: r#"<path d="M4.5 11.5L7.5 8.5L4.5 5.5M11.5 11.5H8.5" stroke-linecap="round" stroke-linejoin="round" stroke="currentColor"/><path d="M1.5 14.25V1.75C1.5 1.61193 1.61193 1.5 1.75 1.5H14.25C14.3881 1.5 14.5 1.61193 14.5 1.75V14.25C14.5 14.3881 14.3881 14.5 14.25 14.5H1.75C1.61193 14.5 1.5 14.3881 1.5 14.25Z" stroke-linecap="round" stroke="currentColor"/>"# };
|
||||
pub static TERMINAL_ACTIVE: Icon = Icon { name: "terminal-active", view: 20.0, body: r#"<path d="M2 18H18V2H2V18Z" fill="currentColor" fill-opacity="0.1"/>
|
||||
<path d="M6.5 8L8.64286 10L6.5 12M10.9286 12H13.5M2 18H18V2H2V18Z" stroke="currentColor" stroke-linecap="square"/>"# };
|
||||
pub static REVIEW: Icon = Icon { name: "review", view: 16.0, body: r#"<path d="M4.5 6.5H8M8 6.5H11.5M8 6.5V3M8 6.5V10" stroke-linecap="round" stroke-linejoin="round" stroke="currentColor"/><path d="M4.5 12.5H11.5" stroke-linecap="round" stroke-linejoin="round" stroke="currentColor"/>"# };
|
||||
pub static REVIEW_ACTIVE: Icon = Icon { name: "review-active", view: 20.0, body: r#"<path d="M18 18V2L2 2L2 18H18Z" fill="currentColor" fill-opacity="0.1"/>
|
||||
<path d="M7 14.5H13M7 7.99512H10.0049M10.0049 7.99512H13M10.0049 7.99512V5M10.0049 7.99512V11M18 18V2L2 2L2 18H18Z" stroke="currentColor"/>"# };
|
||||
pub static EXPAND: Icon = Icon { name: "expand", view: 16.0, body: r#"<path d="M10.5 4.5L8 2L5.5 4.5M10.5 11.5L8 14L5.5 11.5" stroke-linecap="round" stroke-linejoin="round" stroke="currentColor"/><path d="M2.5 8H13.5" stroke-linecap="round" stroke-linejoin="round" stroke="currentColor"/>"# };
|
||||
pub static COLLAPSE: Icon = Icon { name: "collapse", view: 16.0, body: r#"<path d="M5.5 2.5L8 5L10.5 2.5M5.5 13.5L8 11L10.5 13.5" stroke-linecap="round" stroke-linejoin="round" stroke="currentColor"/><path d="M2.5 8H13.5" stroke-linecap="round" stroke-linejoin="round" stroke="currentColor"/>"# };
|
||||
pub static CODE: Icon = Icon { name: "code", view: 16.0, body: r#"<path d="M4.5 4.5L1.5 8L4.5 11.5M11.5 4.5L14.5 8L11.5 11.5" stroke-linecap="round" stroke-linejoin="round" stroke="currentColor"/><path d="M6.5 13.5L9.5 2.5" stroke-linecap="round" stroke="currentColor"/>"# };
|
||||
pub static CODE_LINES: Icon = Icon { name: "code-lines", view: 20.0, body: r#"<path d="M2.08325 3.75H11.2499M14.5833 3.75H17.9166M2.08325 10L7.08325 10M10.4166 10L17.9166 10M2.08325 16.25L8.74992 16.25M12.0833 16.25L17.9166 16.25" stroke="currentColor" stroke-linecap="square" stroke-linejoin="round"/>"# };
|
||||
pub static CIRCLE_BAN_SIGN: Icon = Icon { name: "circle-ban-sign", view: 16.0, body: r#"<path d="M14.5 8C14.5 11.5899 11.5899 14.5 8 14.5C4.41015 14.5 1.5 11.5899 1.5 8C1.5 4.41015 4.41015 1.5 8 1.5C11.5899 1.5 14.5 4.41015 14.5 8Z" stroke="currentColor"/><path d="M3.5 12.5L12.5 3.5" stroke-linecap="round" stroke-linejoin="round" stroke="currentColor"/>"# };
|
||||
pub static CIRCLE_BAN_SIGN_BOLD: Icon = Icon { name: "circle-ban-sign-bold", view: 16.0, body: r#"<path d="M14.5 8C14.5 11.5899 11.5899 14.5 8 14.5C4.41015 14.5 1.5 11.5899 1.5 8C1.5 4.41015 4.41015 1.5 8 1.5C11.5899 1.5 14.5 4.41015 14.5 8Z" stroke="currentColor" stroke-width="1.5"/><path d="M3.5 12.5L12.5 3.5" stroke-linecap="round" stroke-linejoin="round" stroke="currentColor" stroke-width="1.5"/>"# };
|
||||
pub static EDIT_SMALL_2: Icon = Icon { name: "edit-small-2", view: 20.0, body: r#"<path d="M17.0834 17.0833V17.5833H17.5834V17.0833H17.0834ZM2.91675 17.0833H2.41675V17.5833H2.91675V17.0833ZM2.91675 2.91659V2.41659H2.41675V2.91659H2.91675ZM9.58341 3.41659H10.0834V2.41659H9.58341V2.91659V3.41659ZM17.5834 10.4166V9.91659H16.5834V10.4166H17.0834H17.5834ZM10.4167 7.08325L10.0632 6.7297L9.91675 6.87615V7.08325H10.4167ZM10.4167 9.58325H9.91675V10.0833H10.4167V9.58325ZM12.9167 9.58325V10.0833H13.1239L13.2703 9.93681L12.9167 9.58325ZM15.4167 2.08325L15.7703 1.7297L15.4167 1.37615L15.0632 1.7297L15.4167 2.08325ZM17.9167 4.58325L18.2703 4.93681L18.6239 4.58325L18.2703 4.2297L17.9167 4.58325ZM17.0834 17.0833V16.5833H2.91675V17.0833V17.5833H17.0834V17.0833ZM2.91675 17.0833H3.41675V2.91659H2.91675H2.41675V17.0833H2.91675ZM2.91675 2.91659V3.41659H9.58341V2.91659V2.41659H2.91675V2.91659ZM17.0834 10.4166H16.5834V17.0833H17.0834H17.5834V10.4166H17.0834ZM10.4167 7.08325H9.91675V9.58325H10.4167H10.9167V7.08325H10.4167ZM10.4167 9.58325V10.0833H12.9167V9.58325V9.08325H10.4167V9.58325ZM10.4167 7.08325L10.7703 7.43681L15.7703 2.43681L15.4167 2.08325L15.0632 1.7297L10.0632 6.7297L10.4167 7.08325ZM15.4167 2.08325L15.0632 2.43681L17.5632 4.93681L17.9167 4.58325L18.2703 4.2297L15.7703 1.7297L15.4167 2.08325ZM17.9167 4.58325L17.5632 4.2297L12.5632 9.2297L12.9167 9.58325L13.2703 9.93681L18.2703 4.93681L17.9167 4.58325Z" fill="currentColor"/>"# };
|
||||
pub static EYE: Icon = Icon { name: "eye", view: 16.0, body: r#"<path d="M1.5 8C2.5 6.5 4.5 4 8 4C11.5 4 13.5 6.5 14.5 8C13.5 9.5 11.5 12 8 12C4.5 12 2.5 9.5 1.5 8Z" stroke-linecap="round" stroke-linejoin="round" stroke="currentColor"/><path d="M9.5 8C9.5 8.82843 8.82843 9.5 8 9.5C7.17157 9.5 6.5 8.82843 6.5 8C6.5 7.17157 7.17157 6.5 8 6.5C8.82843 6.5 9.5 7.17157 9.5 8Z" fill="currentColor"/>"# };
|
||||
pub static ENTER: Icon = Icon { name: "enter", view: 16.0, body: r#"<path d="M2.5 9.5H12.5C13.0523 9.5 13.5 9.05228 13.5 8.5V5.5C13.5 4.94772 13.0523 4.5 12.5 4.5H8.5M5.5 12.5L2.5 9.5L5.5 6.5" stroke-linecap="round" stroke-linejoin="round" stroke="currentColor"/>"# };
|
||||
pub static FOLDER: Icon = Icon { name: "folder", view: 16.0, body: r#"<path d="M1.5 13.5V2.5H5.5L8.5 5.5H14.5V13.5H1.5Z" stroke-linecap="round" stroke-linejoin="round" stroke="currentColor"/>"# };
|
||||
pub static FILE_TREE_ACTIVE: Icon = Icon { name: "file-tree-active", view: 20.0, body: r#"<path d="M2 2L2 18H5L6.5 8.5H18V5H9.5L7.5 2H2Z" fill="currentColor" fill-opacity="0.1"/>
|
||||
<path d="M5 18H18L19.5 8.5H18M5 18H2L2 2H7.5L9.5 5H18V8.5M5 18L6.5 8.5H18" stroke="currentColor" stroke-linecap="square"/>"# };
|
||||
pub static MAGNIFYING_GLASS: Icon = Icon { name: "magnifying-glass", view: 16.0, body: r#"<path d="M11.5 7C11.5 9.48528 9.48528 11.5 7 11.5C4.51472 11.5 2.5 9.48528 2.5 7C2.5 4.51472 4.51472 2.5 7 2.5C9.48528 2.5 11.5 4.51472 11.5 7Z" stroke="currentColor"/><path d="M13.5 13.5L10.5 10.5" stroke-linecap="round" stroke="currentColor"/>"# };
|
||||
pub static PLUS: Icon = Icon { name: "plus", view: 16.0, body: r#"<path d="M8 2.5V8M8 8V13.5M8 8H2.5M8 8H13.5" stroke-linecap="round" stroke-linejoin="round" stroke="currentColor"/>"# };
|
||||
pub static NEW_SESSION: Icon = Icon { name: "new-session", view: 20.0, body: r#"<path d="M12 2H2V18H18V8M6 11.3818V14H8.61818L18 4.61818L15.3818 2L6 11.3818Z" stroke="currentColor"/>"# };
|
||||
pub static NEW_SESSION_ACTIVE: Icon = Icon { name: "new-session-active", view: 20.0, body: r#"<path d="M6 11.3818V14H8.61818L18 4.61818L15.3818 2L6 11.3818Z" fill="currentColor" fill-opacity="0.1"/>
|
||||
<path d="M12 2H2V18H18V8M6 11.3818V14H8.61818L18 4.61818L15.3818 2L6 11.3818Z" stroke="currentColor"/>"# };
|
||||
pub static PENCIL_LINE: Icon = Icon { name: "pencil-line", view: 20.0, body: r#"<path d="M9.58301 17.9166H17.9163M17.9163 5.83325L14.1663 2.08325L2.08301 14.1666V17.9166H5.83301L17.9163 5.83325Z" stroke="currentColor" stroke-linecap="square"/>"# };
|
||||
pub static MCP: Icon = Icon { name: "mcp", view: 20.0, body: r#"<g><path d="M0.972656 9.37176L9.5214 1.60019C10.7018 0.527151 12.6155 0.527151 13.7957 1.60019C14.9761 2.67321 14.9761 4.41295 13.7957 5.48599L7.3397 11.3552" stroke="currentColor" stroke-linecap="round"/><path d="M7.42871 11.2747L13.7957 5.48643C14.9761 4.41338 16.8898 4.41338 18.0702 5.48643L18.1147 5.52688C19.2951 6.59993 19.2951 8.33966 18.1147 9.4127L10.3831 16.4414C9.98966 16.7991 9.98966 17.379 10.3831 17.7366L11.9707 19.1799" stroke="currentColor" stroke-linecap="round"/><path d="M11.6587 3.54346L5.33619 9.29119C4.15584 10.3642 4.15584 12.1039 5.33619 13.177C6.51649 14.25 8.43019 14.25 9.61054 13.177L15.9331 7.42923" stroke="currentColor" stroke-linecap="round"/></g>"# };
|
||||
pub static GLASSES: Icon = Icon { name: "glasses", view: 20.0, body: r#"<path d="M0.416626 7.91667H1.66663M19.5833 7.91667H18.3333M11.866 7.57987C11.3165 7.26398 10.6793 7.08333 9.99996 7.08333C9.32061 7.08333 8.68344 7.26398 8.13389 7.57987M8.74996 10C8.74996 12.0711 7.07103 13.75 4.99996 13.75C2.92889 13.75 1.24996 12.0711 1.24996 10C1.24996 7.92893 2.92889 6.25 4.99996 6.25C7.07103 6.25 8.74996 7.92893 8.74996 10ZM18.75 10C18.75 12.0711 17.071 13.75 15 13.75C12.9289 13.75 11.25 12.0711 11.25 10C11.25 7.92893 12.9289 6.25 15 6.25C17.071 6.25 18.75 7.92893 18.75 10Z" stroke="currentColor" stroke-linecap="square"/>"# };
|
||||
pub static MAGNIFYING_GLASS_MENU: Icon = Icon { name: "magnifying-glass-menu", view: 20.0, body: r#"<path d="M2.08325 10.0002H4.58325M2.08325 5.41683H5.41659M2.08325 14.5835H5.41659M16.4583 13.9585L18.7499 16.2502M17.9166 10.0002C17.9166 12.9917 15.4915 15.4168 12.4999 15.4168C9.50838 15.4168 7.08325 12.9917 7.08325 10.0002C7.08325 7.00862 9.50838 4.5835 12.4999 4.5835C15.4915 4.5835 17.9166 7.00862 17.9166 10.0002Z" stroke="currentColor" stroke-linecap="square"/>"# };
|
||||
pub static TASK: Icon = Icon { name: "task", view: 20.0, body: r#"<path d="M9.99992 2.0835V17.9168M7.08325 3.75016H2.08325V16.2502H7.08325M12.9166 16.2502H17.9166V3.75016H12.9166" stroke="currentColor" stroke-linecap="square"/>"# };
|
||||
pub static STOP: Icon = Icon { name: "stop", view: 16.0, body: r#"<path d="M13 3H3V13H13V3Z" fill="currentColor"/>"# };
|
||||
pub static STATUS: Icon = Icon { name: "status", view: 20.0, body: r#"<path d="M2 10V18H18V10M2 10V2H18V10M2 10H18M5 6H9M5 14H9" stroke="currentColor"/>"# };
|
||||
pub static STATUS_ACTIVE: Icon = Icon { name: "status-active", view: 20.0, body: r#"<path d="M18 2H2V10H18V2Z" fill="currentColor" fill-opacity="0.1"/><path d="M2 18H18V10H2V18Z" fill="currentColor" fill-opacity="0.1"/><path d="M2 10V18H18V10M2 10V2H18V10M2 10H18M5 6H9M5 14H9" stroke="currentColor"/>"# };
|
||||
pub static SIDEBAR: Icon = Icon { name: "sidebar", view: 20.0, body: r#"<path d="M7.86667 2H5.2H2V18H5.2H7.86667M7.86667 2H18V18H7.86667M7.86667 2V18" stroke="currentColor"/>"# };
|
||||
pub static SIDEBAR_ACTIVE: Icon = Icon { name: "sidebar-active", view: 20.0, body: r#"<path d="M2 2V18H5.2H7.86667V2H5.2H2Z" fill="currentColor" fill-opacity="0.1"/>
|
||||
<path d="M7.86667 2H5.2H2V18H5.2H7.86667M7.86667 2H18V18H7.86667M7.86667 2V18" stroke="currentColor"/>"# };
|
||||
pub static LAYOUT_LEFT: Icon = Icon { name: "layout-left", view: 20.0, body: r#"<path d="M2.91675 2.91699L2.91675 2.41699L2.41675 2.41699L2.41675 2.91699L2.91675 2.91699ZM17.0834 2.91699L17.5834 2.91699L17.5834 2.41699L17.0834 2.41699L17.0834 2.91699ZM17.0834 17.0837L17.0834 17.5837L17.5834 17.5837L17.5834 17.0837L17.0834 17.0837ZM2.91675 17.0837L2.41675 17.0837L2.41675 17.5837L2.91675 17.5837L2.91675 17.0837ZM7.41674 17.0837L7.41674 17.5837L8.41674 17.5837L8.41674 17.0837L7.91674 17.0837L7.41674 17.0837ZM8.41674 2.91699L8.41674 2.41699L7.41674 2.41699L7.41674 2.91699L7.91674 2.91699L8.41674 2.91699ZM2.91675 2.91699L2.91675 3.41699L17.0834 3.41699L17.0834 2.91699L17.0834 2.41699L2.91675 2.41699L2.91675 2.91699ZM17.0834 2.91699L16.5834 2.91699L16.5834 17.0837L17.0834 17.0837L17.5834 17.0837L17.5834 2.91699L17.0834 2.91699ZM17.0834 17.0837L17.0834 16.5837L2.91675 16.5837L2.91675 17.0837L2.91675 17.5837L17.0834 17.5837L17.0834 17.0837ZM2.91675 17.0837L3.41675 17.0837L3.41675 2.91699L2.91675 2.91699L2.41675 2.91699L2.41675 17.0837L2.91675 17.0837ZM7.91674 17.0837L8.41674 17.0837L8.41674 2.91699L7.91674 2.91699L7.41674 2.91699L7.41674 17.0837L7.91674 17.0837Z" fill="currentColor"/>"# };
|
||||
pub static LAYOUT_LEFT_PARTIAL: Icon = Icon { name: "layout-left-partial", view: 20.0, body: r#"<path d="M2.91732 2.91602L7.91732 2.91602L7.91732 17.0827H2.91732L2.91732 2.91602Z" fill="currentColor" fill-opacity="16%" /><path d="M2.91732 2.91602L17.084 2.91602M2.91732 2.91602L2.91732 17.0827M2.91732 2.91602L7.91732 2.91602M17.084 2.91602L17.084 17.0827M17.084 2.91602L7.91732 2.91602M17.084 17.0827L2.91732 17.0827M17.084 17.0827L7.91732 17.0827M2.91732 17.0827H7.91732M7.91732 17.0827L7.91732 2.91602" stroke="currentColor" stroke-linecap="square"/>"# };
|
||||
pub static LAYOUT_LEFT_FULL: Icon = Icon { name: "layout-left-full", view: 20.0, body: r#"<path d="M2.91732 2.91602L7.91732 2.91602L7.91732 17.0827H2.91732L2.91732 2.91602Z" fill="currentColor"/><path d="M2.91732 2.91602L17.084 2.91602M2.91732 2.91602L2.91732 17.0827M2.91732 2.91602L7.91732 2.91602M17.084 2.91602L17.084 17.0827M17.084 2.91602L7.91732 2.91602M17.084 17.0827L2.91732 17.0827M17.084 17.0827L7.91732 17.0827M2.91732 17.0827H7.91732M7.91732 17.0827L7.91732 2.91602" stroke="currentColor" stroke-linecap="square"/>"# };
|
||||
pub static LAYOUT_RIGHT: Icon = Icon { name: "layout-right", view: 20.0, body: r#"<g transform="matrix(-1 0 0 1 20 0)"><path d="M2.91675 2.91699L2.91675 2.41699L2.41675 2.41699L2.41675 2.91699L2.91675 2.91699ZM17.0834 2.91699L17.5834 2.91699L17.5834 2.41699L17.0834 2.41699L17.0834 2.91699ZM17.0834 17.0837L17.0834 17.5837L17.5834 17.5837L17.5834 17.0837L17.0834 17.0837ZM2.91675 17.0837L2.41675 17.0837L2.41675 17.5837L2.91675 17.5837L2.91675 17.0837ZM7.41674 17.0837L7.41674 17.5837L8.41674 17.5837L8.41674 17.0837L7.91674 17.0837L7.41674 17.0837ZM8.41674 2.91699L8.41674 2.41699L7.41674 2.41699L7.41674 2.91699L7.91674 2.91699L8.41674 2.91699ZM2.91675 2.91699L2.91675 3.41699L17.0834 3.41699L17.0834 2.91699L17.0834 2.41699L2.91675 2.41699L2.91675 2.91699ZM17.0834 2.91699L16.5834 2.91699L16.5834 17.0837L17.0834 17.0837L17.5834 17.0837L17.5834 2.91699L17.0834 2.91699ZM17.0834 17.0837L17.0834 16.5837L2.91675 16.5837L2.91675 17.0837L2.91675 17.5837L17.0834 17.5837L17.0834 17.0837ZM2.91675 17.0837L3.41675 17.0837L3.41675 2.91699L2.91675 2.91699L2.41675 2.91699L2.41675 17.0837L2.91675 17.0837ZM7.91674 17.0837L8.41674 17.0837L8.41674 2.91699L7.91674 2.91699L7.41674 2.91699L7.41674 17.0837L7.91674 17.0837Z" fill="currentColor"/></g>"# };
|
||||
pub static LAYOUT_RIGHT_PARTIAL: Icon = Icon { name: "layout-right-partial", view: 20.0, body: r#"<g transform="matrix(-1 0 0 1 20 0)"><path d="M2.91732 2.91602L7.91732 2.91602L7.91732 17.0827H2.91732L2.91732 2.91602Z" fill="currentColor" fill-opacity="16%" /><path d="M2.91732 2.91602L17.084 2.91602M2.91732 2.91602L2.91732 17.0827M2.91732 2.91602L7.91732 2.91602M17.084 2.91602L17.084 17.0827M17.084 2.91602L7.91732 2.91602M17.084 17.0827L2.91732 17.0827M17.084 17.0827L7.91732 17.0827M2.91732 17.0827H7.91732M7.91732 17.0827L7.91732 2.91602" stroke="currentColor" stroke-linecap="square"/></g>"# };
|
||||
pub static LAYOUT_RIGHT_FULL: Icon = Icon { name: "layout-right-full", view: 20.0, body: r#"<g transform="matrix(-1 0 0 1 20 0)"><path d="M2.91732 2.91602L7.91732 2.91602L7.91732 17.0827H2.91732L2.91732 2.91602Z" fill="currentColor"/><path d="M2.91732 2.91602L17.084 2.91602M2.91732 2.91602L2.91732 17.0827M2.91732 2.91602L7.91732 2.91602M17.084 2.91602L17.084 17.0827M17.084 2.91602L7.91732 2.91602M17.084 17.0827L2.91732 17.0827M17.084 17.0827L7.91732 17.0827M2.91732 17.0827H7.91732M7.91732 17.0827L7.91732 2.91602" stroke="currentColor" stroke-linecap="square"/></g>"# };
|
||||
pub static OPEN_FILE: Icon = Icon { name: "open-file", view: 20.0, body: r#"<path d="M7.91602 2.91406H2.91602V17.0807H17.0827V12.0807M12.0827 2.91406H17.0827V7.91406M9.58268 10.4141L16.666 3.33073" stroke="currentColor" stroke-linecap="square"/>"# };
|
||||
pub static COMMENT: Icon = Icon { name: "comment", view: 16.0, body: r#"<path d="M1.5 2.5V10.5H5.5L8 13.5L10.5 10.5H14.5V2.5H1.5Z" stroke-linecap="round" stroke-linejoin="round" stroke="currentColor"/>"# };
|
||||
pub static FOLDER_ADD_LEFT: Icon = Icon { name: "folder-add-left", view: 16.0, body: r#"<path d="M7.5 13.5H1.5V2.5H5.5L8.5 5.5H14.5V6.5" stroke-linecap="round" stroke-linejoin="round" stroke="currentColor"/><path d="M9.5 11.5H12.5M12.5 11.5H15.5M12.5 11.5V8.5M12.5 11.5V14.5" stroke-linecap="round" stroke-linejoin="round" stroke="currentColor"/>"# };
|
||||
pub static GITHUB: Icon = Icon { name: "github", view: 20.0, body: r#"<path d="M10.0001 1.62549C14.6042 1.62549 18.3334 5.35465 18.3334 9.95882C18.333 11.7049 17.785 13.4068 16.7666 14.8251C15.7482 16.2434 14.3107 17.3066 12.6563 17.8651C12.2397 17.9484 12.0834 17.688 12.0834 17.4692C12.0834 17.188 12.0938 16.2922 12.0938 15.1776C12.0938 14.3963 11.8334 13.8963 11.5313 13.6359C13.3855 13.4276 15.3334 12.7192 15.3334 9.52132C15.3334 8.60465 15.0105 7.86507 14.4792 7.28174C14.5626 7.0734 14.8542 6.21924 14.3959 5.0734C14.3959 5.0734 13.698 4.84424 12.1042 5.92757C11.4376 5.74007 10.7292 5.64632 10.0209 5.64632C9.31258 5.64632 8.60425 5.74007 7.93758 5.92757C6.34383 4.85465 5.64592 5.0734 5.64592 5.0734C5.18758 6.21924 5.47925 7.0734 5.56258 7.28174C5.03133 7.86507 4.70842 8.61507 4.70842 9.52132C4.70842 12.7088 6.64592 13.4276 8.50008 13.6359C8.2605 13.8442 8.04175 14.2088 7.96883 14.7505C7.48967 14.9692 6.29175 15.3234 5.54175 14.063C5.3855 13.813 4.91675 13.1984 4.2605 13.2088C3.56258 13.2192 3.97925 13.6047 4.27092 13.7609C4.62508 13.9588 5.03133 14.6984 5.12508 14.938C5.29175 15.4067 5.83342 16.3026 7.92717 15.9172C7.92717 16.6151 7.93758 17.2713 7.93758 17.4692C7.93758 17.688 7.78133 17.938 7.36467 17.8651C5.70491 17.3126 4.26126 16.2515 3.23851 14.8324C2.21576 13.4133 1.66583 11.7081 1.66675 9.95882C1.66675 5.35465 5.39592 1.62549 10.0001 1.62549Z" fill="currentColor"/>"# };
|
||||
pub static DISCORD: Icon = Icon { name: "discord", view: 20.0, body: r#"<path d="M16.0742 4.45014C14.9244 3.92097 13.7106 3.54556 12.4638 3.3335C12.2932 3.64011 12.1388 3.95557 12.0013 4.27856C10.6732 4.07738 9.32261 4.07738 7.99451 4.27856C7.85694 3.9556 7.70257 3.64014 7.53203 3.3335C6.28441 3.54735 5.06981 3.92365 3.91889 4.45291C1.63401 7.85128 1.01462 11.1652 1.32431 14.4322C2.6624 15.426 4.16009 16.1819 5.7523 16.6668C6.11082 16.1821 6.42806 15.6678 6.70066 15.1295C6.18289 14.9351 5.68315 14.6953 5.20723 14.4128C5.33249 14.3215 5.45499 14.2274 5.57336 14.136C6.95819 14.7907 8.46965 15.1302 9.99997 15.1302C11.5303 15.1302 13.0418 14.7907 14.4266 14.136C14.5463 14.2343 14.6688 14.3284 14.7927 14.4128C14.3159 14.6957 13.8152 14.9361 13.2965 15.1309C13.5688 15.669 13.8861 16.1828 14.2449 16.6668C15.8385 16.1838 17.3373 15.4283 18.6756 14.4335C19.039 10.645 18.0549 7.36145 16.0742 4.45014ZM7.09294 12.423C6.22992 12.423 5.51693 11.6357 5.51693 10.6671C5.51693 9.69852 6.20514 8.90427 7.09019 8.90427C7.97524 8.90427 8.68272 9.69852 8.66758 10.6671C8.65244 11.6357 7.97248 12.423 7.09294 12.423ZM12.907 12.423C12.0426 12.423 11.3324 11.6357 11.3324 10.6671C11.3324 9.69852 12.0206 8.90427 12.907 8.90427C13.7934 8.90427 14.4954 9.69852 14.4803 10.6671C14.4651 11.6357 13.7865 12.423 12.907 12.423Z" fill="currentColor"/>"# };
|
||||
pub static LAYOUT_BOTTOM: Icon = Icon { name: "layout-bottom", view: 20.0, body: r#"<path d="M2.91699 17.0832L2.41699 17.0832L2.41699 17.5832L2.91699 17.5832L2.91699 17.0832ZM2.91699 2.91653L2.91699 2.41653L2.41699 2.41653L2.41699 2.91653L2.91699 2.91653ZM17.0837 2.91653L17.5837 2.91653L17.5837 2.41653L17.0837 2.41653L17.0837 2.91653ZM17.0837 17.0832L17.5837 17.0832L17.5837 17.5832L17.0837 17.5832L17.0837 17.0832ZM17.0837 12.5827L17.5837 12.5827L17.5837 11.5827L17.0837 11.5827L17.0837 12.0827L17.0837 12.5827ZM2.91699 11.5827L2.41699 11.5827L2.41699 12.5827L2.91699 12.5827L2.91699 12.0827L2.91699 11.5827ZM2.91699 17.0832L3.41699 17.0832L3.41699 2.91653L2.91699 2.91653L2.41699 2.91653L2.41699 17.0832L2.91699 17.0832ZM2.91699 2.91653L2.91699 3.41653L17.0837 3.41653L17.0837 2.91653L17.0837 2.41653L2.91699 2.41653L2.91699 2.91653ZM17.0837 2.91653L16.5837 2.91653L16.5837 17.0832L17.0837 17.0832L17.5837 17.0832L17.5837 2.91653L17.0837 2.91653ZM17.0837 17.0832L17.0837 16.5832L2.91699 16.5832L2.91699 17.0832L2.91699 17.5832L17.0837 17.5832L17.0837 17.0832ZM17.0837 12.0827L17.0837 11.5827L2.91699 11.5827L2.91699 12.0827L2.91699 12.5827L17.0837 12.5827L17.0837 12.0827Z" fill="currentColor"/>"# };
|
||||
pub static LAYOUT_BOTTOM_PARTIAL: Icon = Icon { name: "layout-bottom-partial", view: 20.0, body: r#"<path d="M2.91732 12.0827L17.084 12.0827L17.084 17.0827H2.91732L2.91732 12.0827Z" fill="currentColor" fill-opacity="16%" /><path d="M2.91732 2.91602L17.084 2.91602M2.91732 2.91602L2.91732 17.0827M17.084 2.91602L17.084 17.0827M17.084 17.0827L2.91732 17.0827M2.91732 12.0827L17.084 12.0827" stroke="currentColor" stroke-linecap="square"/>"# };
|
||||
pub static LAYOUT_BOTTOM_FULL: Icon = Icon { name: "layout-bottom-full", view: 20.0, body: r#"<path d="M2.91732 12.0827L17.084 12.0827L17.084 17.0827H2.91732L2.91732 12.0827Z" fill="currentColor"/><path d="M2.91732 2.91602L17.084 2.91602M2.91732 2.91602L2.91732 17.0827M17.084 2.91602L17.084 17.0827M17.084 17.0827L2.91732 17.0827M2.91732 12.0827L17.084 12.0827" stroke="currentColor" stroke-linecap="square"/>"# };
|
||||
pub static DOT_GRID: Icon = Icon { name: "dot-grid", view: 20.0, body: r#"<path d="M2.08398 9.16602H3.75065V10.8327H2.08398V9.16602Z" fill="currentColor"/><path d="M10.834 9.16602H9.16732V10.8327H10.834V9.16602Z" fill="currentColor"/><path d="M16.2507 9.16602H17.9173V10.8327H16.2507V9.16602Z" fill="currentColor"/><path d="M2.08398 9.16602H3.75065V10.8327H2.08398V9.16602Z" stroke="currentColor"/><path d="M10.834 9.16602H9.16732V10.8327H10.834V9.16602Z" stroke="currentColor"/><path d="M16.2507 9.16602H17.9173V10.8327H16.2507V9.16602Z" stroke="currentColor"/>"# };
|
||||
pub static CIRCLE_CHECK: Icon = Icon { name: "circle-check", view: 16.0, body: r#"<path d="M5 8L7.5 11L11 5.5" stroke-linecap="round" stroke-linejoin="round" stroke="currentColor"/><path d="M14.5 8C14.5 11.5899 11.5899 14.5 8 14.5C4.41015 14.5 1.5 11.5899 1.5 8C1.5 4.41015 4.41015 1.5 8 1.5C11.5899 1.5 14.5 4.41015 14.5 8Z" stroke="currentColor"/>"# };
|
||||
pub static CIRCLE_CHECK_BOLD: Icon = Icon { name: "circle-check-bold", view: 16.0, body: r#"<path d="M5 8L7.5 11L11 5.5" stroke-linecap="round" stroke-linejoin="round" stroke="currentColor" stroke-width="1.5"/><path d="M14.5 8C14.5 11.5899 11.5899 14.5 8 14.5C4.41015 14.5 1.5 11.5899 1.5 8C1.5 4.41015 4.41015 1.5 8 1.5C11.5899 1.5 14.5 4.41015 14.5 8Z" stroke="currentColor" stroke-width="1.5"/>"# };
|
||||
pub static COPY: Icon = Icon { name: "copy", view: 16.0, body: r#"<path d="M9.5 3.5V1.5H1.5V10.5H4.5" stroke-linecap="round" stroke-linejoin="round" stroke="currentColor"/><path d="M6.5 14.5V5.5H14.5V14.5H6.5Z" stroke-linecap="round" stroke-linejoin="round" stroke="currentColor"/>"# };
|
||||
pub static CHECK: Icon = Icon { name: "check", view: 16.0, body: r#"<path d="M4.5 7.5L7 11.5L11.5 4.5" stroke-linecap="round" stroke-linejoin="round" stroke="currentColor"/>"# };
|
||||
pub static PHOTO: Icon = Icon { name: "photo", view: 20.0, body: r#"<path d="M16.6665 16.6666L11.6665 11.6666L9.99984 13.3333L6.6665 9.99996L3.08317 13.5833M2.9165 2.91663H17.0832V17.0833H2.9165V2.91663ZM13.3332 7.49996C13.3332 8.30537 12.6803 8.95829 11.8748 8.95829C11.0694 8.95829 10.4165 8.30537 10.4165 7.49996C10.4165 6.69454 11.0694 6.04163 11.8748 6.04163C12.6803 6.04163 13.3332 6.69454 13.3332 7.49996Z" stroke="currentColor" stroke-linecap="square"/>"# };
|
||||
pub static SHARE: Icon = Icon { name: "share", view: 20.0, body: r#"<path d="M10.0013 12.0846L10.0013 3.33464M13.7513 6.66797L10.0013 2.91797L6.2513 6.66797M17.0846 10.418V17.0846H2.91797V10.418" stroke="currentColor" stroke-linecap="square"/>"# };
|
||||
pub static SHIELD: Icon = Icon { name: "shield", view: 20.0, body: r#"<path d="M7.49935 9.3737L9.16602 11.0404L12.4994 7.70703M9.99935 2.08203L17.0827 4.3737V9.92565C17.0827 14.0694 13.3327 16.2487 9.99935 18.047C6.66602 16.2487 2.91602 14.0694 2.91602 9.92565V4.3737L9.99935 2.08203Z" stroke="currentColor" stroke-linecap="square"/>"# };
|
||||
pub static DOWNLOAD: Icon = Icon { name: "download", view: 16.0, body: r#"<path d="M8 2.5L8 10.5M4.5 7L8 10.5L11.5 7" stroke-linecap="round" stroke-linejoin="round" stroke="currentColor"/><path d="M1.5 10.5V13.5H14.5V10.5" stroke-linecap="round" stroke-linejoin="round" stroke="currentColor"/>"# };
|
||||
pub static MENU: Icon = Icon { name: "menu", view: 16.0, body: r#"<path d="M2 8.00006H14M2 4.5H14M2 11.5H14" stroke="currentColor"/>"# };
|
||||
pub static SERVER: Icon = Icon { name: "server", view: 16.0, body: r#"<path d="M1.5 10.5V14.5H14.5V10.5M1.5 10.5H14.5M14.5 10.5V6.5L11.5 1.5H4.5L1.5 6.5V10.5M1.5 6.5H14.5" stroke-linecap="square" stroke-linejoin="round" stroke="currentColor"/><path d="M12.5 12.5H11.5M12.5 8.5H11.5" stroke-linecap="round" stroke="currentColor"/>"# };
|
||||
pub static BRANCH: Icon = Icon { name: "branch", view: 16.0, body: r#"<circle cx="5" cy="12" r="1.5" stroke="currentColor"/><path d="M5.22983 10.4384V5.43842M6.55305 11.8019H8.83276C9.94392 11.8019 10.8421 10.8962 10.8327 9.78506L10.7966 5.50012" stroke-linecap="round" stroke-linejoin="round" stroke="currentColor"/><circle cx="5" cy="4" r="1.5" stroke="currentColor"/><circle cx="11" cy="4" r="1.5" stroke="currentColor"/>"# };
|
||||
pub static EDIT: Icon = Icon { name: "edit", view: 16.0, body: r#"<path d="M8.5 2.5H2.5V13.5H13.5V7.5M7.5 8.5V6.5L12.5 1.5L14.5 3.5L9.5 8.5H7.5Z" stroke-linecap="round" stroke-linejoin="round" stroke="currentColor"/>"# };
|
||||
pub static HELP: Icon = Icon { name: "help", view: 16.0, body: r#"<path d="M14.5 8C14.5 11.5899 11.5899 14.5 8 14.5C4.41015 14.5 1.5 11.5899 1.5 8C1.5 4.41015 4.41015 1.5 8 1.5C11.5899 1.5 14.5 4.41015 14.5 8Z" stroke="currentColor"/><path d="M7.22461 9.50977V9.43555C7.22982 8.95117 7.27799 8.77279 7.36914 8.48633C7.46289 8.19987 7.5957 7.9681 7.76758 7.79102C7.93945 7.61393 8.14648 7.45247 8.38867 7.30664C8.54492 7.20768 8.68555 7.09701 8.81055 6.97461C8.93555 6.85221 9.03451 6.71159 9.10742 6.55273C9.18034 6.39388 9.2168 6.2181 9.2168 6.02539C9.2168 5.79362 9.16211 5.5931 9.05273 5.42383C8.94336 5.25456 8.79753 5.12435 8.61523 5.0332C8.43555 4.93945 8.23503 4.89258 8.01367 4.89258C7.81315 4.89258 7.62174 4.93424 7.43945 5.01758C7.25716 5.10091 7.10612 5.23112 6.98633 5.4082C6.86654 5.58268 6.79753 5.72591 6.7793 6.00195H5.5918C5.61003 5.5332 5.72852 5.2194 5.94727 4.89648C6.16602 4.57096 6.45508 4.32487 6.81445 4.1582C7.17643 3.99154 7.57617 3.9082 8.01367 3.9082C8.49284 3.9082 8.91211 3.99805 9.27148 4.17773C9.63086 4.35482 9.90951 4.60352 10.1074 4.92383C10.3079 5.24154 10.4082 5.61263 10.4082 6.03711C10.4082 6.32878 10.3626 6.5918 10.2715 6.82617C10.1803 7.05794 10.0501 7.26497 9.88086 7.44727C9.71419 7.62956 9.51367 7.79102 9.2793 7.93164C9.05794 8.06966 8.87826 8.21289 8.74023 8.36133C8.60482 8.50977 8.50586 8.68555 8.44336 8.88867C8.38086 9.0918 8.34701 9.13607 8.3418 9.43555V9.50977H7.22461Z" fill="currentColor"/><rect x="6.99902" y="10.6675" width="1.42432" height="1.42432" fill="currentColor"/>"# };
|
||||
pub static HELP_BOLD: Icon = Icon { name: "help-bold", view: 16.0, body: r#"<path d="M14.5 8C14.5 11.5899 11.5899 14.5 8 14.5C4.41015 14.5 1.5 11.5899 1.5 8C1.5 4.41015 4.41015 1.5 8 1.5C11.5899 1.5 14.5 4.41015 14.5 8Z" stroke="currentColor" stroke-width="1.5"/><path d="M7.22461 9.50977V9.43555C7.22982 8.95117 7.27799 8.77279 7.36914 8.48633C7.46289 8.19987 7.5957 7.9681 7.76758 7.79102C7.93945 7.61393 8.14648 7.45247 8.38867 7.30664C8.54492 7.20768 8.68555 7.09701 8.81055 6.97461C8.93555 6.85221 9.03451 6.71159 9.10742 6.55273C9.18034 6.39388 9.2168 6.2181 9.2168 6.02539C9.2168 5.79362 9.16211 5.5931 9.05273 5.42383C8.94336 5.25456 8.79753 5.12435 8.61523 5.0332C8.43555 4.93945 8.23503 4.89258 8.01367 4.89258C7.81315 4.89258 7.62174 4.93424 7.43945 5.01758C7.25716 5.10091 7.10612 5.23112 6.98633 5.4082C6.86654 5.58268 6.79753 5.72591 6.7793 6.00195H5.5918C5.61003 5.5332 5.72852 5.2194 5.94727 4.89648C6.16602 4.57096 6.45508 4.32487 6.81445 4.1582C7.17643 3.99154 7.57617 3.9082 8.01367 3.9082C8.49284 3.9082 8.91211 3.99805 9.27148 4.17773C9.63086 4.35482 9.90951 4.60352 10.1074 4.92383C10.3079 5.24154 10.4082 5.61263 10.4082 6.03711C10.4082 6.32878 10.3626 6.5918 10.2715 6.82617C10.1803 7.05794 10.0501 7.26497 9.88086 7.44727C9.71419 7.62956 9.51367 7.79102 9.2793 7.93164C9.05794 8.06966 8.87826 8.21289 8.74023 8.36133C8.60482 8.50977 8.50586 8.68555 8.44336 8.88867C8.38086 9.0918 8.34701 9.13607 8.3418 9.43555V9.50977H7.22461Z" fill="currentColor"/><rect x="6.99902" y="10.6675" width="1.42432" height="1.42432" fill="currentColor"/>"# };
|
||||
pub static SETTINGS_GEAR: Icon = Icon { name: "settings-gear", view: 16.0, body: r#"<path d="M1.5 11V5L8 1.5L14.5 5V11L8 14.5L1.5 11Z" stroke-linecap="round" stroke-linejoin="round" stroke="currentColor"/><path d="M10.5 8C10.5 9.38071 9.38071 10.5 8 10.5C6.61929 10.5 5.5 9.38071 5.5 8C5.5 6.61929 6.61929 5.5 8 5.5C9.38071 5.5 10.5 6.61929 10.5 8Z" stroke="currentColor"/>"# };
|
||||
pub static CLOUD_UPLOAD: Icon = Icon { name: "cloud-upload", view: 20.0, body: r#"<path d="M12.0833 16.25H15C17.0711 16.25 18.75 14.5711 18.75 12.5C18.75 10.5649 17.2843 8.97217 15.4025 8.77133C15.2 6.13103 12.8586 4.08333 10 4.08333C7.71532 4.08333 5.76101 5.49781 4.96501 7.49881C2.84892 7.90461 1.25 9.76559 1.25 11.6667C1.25 13.9813 3.30203 16.25 5.83333 16.25H7.91667M10 16.25V10.4167M12.0833 11.875L10 9.79167L7.91667 11.875" stroke="currentColor" stroke-linecap="square"/>"# };
|
||||
pub static TRASH: Icon = Icon { name: "trash", view: 16.0, body: r#"<path d="M5.5 4.5H2.5L4 14.5H12L13.5 4.5H10.5M5.5 4.5V1.5H10.5V4.5M5.5 4.5H10.5M6.5 11.5L6 7M9.5 11.5L10 7" stroke-linecap="round" stroke-linejoin="round" stroke="currentColor"/>"# };
|
||||
pub static SLIDERS: Icon = Icon { name: "sliders", view: 16.0, body: r#"<path d="M7.5 11.5C7.5 12.6046 6.60457 13.5 5.5 13.5C4.39543 13.5 3.5 12.6046 3.5 11.5C3.5 10.3954 4.39543 9.5 5.5 9.5C6.60457 9.5 7.5 10.3954 7.5 11.5Z" stroke="currentColor"/><path d="M12.5 4.5C12.5 5.60457 11.6046 6.5 10.5 6.5C9.39543 6.5 8.5 5.60457 8.5 4.5C8.5 3.39543 9.39543 2.5 10.5 2.5C11.6046 2.5 12.5 3.39543 12.5 4.5Z" stroke="currentColor"/><path d="M8.0498 4C8.01702 4.16154 8 4.32878 8 4.5C8 4.67122 8.01702 4.83846 8.0498 5H1.5C1.22386 5 1 4.77614 1 4.5C1 4.22386 1.22386 4 1.5 4H8.0498ZM14.5 4C14.7761 4 15 4.22386 15 4.5C15 4.77614 14.7761 5 14.5 5H12.9502C12.983 4.83846 13 4.67122 13 4.5C13 4.32878 12.983 4.16154 12.9502 4H14.5Z" fill="currentColor"/><path d="M3.0498 11C3.01702 11.1615 3 11.3288 3 11.5C3 11.6712 3.01702 11.8385 3.0498 12H1.5C1.22386 12 1 11.7761 1 11.5C1 11.2239 1.22386 11 1.5 11H3.0498ZM14.5 11C14.7761 11 15 11.2239 15 11.5C15 11.7761 14.7761 12 14.5 12H7.9502C7.98298 11.8385 8 11.6712 8 11.5C8 11.3288 7.98298 11.1615 7.9502 11H14.5Z" fill="currentColor"/>"# };
|
||||
pub static KEYBOARD: Icon = Icon { name: "keyboard", view: 16.0, body: r#"<path d="M5.5 13.5H10.5V8.5H13.5L8 2.5L2.5 8.5H5.5V13.5Z" stroke-linejoin="round" stroke="currentColor"/>"# };
|
||||
pub static SELECTOR: Icon = Icon { name: "selector", view: 20.0, body: r#"<path d="M6.66626 12.5033L9.99959 15.8366L13.3329 12.5033M6.66626 7.50326L9.99959 4.16992L13.3329 7.50326" stroke="currentColor" stroke-linecap="square"/>"# };
|
||||
pub static ARROW_DOWN_TO_LINE: Icon = Icon { name: "arrow-down-to-line", view: 20.0, body: r#"<path d="M15.2083 11.6667L10 16.875L4.79167 11.6667M10 16.25V3.125" stroke="currentColor" stroke-width="1.25" stroke-linecap="square"/>"# };
|
||||
pub static WARNING: Icon = Icon { name: "warning", view: 20.0, body: r#"<path d="M10 7.91667V11.6667M10 13.7417V13.75M10 2.5L1.875 16.25H18.125L10 2.5Z" stroke="currentColor" stroke-linecap="square"/>"# };
|
||||
pub static WARNING_BOLD: Icon = Icon { name: "warning-bold", view: 20.0, body: r#"<path d="M10 7.91667V11.6667M10 13.7417V13.75M10 2.5L1.875 16.25H18.125L10 2.5Z" stroke="currentColor" stroke-width="1.5" stroke-linecap="square"/>"# };
|
||||
pub static RESET: Icon = Icon { name: "reset", view: 16.0, body: r#"<path d="M2.5 6.5H12.5C13.0523 6.5 13.5 6.94772 13.5 7.5V10.5C13.5 11.0523 13.0523 11.5 12.5 11.5H8.5M5.5 9.5L2.5 6.5L5.5 3.5" stroke-linecap="round" stroke-linejoin="round" stroke="currentColor"/>"# };
|
||||
pub static LINK: Icon = Icon { name: "link", view: 20.0, body: r#"<path d="M2.08334 12.0833L1.72979 11.7298L1.37624 12.0833L1.72979 12.4369L2.08334 12.0833ZM7.91668 17.9167L7.56312 18.2702L7.91668 18.6238L8.27023 18.2702L7.91668 17.9167ZM17.9167 7.91666L18.2702 8.27022L18.6238 7.91666L18.2702 7.56311L17.9167 7.91666ZM12.0833 2.08333L12.4369 1.72977L12.0833 1.37622L11.7298 1.72977L12.0833 2.08333ZM8.39646 5.06311L8.0429 5.41666L8.75001 6.12377L9.10356 5.77021L8.75001 5.41666L8.39646 5.06311ZM5.77023 9.10355L6.12378 8.74999L5.41668 8.04289L5.06312 8.39644L5.41668 8.74999L5.77023 9.10355ZM14.2298 10.8964L13.8762 11.25L14.5833 11.9571L14.9369 11.6035L14.5833 11.25L14.2298 10.8964ZM11.6036 14.9369L11.9571 14.5833L11.25 13.8762L10.8965 14.2298L11.25 14.5833L11.6036 14.9369ZM7.14646 12.1464L6.7929 12.5L7.50001 13.2071L7.85356 12.8535L7.50001 12.5L7.14646 12.1464ZM12.8536 7.85355L13.2071 7.49999L12.5 6.79289L12.1465 7.14644L12.5 7.49999L12.8536 7.85355ZM2.08334 12.0833L1.72979 12.4369L7.56312 18.2702L7.91668 17.9167L8.27023 17.5631L2.4369 11.7298L2.08334 12.0833ZM17.9167 7.91666L18.2702 7.56311L12.4369 1.72977L12.0833 2.08333L11.7298 2.43688L17.5631 8.27022L17.9167 7.91666ZM12.0833 2.08333L11.7298 1.72977L8.39646 5.06311L8.75001 5.41666L9.10356 5.77021L12.4369 2.43688L12.0833 2.08333ZM5.41668 8.74999L5.06312 8.39644L1.72979 11.7298L2.08334 12.0833L2.4369 12.4369L5.77023 9.10355L5.41668 8.74999ZM14.5833 11.25L14.9369 11.6035L18.2702 8.27022L17.9167 7.91666L17.5631 7.56311L14.2298 10.8964L14.5833 11.25ZM7.91668 17.9167L8.27023 18.2702L11.6036 14.9369L11.25 14.5833L10.8965 14.2298L7.56312 17.5631L7.91668 17.9167ZM7.50001 12.5L7.85356 12.8535L12.8536 7.85355L12.5 7.49999L12.1465 7.14644L7.14646 12.1464L7.50001 12.5Z" fill="currentColor"/>"# };
|
||||
pub static PROVIDERS: Icon = Icon { name: "providers", view: 16.0, body: r#"<path d="M13.5 4.5V2.5H11.5M13.5 4.5H15.5M13.5 4.5V8M13.5 8H15.5M13.5 8V8.5V11.5M13.5 11.5V13.5H11.5M13.5 11.5H15.5M2.5 8H0.5M2.5 8V4.5M2.5 8V11.5M2.5 4.5V2.5H4.5M2.5 4.5H0.5M2.5 11.5V13.5H4.5M2.5 11.5H0.5M4.5 13.5V15.5M4.5 13.5H8M8 13.5V15.5M8 13.5H11.5M11.5 13.5V15.5M11.5 2.5V0.5M11.5 2.5H8M8 2.5V0.5M8 2.5H4.5M4.5 2.5V0.5M5.5 10.5V5.5H10.5V10.5H5.5Z" stroke-linecap="round" stroke-linejoin="round" stroke="currentColor"/>"# };
|
||||
pub static MODELS: Icon = Icon { name: "models", view: 16.0, body: r#"<path fill-rule="evenodd" clip-rule="evenodd" d="M14 8C9.83336 8 8 9.83336 8 14C8 9.83336 6.16666 8 2 8C6.16666 8 8 6.16666 8 2C8 6.16666 9.83336 8 14 8Z" stroke="currentColor"/>"# };
|
||||
pub static APPEARANCE: Icon = Icon { name: "appearance", view: 16.0, body: r#"<path d="M1.5 4.5L4.5 1.5M1.5 14.5L14.5 1.5M11.5 14.5L14.5 11.5M1.5 9.5L9.5 1.5M6.5 14.5L14.5 6.5" stroke-linecap="round" stroke="currentColor"/>"# };
|
||||
pub static NOTIFICATIONS: Icon = Icon { name: "notifications", view: 16.0, body: r#"<path d="M4.5 14.5H11.5" stroke-linecap="round" stroke="currentColor"/><path d="M8 12V14" stroke-linecap="square" stroke="currentColor"/><path d="M16 3.5C16 4.88071 14.8807 6 13.5 6C12.1193 6 11 4.88071 11 3.5C11 2.11929 12.1193 1 13.5 1C14.8807 1 16 2.11929 16 3.5Z" fill="currentColor"/><path d="M10.3369 2C10.1892 2.31084 10.0866 2.64695 10.0361 3H2V11H14V6.96387C14.3531 6.91336 14.6892 6.81075 15 6.66309V11.5C15 11.7761 14.7761 12 14.5 12H1.5C1.22386 12 1 11.7761 1 11.5V2.5C1 2.22386 1.22386 2 1.5 2H10.3369Z" fill="currentColor"/>"# };
|
||||
pub static EXTENSIONS: Icon = Icon { name: "extensions", view: 16.0, body: r#"<path d="M1.5 2.5V13.5H14.5V2.5H1.5Z" stroke-linecap="round" stroke-linejoin="round" stroke="currentColor"/><path d="M4.5 6.5V9.5M8 6.5V9.5M11.5 6.5V9.5" stroke-linecap="round" stroke="currentColor"/>"# };
|
||||
pub static CUBE: Icon = Icon { name: "cube", view: 16.0, body: r#"<path d="M8 14.5L14.5 11V5L8 1.5L1.5 5V11L8 14.5ZM1.5 5L8 8.5M14.5 5L8 8.5M8 8.5V14.5" stroke-linecap="square" stroke-linejoin="round" stroke="currentColor"/>"# };
|
||||
pub static POST_SKILL: Icon = Icon { name: "post-skill", view: 16.0, body: r#"<path d="M3 2.5C3.5 2.5 4.5 2.8 4.5 4L4.5 5.5V12C4.5 12.5 4.8 13.5 6 13.5M6 13.5C7.2 13.5 7.5 12.5 7.5 12V10.5H14.5V12C14.5 12.5 14.2 13.5 13 13.5H6ZM4.5 5.5H1.5V4C1.5 3.5 1.8 2.5 3 2.5M12.5 8.5V4.5C12.5 3.39543 11.6046 2.5 10.5 2.5H3" stroke-linecap="round" stroke-linejoin="round" stroke="currentColor"/><path d="M6.5 5.5H10.5M6.5 7.5H9" stroke-linecap="square" stroke-linejoin="round" stroke="currentColor"/>"# };
|
||||
pub static OUTLINE_LIST_CHANGELOG: Icon = Icon { name: "outline-list-changelog", view: 16.0, body: r#"<path d="M3 14.5V15H4V14.5H3.5H3ZM4 1.5V1H3V1.5H3.5H4ZM8.5 1.5V1H8V1.5H8.5ZM14.5 1.5H15V1H14.5V1.5ZM14.5 6.5V7H15V6.5H14.5ZM8.5 6.5H8V7H8.5V6.5ZM8.5 9.5V9H8V9.5H8.5ZM14.5 9.5H15V9H14.5V9.5ZM14.5 14.5V15H15V14.5H14.5ZM8.5 14.5H8V15H8.5V14.5ZM3.5 6H4V1.5H3.5H3V6H3.5ZM8.5 1.5V2H14.5V1.5V1H8.5V1.5ZM14.5 1.5H14V6.5H14.5H15V1.5H14.5ZM14.5 6.5V6H8.5V6.5V7H14.5V6.5ZM8.5 6.5H9V1.5H8.5H8V6.5H8.5ZM8.5 9.5V10H14.5V9.5V9H8.5V9.5ZM14.5 9.5H14V14.5H14.5H15V9.5H14.5ZM14.5 14.5V14H8.5V14.5V15H14.5V14.5ZM8.5 14.5H9V9.5H8.5H8V14.5H8.5ZM3.5 10V10.5C4.8807 10.5 6 9.38075 6 8H5.5H5C5 8.82845 4.32843 9.5 3.5 9.5V10ZM5.5 8H6C6 6.61925 4.8807 5.5 3.5 5.5V6V6.5C4.32843 6.5 5 7.17155 5 8H5.5ZM3.5 6V5.5C2.1193 5.5 1 6.61925 1 8H1.5H2C2 7.17155 2.67157 6.5 3.5 6.5V6ZM1.5 8H1C1 9.38075 2.1193 10.5 3.5 10.5V10V9.5C2.67157 9.5 2 8.82845 2 8H1.5ZM3.5 14.5H4V10H3.5H3V14.5H3.5Z" fill="currentColor"/>"# };
|
||||
pub static OUTLINE_PAIR: Icon = Icon { name: "outline-pair", view: 16.0, body: r#"<path d="M2.5 9V2.5H13.5V3.5M2.5 9L0.5 12.5H7.5M2.5 9H7.5" stroke-linecap="square" stroke-linejoin="round" stroke="currentColor"/><path d="M11.5 12.5H13.5M9.5 5.5V14.5H15.5V5.5H9.5Z" stroke-linecap="round" stroke-linejoin="round" stroke="currentColor"/>"# };
|
||||
pub static LOCK: Icon = Icon { name: "lock", view: 16.0, body: r#"<path d="M2.5 14.5V7.5H13.5V14.5H2.5Z" stroke-linecap="round" stroke-linejoin="round" stroke="currentColor"/><path d="M5.5 7.5V4C5.5 2.61929 6.61929 1.5 8 1.5C9.38071 1.5 10.5 2.61929 10.5 4V7.5" stroke-linecap="round" stroke-linejoin="round" stroke="currentColor"/><path d="M7.5 10.5C7.5 10.2239 7.72386 10 8 10C8.27614 10 8.5 10.2239 8.5 10.5V12.5C8.5 12.7761 8.27614 13 8 13C7.72386 13 7.5 12.7761 7.5 12.5V10.5Z" fill="currentColor"/>"# };
|
||||
pub static GLOBE: Icon = Icon { name: "globe", view: 16.0, body: r#"<path d="M14.5 8C14.5 11.5899 11.5899 14.5 8 14.5C4.41015 14.5 1.5 11.5899 1.5 8C1.5 4.41015 4.41015 1.5 8 1.5C11.5899 1.5 14.5 4.41015 14.5 8Z" stroke="currentColor"/><path d="M1.5 8H14.5" stroke-linecap="round" stroke-linejoin="round" stroke="currentColor"/><path d="M8 1.5C6.5 3 5.5 5.5 5.5 8C5.5 10.5 6.5 13 8 14.5C9.5 13 10.5 10.5 10.5 8C10.5 5.5 9.5 3 8 1.5Z" stroke-linecap="round" stroke-linejoin="round" stroke="currentColor"/>"# };
|
||||
pub static SELECT_ELEMENT: Icon = Icon { name: "select-element", view: 16.0, body: r#"<path d="M8.5 14.5V5.5L14.5 11.5H11L8.5 14.5Z" stroke-linecap="round" stroke-linejoin="round" stroke="currentColor"/><path d="M5.5 13.5H1.5V2.5H14.5V7.5" stroke-linecap="round" stroke-linejoin="round" stroke="currentColor"/>"# };
|
||||
pub static FLASK: Icon = Icon { name: "flask", view: 16.0, body: r#"<path d="M10.5 2.5V6.5L11.3571 8.5M10.5 2.5H5.5M10.5 2.5H12.5M5.5 2.5V6.5L4.21429 9.5M5.5 2.5H3.5M4.21429 9.5L2.5 13.5H13.5L11.3571 8.5M4.21429 9.5L11.3571 8.5" stroke-linecap="round" stroke-linejoin="round" stroke="currentColor"/>"# };
|
||||
pub static GRID_PLUS: Icon = Icon { name: "grid-plus", view: 16.0, body: r#"<path d="M13.9948 11.668H9.32812M11.6641 9.33203V13.9987M6.66667 9.33203V13.9987H2V9.33203H6.66667ZM6.66667 2V6.66667H2V2H6.66667ZM13.9948 2V6.66667H9.32812V2H13.9948Z" stroke="currentColor" stroke-miterlimit="10" stroke-linecap="square"/>"# };
|
||||
pub static INFO: Icon = Icon { name: "info", view: 16.0, body: r#"<g transform="translate(2 2)"><path d="M12 12H0V0H12V12ZM1 1V11H11V1H1ZM6.5791 4.81641V9.37207H5.5791V5.81641H4.46777V4.81641H6.5791ZM6.85645 2.62891V3.62891H5.30078V2.62891H6.85645Z" fill="currentColor"/></g>"# };
|
||||
pub static CIRCLE_EXCLAMATION: Icon = Icon { name: "circle-exclamation", view: 16.0, body: r#"<path d="M8.75 11.75H7.25V10.25H8.75V11.75Z" fill="currentColor"/><path d="M8.75 9.25H7.25V4.25H8.75V9.25Z" fill="currentColor"/><path fill-rule="evenodd" clip-rule="evenodd" d="M8 1C9.93286 1 11.684 1.7836 12.9502 3.0498C14.2164 4.31601 15 6.06714 15 8C15 11.866 11.866 15 8 15C6.06714 15 4.31601 14.2164 3.0498 12.9502C1.7836 11.684 1 9.93286 1 8C1 4.13401 4.13401 1 8 1ZM8 2C4.68629 2 2 4.68629 2 8C2 9.65699 2.67148 11.1559 3.75781 12.2422C4.84415 13.3285 6.34301 14 8 14C11.3137 14 14 11.3137 14 8C14 6.34301 13.3285 4.84415 12.2422 3.75781C11.1559 2.67148 9.65699 2 8 2Z" fill="currentColor"/>"# };
|
||||
pub static OUTLINE_MAGNIFIER_MINUS: Icon = Icon { name: "outline-magnifier-minus", view: 16.0, body: r#"<path d="M12.5 7.5C12.5 10.2614 10.2614 12.5 7.5 12.5C4.73858 12.5 2.5 10.2614 2.5 7.5C2.5 4.73858 4.73858 2.5 7.5 2.5C10.2614 2.5 12.5 4.73858 12.5 7.5Z" stroke="currentColor"/><path d="M13.5 13.5L11.5 11.5" stroke-linecap="round" stroke="currentColor"/><path d="M5.5 7.5H9.5" stroke-linecap="round" stroke-linejoin="round" stroke="currentColor"/>"# };
|
||||
pub static OUTLINE_MAGNIFIER_PLUS: Icon = Icon { name: "outline-magnifier-plus", view: 16.0, body: r#"<path d="M12.5 7.5C12.5 10.2614 10.2614 12.5 7.5 12.5C4.73858 12.5 2.5 10.2614 2.5 7.5C2.5 4.73858 4.73858 2.5 7.5 2.5C10.2614 2.5 12.5 4.73858 12.5 7.5Z" stroke="currentColor"/><path d="M13.5 13.5L11.5 11.5" stroke-linecap="round" stroke="currentColor"/><path d="M5 7.5H7.5M7.5 7.5H10M7.5 7.5V5M7.5 7.5V10" stroke-linecap="round" stroke-linejoin="round" stroke="currentColor"/>"# };
|
||||
pub static MINUS: Icon = Icon { name: "minus", view: 16.0, body: r#"<path d="M2.5 8H13.5" stroke-linecap="round" stroke-linejoin="round" stroke="currentColor"/>"# };
|
||||
pub static MONITOR: Icon = Icon { name: "monitor", view: 16.0, body: r#"<path d="M4.5 14.5H11.5" stroke-linecap="round" stroke="currentColor"/><path d="M8 12V14" stroke-linecap="square" stroke="currentColor"/><path d="M1.5 11.5V2.5H14.5V11.5H1.5Z" stroke-linecap="round" stroke-linejoin="round" stroke="currentColor"/>"# };
|
||||
pub static WORKSPACE_NEW: Icon = Icon { name: "workspace-new", view: 16.0, body: r#"<path d="M2 10.7578V14.0011H5.24324M13.9991 5.24324V2H10.7559M13.9991 10.7578V14.0011H10.7559M2 5.24324V2H5.24324" stroke="currentColor" stroke-miterlimit="10" stroke-linecap="square"/><path d="M8 4.5V11.5M4.5 8H11.5" stroke="currentColor" stroke-linejoin="round"/>"# };
|
||||
pub static WORKSPACE: Icon = Icon { name: "workspace", view: 16.0, body: r#"<path d="M2 10.668V14.0013H10.6667M13.9974 10.6667V2H2.66406M13.9974 10.668V14.0013H10.6641M2 10V2H5.33333" stroke="currentColor" stroke-miterlimit="10" stroke-linecap="square"/><path d="M10.6693 10.6654V5.33203H5.33594V10.6654H10.6693Z" fill="currentColor"/>"# };
|
||||
pub static OUTLINE_WORKTREE: Icon = Icon { name: "outline-worktree", view: 16.0, body: r#"<path d="M1.5 11.5H5L9.5 5.5H14.5M12 8L14.5 5.5L12 3M9 11.5H14.5" stroke-linecap="round" stroke-linejoin="round" stroke="currentColor"/>"# };
|
||||
pub static OUTLINE_DOTS: Icon = Icon { name: "outline-dots", view: 16.0, body: r#"<path d="M5 8C5 8.55228 4.55228 9 4 9C3.44772 9 3 8.55228 3 8C3 7.44772 3.44772 7 4 7C4.55228 7 5 7.44772 5 8Z" fill="currentColor"/><path d="M9 8C9 8.55228 8.55228 9 8 9C7.44772 9 7 8.55228 7 8C7 7.44772 7.44772 7 8 7C8.55228 7 9 7.44772 9 8Z" fill="currentColor"/><path d="M13 8C13 8.55228 12.5523 9 12 9C11.4477 9 11 8.55228 11 8C11 7.44772 11.4477 7 12 7C12.5523 7 13 7.44772 13 8Z" fill="currentColor"/>"# };
|
||||
pub static OUTLINE_EXPAND: Icon = Icon { name: "outline-expand", view: 16.0, body: r#"<path d="M3.5 8V12.25C3.5 12.3881 3.61193 12.5 3.75 12.5H8" stroke-linecap="round" stroke="currentColor"/><path d="M12.5 8L12.5 3.75C12.5 3.61193 12.3881 3.5 12.25 3.5L8 3.5" stroke-linecap="round" stroke="currentColor"/>"# };
|
||||
pub static FILETREE: Icon = Icon { name: "filetree", view: 16.0, body: r#"<path d="M2.5 1.5V12.2484H6.75M2.5 4.74838H6.75" stroke="currentColor"/><rect x="8.5" y="3.2168" width="6" height="3" fill="none" stroke="currentColor"/><rect x="8.5" y="10.75" width="6" height="3" fill="none" stroke="currentColor"/>"# };
|
||||
pub static SPLIT: Icon = Icon { name: "split", view: 16.0, body: r#"<path d="M14.5 13.5H1.5V2.5H14.5V13.5Z" stroke-linecap="round" stroke-linejoin="round" stroke="currentColor"/><rect opacity="0.5" x="3" y="4" width="4" height="8" fill="currentColor"/><rect opacity="0.5" x="9" y="4" width="4" height="8" fill="currentColor"/>"# };
|
||||
pub static UNIFIED: Icon = Icon { name: "unified", view: 16.0, body: r#"<path d="M14.5 13.5H1.5V2.5H14.5V13.5Z" stroke-linecap="round" stroke-linejoin="round" stroke="currentColor"/><rect opacity="0.5" x="3" y="4" width="10" height="3" fill="currentColor"/><rect opacity="0.5" x="3" y="9" width="10" height="3" fill="currentColor"/>"# };
|
||||
pub static WINDOW_ANALYTICS: Icon = Icon { name: "window-analytics", view: 16.0, body: r#"<path d="M6.5 2.5H1.5V13.5H14.5V10.5M9.5 2.5H14.5V7.5H9.5V2.5Z" stroke-linecap="round" stroke-linejoin="round" stroke="currentColor"/>"# };
|
||||
pub static OUTLINE_CODE_BRACKETS: Icon = Icon { name: "outline-code-brackets", view: 16.0, body: r#"<path d="M5 4L1 8L5 12M11 4L15 8L11 12M9 1L7 15" stroke="currentColor"/>"# };
|
||||
pub static OUTLINE_QUOTE: Icon = Icon { name: "outline-quote", view: 16.0, body: r#"<path d="M9.5 8.49927C10.8333 8.49927 12.1667 8.49927 13.5 8.49927C13.5 9.74927 13.5 11.2493 13.5 12.4993C12.1667 12.4993 10.8333 12.4993 9.5 12.4993V7C9.5 5 10.5 3.5 13 3.5001" stroke="currentColor"/><path d="M2.5 8.49927C3.83333 8.49927 5.16667 8.49927 6.5 8.49927C6.5 9.74927 6.5 11.2493 6.5 12.4993C5.16667 12.4993 3.83333 12.4993 2.5 12.4993V7C2.5 5 3.5 3.5 6 3.5001" stroke="currentColor"/>"# };
|
||||
pub static OUTLINE_ARROW_UP_RIGHT: Icon = Icon { name: "outline-arrow-up-right", view: 16.0, body: r#"<path d="M12.5 3.5L3.5 12.5M12.5 9.62L12.5 3.5L6.38 3.5" stroke="currentColor"/>"# };
|
||||
pub static OUTLINE_ROTATE_CLOCKWISE: Icon = Icon { name: "outline-rotate-clockwise", view: 16.0, body: r#"<path d="M14.1992 8C14.1992 9.18669 13.8473 10.3467 13.188 11.3334C12.5288 12.3201 11.5917 13.0892 10.4953 13.5433C9.39897 13.9974 8.19257 14.1162 7.02868 13.8847C5.86479 13.6532 4.7957 13.0818 3.95658 12.2426C3.11747 11.4035 2.54602 10.3344 2.31451 9.17054C2.083 8.00666 2.20182 6.80026 2.65594 5.7039C3.11007 4.60754 3.87911 3.67047 4.8658 3.01118C5.85249 2.35189 7.01253 2 8.19922 2C9.87922 2 11.4859 2.66667 12.6926 3.82667L14.1992 5.33333M10.866 5.33333L14.1992 5.33333L14.1993 2" stroke="currentColor" stroke-linecap="square" stroke-linejoin="round"/>"# };
|
||||
pub static OUTLINE_GLOBE_PLUS: Icon = Icon { name: "outline-globe-plus", view: 16.0, body: r#"<path d="M9.5 11.5H12.5M12.5 11.5H15.5M12.5 11.5V8.5M12.5 11.5V14.5" stroke-linecap="round" stroke-linejoin="round" stroke="currentColor"/><path d="M8 1C11.866 1 15 4.13401 15 8C15 8.11231 14.9964 8.22395 14.9912 8.33496C14.9358 7.48617 14.4589 6.75503 13.7656 6.34668C13.1525 4.20296 11.3791 2.55021 9.16602 2.11426C10.0489 3.35264 10.6663 4.93158 10.8975 6.58105C10.3489 7.03965 10 7.72909 10 8.5H6.01465C6.13241 10.6267 6.98934 12.6854 8.20996 13.9941C8.44758 13.986 8.68133 13.9618 8.91113 13.9268C9.10021 13.9725 9.29688 14 9.5 14H10V14.5C10 14.5691 10.0043 14.6374 10.0098 14.7051C9.37302 14.8957 8.69876 15 8 15C4.13401 15 1 11.866 1 8C1 4.13401 4.13401 1 8 1ZM2.02246 8.5C2.24434 11.1886 4.23728 13.3729 6.83301 13.8848C5.78755 12.4178 5.11145 10.4737 5.0127 8.5H2.02246ZM6.83301 2.11426C4.23719 2.62603 2.24434 4.81135 2.02246 7.5H5.0127C5.11147 5.52603 5.78728 3.58126 6.83301 2.11426ZM8 2.24219C6.89188 3.55495 6.12676 5.49755 6.01562 7.5H9.98438C9.87324 5.49755 9.10812 3.55495 8 2.24219Z" fill="currentColor"/>"# };
|
||||
pub static OUTLINE_COOKIE: Icon = Icon { name: "outline-cookie", view: 16.0, body: r#"<path d="M14 8.5A6 6 0 1 1 7.5 2a2 2 0 0 0 2.5 2.5 2 2 0 0 0 2.5 2.5c.4.6.9 1.1 1.5 1.5Z" stroke="currentColor" stroke-linejoin="round"/><path d="M5.5 6.5h.01M5.5 10h.01M8.5 9h.01M10.5 11.5h.01" stroke="currentColor" stroke-width="1.5" stroke-linecap="round"/>"# };
|
||||
pub static ARROW_UP_RIGHT: Icon = Icon { name: "arrow-up-right", view: 16.0, body: r#"<path d="M11 9.56V5H6.44M11 5L5 11" stroke="currentColor"/>"# };
|
||||
pub static OUTLINE_SQUARE_ARROW: Icon = Icon { name: "outline-square-arrow", view: 16.0, body: r#"<path d="M5.5 2.5H2.5V13.5H13.5V10.5M8.5 7.5L13.5 2.5M13.5 7.5V2.5H8.5" stroke-linecap="round" stroke-linejoin="round" stroke="currentColor"/>"# };
|
||||
pub static OUTLINE_ARROW_TO_CORNER_TOP_RIGHT: Icon = Icon { name: "outline-arrow-to-corner-top-right", view: 16.0, body: r#"<path d="M2 8.5V2H14V14H8M5 5.66667H10.3333V11M3.66797 12.333L9.94292 6.05806" stroke="currentColor" stroke-linecap="square"/>"# };
|
||||
pub static OUTLINE_MAXIMIZE: Icon = Icon { name: "outline-maximize", view: 16.0, body: r#"<path d="M2.5 6V2.5H6M10 2.5H13.5V6M13.5 10V13.5H10M6 13.5H2.5V10" stroke="currentColor" stroke-linecap="square"/>"# };
|
||||
pub static OUTLINE_HEXAGONAL_WARNING: Icon = Icon { name: "outline-hexagonal-warning", view: 16.0, body: r#"<path d="M10.6667 1.33325H5.33272L1.33334 5.33325L1.33342 10.6917L5.3327 14.691L10.6667 14.6909L14.6911 10.6917V5.33255L10.6667 1.33325Z" stroke="currentColor"/><path d="M8 10.6667H8.00667" stroke="currentColor" stroke-linecap="square"/><path d="M8 7.99992V5.33325" stroke="currentColor" stroke-linecap="square"/>"# };
|
||||
pub static OUTLINE_SHARE: Icon = Icon { name: "outline-share", view: 16.0, body: r#"<path d="M13.5554 10.4445V13.5556C13.5554 13.5556 12.7599 13.5556 11.7777 13.5556H4.22211C3.23989 13.5556 2.44434 13.5556 2.44434 13.5556V10.4445M4.88878 5.55557L7.99989 2.44446L11.111 5.55557M7.99989 2.44446L7.99989 9.11112" stroke="currentColor"/>"# };
|
||||
pub static OUTLINE_EYE_SLASH: Icon = Icon { name: "outline-eye-slash", view: 16.0, body: r#"<path d="M8 9.5V11.5M13 7.70453C12.3728 8.24287 11.6002 8.73156 10.6609 9.06269C9.8902 9.33437 9.00721 9.5 8 9.5M8 9.5C6.99279 9.5 6.1098 9.33437 5.33912 9.06269M10.6609 9.06269L11.5 11M5.33912 9.06269L4.5 11M1.5 6C1.86147 6.5422 2.3536 7.14974 3 7.70453C3.62725 8.24287 4.39976 8.73156 5.33912 9.06269M14.5 6C14.1385 6.5422 13.6464 7.14974 13 7.70453M13 7.70453L14.5 9.06269M3 7.70453L1.5 9.06269" stroke-linecap="round" stroke-linejoin="round" stroke="currentColor"/>"# };
|
||||
pub static REFRESH: Icon = Icon { name: "refresh", view: 20.0, body: r#"<path d="M16.25 7.5A6.5 6.5 0 1 0 16.5 11M16.25 3.5v4h-4" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"/>"# };
|
||||
pub static FILL_TRIANGLE_DOWN: Icon = Icon { name: "fill-triangle-down", view: 16.0, body: r#"<path d="M5.37624 6.75194C5.18184 6.41861 5.42224 6 5.80814 6H10.1921C10.578 6 10.8184 6.41861 10.624 6.75194L8.43203 10.5096C8.23909 10.8404 7.76119 10.8404 7.56825 10.5096L5.37624 6.75194Z" fill="currentColor"/>"# };
|
||||
pub static WAVEFORM: Icon = Icon { name: "waveform", view: 16.0, body: r#"<path d="M2 7V9M4.5 5V11M7 2.5V13.5M9.5 4.5V11.5M12 6V10M14.5 7.25V8.75" stroke="currentColor" stroke-width="1.5" stroke-linecap="round"/>"# };
|
||||
pub static OUTLINE_STEER: Icon = Icon { name: "outline-steer", view: 16.0, body: r#"<path d="M8 14C11.3137 14 14 11.3137 14 8C14 4.68634 11.3137 2 8 2C4.68626 2 2 4.68634 2 8C2 11.3137 4.68626 14 8 14Z" stroke-linecap="round" stroke-linejoin="round" stroke="currentColor"/><path d="M8 3.86328V12.1391C10.2854 12.1391 12.1379 10.2863 12.1379 8.00121C12.1379 5.71608 10.2854 3.86328 8 3.86328Z" fill="currentColor"/>"# };
|
||||
pub static OUTLINE_WAVE_AUDIO: Icon = Icon { name: "outline-wave-audio", view: 16.0, body: r#"<path d="M14.5 8.01193V8" stroke-linecap="square" stroke="currentColor"/><path d="M1.5 8.00607V7.99414" stroke-linecap="square" stroke="currentColor"/><path d="M3.66699 10.5141V5.48438" stroke-linecap="square" stroke="currentColor"/><path d="M10.167 10.5141V5.48438" stroke-linecap="square" stroke="currentColor"/><path d="M8 11.6004V4.39844" stroke-linecap="square" stroke="currentColor"/><path d="M12.333 9.20144V6.80078" stroke-linecap="square" stroke="currentColor"/><path d="M5.83301 13.5323V2.4668" stroke-linecap="square" stroke="currentColor"/>"# };
|
||||
pub static OUTLINE_TEXT: Icon = Icon { name: "outline-text", view: 14.0, body: r#"<path d="M6.99997 11.5938V2.40625M6.99997 11.5938H9.04164M6.99997 11.5938H4.95831M6.99997 2.40625H2.40622V4.95833M6.99997 2.40625H11.5937V4.95833" stroke="currentColor"/>"# };
|
||||
pub static OUTLINE_PHOTO: Icon = Icon { name: "outline-photo", view: 14.0, body: r#"<path d="M11.6666 11.6666L8.16663 8.16663L6.99997 9.33332L4.66663 6.99998L2.1583 9.50832M2.04163 2.04165H11.9583V11.9583H2.04163V2.04165ZM9.33332 5.24998C9.33332 5.81377 8.87629 6.27081 8.31244 6.27081C7.74866 6.27081 7.29163 5.81377 7.29163 5.24998C7.29163 4.68619 7.74866 4.22915 8.31244 4.22915C8.87629 4.22915 9.33332 4.68619 9.33332 5.24998Z" stroke="currentColor" stroke-linecap="square"/>"# };
|
||||
pub static FILE_DOCUMENT: Icon = Icon { name: "file-document", view: 16.0, body: r#"<path d="M3.5 13.25V2.75C3.5 2.61193 3.61193 2.5 3.75 2.5H8.39645C8.46275 2.5 8.52634 2.52634 8.57322 2.57322L12.4268 6.42678C12.4737 6.47366 12.5 6.53725 12.5 6.60355V13.25C12.5 13.3881 12.3881 13.5 12.25 13.5H3.75C3.61193 13.5 3.5 13.3881 3.5 13.25Z" stroke-linecap="round" stroke="currentColor"/>"# };
|
||||
pub static OUTLINE_AUDIO: Icon = Icon { name: "outline-audio", view: 14.0, body: r#"<path d="M2.29546 5.62775V8.37207M5.4318 1.96875V12.0312M8.56815 4.40801V9.59173M11.7045 5.62775V8.37207" stroke="currentColor" stroke-linecap="square"/>"# };
|
||||
pub static OUTLINE_VIDEO: Icon = Icon { name: "outline-video", view: 14.0, body: r#"<path d="M10.7412 7L3.99997 11.333V2.66602L10.7412 7Z" stroke="currentColor"/>"# };
|
||||
pub static OUTLINE_BRAIN: Icon = Icon { name: "outline-brain", view: 14.0, body: r#"<path d="M6.99997 3.5C6.99997 2.53322 7.7832 1.75 8.74997 1.75C9.71675 1.75 10.5 2.53322 10.5 3.5C10.5 3.57233 10.4875 3.64156 10.479 3.71156C11.4706 3.80022 12.25 4.62389 12.25 5.63889C12.25 6.43222 11.7732 7.11278 11.0919 7.41456C11.55 7.68522 11.8611 8.17911 11.8611 8.75C11.8611 9.54956 11.2552 10.2006 10.479 10.2884C10.4875 10.3584 10.5 10.4277 10.5 10.5C10.5 11.4668 9.71675 12.25 8.74997 12.25C7.7832 12.25 6.99997 11.4668 6.99997 10.5M6.99997 3.5C6.99997 2.53322 6.21675 1.75 5.24997 1.75C4.2832 1.75 3.49997 2.53322 3.49997 3.5C3.49997 3.57233 3.51241 3.64156 3.52097 3.71156C2.5293 3.80022 1.74997 4.62389 1.74997 5.63889C1.74997 6.43222 2.22675 7.11278 2.90808 7.41456C2.44997 7.68522 2.13886 8.17911 2.13886 8.75C2.13886 9.54956 2.74474 10.2006 3.52097 10.2884C3.51241 10.3584 3.49997 10.4277 3.49997 10.5C3.49997 11.4668 4.2832 12.25 5.24997 12.25C6.21675 12.25 6.99997 11.4668 6.99997 10.5M6.99997 3.5V10.5M4.27773 7.58334H3.6944C3.41362 7.58334 3.14607 7.52345 2.90496 7.4169M11.095 7.4169C10.8539 7.52345 10.5863 7.58334 10.3055 7.58334H9.7222" stroke="currentColor" stroke-linecap="square"/>"# };
|
||||
pub static CLOSE_SMALL: Icon = Icon { name: "close-small", ..CLOSE };
|
||||
pub static XMARK_SMALL: Icon = Icon { name: "xmark-small", ..CLOSE };
|
||||
pub static OUTLINE_XMARK: Icon = Icon { name: "outline-xmark", ..CLOSE };
|
||||
pub static CIRCLE_XMARK: Icon = Icon { name: "circle-xmark", ..CLOSE };
|
||||
pub static CHECK_SMALL: Icon = Icon { name: "check-small", ..CHECK };
|
||||
pub static OUTLINE_COPY: Icon = Icon { name: "outline-copy", ..COPY };
|
||||
pub static CODE_SLASH: Icon = Icon { name: "code-slash", ..CODE };
|
||||
pub static OUTLINE_SLIDERS: Icon = Icon { name: "outline-sliders", ..SLIDERS };
|
||||
pub static OUTLINE_TRASH: Icon = Icon { name: "outline-trash", ..TRASH };
|
||||
pub static OUTLINE_GLOBE: Icon = Icon { name: "outline-globe", ..GLOBE };
|
||||
pub static ARROW_UNDO_DOWN: Icon = Icon { name: "arrow-undo-down", ..ENTER };
|
||||
pub static OUTLINE_RESET: Icon = Icon { name: "outline-reset", ..RESET };
|
||||
pub static OUTLINE_UNDO: Icon = Icon { name: "outline-undo", ..RESET };
|
||||
pub static WINDOW_CURSOR: Icon = Icon { name: "window-cursor", ..SELECT_ELEMENT };
|
||||
pub static OUTLINE_BROWSER_ANNOTATE: Icon = Icon { name: "outline-browser-annotate", ..SELECT_ELEMENT };
|
||||
pub static GRADUATION_CAP: Icon = Icon { name: "graduation-cap", ..POST_SKILL };
|
||||
pub static OUTLINE_EYE: Icon = Icon { name: "outline-eye", ..EYE };
|
||||
pub static BRANCH_OUT: Icon = Icon { name: "branch-out", ..OUTLINE_WORKTREE };
|
||||
pub static PLUS_SMALL: Icon = Icon { name: "plus-small", ..PLUS };
|
||||
pub static DASH: Icon = Icon { name: "dash", ..MINUS };
|
||||
pub static DASH_BOLD: Icon = Icon { name: "dash-bold", view: 16.0, body: r#"<path d="M2.5 8H13.5" stroke-linecap="round" stroke-linejoin="round" stroke="currentColor" stroke-width="1.5"/>"# };
|
||||
pub static FILE_TREE: Icon = Icon { name: "file-tree", ..FOLDER };
|
||||
pub static BUBBLE_5: Icon = Icon { name: "bubble-5", ..COMMENT };
|
||||
pub static SPEECH_BUBBLE: Icon = Icon { name: "speech-bubble", ..COMMENT };
|
||||
pub static SQUARE_ARROW_TOP_RIGHT: Icon = Icon { name: "square-arrow-top-right", ..OUTLINE_SQUARE_ARROW };
|
||||
pub static CONSOLE: Icon = Icon { name: "console", ..TERMINAL };
|
||||
pub static OUTLINE_CONSOLE: Icon = Icon { name: "outline-console", ..TERMINAL };
|
||||
pub static OUTLINE_CHEVRON_DOWN: Icon = Icon { name: "outline-chevron-down", ..CHEVRON_DOWN };
|
||||
pub static OUTLINE_CHEVRON_RIGHT: Icon = Icon { name: "outline-chevron-right", ..CHEVRON_RIGHT };
|
||||
pub static OUTLINE_ARROW_LEFT: Icon = Icon { name: "outline-arrow-left", ..ARROW_LEFT };
|
||||
pub static OUTLINE_ARROW_RIGHT: Icon = Icon { name: "outline-arrow-right", ..ARROW_RIGHT };
|
||||
pub static TEXT_WRAP: Icon = Icon { name: "text-wrap", view: 16.0, body: r#"<path d="M1.5 3.5H14.5M1.5 8H11.5C12.8807 8 14 9.11929 14 10.5C14 11.8807 12.8807 13 11.5 13H8.5M10 11.5L8.5 13L10 14.5M1.5 12.5H5" stroke-linecap="round" stroke-linejoin="round" stroke="currentColor"/>"# };
|
||||
|
||||
/// Every icon by its catalog name, for a gallery or a name read from data.
|
||||
pub static ALL: &[&Icon] = &[
|
||||
&ALIGN_RIGHT,
|
||||
&ARROW_UP,
|
||||
&ARROW_LEFT,
|
||||
&ARROW_RIGHT,
|
||||
&ARCHIVE,
|
||||
&PROMPT,
|
||||
&BRAIN,
|
||||
&FORK,
|
||||
&WORKSPACE_ISOLATED,
|
||||
&BULLET_LIST,
|
||||
&CHEVRON_DOWN,
|
||||
&CHEVRON_LEFT,
|
||||
&CHEVRON_RIGHT,
|
||||
&CHEVRON_GRABBER_VERTICAL,
|
||||
&CHEVRON_DOUBLE_RIGHT,
|
||||
&CIRCLE_X,
|
||||
&CLOSE,
|
||||
&CHECKLIST,
|
||||
&TERMINAL,
|
||||
&TERMINAL_ACTIVE,
|
||||
&REVIEW,
|
||||
&REVIEW_ACTIVE,
|
||||
&EXPAND,
|
||||
&COLLAPSE,
|
||||
&CODE,
|
||||
&CODE_LINES,
|
||||
&CIRCLE_BAN_SIGN,
|
||||
&EDIT_SMALL_2,
|
||||
&EYE,
|
||||
&ENTER,
|
||||
&FOLDER,
|
||||
&FILE_TREE_ACTIVE,
|
||||
&MAGNIFYING_GLASS,
|
||||
&PLUS,
|
||||
&NEW_SESSION,
|
||||
&NEW_SESSION_ACTIVE,
|
||||
&PENCIL_LINE,
|
||||
&MCP,
|
||||
&GLASSES,
|
||||
&MAGNIFYING_GLASS_MENU,
|
||||
&TASK,
|
||||
&STOP,
|
||||
&STATUS,
|
||||
&STATUS_ACTIVE,
|
||||
&SIDEBAR,
|
||||
&SIDEBAR_ACTIVE,
|
||||
&LAYOUT_LEFT,
|
||||
&LAYOUT_LEFT_PARTIAL,
|
||||
&LAYOUT_LEFT_FULL,
|
||||
&LAYOUT_RIGHT,
|
||||
&LAYOUT_RIGHT_PARTIAL,
|
||||
&LAYOUT_RIGHT_FULL,
|
||||
&OPEN_FILE,
|
||||
&COMMENT,
|
||||
&FOLDER_ADD_LEFT,
|
||||
&GITHUB,
|
||||
&DISCORD,
|
||||
&LAYOUT_BOTTOM,
|
||||
&LAYOUT_BOTTOM_PARTIAL,
|
||||
&LAYOUT_BOTTOM_FULL,
|
||||
&DOT_GRID,
|
||||
&CIRCLE_CHECK,
|
||||
©,
|
||||
&CHECK,
|
||||
&PHOTO,
|
||||
&SHARE,
|
||||
&SHIELD,
|
||||
&DOWNLOAD,
|
||||
&MENU,
|
||||
&SERVER,
|
||||
&BRANCH,
|
||||
&EDIT,
|
||||
&HELP,
|
||||
&SETTINGS_GEAR,
|
||||
&CLOUD_UPLOAD,
|
||||
&TRASH,
|
||||
&SLIDERS,
|
||||
&KEYBOARD,
|
||||
&SELECTOR,
|
||||
&ARROW_DOWN_TO_LINE,
|
||||
&WARNING,
|
||||
&RESET,
|
||||
&LINK,
|
||||
&PROVIDERS,
|
||||
&MODELS,
|
||||
&APPEARANCE,
|
||||
&NOTIFICATIONS,
|
||||
&EXTENSIONS,
|
||||
&CUBE,
|
||||
&POST_SKILL,
|
||||
&OUTLINE_LIST_CHANGELOG,
|
||||
&OUTLINE_PAIR,
|
||||
&LOCK,
|
||||
&GLOBE,
|
||||
&SELECT_ELEMENT,
|
||||
&FLASK,
|
||||
&GRID_PLUS,
|
||||
&INFO,
|
||||
&CIRCLE_EXCLAMATION,
|
||||
&OUTLINE_MAGNIFIER_MINUS,
|
||||
&OUTLINE_MAGNIFIER_PLUS,
|
||||
&MINUS,
|
||||
&MONITOR,
|
||||
&WORKSPACE_NEW,
|
||||
&WORKSPACE,
|
||||
&OUTLINE_WORKTREE,
|
||||
&OUTLINE_DOTS,
|
||||
&OUTLINE_EXPAND,
|
||||
&FILETREE,
|
||||
&SPLIT,
|
||||
&UNIFIED,
|
||||
&WINDOW_ANALYTICS,
|
||||
&OUTLINE_CODE_BRACKETS,
|
||||
&OUTLINE_QUOTE,
|
||||
&OUTLINE_ARROW_UP_RIGHT,
|
||||
&OUTLINE_ROTATE_CLOCKWISE,
|
||||
&OUTLINE_GLOBE_PLUS,
|
||||
&OUTLINE_COOKIE,
|
||||
&ARROW_UP_RIGHT,
|
||||
&OUTLINE_SQUARE_ARROW,
|
||||
&OUTLINE_ARROW_TO_CORNER_TOP_RIGHT,
|
||||
&OUTLINE_MAXIMIZE,
|
||||
&OUTLINE_HEXAGONAL_WARNING,
|
||||
&OUTLINE_SHARE,
|
||||
&OUTLINE_EYE_SLASH,
|
||||
&REFRESH,
|
||||
&FILL_TRIANGLE_DOWN,
|
||||
&WAVEFORM,
|
||||
&OUTLINE_STEER,
|
||||
&OUTLINE_WAVE_AUDIO,
|
||||
&OUTLINE_TEXT,
|
||||
&OUTLINE_PHOTO,
|
||||
&FILE_DOCUMENT,
|
||||
&OUTLINE_AUDIO,
|
||||
&OUTLINE_VIDEO,
|
||||
&OUTLINE_BRAIN,
|
||||
&CLOSE_SMALL,
|
||||
&XMARK_SMALL,
|
||||
&OUTLINE_XMARK,
|
||||
&CIRCLE_XMARK,
|
||||
&CHECK_SMALL,
|
||||
&OUTLINE_COPY,
|
||||
&CODE_SLASH,
|
||||
&OUTLINE_SLIDERS,
|
||||
&OUTLINE_TRASH,
|
||||
&OUTLINE_GLOBE,
|
||||
&ARROW_UNDO_DOWN,
|
||||
&OUTLINE_RESET,
|
||||
&OUTLINE_UNDO,
|
||||
&WINDOW_CURSOR,
|
||||
&OUTLINE_BROWSER_ANNOTATE,
|
||||
&GRADUATION_CAP,
|
||||
&OUTLINE_EYE,
|
||||
&BRANCH_OUT,
|
||||
&PLUS_SMALL,
|
||||
&DASH,
|
||||
&FILE_TREE,
|
||||
&BUBBLE_5,
|
||||
&SPEECH_BUBBLE,
|
||||
&SQUARE_ARROW_TOP_RIGHT,
|
||||
&CONSOLE,
|
||||
&OUTLINE_CONSOLE,
|
||||
&OUTLINE_CHEVRON_DOWN,
|
||||
&OUTLINE_CHEVRON_RIGHT,
|
||||
&OUTLINE_ARROW_LEFT,
|
||||
&OUTLINE_ARROW_RIGHT,
|
||||
&TEXT_WRAP,
|
||||
];
|
||||
+323
@@ -0,0 +1,323 @@
|
||||
//! OpenCode's design language as a Rune theme: `@opencode/ui`'s tokens (as the browser resolves
|
||||
//! them, `assets/theme.json`, regenerated by `tools/theme.mjs`), its fonts and its icon catalog,
|
||||
//! mapped onto rune-kit's semantic schema. Nothing here is compiled into Rune's core.
|
||||
//!
|
||||
//! ```ignore
|
||||
//! let k = rune_theme_opencode::kit(cx.system_dark());
|
||||
//! rune_kit::Button::new("Save").build(k)
|
||||
//! ```
|
||||
|
||||
#![forbid(unsafe_code)]
|
||||
|
||||
pub mod app_icons;
|
||||
pub mod file_icons;
|
||||
pub mod icons;
|
||||
pub mod provider_icons;
|
||||
pub mod tree_icons;
|
||||
|
||||
use std::sync::OnceLock;
|
||||
|
||||
use rune::{Color, TextStyle, Theme};
|
||||
use rune_kit::{Elevation, Glyphs, Kit, Motion, Palette, Radius, StateColors, Type, css, glyphs};
|
||||
use serde_json::Value;
|
||||
|
||||
/// The theme as data: palette, light and dark tokens, computed shadows and numbers.
|
||||
pub const THEME: &str = include_str!("../assets/theme.json");
|
||||
|
||||
/// Inter (variable) and IBM Plex Mono, for `AppSpec::fonts`.
|
||||
pub const FONTS: &[&[u8]] = &[
|
||||
include_bytes!("../assets/fonts/InterVariable.ttf"),
|
||||
include_bytes!("../assets/fonts/IBMPlexMono-Regular.ttf"),
|
||||
include_bytes!("../assets/fonts/IBMPlexMono-Medium.ttf"),
|
||||
];
|
||||
|
||||
/// `AppSpec::families`: (sans, mono).
|
||||
pub const FAMILIES: (&str, &str) = ("Inter", "IBM Plex Mono");
|
||||
|
||||
/// The resolved `rune::Theme` for one appearance (every `--*` colour token by name, without `--`).
|
||||
/// Translucent tokens resolve for the current blend mode as they are read (`rune::theme::blends_srgb`).
|
||||
pub fn theme(dark: bool) -> &'static Theme {
|
||||
static DARK: OnceLock<Theme> = OnceLock::new();
|
||||
static LIGHT: OnceLock<Theme> = OnceLock::new();
|
||||
let load = || Theme::from_value(document(), dark).unwrap_or_else(|e| panic!("{e}"));
|
||||
if dark { DARK.get_or_init(load) } else { LIGHT.get_or_init(load) }
|
||||
}
|
||||
|
||||
/// `theme.json`, parsed once for both appearances and the kit's shadows.
|
||||
fn document() -> &'static Value {
|
||||
static DOC: OnceLock<Value> = OnceLock::new();
|
||||
DOC.get_or_init(|| serde_json::from_str(THEME).expect("theme.json"))
|
||||
}
|
||||
|
||||
/// The brand's hot colour for one appearance: ember step 9, for marks like a logo or a
|
||||
/// highlight that should read as the brand rather than the interactive accent.
|
||||
pub fn brand(dark: bool) -> Color {
|
||||
ember(dark, 9)
|
||||
}
|
||||
|
||||
/// One step of the ember scale for one appearance, the same colour as the token
|
||||
/// `ember-dark-<step>` or `ember-light-<step>`. `step` is 1 to 12; anything else panics.
|
||||
#[track_caller]
|
||||
pub fn ember(dark: bool, step: u8) -> Color {
|
||||
scale("ember", dark, step)
|
||||
}
|
||||
|
||||
/// One step (1 to 12, else panics) of a named colour scale (`"amber"`, `"apple"`, `"blue"`,
|
||||
/// `"cobalt"`, `"coral"`, `"ember"`, `"gray"`, `"ink"`, `"lilac"`, `"mint"`, `"smoke"`,
|
||||
/// `"solaris"`, `"yuzu"`): the token `<name>-dark-<step>` or `<name>-light-<step>`. Panics if
|
||||
/// the theme has no such token.
|
||||
#[track_caller]
|
||||
pub fn scale(name: &str, dark: bool, step: u8) -> Color {
|
||||
assert!((1..=12).contains(&step), "colour scale steps run 1 to 12, got {step}");
|
||||
theme(dark).color(&format!("{name}-{}-{step}", if dark { "dark" } else { "light" }))
|
||||
}
|
||||
|
||||
/// Token `name` as the theme authors it, without sRGB re-solving: translucent tokens keep their
|
||||
/// authored alpha.
|
||||
#[track_caller]
|
||||
fn authored(dark: bool, name: &str) -> Color {
|
||||
theme(dark).authored(name).unwrap_or_else(|| panic!("theme.json has no {name:?}"))
|
||||
}
|
||||
|
||||
/// The kit tokens for one appearance, resolved for the blend mode of the window building the
|
||||
/// view (`rune::theme::blends_srgb`): translucent tokens as authored when it blends in sRGB,
|
||||
/// re-solved over `bg_base` when it blends in linear light. Get it in the view rather than
|
||||
/// keeping it across a `Tx::set_srgb_blend`.
|
||||
pub fn kit(dark: bool) -> &'static Kit {
|
||||
static KITS: [[OnceLock<Kit>; 2]; 2] = [const { [const { OnceLock::new() }; 2] }; 2];
|
||||
let srgb = rune::theme::blends_srgb();
|
||||
KITS[dark as usize][srgb as usize].get_or_init(|| rune::theme::with_blend(srgb, || build(dark)))
|
||||
}
|
||||
|
||||
/// Inter at a variable weight with the kit's tracking (`-0.04px` at 13, `0.05px` at 11).
|
||||
const fn inter(size: f32, weight: f32, line: f32, tracking: f32) -> TextStyle {
|
||||
TextStyle::new(size, weight).lh(line).tracking(tracking)
|
||||
}
|
||||
|
||||
pub const GLYPHS: Glyphs = Glyphs {
|
||||
copy: &icons::COPY,
|
||||
search: &icons::MAGNIFYING_GLASS,
|
||||
circle_x: &icons::CIRCLE_X,
|
||||
triangle_down: &icons::FILL_TRIANGLE_DOWN,
|
||||
clear: &icons::XMARK_SMALL,
|
||||
close: &icons::CLOSE,
|
||||
..glyphs::DEFAULT
|
||||
};
|
||||
|
||||
fn build(dark: bool) -> Kit {
|
||||
let t = theme(dark);
|
||||
let c = |n: &str| t.color(n);
|
||||
let v = |n: &str| t.color(&format!("v2-{n}"));
|
||||
let raw = |n: &str| authored(dark, &format!("v2-{n}"));
|
||||
let state = |n: &str, icon: Color| StateColors {
|
||||
bg: v(&format!("state-bg-{n}")),
|
||||
fg: v(&format!("state-fg-{n}")),
|
||||
border: v(&format!("state-border-{n}")),
|
||||
icon,
|
||||
};
|
||||
let blend = v("background-bg-base");
|
||||
let solve = |x: Color| rune::theme::for_blend(x, blend);
|
||||
let data = document();
|
||||
let mode = if dark { "dark" } else { "light" };
|
||||
let sh = |n: &str| {
|
||||
let src = data["shadows"][mode][n].as_str().unwrap_or_else(|| panic!("theme.json has no {mode} shadow {n:?}"));
|
||||
css::box_shadows(src, solve)
|
||||
};
|
||||
let opaque = |n: &str| t.color(n).alpha(1.0);
|
||||
// Tokens some components read but the kit never defines resolve as CSS does: no colour
|
||||
// (transparent backgrounds) or the inherited text colour.
|
||||
let or = |n: &str, fallback: Color| t.try_color(n).unwrap_or(fallback);
|
||||
let palette = Palette {
|
||||
page: c("background-base"),
|
||||
bg_base: blend,
|
||||
bg_deep: v("background-bg-deep"),
|
||||
layer_01: v("background-bg-layer-01"),
|
||||
layer_02: v("background-bg-layer-02"),
|
||||
layer_03: v("background-bg-layer-03"),
|
||||
layer_04: v("background-bg-layer-04"),
|
||||
bg_inverse: v("background-bg-inverse"),
|
||||
bg_contrast: v("background-bg-contrast"),
|
||||
bg_button_neutral: v("background-bg-button-neutral"),
|
||||
bg_icon_button_contrast: v("background-bg-icon-button-contrast"),
|
||||
bg_accent: v("background-bg-accent"),
|
||||
submit_highlight: if dark { raw("alpha-light-60") } else { raw("alpha-light-20") },
|
||||
submit_hover: if dark { raw("alpha-dark-8") } else { raw("overlay-simple-overlay-contrast-hover") },
|
||||
submit_fg: if dark { v("text-text-inverse") } else { v("text-text-contrast") },
|
||||
submit_icon: if dark { v("icon-icon-inverse") } else { v("text-text-contrast") },
|
||||
text_base: v("text-text-base"),
|
||||
text_muted: v("text-text-muted"),
|
||||
text_faint: v("text-text-faint"),
|
||||
text_inverse: v("text-text-inverse"),
|
||||
text_contrast: v("text-text-contrast"),
|
||||
text_accent: v("text-text-accent"),
|
||||
icon_base: v("icon-icon-base"),
|
||||
icon_muted: v("icon-icon-muted"),
|
||||
icon_faint: v("icon-icon-faint"),
|
||||
icon_inverse: v("icon-icon-inverse"),
|
||||
icon_contrast: v("icon-icon-contrast"),
|
||||
icon_accent: v("icon-icon-accent"),
|
||||
border_muted: v("border-border-muted"),
|
||||
border_base: v("border-border-base"),
|
||||
border_strong: v("border-border-strong"),
|
||||
border_focus: v("border-border-focus"),
|
||||
hover: v("overlay-simple-overlay-hover"),
|
||||
pressed: v("overlay-simple-overlay-pressed"),
|
||||
contrast_hover: raw("overlay-simple-overlay-contrast-hover"),
|
||||
contrast_pressed: raw("overlay-simple-overlay-contrast-pressed"),
|
||||
scrim: v("overlay-simple-overlay-scrim"),
|
||||
depth_top: raw("overlay-gradient-depth-overlay-depth-top"),
|
||||
depth_bottom: raw("overlay-gradient-depth-overlay-depth-bot"),
|
||||
white: opaque("v2-alpha-light-100"),
|
||||
black: opaque("v2-alpha-dark-100"),
|
||||
knob: v("grey-200"),
|
||||
knob_on: v("grey-300"),
|
||||
success: state("success", c("icon-success-active")),
|
||||
warning: state("warning", c("icon-warning-active")),
|
||||
danger: state("danger", v("state-fg-danger")),
|
||||
info: state("info", c("icon-info-active")),
|
||||
surface_base: c("surface-base"),
|
||||
surface_weak: c("surface-weak"),
|
||||
surface_hover: or("surface-hover", Color::TRANSPARENT),
|
||||
surface_raised: c("surface-raised-stronger-non-alpha"),
|
||||
surface_raised_base: c("surface-raised-base"),
|
||||
surface_raised_hover: c("surface-raised-base-hover"),
|
||||
surface_float: c("surface-float-base"),
|
||||
surface_disabled: or("surface-disabled", Color::TRANSPARENT),
|
||||
border_weak: c("border-weak-base"),
|
||||
border_hover: c("border-hover"),
|
||||
border_active: c("border-active"),
|
||||
border_disabled: c("border-disabled"),
|
||||
text_strong: c("text-strong"),
|
||||
text_weak: c("text-weak"),
|
||||
text_invert_strong: c("text-invert-strong"),
|
||||
icon_weaker: or("icon-weaker", c("text-base")),
|
||||
std_border: c("border-base"),
|
||||
std_icon: c("icon-base"),
|
||||
std_icon_invert: c("icon-invert-base"),
|
||||
std_icon_strong: c("icon-strong-base"),
|
||||
std_text: c("text-base"),
|
||||
};
|
||||
let mut elevation = Elevation::default().with_input(sh("v2-elevation-input"));
|
||||
elevation.raised = sh("v2-elevation-raised");
|
||||
elevation.floating = sh("v2-elevation-floating");
|
||||
elevation.overlay = sh("v2-elevation-overlay");
|
||||
elevation.button_neutral = sh("v2-elevation-button-neutral");
|
||||
elevation.button_contrast = sh("v2-elevation-button-contrast");
|
||||
elevation.elements = sh("v2-elevation-elements");
|
||||
elevation.switch_off = sh("v2-elevation-switch-off");
|
||||
elevation.switch_on = sh("v2-elevation-switch-on");
|
||||
elevation.md = sh("shadow-md");
|
||||
// switch.css, standard appearance: rgba(19, 16, 16, .04/.06/.08).
|
||||
elevation.knob = css::box_shadows("#1310100a 0px 1px 2px -1px, #1310100f 0px 1px 2px 0px, #13101014 0px 1px 3px 0px", solve);
|
||||
// `line-height-large` is 150%; the older text styles derive their line from it.
|
||||
let ty = Type {
|
||||
ui: inter(13.0, 440.0, 20.0, -0.04),
|
||||
ui_medium: inter(13.0, 530.0, 20.0, -0.04),
|
||||
ui_compact: inter(13.0, 440.0, 16.0, -0.04),
|
||||
small: inter(11.0, 440.0, 12.0, 0.05),
|
||||
small_medium: inter(11.0, 530.0, 12.0, 0.05),
|
||||
body: inter(14.0, 400.0, 21.0, 0.0),
|
||||
body_medium: inter(14.0, 500.0, 21.0, 0.0),
|
||||
text_small: inter(13.0, 400.0, 19.5, 0.0),
|
||||
text_small_medium: inter(13.0, 500.0, 19.5, 0.0),
|
||||
text_xsmall: inter(12.0, 400.0, 18.0, 0.0),
|
||||
text_xsmall_medium: inter(12.0, 500.0, 18.0, 0.0),
|
||||
mono: TextStyle::new(12.0, 400.0).mono().lh(18.0),
|
||||
};
|
||||
Kit {
|
||||
dark,
|
||||
c: palette,
|
||||
elevation,
|
||||
glyph: GLYPHS,
|
||||
ty,
|
||||
radius: Radius { xs: 2.0, sm: 4.0, md: 6.0, lg: 8.0, xl: 10.0 },
|
||||
// The web's 85–170 ms ease-outs, as critically damped springs of similar feel.
|
||||
motion: Motion {
|
||||
control: rune::Spring::new(0.2, 0.0),
|
||||
overlay: rune::Spring::new(0.24, 0.0),
|
||||
disclosure: rune::Spring::new(0.3, 0.0),
|
||||
},
|
||||
blend_over: Some(blend),
|
||||
ring: None,
|
||||
invalid_text: true,
|
||||
forced: None,
|
||||
}
|
||||
}
|
||||
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
#[test]
|
||||
fn provider_marks_are_square_tintable_icons() {
|
||||
use super::provider_icons::{FALLBACK, NAMES, named};
|
||||
assert!(NAMES.contains(&"anthropic") && NAMES.contains(&"openai"));
|
||||
for id in NAMES {
|
||||
let icon = named(id).unwrap_or_else(|| panic!("no mark for {id}"));
|
||||
assert_eq!(icon.name, *id);
|
||||
// A few marks paint in their own colours, as Desktop draws them.
|
||||
let paints = icon.body.contains("currentColor") || icon.body.contains("fill=\"#");
|
||||
assert!(icon.view > 0.0 && paints, "{id} takes the text colour or its own");
|
||||
assert!(!icon.body.contains("transform") && !icon.body.contains("<g"), "{id} is flat");
|
||||
}
|
||||
assert!(named("not-a-provider").is_none());
|
||||
assert_eq!(FALLBACK.name, "synthetic");
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn both_appearances_resolve() {
|
||||
for dark in [false, true] {
|
||||
let k = super::kit(dark);
|
||||
assert!(!k.elevation.button_neutral.is_empty());
|
||||
assert_eq!(k.dark, dark);
|
||||
let b = super::brand(dark);
|
||||
assert!(b.a > 0.99 && b.r > b.g && b.r > b.b, "ember is opaque and warm: {b:?}");
|
||||
}
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn translucent_tokens_follow_the_blend_mode() {
|
||||
for dark in [false, true] {
|
||||
let srgb = rune::theme::with_blend(true, || super::kit(dark));
|
||||
let linear = rune::theme::with_blend(false, || super::kit(dark));
|
||||
let authored = super::authored(dark, "v2-overlay-simple-overlay-hover");
|
||||
assert_eq!(srgb.c.hover, authored, "sRGB blending paints the authored alpha");
|
||||
assert_eq!(linear.c.hover, rune::theme::srgb_equivalent(authored, linear.c.bg_base));
|
||||
assert_ne!(linear.c.hover.a, authored.a);
|
||||
assert!(std::ptr::eq(super::kit(dark), srgb), "windows blend in sRGB by default");
|
||||
// Shadows too: light's floating elevation is `#0000000a 0px 8px 16px 0px, #00000014 …`.
|
||||
if !dark {
|
||||
let alphas: Vec<u8> = srgb.elevation.floating.iter().map(|s| (s.color.a * 255.0).round() as u8).collect();
|
||||
assert_eq!(alphas[..3], [0x0a, 0x14, 0x1f], "sRGB blending paints the authored shadow alpha");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn ember_steps_match_the_token_strings() {
|
||||
for dark in [false, true] {
|
||||
let mode = if dark { "dark" } else { "light" };
|
||||
for step in 1..=12u8 {
|
||||
assert_eq!(super::ember(dark, step), super::theme(dark).color(&format!("ember-{mode}-{step}")));
|
||||
}
|
||||
assert_eq!(super::brand(dark), super::ember(dark, 9));
|
||||
assert_eq!(super::scale("blue", dark, 5), super::theme(dark).color(&format!("blue-{mode}-5")));
|
||||
}
|
||||
}
|
||||
|
||||
#[test]
|
||||
#[should_panic(expected = "1 to 12")]
|
||||
fn ember_rejects_step_zero() {
|
||||
super::ember(true, 0);
|
||||
}
|
||||
|
||||
#[test]
|
||||
#[should_panic(expected = "1 to 12")]
|
||||
fn ember_rejects_step_thirteen() {
|
||||
super::ember(false, 13);
|
||||
}
|
||||
|
||||
#[test]
|
||||
#[should_panic(expected = "has no colour")]
|
||||
fn scale_rejects_unknown_name() {
|
||||
super::scale("unknown", true, 5);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,323 @@
|
||||
//! Generated by tools/provider-icons.py from @opencode/ui's provider marks. Do not edit.
|
||||
use rune::Icon;
|
||||
|
||||
static P302AI: Icon = Icon { name: "302ai", view: 2048.0, body: r##"<path d="M 388.193 1682.23 C 380.878 1674.23 349.014 1650.79 338.487 1642.13 C 148.161 1485.91 28.1107 1260.14 5.01063 1015 C -18.4493 771.014 55.9168 527.694 211.767 338.509 C 367.861 148.455 593.42 28.6444 838.288 5.7197 C 1092.75 -18.7181 1345.95 63.524 1537.48 232.828 C 1567.76 259.726 1596.32 288.496 1623 318.968 C 1631.78 329.058 1640.32 339.36 1648.6 349.865 C 1654.15 356.824 1662.64 368.871 1669.4 374.06 C 1866.4 518.124 1998.49 734.204 2036.88 975.222 C 2041.98 1007.66 2045.11 1039.38 2046.62 1072.12 C 2046.85 1077.09 2047.16 1082.22 2048 1087.12 L 2048 1155.79 L 2047.85 1156.71 C 2045.71 1170.93 2045.27 1196.57 2043.86 1212.22 C 2040.62 1246.59 2035.38 1280.75 2028.17 1314.51 C 1981.27 1534.16 1856.1 1729.25 1675.99 1863.43 C 1479.61 2010.02 1232.99 2072.49 990.498 2037.07 C 801.767 2009.86 626.135 1924.74 487.842 1793.46 C 455.956 1763.37 418.158 1722.72 392.022 1687.5 C 390.729 1685.76 389.452 1684 388.193 1682.23 z" fill="#9c9b9b"/><path d="M 1669.4 374.06 C 1866.4 518.124 1998.49 734.204 2036.88 975.222 C 2041.98 1007.66 2045.11 1039.38 2046.62 1072.12 C 2046.85 1077.09 2047.16 1082.22 2048 1087.12 L 2048 1155.79 L 2047.85 1156.71 C 2045.71 1170.93 2045.27 1196.57 2043.86 1212.22 C 2040.62 1246.59 2035.38 1280.75 2028.17 1314.51 C 1981.27 1534.16 1856.1 1729.25 1675.99 1863.43 C 1479.61 2010.02 1232.99 2072.49 990.498 2037.07 C 801.767 2009.86 626.135 1924.74 487.842 1793.46 C 455.956 1763.37 418.158 1722.72 392.022 1687.5 C 390.729 1685.76 389.452 1684 388.193 1682.23 C 394.373 1684.07 421.092 1702.62 428.047 1707.15 C 439.611 1714.6 451.324 1721.83 463.177 1728.82 C 490.564 1744.99 528.003 1763.59 557.361 1776.32 C 782.899 1873.92 1037.96 1878.01 1266.51 1787.69 C 1495.36 1696.62 1678.57 1518.24 1775.72 1291.9 C 1877.79 1053.06 1875.1 782.375 1768.31 545.611 C 1753.03 511.993 1733.8 474.565 1714.15 443.177 C 1706.81 431.355 1699.2 419.704 1691.32 408.231 C 1685.67 400.055 1672.56 382.889 1669.4 374.06 z" fill="#757474"/><path d="M 907.581 300.401 C 923.66 299.084 947.483 300.532 962.897 302.556 C 1041.39 313.102 1112.41 354.577 1160.17 417.755 C 1202.42 473.452 1228.57 555 1218.78 624.854 C 1256.03 619.819 1285.79 618.643 1323.38 625.442 C 1401.3 639.582 1470.3 684.357 1514.95 749.754 C 1560.04 815.479 1576.85 896.56 1561.6 974.792 C 1546.59 1052.29 1501.28 1120.59 1435.71 1164.55 C 1366.19 1211.67 1287.89 1223.85 1206.7 1207.99 L 1208.16 1225.92 C 1213.72 1304.44 1187.72 1381.94 1135.93 1441.23 C 1080.14 1505.71 1008.69 1536.8 924.661 1542.84 C 910.37 1543.02 898.883 1543.12 884.551 1541.84 C 806.009 1534.5 733.606 1496.24 683.294 1435.48 C 630.495 1371.76 609.152 1293.49 617.004 1211.82 C 577.182 1218.28 543.704 1219.15 503.598 1211.31 C 425.862 1195.87 357.514 1150.02 313.752 1083.94 C 269.997 1017.95 254.398 937.224 270.419 859.682 C 286.452 782.387 332.522 714.62 398.502 671.28 C 468.674 625.191 546.96 613.555 628.149 630.32 C 625.459 583.013 627.036 545.389 643.173 499.662 C 684.204 383.394 785.737 308.984 907.581 300.401 z" fill="#fefefe"/><path d="M 907.659 407.406 C 928.022 404.422 959.425 408.947 978.901 414.989 C 1028.11 429.972 1069.15 464.261 1092.65 510.025 C 1116.27 555.792 1120.24 609.2 1103.65 657.957 C 1098.74 672.384 1090.33 686.336 1086.3 699.186 C 1082.14 712.53 1083.57 726.994 1090.26 739.265 C 1100.24 757.657 1118.84 768.259 1139.57 767.119 C 1155.78 766.227 1164.63 759.273 1178.02 751.678 C 1221.56 726.903 1273.23 720.668 1321.41 734.376 C 1370.6 748.209 1412.18 781.215 1436.82 825.985 C 1461.35 870.569 1467.02 923.112 1452.58 971.905 C 1438.06 1020.82 1404.54 1061.88 1359.51 1085.9 C 1280.31 1128.12 1181.39 1108.75 1124.87 1039.74 C 1113.7 1026.12 1105.83 1013.42 1087.4 1008.03 C 1041 993.798 1000.36 1044.75 1026.36 1086.49 C 1041.95 1111.53 1062.76 1127.17 1078.18 1153.03 C 1090.26 1175.57 1097.84 1197.66 1100.84 1223.2 C 1107.04 1273.73 1092.65 1324.64 1060.9 1364.44 C 1029.42 1404.28 983.238 1429.79 932.752 1435.23 C 882.189 1440.86 831.491 1425.87 792.121 1393.65 C 752.588 1361.54 727.605 1314.91 722.781 1264.21 C 718.894 1225.82 727.653 1167.83 758.478 1141.35 C 771.141 1130.47 781.921 1118.81 792.404 1105.84 C 869.373 1010.12 879.456 876.886 817.771 770.669 C 809.316 756.055 799.574 742.224 788.661 729.342 C 782.235 721.815 773.191 712.791 767.461 705.187 C 749.008 680.699 737.483 646.859 734.444 616.659 C 729.188 565.849 744.584 515.06 777.168 475.721 C 810.289 435.451 856.055 412.394 907.659 407.406 z" fill="#9c9b9b"/><path d="M 554.228 729.711 C 659.104 725.931 747.227 807.802 751.164 912.672 C 755.1 1017.54 673.362 1105.79 568.498 1109.88 C 463.411 1113.98 374.937 1032.03 370.992 926.942 C 367.047 821.849 449.129 733.498 554.228 729.711 z" fill="#9c9b9b"/>"## };
|
||||
static ABACUS: Icon = Icon { name: "abacus", view: 40.0, body: r##"<path d="M6.93433 9.57807C6.93433 8.92952 7.46008 8.40376 8.10864 8.40376C8.75719 8.40376 9.28295 8.92952 9.28295 9.57807V16.6239C9.28295 17.2725 8.75719 17.7983 8.10864 17.7983C7.46008 17.7983 6.93433 17.2725 6.93433 16.6239V9.57807Z" fill="currentColor"/><path d="M30.7144 25.1377C30.7144 24.4891 31.2402 23.9634 31.8887 23.9634C32.5373 23.9634 33.063 24.4891 33.063 25.1377V31.0092C33.063 31.6578 32.5373 32.1836 31.8887 32.1836C31.2402 32.1836 30.7144 31.6578 30.7144 31.0093V25.1377Z" fill="currentColor"/><path d="M22.7875 30.422C22.7875 29.7735 23.3132 29.2477 23.9618 29.2477C24.6103 29.2477 25.1361 29.7735 25.1361 30.422V34.8257C25.1361 35.4742 24.6103 36 23.9618 36C23.3132 36 22.7875 35.4742 22.7875 34.8257V30.422Z" fill="currentColor"/><path d="M6.93433 28.367C6.93433 27.7185 7.46008 27.1927 8.10864 27.1927C8.75719 27.1927 9.28295 27.7185 9.28295 28.367V31.5964C9.28295 32.245 8.75719 32.7707 8.10864 32.7707C7.46008 32.7707 6.93433 32.245 6.93433 31.5964V28.367Z" fill="currentColor"/><path d="M14.8617 5.46787C14.8617 4.81931 15.3874 4.29355 16.036 4.29355C16.6845 4.29355 17.2103 4.81931 17.2103 5.46787V9.87153C17.2103 10.5201 16.6845 11.0458 16.036 11.0458C15.3874 11.0458 14.8617 10.5201 14.8617 9.87153V5.46787Z" fill="currentColor"/><path d="M30.7144 9.28437C30.7144 8.63582 31.2402 8.11006 31.8887 8.11006C32.5373 8.11006 33.063 8.63582 33.063 9.28437V13.688C33.063 14.3366 32.5373 14.8623 31.8887 14.8623C31.2402 14.8623 30.7144 14.3366 30.7144 13.688V9.28437Z" fill="currentColor"/><path d="M22.7875 5.17431C22.7875 4.52576 23.3132 4 23.9618 4C24.6103 4 25.1361 4.52576 25.1361 5.17431V18.3853C25.1361 19.0339 24.6103 19.5596 23.9618 19.5596C23.3132 19.5596 22.7875 19.0339 22.7875 18.3853V5.17431Z" fill="currentColor"/><path d="M14.8617 21.3212C14.8617 20.6726 15.3874 20.1469 16.036 20.1469C16.6845 20.1469 17.2103 20.6726 17.2103 21.3212V34.5322C17.2103 35.1807 16.6845 35.7065 16.036 35.7065C15.3874 35.7065 14.8617 35.1807 14.8617 34.5322V21.3212Z" fill="currentColor"/><path d="M10.4577 21.9083C10.4577 23.2055 9.40623 24.257 8.10912 24.257C6.81201 24.257 5.7605 23.2055 5.7605 21.9083C5.7605 20.6112 6.81201 19.5597 8.10912 19.5597C9.40623 19.5597 10.4577 20.6112 10.4577 21.9083Z" fill="currentColor"/><path d="M18.3843 14.8624C18.3843 16.1596 17.3328 17.2111 16.0357 17.2111C14.7386 17.2111 13.6871 16.1596 13.6871 14.8624C13.6871 13.5653 14.7386 12.5138 16.0357 12.5138C17.3328 12.5138 18.3843 13.5653 18.3843 14.8624Z" fill="currentColor"/><path d="M26.3101 24.2569C26.3101 25.554 25.2586 26.6056 23.9615 26.6056C22.6644 26.6056 21.6128 25.554 21.6128 24.2569C21.6128 22.9598 22.6644 21.9083 23.9615 21.9083C25.2586 21.9083 26.3101 22.9598 26.3101 24.2569Z" fill="currentColor"/><path d="M34.2378 19.5597C34.2378 20.8568 33.1863 21.9083 31.8892 21.9083C30.5921 21.9083 29.5406 20.8568 29.5406 19.5597C29.5406 18.2626 30.5921 17.2111 31.8892 17.2111C33.1863 17.2111 34.2378 18.2626 34.2378 19.5597Z" fill="currentColor"/>"## };
|
||||
static AIHUBMIX: Icon = Icon { name: "aihubmix", view: 40.0, body: r##"<path d="M18.7344 13.9883C18.8906 12.9154 19.237 11.5378 19.7734 9.85547L20 9.16016L20.2266 9.85547C20.763 11.5378 21.1094 12.9154 21.2656 13.9883C21.3854 14.7748 21.3854 15.7747 21.2656 16.9883C21.1458 18.207 21.1458 19.2148 21.2656 20.0117C21.4427 21.1784 21.9766 22.1471 22.8672 22.918C23.7734 23.7044 24.8229 24.0977 26.0156 24.0977C27.3385 24.0977 28.4688 23.6315 29.4062 22.6992C30.3385 21.7669 30.8099 20.6419 30.8203 19.3242C30.8255 18.1576 30.9453 16.8711 31.1797 15.4648C31.2944 14.7617 31.4116 14.1732 31.5313 13.6992L31.6875 13.0586L31.9688 13.6523C32.776 15.3607 33.1978 17.1628 33.2344 19.0586V19.3242C33.2344 21.1211 32.8882 22.8372 32.1953 24.4727C31.5235 26.0612 30.5781 27.4648 29.3594 28.6836C28.1354 29.9023 26.7318 30.8477 25.1484 31.5197C23.513 32.2122 21.7969 32.5588 20 32.5588C18.2031 32.5588 16.487 32.2122 14.8516 31.5197C13.2682 30.8477 11.8646 29.9023 10.6406 28.6836C9.42187 27.4648 8.47656 26.0612 7.80469 24.4727C7.11197 22.8372 6.76562 21.1211 6.76562 19.3242V19.0586C6.80209 17.1628 7.22397 15.3607 8.03125 13.6523L8.3125 13.0586L8.46875 13.6992C8.58853 14.1732 8.70572 14.7617 8.82031 15.4648C9.05469 16.8711 9.17447 18.1576 9.17969 19.3242C9.19009 20.6419 9.66147 21.7669 10.5937 22.6992C11.5312 23.6315 12.6615 24.0977 13.9844 24.0977C15.1771 24.0977 16.2266 23.7044 17.1328 22.918C18.0234 22.1471 18.5573 21.1784 18.7344 20.0117C18.8542 19.2148 18.8542 18.207 18.7344 16.9883C18.6146 15.7747 18.6146 14.7748 18.7344 13.9883ZM20 30.1445C21.8281 30.1445 23.5417 29.7122 25.1406 28.8477C26.2738 28.2378 27.2578 27.461 28.0927 26.5172C28.1969 26.3995 28.0742 26.2202 27.9224 26.2614C27.3073 26.4283 26.6717 26.5117 26.0156 26.5117C24.7135 26.5117 23.5026 26.1836 22.3828 25.5273C21.478 24.9999 20.7282 24.3152 20.1336 23.4732C20.0689 23.3815 19.9311 23.3815 19.8664 23.4732C19.2718 24.3152 18.522 24.9999 17.6172 25.5273C16.4974 26.1836 15.2865 26.5117 13.9844 26.5117C13.3283 26.5117 12.6927 26.4283 12.0776 26.2614C11.9258 26.2202 11.8031 26.3995 11.9072 26.5172C12.7422 27.461 13.7262 28.2378 14.8594 28.8477C16.4583 29.7122 18.1719 30.1445 20 30.1445Z" fill="currentColor" fill-rule="evenodd"/>"## };
|
||||
static ALIBABA: Icon = Icon { name: "alibaba", view: 40.0, body: r##"<path d="M37.9998 23.021C33.7998 25.2889 29.5698 27.3649 24.8614 28.3069C23.8114 28.5154 22.6474 28.5154 21.5809 28.3714C20.5639 28.2439 20.0554 27.3484 20.4169 26.4064C20.7619 25.5289 21.2209 24.635 21.8119 23.9C23.0899 22.3025 24.5329 20.849 25.8289 19.268C26.6203 18.2991 27.3335 17.2689 27.9618 16.187C28.4208 15.4205 28.2078 14.4935 27.4038 14.111C26.0584 13.4556 24.6154 12.9936 23.1889 12.4986C23.0239 12.4341 22.7779 12.6096 22.4509 12.7221C22.8604 13.0881 23.1559 13.3596 23.5654 13.727C19.3339 14.447 15.3305 15.467 11.4455 16.874C11.4275 16.9535 11.396 17.0165 11.411 17.0495C11.9855 17.927 11.723 18.5975 10.886 19.1405C10.5611 19.3531 10.2732 19.6176 10.034 19.9235C12.593 20.6735 14.873 20.243 17.0539 18.821C16.9234 18.6305 16.7914 18.455 16.6609 18.263C17.4799 18.407 17.9719 18.854 18.0379 19.556C18.0544 19.7165 17.9569 19.8755 17.9074 20.036C17.7919 19.907 17.6449 19.781 17.5474 19.6355C17.4799 19.5395 17.4634 19.4285 17.4154 19.268C14.8235 20.993 12.035 21.425 8.96751 20.531C8.96751 21.137 8.93451 21.6485 8.98401 22.1435C9.01701 22.574 8.83701 22.766 8.44401 22.9895C7.55752 23.5325 6.63803 24.092 5.90003 24.8105C5.01504 25.6879 5.34354 26.7589 6.54053 27.2059C7.90102 27.7159 9.329 27.7309 10.7555 27.5569C12.4445 27.3484 14.1005 27.0769 15.9394 26.8219C13.79 27.8269 11.6735 28.5319 9.4445 28.8169C7.88452 29.0269 6.32753 29.1379 4.78554 28.6909C2.57156 28.0684 1.58607 26.4394 2.16057 24.251C2.70206 22.2065 4.01455 20.5775 5.42454 19.076C10.133 14.078 16.0864 11.5401 22.9744 11.0286C24.5824 10.9176 26.2069 11.1246 27.7143 11.7951C29.8308 12.7536 30.7173 14.78 29.6838 16.826C29.0118 18.1835 28.0758 19.4285 27.1413 20.6585C26.2234 21.872 25.1899 22.9895 24.2224 24.155C23.9434 24.506 23.6809 24.875 23.4679 25.2724C23.0569 26.0224 23.3359 26.5174 24.2059 26.4394C26.0254 26.2624 27.8808 26.1199 29.6358 25.6729C32.2098 25.0174 34.7193 24.092 37.2618 23.2775C37.5243 23.213 37.7703 23.117 37.9998 23.0225V23.021Z" fill="currentColor"/>"## };
|
||||
static ALIBABA_CN: Icon = Icon { name: "alibaba-cn", view: 40.0, body: r##"<path d="M38 23.021C33.8 25.289 29.5701 27.365 24.8616 28.307C23.8116 28.5154 22.6476 28.5154 21.5811 28.3715C20.5641 28.244 20.0557 27.3485 20.4172 26.4065C20.7621 25.529 21.2211 24.635 21.8121 23.9C23.0901 22.3025 24.5331 20.849 25.8291 19.268C26.6206 18.2991 27.3338 17.2689 27.9621 16.1871C28.4211 15.4206 28.2081 14.4936 27.4041 14.1111C26.0586 13.4556 24.6156 12.9936 23.1891 12.4986C23.0241 12.4341 22.7781 12.6096 22.4511 12.7221C22.8606 13.0881 23.1561 13.3596 23.5656 13.7271C19.3342 14.4471 15.3307 15.4671 11.4457 16.8741C11.4277 16.9536 11.3962 17.0166 11.4112 17.0496C11.9857 17.927 11.7232 18.5975 10.8862 19.1405C10.5613 19.3531 10.2735 19.6177 10.0342 19.9235C12.5932 20.6735 14.8732 20.243 17.0542 18.821C16.9237 18.6305 16.7917 18.455 16.6612 18.263C17.4802 18.407 17.9722 18.854 18.0382 19.556C18.0547 19.7165 17.9572 19.8755 17.9077 20.036C17.7922 19.907 17.6452 19.781 17.5477 19.6355C17.4802 19.5395 17.4637 19.4285 17.4157 19.268C14.8237 20.993 12.0352 21.425 8.96775 20.531C8.96775 21.137 8.93475 21.6485 8.98425 22.1435C9.01725 22.574 8.83725 22.766 8.44426 22.9895C7.55776 23.5325 6.63827 24.092 5.90028 24.8105C5.01528 25.688 5.34378 26.759 6.54077 27.206C7.90126 27.716 9.32925 27.731 10.7557 27.557C12.4447 27.3485 14.1007 27.077 15.9397 26.822C13.7902 27.827 11.6737 28.5319 9.44475 28.8169C7.88476 29.0269 6.32777 29.1379 4.78579 28.6909C2.57181 28.0685 1.58631 26.4395 2.16081 24.251C2.7023 22.2065 4.01479 20.5775 5.42478 19.076C10.1332 14.0781 16.0867 11.5401 22.9746 11.0286C24.5826 10.9176 26.2071 11.1246 27.7146 11.7951C29.8311 12.7536 30.7176 14.7801 29.6841 16.8261C29.0121 18.1835 28.0761 19.4285 27.1416 20.6585C26.2236 21.872 25.1901 22.9895 24.2226 24.155C23.9436 24.506 23.6811 24.875 23.4681 25.2725C23.0571 26.0225 23.3361 26.5175 24.2061 26.4395C26.0256 26.2625 27.8811 26.12 29.6361 25.673C32.2101 25.0175 34.7195 24.092 37.262 23.2775C37.5245 23.213 37.7705 23.117 38 23.0225V23.021Z" fill="currentColor"/>"## };
|
||||
static AMAZON_BEDROCK: Icon = Icon { name: "amazon-bedrock", view: 40.0, body: r##"<path d="M21.5835 24.7904H25.7835C26.0754 24.7904 26.314 25.0318 26.314 25.3277V27.8096C26.8199 27.9343 27.2691 28.2255 27.5896 28.6362C27.9102 29.047 28.0833 29.5536 28.0813 30.0746C28.0813 31.3605 27.0517 32.4037 25.7835 32.4037C24.514 32.4037 23.4844 31.3605 23.4844 30.0746C23.4844 28.9741 24.2399 28.0509 25.2531 27.8082V25.865H21.5849V32.2237C21.5852 32.3161 21.5618 32.407 21.5169 32.4877C21.4721 32.5684 21.4072 32.6362 21.3285 32.6846L17.6603 34.9224C17.577 34.9733 17.4813 35 17.3837 34.9995C17.2862 34.999 17.1907 34.9714 17.108 34.9197L10.3906 30.7114C10.3131 30.6628 10.2493 30.5952 10.2052 30.515C10.161 30.4348 10.138 30.3447 10.1384 30.2532V25.8636L6.78241 23.9136C6.70609 23.8694 6.64181 23.8071 6.59521 23.7322C6.5486 23.6573 6.52111 23.5721 6.51514 23.4841V23.4472V16.4626C6.51514 16.2717 6.61468 16.0944 6.77696 15.999L10.1384 14.0053V9.70163C10.1384 9.52572 10.2229 9.36208 10.3634 9.26253L10.392 9.24344L17.1107 5.07885C17.194 5.027 17.2901 4.99951 17.3882 4.99951C17.4863 4.99951 17.5824 5.027 17.6657 5.07885L21.3339 7.36296C21.4115 7.41162 21.4753 7.47921 21.5194 7.55938C21.5636 7.63955 21.5866 7.72964 21.5862 7.82115V13.9999H26.8445V11.3857C26.3384 11.2609 25.8889 10.9696 25.5684 10.5585C25.2479 10.1475 25.0749 9.6406 25.0772 9.11935C25.0772 7.83342 26.1067 6.79023 27.3749 6.79023C28.6445 6.79023 29.6727 7.83342 29.6727 9.11935C29.6727 10.2198 28.9186 11.143 27.9054 11.3857V14.5371C27.9059 14.6073 27.8926 14.6768 27.8662 14.7418C27.8399 14.8068 27.8009 14.8659 27.7516 14.9158C27.7024 14.9658 27.6437 15.0055 27.5791 15.0327C27.5144 15.0599 27.4451 15.0741 27.3749 15.0744H21.5862V17.5372H30.6191C30.7351 17.0302 31.0192 16.5773 31.4252 16.2522C31.8313 15.9271 32.3353 15.749 32.8554 15.7467C34.1236 15.7467 35.1532 16.7885 35.1532 18.0745C35.1532 19.3604 34.125 20.4036 32.8554 20.4036C32.3351 20.4012 31.8309 20.2229 31.4249 19.8975C31.0188 19.5722 30.7348 19.119 30.6191 18.6117H21.5835V21.2531H28.3377L29.5854 22.8622C29.9329 22.659 30.3283 22.5522 30.7309 22.5527C32.0004 22.5527 33.0286 23.5945 33.0286 24.8804C33.0286 26.1664 32.0004 27.2096 30.7309 27.2096C29.4627 27.2096 28.4331 26.1664 28.4331 24.8804C28.4331 24.4086 28.5722 23.9695 28.8095 23.6027L27.8222 22.3277H21.5835V24.7904ZM17.3875 6.16704L14.6016 7.89342V11.9407H13.5407V8.55071L11.1993 10.003V14.019L14.0766 15.8735L17.0316 14.0135V10.9098H18.0925V14.3135C18.0925 14.499 17.9971 14.6721 17.8416 14.7703L14.6466 16.779V19.6167L16.5857 20.9927L15.9775 21.8736L14.0602 20.5127L11.9738 21.8831L11.397 20.9831L13.5857 19.5445V16.8308L10.6579 14.9408L7.57606 16.7681V19.0536L10.2652 17.4322L10.8079 18.3554L7.57606 20.304V23.1363L10.5297 24.8518L13.6252 22.9863L14.1666 23.9095L11.1993 25.6973V29.9546L13.7575 31.5569L16.9825 29.6123L17.5253 30.5369L14.7748 32.1951L17.3903 33.8328L20.5239 31.9196V24.0377L14.0357 27.9828L13.4902 27.0623L20.5239 22.7859V8.12115L17.3875 6.16704ZM25.7835 28.8228C25.6198 28.8237 25.4579 28.8568 25.307 28.9204C25.1561 28.984 25.0192 29.0767 24.9042 29.1932C24.7892 29.3097 24.6983 29.4478 24.6367 29.5995C24.5751 29.7512 24.5441 29.9136 24.5453 30.0773C24.5453 30.7687 25.099 31.3292 25.7835 31.3292C25.947 31.3281 26.1087 31.2948 26.2594 31.2313C26.41 31.1677 26.5467 31.0751 26.6615 30.9587C26.7764 30.8424 26.8672 30.7045 26.9287 30.553C26.9903 30.4016 27.0215 30.2395 27.0204 30.076C27.0216 29.9123 26.9906 29.7501 26.9291 29.5985C26.8676 29.4468 26.7769 29.3088 26.662 29.1923C26.5471 29.0758 26.4104 28.9831 26.2597 28.9194C26.109 28.8558 25.9472 28.8238 25.7835 28.8228ZM30.7336 23.6272C30.5699 23.6281 30.4079 23.6613 30.257 23.7249C30.1062 23.7884 29.9693 23.8811 29.8543 23.9977C29.7393 24.1142 29.6484 24.2523 29.5868 24.404C29.5252 24.5557 29.4942 24.7181 29.4954 24.8818C29.4954 25.5745 30.0491 26.1364 30.7322 26.1364C30.896 26.1355 31.0579 26.1023 31.2088 26.0387C31.3597 25.9752 31.4966 25.8825 31.6116 25.7659C31.7266 25.6494 31.8175 25.5113 31.8791 25.3596C31.9406 25.2079 31.9717 25.0455 31.9704 24.8818C31.9717 24.7181 31.9406 24.5557 31.8791 24.404C31.8175 24.2523 31.7266 24.1142 31.6116 23.9977C31.4966 23.8811 31.3597 23.7884 31.2088 23.7249C31.0579 23.6613 30.8973 23.6281 30.7336 23.6272ZM32.8541 16.8226C32.6904 16.8235 32.5284 16.8567 32.3775 16.9203C32.2266 16.9838 32.0898 17.0765 31.9747 17.1931C31.8597 17.3096 31.7688 17.4477 31.7073 17.5994C31.6457 17.7511 31.6146 17.9135 31.6159 18.0772C31.6159 18.7686 32.1709 19.329 32.8541 19.329C33.0176 19.3279 33.1793 19.2947 33.3299 19.2311C33.4806 19.1676 33.6172 19.075 33.7321 18.9586C33.8469 18.8422 33.9377 18.7044 33.9993 18.5529C34.0609 18.4014 34.092 18.2393 34.0909 18.0758C34.0922 17.9122 34.0612 17.7499 33.9997 17.5983C33.9382 17.4467 33.8474 17.3087 33.7325 17.1922C33.6177 17.0757 33.481 16.9829 33.3302 16.9193C33.1795 16.8556 33.0177 16.8223 32.8541 16.8213V16.8226ZM27.3736 7.86342C27.2099 7.86449 27.0482 7.8978 26.8974 7.96145C26.7467 8.02509 26.61 8.11783 26.4951 8.23434C26.3802 8.35086
Line truncated
|
||||
static ANTHROPIC: Icon = Icon { name: "anthropic", view: 40.0, body: r##"<path d="M26.9568 9.88184H22.1265L30.7753 31.7848H35.4917L26.9568 9.88184ZM13.028 9.88184L4.4917 31.7848H9.32203L11.2305 27.1793H20.2166L22.0126 31.6724H26.8444L18.0832 9.88184H13.028ZM12.5783 23.1361L15.4987 15.3853L18.5315 23.1361H12.5783Z" fill="currentColor"/>"## };
|
||||
static AZURE: Icon = Icon { name: "azure", view: 40.0, body: r##"<path d="M21.68 7.58398L11.296 29.68L4 29.6L12.144 15.584L21.68 7.58398ZM22.8 9.32798L36 32.416H11.584L26.464 29.76L18.672 20.496L22.8 9.32798Z" fill="currentColor"/>"## };
|
||||
static AZURE_COGNITIVE_SERVICES: Icon = Icon { name: "azure-cognitive-services", view: 24.0, body: r##"<path d="M9.8132 15.9038L9 18.75L8.1868 15.9038C7.75968 14.4089 6.59112 13.2403 5.09619 12.8132L2.25 12L5.09619 11.1868C6.59113 10.7597 7.75968 9.59112 8.1868 8.09619L9 5.25L9.8132 8.09619C10.2403 9.59113 11.4089 10.7597 12.9038 11.1868L15.75 12L12.9038 12.8132C11.4089 13.2403 10.2403 14.4089 9.8132 15.9038Z" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/><path d="M18.2589 8.71454L18 9.75L17.7411 8.71454C17.4388 7.50533 16.4947 6.56117 15.2855 6.25887L14.25 6L15.2855 5.74113C16.4947 5.43883 17.4388 4.49467 17.7411 3.28546L18 2.25L18.2589 3.28546C18.5612 4.49467 19.5053 5.43883 20.7145 5.74113L21.75 6L20.7145 6.25887C19.5053 6.56117 18.5612 7.50533 18.2589 8.71454Z" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/><path d="M16.8942 20.5673L16.5 21.75L16.1058 20.5673C15.8818 19.8954 15.3546 19.3682 14.6827 19.1442L13.5 18.75L14.6827 18.3558C15.3546 18.1318 15.8818 17.6046 16.1058 16.9327L16.5 15.75L16.8942 16.9327C17.1182 17.6046 17.6454 18.1318 18.3173 18.3558L19.5 18.75L18.3173 19.1442C17.6454 19.3682 17.1182 19.8954 16.8942 20.5673Z" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>"## };
|
||||
static BAILING: Icon = Icon { name: "bailing", view: 24.0, body: r##"<path d="M8.28591 2.75588C8.41369 2.67957 8.5746 2.67841 8.69528 2.76629L10.9527 3.82546C11.0568 3.90177 11.0403 4.05441 10.9267 4.11569C7.84815 5.76573 5.98825 7.3753 5.01215 8.93746C4.38154 9.94807 3.21851 12.7058 4.27032 15.1942C5.35882 17.7681 7.82804 18.6978 9.65599 18.6978C11.0367 18.6978 11.975 18.2908 12.9286 17.6571C15.5126 15.9377 15.8107 12.5833 13.8869 10.2776C13.8869 10.2753 14.942 11.1609 15.6175 12.5083C15.4903 12.0228 15.2913 11.5573 15.0227 11.1252L14.8975 10.9308C14.3412 10.0984 13.6072 9.3999 12.6008 8.90277C10.1896 7.71294 5.15531 8.28646 4.36261 13.4112C4.44306 9.85672 6.84011 7.62622 9.01236 6.93706C10.218 6.55317 11.4946 6.48032 12.7002 6.69193C14.1795 5.51643 15.8019 4.93598 16.5477 4.71377L16.7217 4.66378C16.8696 4.62215 17.0282 4.66378 17.1358 4.77016C17.318 4.95054 17.6363 5.26274 18.0409 5.65588C18.164 5.77267 18.1001 5.97502 17.9333 6.00624C16.3692 6.3011 15.302 6.5948 14.1721 7.10704C15.541 7.65166 16.7134 8.6056 17.4281 9.92032C17.5121 10.0753 17.4399 10.2672 17.2707 10.3273L16.3135 10.6673C17.1548 12.071 17.3701 13.7916 16.9584 15.555C16.2579 18.5509 13.9118 20.6727 10.9149 21.1769C10.8848 21.1819 10.8548 21.1869 10.8248 21.1917C10.575 21.2366 10.3246 21.2675 10.0759 21.2843L9.79858 21.2974L9.52348 21.2995C9.34364 21.296 9.20758 21.1353 9.23953 20.9618L9.42173 19.9501C8.58525 19.8934 7.80201 19.757 7.0164 19.4448C2.356 17.5924 1.86736 13.0712 2.53583 10.3308C3.40308 6.77749 6.06988 4.08678 8.28591 2.75588Z" fill="currentColor" fill-rule="evenodd"/>"## };
|
||||
static BASETEN: Icon = Icon { name: "baseten", view: 24.0, body: r##"<path d="M4.97934 6.78009H15.6237V10.26H8.59995C8.57096 10.2595 8.54214 10.2647 8.51516 10.2753C8.48819 10.286 8.4636 10.3019 8.44283 10.3221C8.42205 10.3423 8.40551 10.3665 8.39415 10.3932C8.38279 10.4199 8.37684 10.4485 8.37665 10.4775V13.5225C8.37665 13.6465 8.47815 13.74 8.59995 13.74H15.6237V17.22H12.2264C12.1974 17.2194 12.1685 17.2246 12.1416 17.2352C12.1146 17.2459 12.09 17.2618 12.0692 17.282C12.0485 17.3023 12.0319 17.3264 12.0206 17.3531C12.0092 17.3798 12.0032 17.4085 12.0031 17.4375V20.4824C12.0031 20.6064 12.1053 20.6999 12.2264 20.6999H15.4004C15.4295 20.701 15.4585 20.6962 15.4857 20.6857C15.5129 20.6752 15.5377 20.6593 15.5586 20.639C15.5795 20.6187 15.596 20.5943 15.6072 20.5674C15.6184 20.5405 15.624 20.5116 15.6237 20.4824V17.22H19.0268C19.0558 17.2205 19.0846 17.2154 19.1116 17.2047C19.1385 17.194 19.1631 17.1781 19.1839 17.1579C19.2047 17.1377 19.2212 17.1135 19.2326 17.0868C19.2439 17.0601 19.2499 17.0315 19.2501 17.0025V13.9575C19.2501 13.8335 19.1486 13.74 19.0268 13.74H15.6237V10.26H19.0268C19.0558 10.2606 19.0846 10.2554 19.1116 10.2448C19.1385 10.2341 19.1631 10.2182 19.1839 10.198C19.2047 10.1777 19.2212 10.1536 19.2326 10.1269C19.2439 10.1002 19.2499 10.0715 19.2501 10.0425V6.99758C19.2501 6.87361 19.1486 6.78009 19.0268 6.78009H15.6237V3.51762C15.6237 3.39365 15.5222 3.30012 15.4004 3.30012H4.97934C4.92022 3.29895 4.86302 3.32112 4.82014 3.36183C4.77725 3.40255 4.75214 3.45852 4.75024 3.51762V6.56259C4.75024 6.68656 4.85174 6.78009 4.97934 6.78009Z" fill="currentColor"/>"## };
|
||||
static BERGET: Icon = Icon { name: "berget", view: 463.0, body: r##"<path d="M208.739 39L255.261 39L446 425L398 425L313.5 277L261.5 198L233.163 118.1677L237.815 120.6522L226.185 120.6522L230.837 118.1677L113 353L64.5 425L18 425L208.739 39Z" fill="currentColor"/>"## };
|
||||
static CEREBRAS: Icon = Icon { name: "cerebras", view: 40.0, body: r##"<path d="M22.9846 6.52999C19.4122 6.52999 15.9861 7.94913 13.46 10.4752C10.9339 13.0013 9.51474 16.4274 9.51474 19.9999C9.51474 23.5723 10.9339 26.9984 13.46 29.5245C15.9861 32.0506 19.4122 33.4698 22.9846 33.4698V35.4991C14.4238 35.4991 7.48535 28.5592 7.48535 19.9984C7.48535 11.4376 14.4224 4.49915 22.9832 4.49915V6.52854L22.9846 6.52999ZM29.868 11.8562C28.7978 10.9477 27.5586 10.2598 26.2216 9.83189C24.8846 9.40401 23.4761 9.24465 22.0773 9.36298C20.6785 9.48132 19.3169 9.875 18.0707 10.5214C16.8246 11.1678 15.7185 12.0542 14.8162 13.1295C13.9138 14.2049 13.2329 15.448 12.8126 16.7875C12.3923 18.1269 12.241 19.5362 12.3673 20.9343C12.4936 22.3324 12.895 23.6918 13.5485 24.9342C14.202 26.1767 15.0946 27.2777 16.1751 28.1739L14.87 29.7296C13.594 28.6594 12.5414 27.3482 11.7722 25.871C11.003 24.3939 10.5323 22.7797 10.3871 21.1206C10.2418 19.4615 10.4247 17.7901 10.9255 16.2017C11.4263 14.6134 12.235 13.1392 13.3055 11.8635C14.376 10.5875 15.6873 9.5348 17.1645 8.7656C18.6418 7.99639 20.2561 7.52572 21.9153 7.38045C23.5745 7.23517 25.2461 7.41815 26.8345 7.91893C28.423 8.41971 29.8973 9.22848 31.1732 10.2991L29.868 11.8562ZM26.6016 13.0788C24.7668 12.1311 22.6319 11.9464 20.6616 12.5649C18.6913 13.1834 17.045 14.5551 16.0809 16.3813C15.1169 18.2076 14.9132 20.3408 15.514 22.3165C16.1149 24.2923 17.4718 25.9508 19.2894 26.9311L18.3392 28.7273C16.0689 27.4824 14.3791 25.3948 13.6343 22.915C12.8896 20.4352 13.1498 17.762 14.3586 15.4723C15.5674 13.1826 17.628 11.46 20.0957 10.6762C22.5635 9.89232 25.2404 10.1101 27.5489 11.2826L26.6016 13.0788ZM22.9832 14.9865C21.6536 14.9865 20.3784 15.5147 19.4382 16.4549C18.498 17.3951 17.9698 18.6702 17.9698 19.9999C17.9698 21.3295 18.498 22.6047 19.4382 23.5449C20.3784 24.485 21.6536 25.0132 22.9832 25.0132V27.0441C21.1149 27.0441 19.3232 26.3019 18.0022 24.9809C16.6811 23.6598 15.939 21.8681 15.939 19.9999C15.939 18.1316 16.6811 16.3399 18.0022 15.0189C19.3232 13.6978 21.1149 12.9557 22.9832 12.9557V14.9865Z" fill="currentColor"/><path d="M24.8474 18.3138C24.6315 18.0812 24.3826 17.8816 24.1087 17.7213C23.8701 17.5796 23.5982 17.5036 23.3207 17.5011C22.9513 17.5011 22.621 17.5692 22.3299 17.7039C22.0485 17.8307 21.7956 18.0131 21.5865 18.2401C21.3774 18.4672 21.2164 18.7341 21.1131 19.025C21.0059 19.319 20.9538 19.6276 20.9538 19.939C20.9538 20.2548 21.0059 20.5619 21.1131 20.853C21.2172 21.1436 21.3786 21.4104 21.5876 21.6375C21.7966 21.8647 22.049 22.0476 22.3299 22.1756C22.6196 22.3103 22.9528 22.3783 23.3207 22.3783C23.6336 22.3783 23.9247 22.3117 24.1927 22.1828C24.465 22.0524 24.6997 21.8569 24.8808 21.615L26.225 23.0722C26.0222 23.275 25.7904 23.4503 25.5268 23.598C25.0392 23.8699 24.5086 24.0561 23.958 24.1484C23.7118 24.1861 23.4989 24.2064 23.3207 24.2064C22.7362 24.21 22.156 24.107 21.6085 23.9022C21.0909 23.7108 20.6174 23.4166 20.2165 23.0374C19.8178 22.6565 19.5004 22.1987 19.2836 21.6917C19.0481 21.1378 18.9306 20.5409 18.9389 19.939C18.9389 19.2959 19.0548 18.7121 19.2836 18.1863C19.5009 17.6793 19.8167 17.2216 20.215 16.8406C20.6177 16.4625 21.0914 16.1685 21.6085 15.9773C22.156 15.7725 22.7362 15.6694 23.3207 15.6731C23.8349 15.6731 24.352 15.7716 24.8735 15.9686C25.3964 16.1685 25.8658 16.4901 26.2409 16.9087L24.8474 18.3138Z" fill="currentColor"/>"## };
|
||||
static CHUTES: Icon = Icon { name: "chutes", view: 24.0, body: r##"<path d="M9.8132 15.9038L9 18.75L8.1868 15.9038C7.75968 14.4089 6.59112 13.2403 5.09619 12.8132L2.25 12L5.09619 11.1868C6.59113 10.7597 7.75968 9.59112 8.1868 8.09619L9 5.25L9.8132 8.09619C10.2403 9.59113 11.4089 10.7597 12.9038 11.1868L15.75 12L12.9038 12.8132C11.4089 13.2403 10.2403 14.4089 9.8132 15.9038Z" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/><path d="M18.2589 8.71454L18 9.75L17.7411 8.71454C17.4388 7.50533 16.4947 6.56117 15.2855 6.25887L14.25 6L15.2855 5.74113C16.4947 5.43883 17.4388 4.49467 17.7411 3.28546L18 2.25L18.2589 3.28546C18.5612 4.49467 19.5053 5.43883 20.7145 5.74113L21.75 6L20.7145 6.25887C19.5053 6.56117 18.5612 7.50533 18.2589 8.71454Z" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/><path d="M16.8942 20.5673L16.5 21.75L16.1058 20.5673C15.8818 19.8954 15.3546 19.3682 14.6827 19.1442L13.5 18.75L14.6827 18.3558C15.3546 18.1318 15.8818 17.6046 16.1058 16.9327L16.5 15.75L16.8942 16.9327C17.1182 17.6046 17.6454 18.1318 18.3173 18.3558L19.5 18.75L18.3173 19.1442C17.6454 19.3682 17.1182 19.8954 16.8942 20.5673Z" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>"## };
|
||||
static CLAUDE_AGENT: Icon = Icon { name: "claude-agent", view: 123.0, body: r##"<path d="M31.1 78L50.8 67L51.1 66L50.8 65.5L49.8 65.5L46.5 65.3L35.3 65L25.5 64.5L16 64L13.6 63.5L11.5 60.5L11.7 59L13.7 57.7L16.6 57.9L22.9 58.4L32.4 59L39.3 59.4L49.5 60.6L51.1 60.6L51.3 59.9L50.8 59.5L50.4 59.1L40.5 52.5L29.9 45.5L24.3 41.4L21.3 39.4L19.8 37.4L19.2 33.2L21.9 30.2L25.6 30.5L26.5 30.7L30.2 33.6L38.2 39.7L48.5 47.5L50 48.7L50.6 48.3L50.7 48L50 46.9L44.5 36.5L38.5 26.1L35.8 21.8L35.1 19.2C34.8 18.2 34.7 17.2 34.7 16.2L37.7 12L39.5 11.5L43.7 12.1L45.3 13.5L47.9 19.5L52 28.8L58.5 41.4L60.5 45.2L61.5 48.6L61.8 49.6L62.5 49.6L62.5 49.1L63 41.9L64 33.2L65 22L65.3 18.8L66.9 15L69.9 13L72.5 14.1L74.5 17L74.2 18.8L73.1 26.5L70.5 38.6L69 46.8L69.9 46.8L70.9 45.7L75 40.3L81.9 31.7L84.9 28.2L88.5 24.5L90.8 22.7L95.1 22.7L98.2 27.4L96.8 32.3L92.4 37.9L88.7 42.6L83.4 49.7L80.2 55.4L80.5 55.8L81.2 55.8L93.2 53.2L99.6 52.1L107.2 50.8L110.7 52.4L111.1 54L109.7 57.4L101.5 59.4L91.9 61.4L77.6 64.7L77.4 64.8L77.6 65.1L84 65.7L86.8 65.9L93.6 65.9L106.2 66.9L109.5 68.9L111.4 71.6L111.1 73.6L106 76.2L99.2 74.6L83.2 70.8L77.8 69.5L77 69.5L77 69.9L81.6 74.4L89.9 81.9L100.5 91.6L101 94L99.7 96L98.3 95.8L89.1 88.8L85.5 85.8L77.5 79L77 79L77 79.7L78.8 82.4L88.6 97.1L89.1 101.6L88.4 103L85.8 104L83.1 103.4L77.3 95.4L71.3 86.4L66.6 78.2L66.1 78.6L63.2 108.8L61.9 110.3L58.9 111.5L56.4 109.5L55 106.5L56.4 100.3L58 92.3L59.3 85.9L60.5 78L61.2 75.4L61.2 75.2L60.5 75.2L54.5 83.5L45.5 95.8L38.3 103.4L36.6 104.1L33.6 102.6L33.9 99.8L35.5 97.5L45.5 84.7L51.5 76.8L55.5 72.2L55.4 71.7L55.1 71.7L28.7 88.9L24 89.5L22 87.5L22.2 84.5L23.2 83.5L31.2 78Z" fill="currentColor"/>"## };
|
||||
static CLOUDFERRO_SHERLOCK: Icon = Icon { name: "cloudferro-sherlock", view: 24.0, body: r##"<path d="M12,24l-8.996,-8.996l8.996,-8.997l2.996,2.997l-5.999,6l2.996,2.997l6,-5.999l2.997,2.996l-8.99,8.996Z" fill="currentColor" opacity="0.01"/><path d="M9,15l6,-6l-3,-3l-9,9l-3,-3l12,-12l12,12l-3,3l-3,-3l-6,6l-3,-3Z" fill="currentColor"/><path d="M0,12L12,0L24,12L12,24L0,12Z" fill="none" stroke="currentColor" stroke-width="0.2"/>"## };
|
||||
static CLOUDFLARE_AI_GATEWAY: Icon = Icon { name: "cloudflare-ai-gateway", view: 24.0, body: r##"<path d="M17.6323 11.3946C17.57 11.3946 17.5085 11.3968 17.447 11.3988C17.437 11.3993 17.4272 11.4017 17.4181 11.4057C17.4018 11.4113 17.3872 11.4208 17.3755 11.4333C17.3639 11.446 17.3555 11.4612 17.3512 11.4779L17.0876 12.3986C16.9739 12.7945 17.0162 13.16 17.2072 13.4284C17.3823 13.6766 17.6737 13.8223 18.0274 13.8393L19.4572 13.926C19.4998 13.9282 19.5366 13.9487 19.559 13.9824C19.5707 14.0004 19.5781 14.0209 19.5806 14.0422C19.5832 14.0636 19.5807 14.0852 19.5735 14.1054C19.562 14.1383 19.5412 14.1672 19.5138 14.1886C19.4862 14.21 19.4532 14.2231 19.4185 14.2261L17.9328 14.3128C17.1256 14.3502 16.2572 15.0088 15.9525 15.8119L15.8454 16.0953C15.8409 16.107 15.8391 16.1197 15.8404 16.1322C15.8417 16.1448 15.8459 16.1569 15.8528 16.1675C15.8596 16.1781 15.8689 16.1869 15.8799 16.1931C15.8908 16.1994 15.9031 16.203 15.9157 16.2035H21.0325C21.0623 16.2037 21.0912 16.1941 21.115 16.1761C21.1387 16.1583 21.156 16.133 21.164 16.1043C21.2549 15.7778 21.3007 15.4403 21.3 15.1012C21.3 13.0552 19.6593 11.3969 17.6346 11.3969" fill="currentColor"/><path d="M15.3989 16.0845L15.4936 15.7515C15.6075 15.3556 15.5653 14.9901 15.3745 14.7218C15.1989 14.4735 14.9078 14.3278 14.5538 14.3108L7.84677 14.2241C7.82591 14.2238 7.80543 14.2185 7.78701 14.2087C7.76859 14.1988 7.75274 14.1848 7.74077 14.1678C7.729 14.1498 7.72153 14.1293 7.71898 14.108C7.71642 14.0867 7.71883 14.065 7.72602 14.0447C7.73763 14.0116 7.75859 13.9826 7.78637 13.9612C7.81415 13.9398 7.84755 13.9268 7.88252 13.924L14.6521 13.8373C15.4559 13.8002 16.3243 13.1413 16.6289 12.3382L17.015 11.3181C17.0305 11.2748 17.0346 11.2282 17.0263 11.183C16.5864 9.19291 14.827 7.70273 12.7236 7.70273C10.7843 7.70273 9.13918 8.96716 8.54878 10.7249C8.15131 10.4228 7.65356 10.2835 7.15697 10.3356C6.22734 10.4291 5.47905 11.1863 5.38671 12.126C5.36282 12.3607 5.38008 12.5978 5.43771 12.8266C3.91861 12.8719 2.69995 14.1295 2.69995 15.675C2.69995 15.8147 2.70991 15.9524 2.72996 16.0867C2.73831 16.1519 2.79382 16.2008 2.8595 16.2007H15.2459C15.2808 16.2001 15.3145 16.1882 15.3421 16.1669C15.3697 16.1455 15.3896 16.1159 15.3989 16.0822" fill="currentColor"/>"## };
|
||||
static CLOUDFLARE_WORKERS_AI: Icon = Icon { name: "cloudflare-workers-ai", view: 24.0, body: r##"<path d="M17.6323 11.3946C17.57 11.3946 17.5085 11.3968 17.447 11.3988C17.437 11.3993 17.4272 11.4017 17.4181 11.4057C17.4018 11.4113 17.3872 11.4208 17.3755 11.4333C17.3639 11.446 17.3555 11.4612 17.3512 11.4779L17.0876 12.3986C16.9739 12.7945 17.0162 13.16 17.2072 13.4284C17.3823 13.6766 17.6737 13.8223 18.0274 13.8393L19.4572 13.926C19.4998 13.9282 19.5366 13.9487 19.559 13.9824C19.5707 14.0004 19.5781 14.0209 19.5806 14.0422C19.5832 14.0636 19.5807 14.0852 19.5735 14.1054C19.562 14.1383 19.5412 14.1672 19.5138 14.1886C19.4862 14.21 19.4532 14.2231 19.4185 14.2261L17.9328 14.3128C17.1256 14.3502 16.2572 15.0088 15.9525 15.8119L15.8454 16.0953C15.8409 16.107 15.8391 16.1197 15.8404 16.1322C15.8417 16.1448 15.8459 16.1569 15.8528 16.1675C15.8596 16.1781 15.8689 16.1869 15.8799 16.1931C15.8908 16.1994 15.9031 16.203 15.9157 16.2035H21.0325C21.0623 16.2037 21.0912 16.1941 21.115 16.1761C21.1387 16.1583 21.156 16.133 21.164 16.1043C21.2549 15.7778 21.3007 15.4403 21.3 15.1012C21.3 13.0552 19.6593 11.3969 17.6346 11.3969" fill="currentColor"/><path d="M15.3989 16.0845L15.4936 15.7515C15.6075 15.3556 15.5653 14.9901 15.3745 14.7218C15.1989 14.4735 14.9078 14.3278 14.5538 14.3108L7.84677 14.2241C7.82591 14.2238 7.80543 14.2185 7.78701 14.2087C7.76859 14.1988 7.75274 14.1848 7.74077 14.1678C7.729 14.1498 7.72153 14.1293 7.71898 14.108C7.71642 14.0867 7.71883 14.065 7.72602 14.0447C7.73763 14.0116 7.75859 13.9826 7.78637 13.9612C7.81415 13.9398 7.84755 13.9268 7.88252 13.924L14.6521 13.8373C15.4559 13.8002 16.3243 13.1413 16.6289 12.3382L17.015 11.3181C17.0305 11.2748 17.0346 11.2282 17.0263 11.183C16.5864 9.19291 14.827 7.70273 12.7236 7.70273C10.7843 7.70273 9.13918 8.96716 8.54878 10.7249C8.15131 10.4228 7.65356 10.2835 7.15697 10.3356C6.22734 10.4291 5.47905 11.1863 5.38671 12.126C5.36282 12.3607 5.38008 12.5978 5.43771 12.8266C3.91861 12.8719 2.69995 14.1295 2.69995 15.675C2.69995 15.8147 2.70991 15.9524 2.72996 16.0867C2.73831 16.1519 2.79382 16.2008 2.8595 16.2007H15.2459C15.2808 16.2001 15.3145 16.1882 15.3421 16.1669C15.3697 16.1455 15.3896 16.1159 15.3989 16.0822" fill="currentColor"/>"## };
|
||||
static COHERE: Icon = Icon { name: "cohere", view: 24.0, body: r##"<path d="M9.14882 13.5552C9.58082 13.5552 10.4448 13.5336 11.6544 13.0368C13.0584 12.4536 15.8232 11.4168 17.832 10.3368C19.236 9.5808 19.8408 8.5872 19.8408 7.248C19.8408 5.412 18.3504 3.9 16.4928 3.9H8.71682C6.06002 3.9 3.90002 6.06 3.90002 8.7168C3.90002 11.3736 5.93042 13.5552 9.14882 13.5552Z" fill="currentColor"/><path d="M10.4664 16.86C10.4664 15.564 11.244 14.376 12.4536 13.8792L14.8944 12.864C17.3784 11.8488 20.1 13.6632 20.1 16.3416C20.1 18.4152 18.4152 20.1 16.3416 20.1H13.6848C11.9136 20.1 10.4664 18.6528 10.4664 16.86Z" fill="currentColor"/><path d="M6.68642 14.1816C5.15282 14.1816 3.90002 15.4344 3.90002 16.968V17.3352C3.90002 18.8472 5.15282 20.1 6.68642 20.1C8.22003 20.1 9.47283 18.8472 9.47283 17.3136V16.9464C9.45123 15.4344 8.22003 14.1816 6.68642 14.1816Z" fill="currentColor"/>"## };
|
||||
static CORTECS: Icon = Icon { name: "cortecs", view: 24.0, body: r##"<path d="M9.8132 15.9038L9 18.75L8.1868 15.9038C7.75968 14.4089 6.59112 13.2403 5.09619 12.8132L2.25 12L5.09619 11.1868C6.59113 10.7597 7.75968 9.59112 8.1868 8.09619L9 5.25L9.8132 8.09619C10.2403 9.59113 11.4089 10.7597 12.9038 11.1868L15.75 12L12.9038 12.8132C11.4089 13.2403 10.2403 14.4089 9.8132 15.9038Z" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/><path d="M18.2589 8.71454L18 9.75L17.7411 8.71454C17.4388 7.50533 16.4947 6.56117 15.2855 6.25887L14.25 6L15.2855 5.74113C16.4947 5.43883 17.4388 4.49467 17.7411 3.28546L18 2.25L18.2589 3.28546C18.5612 4.49467 19.5053 5.43883 20.7145 5.74113L21.75 6L20.7145 6.25887C19.5053 6.56117 18.5612 7.50533 18.2589 8.71454Z" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/><path d="M16.8942 20.5673L16.5 21.75L16.1058 20.5673C15.8818 19.8954 15.3546 19.3682 14.6827 19.1442L13.5 18.75L14.6827 18.3558C15.3546 18.1318 15.8818 17.6046 16.1058 16.9327L16.5 15.75L16.8942 16.9327C17.1182 17.6046 17.6454 18.1318 18.3173 18.3558L19.5 18.75L18.3173 19.1442C17.6454 19.3682 17.1182 19.8954 16.8942 20.5673Z" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>"## };
|
||||
static DEEPINFRA: Icon = Icon { name: "deepinfra", view: 24.0, body: r##"<path d="M5.47441 8.86575C5.01828 8.86515 4.58101 8.6837 4.25849 8.36117C3.93596 8.03864 3.7545 7.60137 3.75391 7.14525C3.7543 6.689 3.93567 6.25154 4.25822 5.92885C4.58077 5.60616 5.01815 5.4246 5.47441 5.424C5.93092 5.4242 6.36869 5.60558 6.69156 5.92832C7.01443 6.25105 7.19601 6.68874 7.19641 7.14525C7.19561 7.6015 7.01386 8.03881 6.69103 8.36121C6.3682 8.68362 5.93066 8.86555 5.47441 8.86575ZM5.47441 6.09975C5.20378 6.11 4.94765 6.22471 4.75981 6.4198C4.57197 6.61489 4.46703 6.87518 4.46703 7.146C4.46703 7.41682 4.57197 7.67711 4.75981 7.8722C4.94765 8.06729 5.20378 8.182 5.47441 8.19225C5.74503 8.182 6.00116 8.06729 6.189 7.8722C6.37684 7.67711 6.48178 7.41682 6.48178 7.146C6.48178 6.87518 6.37684 6.61489 6.189 6.4198C6.00116 6.22471 5.74503 6.11 5.47441 6.09975ZM5.47441 13.7198C5.01815 13.7192 4.58077 13.5376 4.25822 13.2149C3.93567 12.8922 3.7543 12.4548 3.75391 11.9985C3.7545 11.5424 3.93596 11.1051 4.25849 10.7826C4.58101 10.4601 5.01828 10.2786 5.47441 10.278C5.93066 10.2784 6.36812 10.4598 6.69081 10.7823C7.0135 11.1049 7.19506 11.5422 7.19566 11.9985C7.19526 12.4549 7.01379 12.8925 6.69107 13.2152C6.36836 13.5379 5.93079 13.7194 5.47441 13.7198ZM5.47441 10.9537C5.20398 10.964 4.94803 11.0786 4.76033 11.2736C4.57263 11.4685 4.46776 11.7286 4.46776 11.9992C4.46776 12.2699 4.57263 12.53 4.76033 12.7249C4.94803 12.9199 5.20398 13.0345 5.47441 13.0447C5.61504 13.0501 5.75529 13.027 5.88679 12.9768C6.01828 12.9267 6.13831 12.8505 6.23969 12.7529C6.34106 12.6553 6.42171 12.5383 6.47679 12.4088C6.53187 12.2793 6.56026 12.14 6.56026 11.9992C6.56026 11.8585 6.53187 11.7192 6.47679 11.5897C6.42171 11.4602 6.34106 11.3432 6.23969 11.2456C6.13831 11.148 6.01828 11.0718 5.88679 11.0217C5.75529 10.9715 5.61504 10.9484 5.47441 10.9537ZM5.47441 18.5707C5.01828 18.5702 4.58101 18.3887 4.25849 18.0662C3.93596 17.7436 3.7545 17.3064 3.75391 16.8502C3.7543 16.394 3.93567 15.9565 4.25822 15.6338C4.58077 15.3112 5.01815 15.1296 5.47441 15.129C5.93079 15.1294 6.36836 15.3109 6.69107 15.6336C7.01379 15.9563 7.19526 16.3939 7.19566 16.8502C7.19506 17.3065 7.0135 17.7439 6.69081 18.0664C6.36812 18.389 5.93066 18.5704 5.47441 18.5707ZM5.47441 15.8047C5.20378 15.815 4.94765 15.9297 4.75981 16.1248C4.57197 16.3199 4.46703 16.5802 4.46703 16.851C4.46703 17.1218 4.57197 17.3821 4.75981 17.5772C4.94765 17.7723 5.20378 17.887 5.47441 17.8973C5.74503 17.887 6.00116 17.7723 6.189 17.5772C6.37684 17.3821 6.48178 17.1218 6.48178 16.851C6.48178 16.5802 6.37684 16.3199 6.189 16.1248C6.00116 15.9297 5.74503 15.815 5.47441 15.8047ZM18.5574 8.86575C18.1012 8.86535 17.6637 8.68398 17.341 8.36143C17.0183 8.03889 16.8368 7.6015 16.8362 7.14525C16.8366 6.689 17.0179 6.25154 17.3405 5.92885C17.663 5.60616 18.1004 5.4246 18.5567 5.424C19.013 5.4244 19.4506 5.60587 19.7733 5.92858C20.096 6.25129 20.2775 6.68887 20.2779 7.14525C20.2773 7.60137 20.0959 8.03864 19.7733 8.36117C19.4508 8.6837 19.0135 8.86515 18.5574 8.86575ZM18.5574 6.09975C18.3503 6.0996 18.1477 6.1609 17.9754 6.27589C17.8031 6.39088 17.6688 6.55439 17.5895 6.74573C17.5102 6.93708 17.4894 7.14766 17.5297 7.35083C17.5701 7.55399 17.6698 7.74062 17.8163 7.88709C17.9628 8.03356 18.1494 8.13329 18.3526 8.17367C18.5557 8.21404 18.7663 8.19325 18.9577 8.11391C19.149 8.03457 19.3125 7.90026 19.4275 7.72796C19.5425 7.55567 19.6038 7.35314 19.6037 7.146C19.6037 6.5685 19.1342 6.09975 18.5574 6.09975ZM18.5574 13.7198C18.101 13.7194 17.6634 13.5379 17.3407 13.2152C17.018 12.8925 16.8366 12.4549 16.8362 11.9985C16.8368 11.5424 17.0182 11.1051 17.3407 10.7826C17.6633 10.4601 18.1005 10.2786 18.5567 10.278C19.0129 10.2784 19.4504 10.4598 19.7731 10.7823C20.0957 11.1049 20.2773 11.5422 20.2779 11.9985C20.2775 12.4548 20.0961 12.8922 19.7736 13.2149C19.451 13.5376 19.0137 13.7192 18.5574 13.7198ZM18.5574 10.9537C17.9807 10.9537 17.5112 11.4225 17.5112 11.9985C17.5214 12.2691 17.6361 12.5253 17.8312 12.7131C18.0263 12.9009 18.2866 13.0059 18.5574 13.0059C18.8282 13.0059 19.0885 12.9009 19.2836 12.7131C19.4787 12.5253 19.5934 12.2691 19.6037 11.9985C19.6037 11.421 19.1342 10.9537 18.5574 10.9537ZM18.5574 18.5707C18.1012 18.5704 17.6637 18.389 17.341 18.0664C17.0183 17.7439 16.8368 17.3065 16.8362 16.8502C16.8366 16.394 17.0179 15.9565 17.3405 15.6338C17.663 15.3112 18.1004 15.1296 18.5567 15.129C19.013 15.1294 19.4506 15.3109 19.7733 15.6336C20.096 15.9563 20.2775 16.3939 20.2779 16.8502C20.2773 17.3064 20.0959 17.7436 19.7733 18.0662C19.4508 18.3887 19.0135 18.5702 18.5574 18.5707ZM18.5574 15.8047C18.3503 15.8046 18.1477 15.8659 17.9754 15.9809C17.8031 16.0959 17.6688 16.2594 17.5895 16.4507C17.5102 16.6421 17.4894 16.8527 17.5297 17.0558C17.5701 17.259 17.6698 17.4456 17.8163 17.5921C17.9628 17.7386 18.1494 17.8383 18.3526 17.8787C18.5557 17.919 18.7663 17.8982 18.9577 17.8189C19.149 17.7396 19.3125 17.6053 19.4275 17.433C19.5425 17.2607 19.6038 17.0581 19.6037 16.851C19.6037 16.2735 19.1342 15.8047 18.5574 15.8047ZM12.0159Line truncated
|
||||
static DEEPSEEK: Icon = Icon { name: "deepseek", view: 40.0, body: r##"<path d="M35.6638 9.91965C35.3251 9.75432 35.1785 10.0703 34.9811 10.2316C34.9131 10.2836 34.8558 10.3516 34.7985 10.413C34.3025 10.9423 33.7238 11.289 32.9678 11.2476C31.8625 11.1863 30.9186 11.533 30.0839 12.3783C29.9066 11.3356 29.3173 10.7143 28.4213 10.3143C27.9519 10.1063 27.4773 9.89965 27.148 9.44766C26.9186 9.12633 26.856 8.76767 26.7413 8.41568C26.668 8.20235 26.5946 7.98502 26.3506 7.94902C26.084 7.90769 25.98 8.13035 25.876 8.31702C25.4587 9.07967 25.2973 9.91965 25.3133 10.7703C25.3493 12.6849 26.1573 14.2102 27.764 15.2942C27.9466 15.4182 27.9933 15.5435 27.9359 15.7249C27.8266 16.0982 27.696 16.4609 27.5813 16.8355C27.508 17.0742 27.3986 17.1248 27.1426 17.0222C26.2777 16.6504 25.4919 16.1164 24.828 15.4489C23.6854 14.3449 22.6534 13.1263 21.3654 12.1716C21.067 11.9511 20.7606 11.7416 20.4468 11.5436C19.1335 10.2676 20.6201 9.21967 20.9641 9.09567C21.3241 8.965 21.0881 8.51968 19.9254 8.52501C18.7628 8.53035 17.6988 8.91834 16.3428 9.43699C16.1413 9.51421 15.934 9.57529 15.7229 9.61966C14.4557 9.38091 13.1598 9.33506 11.8789 9.48366C9.36565 9.76365 7.35902 10.953 5.88305 12.9809C4.10975 15.4182 3.69243 18.1888 4.20308 21.0768C4.74041 24.122 6.29504 26.6433 8.683 28.6139C11.1603 30.6579 14.0122 31.6592 17.2668 31.4672C19.2428 31.3539 21.4441 31.0886 23.9254 28.9873C24.552 29.2993 25.208 29.4233 26.2986 29.5166C27.1386 29.5953 27.9466 29.4766 28.5719 29.3459C29.5519 29.1379 29.4839 28.23 29.1306 28.0646C26.2573 26.726 26.888 27.2713 26.3133 26.83C27.7746 25.102 29.9746 23.3074 30.8359 17.4928C30.9026 17.0302 30.8452 16.7395 30.8359 16.3662C30.8306 16.1395 30.8826 16.0502 31.1426 16.0249C31.8639 15.95 32.5637 15.7349 33.2025 15.3915C35.0638 14.3742 35.8158 12.7049 35.9931 10.7023C36.0198 10.3956 35.9878 10.081 35.6638 9.91965ZM19.4414 27.9433C16.6562 25.754 15.3055 25.0327 14.7482 25.0634C14.2256 25.0954 14.3202 25.6913 14.4349 26.0807C14.5549 26.4647 14.7109 26.7286 14.9295 27.066C15.0815 27.2886 15.1855 27.6206 14.7789 27.87C13.8816 28.4246 12.3229 27.6833 12.2496 27.6473C10.435 26.578 8.91632 25.1673 7.84834 23.2381C6.81637 21.3808 6.21638 19.3888 6.11771 17.2622C6.09105 16.7475 6.24171 16.5662 6.7537 16.4729C7.42583 16.3442 8.11451 16.3267 8.79233 16.4209C11.6349 16.8368 14.0536 18.1075 16.0828 20.1194C17.2402 21.2661 18.1161 22.6354 19.0188 23.974C19.9788 25.3953 21.0108 26.75 22.3254 27.8593C22.7894 28.2486 23.1587 28.5446 23.5134 28.7619C22.4441 28.8819 20.6601 28.9086 19.4414 27.9433ZM20.7748 19.3568C20.7745 19.2906 20.7904 19.2253 20.8211 19.1666C20.8517 19.1078 20.8962 19.0575 20.9507 19.0198C21.0052 18.9821 21.068 18.9583 21.1337 18.9503C21.1995 18.9424 21.2662 18.9505 21.3281 18.9741C21.407 19.0024 21.475 19.0546 21.5228 19.1235C21.5706 19.1923 21.5958 19.2743 21.5947 19.3581C21.5949 19.4123 21.5843 19.4659 21.5636 19.5159C21.5428 19.5659 21.5123 19.6113 21.4738 19.6494C21.4354 19.6875 21.3897 19.7176 21.3395 19.7378C21.2893 19.7581 21.2356 19.7682 21.1814 19.7675C21.1277 19.7676 21.0745 19.7571 21.0248 19.7365C20.9752 19.7158 20.9302 19.6855 20.8925 19.6473C20.8548 19.609 20.825 19.5636 20.805 19.5138C20.785 19.4639 20.7739 19.4105 20.7748 19.3568ZM24.9213 21.4848C24.6547 21.5928 24.3893 21.6861 24.1347 21.6981C23.7516 21.7114 23.3756 21.5918 23.0707 21.3594C22.7054 21.0528 22.4441 20.8821 22.3347 20.3488C22.297 20.0881 22.3042 19.823 22.3561 19.5648C22.4494 19.1288 22.3454 18.8488 22.0374 18.5955C21.7881 18.3875 21.4694 18.3302 21.1201 18.3302C21.0005 18.3232 20.8843 18.2875 20.7814 18.2262C20.6348 18.1542 20.5148 17.9728 20.6294 17.7488C20.6668 17.6768 20.8428 17.5008 20.8854 17.4688C21.3601 17.1995 21.9081 17.2875 22.4134 17.4902C22.8827 17.6822 23.2374 18.0342 23.748 18.5328C24.2694 19.1341 24.364 19.3008 24.6613 19.7515C24.896 20.1048 25.1093 20.4674 25.2547 20.8821C25.344 21.1421 25.2293 21.3541 24.9213 21.4848Z" fill="currentColor"/>"## };
|
||||
static DIGITALOCEAN: Icon = Icon { name: "digitalocean", view: 100.8, body: r##"<path d="M50.4 72.7L36.4 72.7L36.4 58.6L36.4 58.6L50.4 58.6L50.4 58.6L50.4 72.7Z" fill="currentColor" fill-rule="evenodd"/><path d="M36.4 83.5L25.6 83.5L25.6 83.5L25.6 72.7L36.4 72.7L36.4 83.5Z" fill="currentColor" fill-rule="evenodd"/><path d="M25.6 72.7L16.5 72.7L16.5 72.7L16.5 63.6L16.5 63.6L25.5 63.6L25.6 63.6L25.6 72.7Z" fill="currentColor" fill-rule="evenodd"/><path d="M50.4 14C30.3 14 14 30.3 14 50.4L28.1 50.4C28.1 38.1 38.1 28.1 50.4 28.1S72.7 38.1 72.7 50.4S62.7 72.7 50.4 72.7L50.4 72.7L50.4 86.8L50.4 86.8C70.5 86.8 86.8 70.5 86.8 50.4S70.5 14 50.4 14Z" fill="currentColor"/>"## };
|
||||
static EVROC: Icon = Icon { name: "evroc", view: 100.0, body: r##"<path d="M79.01 43.363C74.944 43.363 72.499 46.283 72.499 49.898C72.499 53.533 74.944 56.453 79.01 56.453C83.056 56.453 85.522 53.533 85.522 49.898S83.056 43.363 79.01 43.363ZM79.01 54.331C76.377 54.331 74.838 52.398 74.838 49.898S76.377 45.443 79.01 45.443C81.645 45.443 83.161 47.376 83.161 49.877C83.161 52.398 81.645 54.331 79.011 54.331ZM93.403 56.427C96.796 56.427 98.945 54.619 99.24 51.888L96.88 51.888C96.564 53.443 95.363 54.325 93.403 54.325C90.98 54.325 89.525 52.645 89.525 49.892C89.525 47.118 91.001 45.458 93.403 45.458C95.363 45.458 96.543 46.32 96.88 47.958L99.24 47.958C98.945 45.185 96.796 43.336 93.403 43.336C89.547 43.336 87.186 46.005 87.186 49.871C87.186 53.758 89.546 56.427 93.403 56.427ZM63.86 56.116L66.22 56.116L66.22 50.106C66.22 47.354 67.568 45.862 69.992 45.862L72.268 45.862L72.268 43.677L70.013 43.677C67.885 43.677 66.725 44.412 66.115 46.282L65.672 46.219L66.199 43.677L63.839 43.677L63.839 56.116L63.859 56.116ZM39.415 48.784C39.521 46.683 40.932 45.254 43.208 45.254C45.484 45.254 46.854 46.599 46.854 48.784L39.415 48.784ZM49.193 49.184C49.193 45.758 46.812 43.363 43.25 43.363C39.52 43.363 37.076 45.926 37.076 49.898C37.076 53.911 39.499 56.453 43.356 56.453C46.285 56.453 48.603 54.856 49.025 52.566L46.665 52.566C46.158 53.722 44.999 54.394 43.355 54.394C40.975 54.394 39.478 52.986 39.415 50.591L49.109 50.591C49.151 50.003 49.193 49.73 49.193 49.183ZM54.883 56.116L56.822 56.116L62.322 43.676L59.793 43.676L56 53.49L55.684 53.511L51.891 43.678L49.383 43.678L54.883 56.117ZM32.23 49.85C32.23 48.968 31.871 48.149 31.24 47.413A8.594 8.594 0 0 1 29.743 48.506C30.08 48.926 30.27 49.367 30.27 49.851C30.27 52.582 24.433 54.662 16.13 54.662C7.849 54.683 2.012 52.603 2.012 49.851C2.012 49.388 2.18 48.926 2.517 48.506A8.13 8.13 0 0 1 1.042 47.413C0.41 48.149 0.052 48.968 0.052 49.851C0.052 53.885 7.259 56.385 16.152 56.385C25.022 56.406 32.23 53.885 32.23 49.85ZM28.879 51.384C27.973 50.922 26.919 50.523 25.719 50.187C24.349 50.565 22.81 50.859 21.166 51.048C23.484 51.342 25.507 51.826 27.066 52.456C27.826 52.12 28.436 51.763 28.879 51.384ZM11.03 51.027A31.902 31.902 0 0 1 6.563 50.187C5.383 50.523 4.308 50.922 3.403 51.384C3.823 51.763 4.413 52.099 5.151 52.434C6.69 51.804 8.671 51.321 11.031 51.027ZM32.23 44.219C32.23 40.206 25.023 37.685 16.151 37.685C7.26 37.685 0.051 40.206 0.051 44.219C0.051 48.254 7.259 50.754 16.151 50.754C25.023 50.775 32.23 48.254 32.23 44.219ZM30.29 44.219C30.29 46.951 24.454 49.031 16.151 49.031C7.849 49.052 2.011 46.971 2.011 44.219C2.011 41.488 7.849 39.408 16.151 39.408C24.011 39.408 30.291 41.488 30.291 44.219ZM27.067 46.783C27.825 46.447 28.437 46.089 28.879 45.711C25.929 44.198 21.335 43.358 16.151 43.358S6.352 44.198 3.423 45.711C3.845 46.089 4.435 46.426 5.173 46.761C7.68 45.711 11.536 45.081 16.151 45.081C20.555 45.081 24.475 45.732 27.067 46.783ZM1.042 53.128C0.41 53.864 0.052 54.662 0.052 55.566C0.052 59.6 7.259 62.1 16.152 62.1C25.044 62.1 32.251 59.579 32.251 55.566C32.251 54.683 31.892 53.864 31.261 53.128C30.839 53.528 30.354 53.885 29.764 54.221C30.101 54.641 30.291 55.082 30.291 55.566C30.291 58.297 24.454 60.377 16.151 60.377C7.849 60.377 2.011 58.297 2.011 55.566C2.011 55.103 2.181 54.641 2.517 54.221A10.73 10.73 0 0 1 1.042 53.128Z" fill="currentColor"/>"## };
|
||||
static FASTROUTER: Icon = Icon { name: "fastrouter", view: 40.0, body: r##"<path d="M31.8828 10.4098L28.0164 16.8684V13.3842H20.2592L17.7616 17.6895C17.6127 17.9132 17.6127 18.2116 17.7243 18.4353C17.8733 18.6591 18.0966 18.8083 18.3944 18.8083H26.6951L15.491 36L17.6499 25.7073C17.6871 25.4836 17.6499 25.2598 17.501 25.0733C17.3521 24.8869 17.1288 24.8123 16.9055 24.8123H8.19531L14.1496 7.42506H18.3261V7.41479L28.0164 7.42506V4L31.8828 10.4098Z" fill="currentColor"/>"## };
|
||||
static FIREWORKS_AI: Icon = Icon { name: "fireworks-ai", view: 24.0, body: r##"<path d="M14.45 5.74999L11.9991 11.6956L9.54562 5.74999H7.97237L10.6604 12.2495C10.7678 12.5138 10.9515 12.7402 11.1882 12.8996C11.4248 13.059 11.7036 13.1442 11.9889 13.1444C12.2742 13.1446 12.5531 13.0597 12.79 12.9006C13.0268 12.7415 13.2109 12.5154 13.3186 12.2512L16.0232 5.74999H14.45ZM15.4965 14.808L19.98 10.2195L19.3684 8.75911L14.4719 13.7807C14.272 13.9856 14.1369 14.2448 14.0835 14.5261C14.0301 14.8073 14.0608 15.098 14.1718 15.3619C14.2807 15.624 14.4648 15.848 14.7008 16.0056C14.9369 16.1632 15.2144 16.2473 15.4983 16.2474L15.5 16.25L22.5 16.2325L21.8884 14.7721L15.4983 14.808H15.4965ZM4.02 10.216L4.63162 8.75561L9.52813 13.7772C9.93763 14.1964 10.0557 14.8176 9.82825 15.3584C9.71925 15.6204 9.53511 15.8443 9.29905 16.0019C9.06299 16.1595 8.78557 16.2437 8.50175 16.2439L1.50175 16.2281L1.5 16.2299L2.11163 14.7695L8.50175 14.8062L4.02 10.216Z" fill="currentColor"/>"## };
|
||||
static FIRMWARE: Icon = Icon { name: "firmware", view: 40.0, body: r##"<path d="M31.884 37.9851L39.9946 37.9851L38.3089 34.7734L35.4336 34.1265L32.6063 28.4919L36.2972 22.2893L34.8327 19.4034L35.9145 19.4034L37.8692 18.1418L37.8692 16.9877L38.6868 16.9877L38.6868 12.665L34.9188 11.4848L33.9477 10.1479L29.107 10.1479L25.4482 14.2264L21.8016 6.9593L0.0406 2.0465L14.5193 18.3093L12.8597 18.3093L6.9235 22.5198L3.9223 28.3331L2.6561 28.6912L2.6561 23.7953L3.9176 22.967L1.1438 18.7396L1.1438 30.6874L4.9641 29.6101L8.0959 23.5402L11.4012 21.1956L6.5747 30.9041L6.5747 34.7289L7.8991 37.9851L13.0224 37.9851L13.0224 36.3425L12.4034 35.0409L10.9573 34.1571L10.9573 33.4012L13.9351 28.4792L13.9351 31.6909L16.5414 34.698L17.671 36.7097L17.671 37.9851L23.601 37.9851L23.601 36.3517L22.9493 34.8842L21.399 34.0467L19.561 31.3251L20.972 28.7084L25.2563 29.3797L24.2497 34.9118L24.2372 37.9851L30.1998 37.9851L30.1998 36.4178L29.9216 35.3173L29.0732 34.4893L29.7198 33.1979L31.884 36.5544ZM34.0661 17.8929L35.4689 17.8929L36.3572 17.3197L36.3572 16.9877L35.6289 16.9877L35.6289 15.4772L37.1763 15.4772L37.1763 13.7745L33.9892 12.7772L33.1778 11.6585L30.9024 11.6585ZM29.4155 12.0652L28.3541 13.249L33.6411 23.7977L34.5729 22.2309ZM26.1765 15.6778L27.2702 14.4578L32.7242 25.3394L31.8021 26.8894ZM13.7721 19.8199L8.0852 31.2575L8.0852 34.4338L8.915 36.4731L11.4121 36.4731L11.2322 36.0966L9.4467 35.0056L9.4467 32.9802L13.6494 26.0312L28.3849 28.3409L33.3945 36.1088L33.3945 36.4731L37.4945 36.4731L37.2962 36.0949L34.404 35.4435L34.2428 35.1238L24.8983 16.499L16.3448 19.8199ZM24.2176 15.1419L20.772 8.2747L17.0831 7.442L22.5697 15.7817ZM21.1295 16.341L14.9597 6.9627L10.5622 5.9701L19.4359 16.9987ZM17.9584 17.5723L8.1932 5.4353L4.2973 4.5559L16.3956 18.1464L16.3302 18.2046ZM15.4459 31.1283L15.4459 27.8427L19.3893 28.4605L17.7984 31.4127L20.354 35.1992L21.7769 35.9675L22.0014 36.4731L19.1816 36.4731L19.1816 36.3148L17.783 33.8252ZM28.7686 31.7225L27.4827 29.7285L26.7492 29.6135L25.7495 35.1161L25.7495 36.4731L28.6554 36.4731L28.5615 36.0996L27.2276 34.7996ZM29.1085 6.6197L29.1073 6.6197L29.1073 9.1414L33.9477 9.1414L33.9477 6.6197L33.9443 6.6197L32.738 7.8275L31.53 6.6197L31.5243 6.6197L30.3163 7.8275Z" fill="currentColor" fill-rule="evenodd"/>"## };
|
||||
static FRIENDLI: Icon = Icon { name: "friendli", view: 40.0, body: r##"<path d="M15.1484 16.5153V16.5238C14.5325 17.3971 14.4945 18.6923 14.5114 19.3925V21.4091C14.5114 22.7379 13.4272 23.8221 12.1067 23.8221H9.24219C7.91327 23.8221 6.8375 22.7423 6.8375 21.4091V18.5952C6.8375 17.262 7.91327 16.182 9.24219 16.182H10.9339C11.2376 16.182 11.9717 16.1694 12.2923 16.1061C12.5666 16.0513 13.4525 15.853 14.2963 15.2201C14.3891 15.1526 14.4734 15.0852 14.5451 15.0219C14.5451 15.0219 14.7392 14.8574 14.9122 14.6759C15.3889 14.1824 15.7559 13.4778 15.7559 13.4778C15.8741 13.2584 16.1441 12.7016 16.3044 11.9295C16.3803 11.5541 16.4141 11.2039 16.4394 10.917L16.528 9.24219C16.528 7.91327 17.6079 6.83329 18.9369 6.83329H21.7339C23.0629 6.83329 24.1427 7.91327 24.1427 9.24219V12.0603C24.1427 13.3892 23.0629 14.4692 21.7339 14.4692H19.4346C18.9073 14.4819 18.4686 14.5367 18.1438 14.5958C17.5489 14.7055 17.2409 14.832 17.1481 14.87M10.6428 14.8109C8.35625 14.8109 6.5 12.9505 6.5 10.6555C6.5 8.36046 8.35625 6.5 10.6428 6.5C12.9294 6.5 14.7856 8.36046 14.7856 10.6555C14.7856 12.9505 12.9294 14.8109 10.6428 14.8109ZM10.6428 25.1891C12.9294 25.1891 14.7856 27.0496 14.7856 29.3446C14.7856 31.6396 12.9294 33.5 10.6428 33.5C8.35625 33.5 6.5 31.6396 6.5 29.3446C6.5 27.0496 8.35625 25.1891 10.6428 25.1891ZM33.5 12.1405C33.5 13.4272 32.4538 14.4734 31.1671 14.4734C30.4963 14.4355 29.9352 14.4566 29.526 14.4819C28.8341 14.5283 28.429 14.5536 27.8933 14.7181C27.29 14.9037 26.8598 15.1611 26.615 15.3087C26.5096 15.372 26.0919 15.6294 25.6067 16.0597C25.3325 16.3044 25.0709 16.5364 24.8009 16.9076C24.4254 17.4265 24.261 17.899 24.1766 18.1521C23.9487 18.8356 23.9066 19.7848 23.9192 20.2448L23.8939 21.4808C23.8939 22.7717 22.8519 23.8179 21.5652 23.8179H18.6079C17.3211 23.8179 16.2791 22.7717 16.2791 21.4808V18.515C16.2791 17.2241 17.3211 16.1778 18.6079 16.1778H20.3965C21.0294 16.1778 22.2865 16.2326 23.3539 15.8403C24.2694 15.507 25.1848 14.5789 25.5434 13.5622C25.8852 12.5286 25.8767 11.1533 25.8767 11.1533L25.8852 9.16625C25.8852 7.87952 26.9314 6.83329 28.2181 6.83329H31.1671C32.4538 6.83329 33.5 7.87952 33.5 9.16625V12.1405Z" fill="currentColor"/>"## };
|
||||
static GITHUB_COPILOT: Icon = Icon { name: "github-copilot", view: 40.0, body: r##"<path d="M35.3993 26.4544C34.2871 28.3855 27.8314 32.9425 20 32.9425C12.1686 32.9425 5.71288 28.3855 4.60075 26.4544C4.5427 26.3532 4.50826 26.2401 4.5 26.1237V22.418C4.51199 22.3209 4.53496 22.2256 4.56846 22.1338C5.04896 20.9261 6.30833 19.1733 7.93325 18.7031C8.14896 18.149 8.468 17.3404 8.76508 16.7437C8.71727 16.2776 8.69485 15.8094 8.69792 15.3409C8.69792 13.6217 9.06217 12.113 10.1601 10.9906C10.6729 10.4662 11.3097 10.0644 12.064 9.76091C13.871 8.29357 16.4453 7.05745 19.9716 7.05745C23.4978 7.05745 26.129 8.29357 27.936 9.76091C28.6903 10.0644 29.3271 10.4662 29.8399 10.9906C30.9378 12.113 31.3021 13.6217 31.3021 15.3409C31.3021 15.8162 31.284 16.2877 31.2349 16.7437C31.532 17.3404 31.851 18.149 32.0667 18.7031C33.6917 19.1733 34.951 20.9261 35.4315 22.1338C35.4677 22.2248 35.4908 22.3205 35.5 22.418V26.1237C35.4917 26.2401 35.4573 26.3532 35.3993 26.4544ZM20.2222 18.7147H19.7778C19.6422 18.945 19.4889 19.1644 19.3193 19.3709C18.3247 20.5941 16.8419 21.2981 14.7881 21.2981C12.56 21.2981 10.9273 20.8344 9.90304 19.6719C9.86495 19.6283 9.82833 19.5835 9.79325 19.5375L9.66667 19.6719V28.1775C11.5202 29.1837 15.4972 30.992 20 30.992C24.5028 30.992 28.4798 29.1837 30.3333 28.1775V19.6719L30.2067 19.5375C30.2067 19.5375 30.1641 19.5957 30.097 19.6719C29.0727 20.8344 27.44 21.2981 25.2119 21.2981C23.1581 21.2981 21.6753 20.5941 20.6807 19.3709C20.5111 19.1644 20.3578 18.945 20.2222 18.7147ZM23.2292 22.9127C23.9383 22.9127 24.5208 23.4952 24.5208 24.2043V26.7877C24.5208 27.4968 23.9383 28.0793 23.2292 28.0793C22.52 28.0793 21.9375 27.4968 21.9375 26.7877V24.2043C21.9375 23.4952 22.52 22.9127 23.2292 22.9127ZM16.7708 22.9127C17.48 22.9127 18.0625 23.4952 18.0625 24.2043V26.7877C18.0625 27.4968 17.48 28.0793 16.7708 28.0793C16.0617 28.0793 15.4792 27.4968 15.4792 26.7877V24.2043C15.4792 23.4952 16.0617 22.9127 16.7708 22.9127ZM21.0501 14.9237C21.2258 16.289 21.5707 17.3947 22.1842 18.149C22.7551 18.8517 23.649 19.3606 25.2119 19.3606C27.2437 19.3606 28.1724 18.9253 28.6438 18.3905C29.1398 17.8287 29.3646 16.9051 29.3646 15.3409C29.3646 13.8684 29.0507 12.9552 28.454 12.3455C27.8378 11.7152 26.7502 11.2321 24.8063 11.0216C22.8856 10.8136 21.975 11.1998 21.5345 11.7049C21.187 12.1014 20.97 12.7485 20.9688 13.7431V13.7702C20.9688 14.1121 20.9959 14.4966 21.0501 14.9237ZM18.9499 14.9237C19.0041 14.4966 19.0312 14.1117 19.0312 13.7689V13.7431C19.03 12.7485 18.813 12.1014 18.4655 11.7049C18.025 11.1998 17.1144 10.8136 15.1937 11.0216C13.2498 11.2321 12.1622 11.7152 11.546 12.3455C10.9493 12.9552 10.6354 13.8684 10.6354 15.3409C10.6354 16.9051 10.8615 17.8287 11.3562 18.3905C11.8276 18.9253 12.7563 19.3606 14.7881 19.3606C16.351 19.3606 17.2449 18.8517 17.8158 18.149C18.4293 17.3947 18.7742 16.289 18.9499 14.9237Z" fill="currentColor"/>"## };
|
||||
static GITHUB_MODELS: Icon = Icon { name: "github-models", view: 40.0, body: r##"<path d="M20.0015 4.4704C11.4373 4.4704 4.50074 11.407 4.50074 19.9712C4.49793 23.2252 5.52031 26.3975 7.42272 29.0376C9.32512 31.6776 12.0109 33.6513 15.0986 34.6783C15.8737 34.8132 16.1651 34.3481 16.1651 33.9405C16.1651 33.5731 16.1449 32.3532 16.1449 31.0542C12.2511 31.7719 11.2436 30.1056 10.9336 29.2329C10.7584 28.7865 10.0035 27.4115 9.34473 27.0426C8.8022 26.7528 8.02716 26.0351 9.32458 26.0165C10.546 25.9963 11.4172 27.1403 11.7086 27.6053C13.1037 29.949 15.3311 29.2902 16.2224 28.8841C16.3588 27.8766 16.7649 27.1992 17.2114 26.8117C13.7624 26.4241 10.1585 25.0864 10.1585 19.1574C10.1585 17.4709 10.7584 16.0774 11.7473 14.9923C11.5923 14.6048 11.0498 13.016 11.9024 10.8846C11.9024 10.8846 13.1998 10.4769 16.1651 12.4719C17.4271 12.1226 18.7308 11.9468 20.0403 11.9495C21.3578 11.9495 22.6754 12.1231 23.9155 12.4719C26.8808 10.4568 28.1782 10.8846 28.1782 10.8846C29.0307 13.016 28.4882 14.6048 28.3332 14.9923C29.3206 16.0774 29.922 17.4523 29.922 19.1574C29.922 25.1066 26.2995 26.4241 22.8506 26.8117C23.4117 27.2953 23.8969 28.2253 23.8969 29.6793C23.8969 31.7518 23.8767 33.4181 23.8767 33.942C23.8767 34.3481 24.1681 34.8318 24.9432 34.6768C28.0193 33.6368 30.6922 31.6589 32.5859 29.0211C34.4796 26.3833 35.499 23.2183 35.5007 19.9712C35.5007 11.407 28.5641 4.4704 20 4.4704" fill="currentColor"/>"## };
|
||||
static GITLAB: Icon = Icon { name: "gitlab", view: 380.0, body: r##"<path d="M265.26416,174.37243l-.2134-.55822-21.19899-55.30908c-.4236-1.08359-1.18542-1.99642-2.17699-2.62689-.98837-.63373-2.14749-.93253-3.32305-.87014-1.1689.06239-2.29195.48925-3.20809,1.21821-.90957.73554-1.56629,1.73047-1.87493,2.85346l-14.31327,43.80662h-57.90965l-14.31327-43.80662c-.30864-1.12299-.96536-2.11791-1.87493-2.85346-.91614-.72895-2.03911-1.15582-3.20809-1.21821-1.17548-.06239-2.33468.23641-3.32297.87014-.99166.63047-1.75348,1.5433-2.17707,2.62689l-21.19891,55.31237-.21348.55493c-6.28158,16.38521-.92929,34.90803,13.05891,45.48782.02621.01641.04922.03611.07552.05582l.18719.14119,32.29094,24.17392,15.97151,12.09024,9.71951,7.34871c2.34117,1.77316,5.57877,1.77316,7.92002,0l9.71943-7.34871,15.96822-12.09024,32.48142-24.31511c.02958-.02299.05588-.04269.08538-.06568,13.97834-10.57977,19.32735-29.09604,13.04905-45.47796Z" fill="currentColor"/>"## };
|
||||
static GOOGLE: Icon = Icon { name: "google", view: 40.0, body: r##"<path d="M37 20.034C27.8809 20.5837 20.5808 27.8809 20.0326 37H19.966C19.4163 27.8809 12.1177 20.5837 3 20.034V19.9674C12.1191 19.4163 19.4163 12.1191 19.966 3H20.0326C20.5822 12.1191 27.8809 19.4163 37 19.9674V20.034Z" fill="currentColor"/>"## };
|
||||
static GOOGLE_VERTEX: Icon = Icon { name: "google-vertex", view: 24.0, body: r##"<path d="M11.9959 18.3671C11.6069 18.3671 11.2339 18.5216 10.9589 18.7966C10.6838 19.0716 10.5293 19.4447 10.5293 19.8336C10.5293 20.2226 10.6838 20.5956 10.9589 20.8707C11.2339 21.1457 11.6069 21.3002 11.9959 21.3002C12.3849 21.3002 12.7579 21.1457 13.0329 20.8707C13.308 20.5956 13.4625 20.2226 13.4625 19.8336C13.4625 19.4447 13.308 19.0716 13.0329 18.7966C12.7579 18.5216 12.3849 18.3671 11.9959 18.3671ZM11.9959 20.5416C11.8534 20.5415 11.7141 20.4991 11.5958 20.4198C11.4774 20.3404 11.3853 20.2276 11.3313 20.0957C11.2772 19.9639 11.2636 19.8189 11.2921 19.6793C11.3207 19.5397 11.3901 19.4117 11.4916 19.3116C11.5931 19.2116 11.722 19.144 11.862 19.1174C12.002 19.0908 12.1468 19.1065 12.2778 19.1624C12.4089 19.2183 12.5204 19.312 12.5981 19.4314C12.6758 19.5509 12.7163 19.6908 12.7143 19.8333C12.7143 19.9271 12.6956 20.0201 12.6594 20.1067C12.6232 20.1933 12.5701 20.2718 12.5033 20.3377C12.4364 20.4036 12.3571 20.4556 12.27 20.4906C12.1829 20.5256 12.0897 20.5429 11.9959 20.5416Z" fill="currentColor"/><path d="M19.5066 13.6615C19.6903 13.691 19.8569 13.7855 19.9755 13.9281C20.0812 14.0834 20.1256 14.2725 20.0998 14.4587C20.074 14.6449 19.98 14.8148 19.836 14.9356L13.4504 19.6488C13.418 19.3931 13.3188 19.1504 13.1628 18.9452C13.0067 18.74 12.7993 18.5796 12.5615 18.4802L18.9781 13.7685C19.1355 13.6701 19.3233 13.6321 19.5066 13.6615Z" fill="currentColor"/><path d="M10.5444 19.6271L4.17667 14.9262C4.02822 14.8115 3.92907 14.6444 3.89941 14.4592C3.86975 14.2739 3.91182 14.0842 4.01703 13.9289C4.13459 13.7843 4.30127 13.6881 4.48524 13.6587C4.66922 13.6293 4.85759 13.6686 5.01439 13.7692L11.431 18.4809C11.1966 18.5789 10.9917 18.736 10.8363 18.9369C10.6809 19.1378 10.5803 19.3756 10.5444 19.6271Z" fill="currentColor"/><path d="M6.01169 6.16856C5.81417 6.16595 5.62547 6.08633 5.48578 5.94664C5.3461 5.80696 5.26647 5.61826 5.26387 5.42073V3.54536C5.25156 3.43918 5.26186 3.3316 5.29408 3.22968C5.3263 3.12776 5.37971 3.03381 5.45081 2.95399C5.52191 2.87418 5.60909 2.81031 5.70662 2.76657C5.80416 2.72284 5.90984 2.70023 6.01673 2.70023C6.12362 2.70023 6.2293 2.72284 6.32683 2.76657C6.42437 2.81031 6.51155 2.87418 6.58265 2.95399C6.65375 3.03381 6.70716 3.12776 6.73938 3.22968C6.7716 3.3316 6.78189 3.43918 6.76959 3.54536V5.42073C6.76694 5.61999 6.68592 5.81019 6.54408 5.95015C6.40223 6.09011 6.21096 6.16858 6.01169 6.16856ZM5.99154 12.8013C6.19255 12.8013 6.38532 12.7215 6.52746 12.5794C6.66959 12.4372 6.74944 12.2445 6.74944 12.0434C6.74944 11.8424 6.66959 11.6497 6.52746 11.5075C6.38532 11.3654 6.19255 11.2855 5.99154 11.2855C5.79053 11.2855 5.59776 11.3654 5.45563 11.5075C5.31349 11.6497 5.23364 11.8424 5.23364 12.0434C5.23364 12.2445 5.31349 12.4372 5.45563 12.5794C5.59776 12.7215 5.79053 12.8013 5.99154 12.8013ZM5.99154 10.5974C6.09107 10.5974 6.18962 10.5778 6.28158 10.5397C6.37353 10.5016 6.45708 10.4458 6.52746 10.3754C6.59784 10.305 6.65366 10.2215 6.69175 10.1295C6.72984 10.0376 6.74944 9.93902 6.74944 9.83949C6.74944 9.73996 6.72984 9.64141 6.69175 9.54945C6.65366 9.4575 6.59784 9.37395 6.52746 9.30357C6.45708 9.2332 6.37353 9.17737 6.28158 9.13928C6.18962 9.10119 6.09107 9.08159 5.99154 9.08159C5.79053 9.08159 5.59776 9.16144 5.45563 9.30357C5.31349 9.44571 5.23364 9.63848 5.23364 9.83949C5.23364 10.0405 5.31349 10.2333 5.45563 10.3754C5.59776 10.5175 5.79053 10.5974 5.99154 10.5974ZM5.99154 8.38259C6.19255 8.38259 6.38532 8.30274 6.52746 8.1606C6.66959 8.01847 6.74944 7.8257 6.74944 7.62469C6.74944 7.42368 6.66959 7.23091 6.52746 7.08877C6.38532 6.94664 6.19255 6.86679 5.99154 6.86679C5.79053 6.86679 5.59776 6.94664 5.45563 7.08877C5.31349 7.23091 5.23364 7.42368 5.23364 7.62469C5.23364 7.8257 5.31349 8.01847 5.45563 8.1606C5.59776 8.30274 5.79053 8.38259 5.99154 8.38259Z" fill="currentColor"/><path d="M17.9807 8.36321C17.7813 8.36056 17.591 8.27944 17.451 8.13742C17.3111 7.99541 17.2327 7.80395 17.2329 7.60454V5.72916C17.2329 5.53083 17.3117 5.34062 17.4519 5.20037C17.5922 5.06013 17.7824 4.98134 17.9807 4.98134C18.1791 4.98134 18.3693 5.06013 18.5095 5.20037C18.6498 5.34062 18.7286 5.53083 18.7286 5.72916V7.60454C18.7301 7.70368 18.7119 7.80214 18.675 7.89417C18.6381 7.98621 18.5832 8.06997 18.5136 8.14059C18.444 8.21121 18.3611 8.26726 18.2696 8.30548C18.1781 8.3437 18.0799 8.36333 17.9807 8.36321ZM18.0001 12.8114C18.0996 12.8114 18.1982 12.7918 18.2901 12.7537C18.3821 12.7156 18.4656 12.6598 18.536 12.5894C18.6064 12.5191 18.6622 12.4355 18.7003 12.3436C18.7384 12.2516 18.758 12.153 18.758 12.0535C18.758 11.954 18.7384 11.8554 18.7003 11.7635C18.6622 11.6715 18.6064 11.588 18.536 11.5176C18.4656 11.4472 18.3821 11.3914 18.2901 11.3533C18.1982 11.3152 18.0996 11.2956 18.0001 11.2956C17.7991 11.2956 17.6063 11.3755 17.4642 11.5176C17.3221 11.6597 17.2422 11.8525 17.2422 12.0535C17.2422 12.2545 17.3221 12.4473 17.4642 12.5894C17.6063 12.7316 17.7991 12.8114 18.0001 12.8114ZM18.0001 10.5672C18.2011 10.5672 18.3939 10.4873Line truncated
|
||||
static GOOGLE_VERTEX_ANTHROPIC: Icon = Icon { name: "google-vertex-anthropic", view: 24.0, body: r##"<path d="M9.8132 15.9038L9 18.75L8.1868 15.9038C7.75968 14.4089 6.59112 13.2403 5.09619 12.8132L2.25 12L5.09619 11.1868C6.59113 10.7597 7.75968 9.59112 8.1868 8.09619L9 5.25L9.8132 8.09619C10.2403 9.59113 11.4089 10.7597 12.9038 11.1868L15.75 12L12.9038 12.8132C11.4089 13.2403 10.2403 14.4089 9.8132 15.9038Z" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/><path d="M18.2589 8.71454L18 9.75L17.7411 8.71454C17.4388 7.50533 16.4947 6.56117 15.2855 6.25887L14.25 6L15.2855 5.74113C16.4947 5.43883 17.4388 4.49467 17.7411 3.28546L18 2.25L18.2589 3.28546C18.5612 4.49467 19.5053 5.43883 20.7145 5.74113L21.75 6L20.7145 6.25887C19.5053 6.56117 18.5612 7.50533 18.2589 8.71454Z" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/><path d="M16.8942 20.5673L16.5 21.75L16.1058 20.5673C15.8818 19.8954 15.3546 19.3682 14.6827 19.1442L13.5 18.75L14.6827 18.3558C15.3546 18.1318 15.8818 17.6046 16.1058 16.9327L16.5 15.75L16.8942 16.9327C17.1182 17.6046 17.6454 18.1318 18.3173 18.3558L19.5 18.75L18.3173 19.1442C17.6454 19.3682 17.1182 19.8954 16.8942 20.5673Z" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>"## };
|
||||
static GROQ: Icon = Icon { name: "groq", view: 40.0, body: r##"<path d="M20.056 4.50022C14.0839 4.44597 9.20616 9.15015 9.15036 15.0106C9.09611 20.8726 13.8855 25.6621 19.8576 25.7163H23.6085V21.7391H20.056C16.3252 21.7825 13.2671 18.8468 13.2237 15.1827C13.1787 11.5216 16.1702 8.52086 19.901 8.47746H20.056C23.7868 8.47746 26.8108 11.4457 26.8216 15.1083V24.8809C26.8216 28.5109 23.8085 31.4683 20.1211 31.5132C18.3617 31.5007 16.6759 30.8049 15.42 29.5726L12.551 32.3905C14.5529 34.3571 17.239 35.4715 20.0451 35.4998H20.1877C26.0823 35.413 30.8175 30.7212 30.85 24.9351V14.8603C30.7059 9.0928 25.9165 4.50022 20.056 4.50022Z" fill="currentColor"/>"## };
|
||||
static HELICONE: Icon = Icon { name: "helicone", view: 24.0, body: r##"<path d="M18.3697 8.08776L12 10.8745V11.7289V17.8656L18.3697 8.08776Z" fill="currentColor" fill-opacity="0.25"/><path d="M3.30005 7.06824V14.9138L10.047 10.02L3.30005 7.06824Z" fill="currentColor" fill-opacity="0.25"/><path d="M11.8755 3.31646L3.30005 7.06824L10.047 10.02L12 10.8745L18.3697 8.08776L20.7 7.06824L12.1246 3.31646C12.0452 3.28173 11.9549 3.28173 11.8755 3.31646Z" fill="currentColor" fill-opacity="0.35"/><path d="M3.30005 7.06824L11.8755 3.31646C11.9549 3.28173 12.0452 3.28173 12.1246 3.31646L20.7 7.06824M3.30005 7.06824V14.9138M3.30005 7.06824L10.047 10.02M20.7 7.06824L18.3697 8.08776M20.7 7.06824V9.08787M3.30005 14.9138V16.8822C3.30005 17.0073 3.37512 17.1203 3.49053 17.1687L4.07684 17.4148M3.30005 14.9138L10.047 10.02M10.047 10.02L12 10.8745M18.3697 8.08776L12 10.8745M18.3697 8.08776L12 17.8656M20.7 9.08787V16.8822C20.7 17.0073 20.625 17.1203 20.5096 17.1687L13.942 19.9247M20.7 9.08787L13.942 19.9247M12 20.7397V17.8656M12 20.7397L13.942 19.9247M12 20.7397L4.07684 17.4148M12 17.8656V11.7289M4.07684 17.4148L12 11.7289M12 10.8745V11.7289" fill="none" stroke="currentColor" stroke-width="0.6214" stroke-linecap="round" stroke-linejoin="round"/>"## };
|
||||
static HUGGINGFACE: Icon = Icon { name: "huggingface", view: 40.0, body: r##"<path d="M26.7365 7.70867C30.9594 10.1097 33.562 14.5441 33.562 19.3448C33.562 20.7468 33.3436 22.0995 32.9378 23.3705C33.2276 23.3346 33.5219 23.3669 33.7971 23.4647C34.0723 23.5626 34.3208 23.7233 34.523 23.9341C34.8338 24.2495 35.0303 24.6597 35.0814 25.0996C35.1324 25.5394 35.0351 25.9837 34.8048 26.3619C35.0922 26.5944 35.3008 26.9044 35.4079 27.2525L35.4318 27.3398C35.5164 27.6526 35.6009 28.3121 35.15 28.9828C35.4938 29.5042 35.5431 30.1608 35.2811 30.7244C34.9217 31.5276 34.0228 32.1588 32.2826 32.838L31.9979 32.9479L31.8133 33.0156C31.1398 33.2593 30.5593 33.4312 30.3183 33.5017L30.1971 33.5355C28.9431 33.8779 27.6495 34.0639 26.3476 34.0907C24.4876 34.0907 23.1067 33.5834 22.2289 32.5872C20.7465 32.8382 19.2331 32.8468 17.748 32.6126C16.8688 33.5933 15.4935 34.0907 13.6504 34.0907C12.4424 34.0666 11.2411 33.9044 10.07 33.6074L9.75858 33.5228L9.37391 33.4101C8.81508 33.2406 8.26281 33.0503 7.71825 32.8394C5.97523 32.1588 5.07625 31.529 4.71693 30.7244C4.45485 30.1608 4.50416 29.5028 4.84798 28.9828C4.68566 28.7453 4.57646 28.4756 4.52782 28.1921C4.47919 27.9085 4.49227 27.6178 4.56616 27.3398C4.66339 26.9552 4.88461 26.6127 5.19602 26.3619C4.96607 25.9839 4.86892 25.5399 4.91997 25.1003C4.97102 24.6607 5.16735 24.2508 5.47783 23.9355C5.80614 23.5861 6.26268 23.3846 6.76995 23.362L6.87985 23.3606C6.46754 22.0619 6.2584 20.7073 6.25986 19.3448C6.25986 14.5441 8.86242 10.1097 13.0854 7.70867C15.1666 6.52898 17.518 5.90889 19.9102 5.90889C22.3025 5.90889 24.6553 6.52898 26.7365 7.70867ZM8.99205 23.8862C9.16818 24.8542 12.3132 27.1975 12.0075 27.7006C11.7397 28.1444 10.8858 27.3638 10.6717 27.1566L10.6139 27.1003L10.3772 26.8932C9.58668 26.2182 7.13067 24.2159 6.51631 24.8754C5.91041 25.5235 6.68399 26.0858 8.00288 26.8762L9.10759 27.5343L9.29923 27.6512C10.7717 28.5573 10.8774 28.8349 10.6378 29.2195C10.3729 29.6352 6.312 26.2605 5.93155 27.6935C5.5511 29.1181 10.077 29.5309 9.79804 30.5201C9.51622 31.5064 6.60649 28.6545 6.01469 29.7634C5.41583 30.8766 10.1193 32.1842 10.1574 32.1941L10.3828 32.2504L10.6294 32.3096C12.3583 32.7098 15.6527 33.2255 16.8786 31.4585C17.8269 30.0875 17.7804 29.0504 16.5292 27.7809L16.4488 27.7006C15.1173 26.3929 14.3423 24.4766 14.3423 24.4766L14.3183 24.3949L14.2831 24.2934C14.1676 23.9834 13.8829 23.393 13.3954 23.4705C12.7472 23.5734 12.271 25.1755 13.5645 26.1943L13.6349 26.2478C15.0116 27.2637 13.3602 27.9528 12.8275 27.0002L12.7458 26.8537L12.5443 26.5014C11.8919 25.3756 10.7379 23.5269 10.0939 23.1239C9.34432 22.6561 8.81592 22.9154 8.99205 23.8862ZM29.9055 23.1239C29.1544 23.5959 27.7031 26.0463 27.1719 27.0002C27.0805 27.1684 26.9358 27.3014 26.7606 27.3785C26.5854 27.4555 26.3895 27.4721 26.2038 27.4258C26.1115 27.3997 26.0266 27.3525 25.9558 27.2877C25.9293 27.2626 25.9061 27.2342 25.8868 27.2031L25.8671 27.1637L25.8558 27.1355L25.8459 27.1087L25.8417 27.0904L25.8375 27.0665C25.8337 27.0441 25.8318 27.0215 25.8318 26.9988C25.8318 26.8297 25.9319 26.624 26.1841 26.3972C26.2207 26.3633 26.2602 26.3309 26.3025 26.2985L26.3687 26.2478C26.3997 26.2253 26.4293 26.2027 26.4575 26.1788C27.7017 25.1783 27.2649 23.6283 26.6421 23.4776L26.5984 23.4691L26.5195 23.4635C26.4902 23.4638 26.4609 23.4667 26.4321 23.4719L26.3927 23.479L26.3335 23.4987L26.2785 23.5227L26.2391 23.5438L26.1996 23.5706L26.1489 23.6086L26.1165 23.6368C25.8727 23.8594 25.7318 24.2399 25.6797 24.4005L25.6571 24.4766C25.6571 24.4766 24.9103 26.3211 23.6295 27.6245L23.5534 27.7006C23.0391 28.205 22.7136 28.6728 22.5642 29.135C22.3627 29.7507 22.4712 30.3581 22.8601 31.0415C22.9376 31.1781 23.025 31.3162 23.1236 31.4585C24.3664 33.2551 27.7482 32.6929 29.456 32.2899L29.859 32.1913L30.2112 32.087C30.6001 31.9686 31.2483 31.7587 31.9021 31.4952L32.167 31.3867L32.2586 31.3472L32.3488 31.3078L32.5235 31.2289L32.6376 31.1753C33.383 30.8202 33.996 30.4102 34.0383 30.01L34.0397 29.9593C34.0385 29.8907 34.0206 29.8235 33.9875 29.7634C33.8551 29.5154 33.6057 29.4647 33.2957 29.5267L33.2323 29.5408C33.1703 29.5549 33.1055 29.5746 33.0406 29.5972L32.904 29.6465L32.8279 29.6775C32.0402 30.0016 31.0834 30.6709 30.5635 30.7272H30.572C30.5486 30.7299 30.525 30.7314 30.5015 30.7315H30.4677L30.4339 30.7272L30.4015 30.7202C30.3056 30.6976 30.238 30.6356 30.2042 30.5201C30.191 30.4743 30.1886 30.4261 30.1971 30.3792C30.2845 29.8931 31.547 29.5408 32.6109 29.0969L32.7039 29.0575C33.4479 28.7419 34.0707 28.3769 34.0918 27.8851V27.8288C34.0892 27.7821 34.0816 27.7358 34.0693 27.6907C34.0016 27.4371 33.8227 27.337 33.562 27.337C32.4559 27.337 29.9689 29.2533 29.4475 29.2533C29.4123 29.2533 29.3799 29.2435 29.3658 29.2195C29.3408 29.1801 29.3191 29.1386 29.301 29.0955C29.1601 28.7602 29.3968 28.4445 30.7946 27.5935L31.0891 27.4159C31.8472 26.965 32.5122 26.5874 32.9786 26.245C33.3873 25.9463 33.648 25.6729 33.6874 25.3995L33.6916 25.3601C33.7029 25.2009 33.6381 25.0402 33.4845 24.8754C33.4561 24.8447 33.4228 24.819 33.3859 24.7993L33.338 24.7781L33.3196Line truncated
|
||||
static IFLOWCN: Icon = Icon { name: "iflowcn", view: 40.0, body: r##"<path d="M35.0356 18.815C34.5351 11.6351 29.0168 5.81669 21.8733 4.93723C14.7298 4.05778 7.96501 8.36391 5.73799 15.208C5.16042 16.988 6.47614 18.815 8.34735 18.815C9.52767 18.8156 10.5763 18.0618 10.9517 16.9428C11.9438 13.9776 14.796 8.53613 22.3627 8.53613C29.2955 8.53613 33.5198 11.9624 35.0356 18.815ZM13.4901 21.2625V17.2359C13.4901 17.1828 13.4953 17.1302 13.5057 17.0781C13.5161 17.0259 13.5314 16.9753 13.5518 16.9262C13.5721 16.8771 13.597 16.8305 13.6265 16.7863C13.6561 16.7421 13.6896 16.7012 13.7272 16.6636C13.7648 16.626 13.8057 16.5925 13.8499 16.563C13.894 16.5334 13.9407 16.5085 13.9898 16.4882C14.0389 16.4679 14.0895 16.4525 14.1416 16.4421C14.1937 16.4317 14.2464 16.4266 14.2995 16.4266H15.3127C15.3658 16.4266 15.4185 16.4317 15.4706 16.4421C15.5227 16.4525 15.5733 16.4679 15.6225 16.4882C15.6715 16.5085 15.7182 16.5334 15.7624 16.563C15.8066 16.5925 15.8475 16.626 15.885 16.6636C15.9226 16.7012 15.9561 16.7421 15.9857 16.7863C16.0152 16.8305 16.0401 16.8771 16.0605 16.9262C16.0808 16.9753 16.0961 17.0259 16.1065 17.0781C16.1169 17.1302 16.1221 17.1828 16.1221 17.2359V21.2625C16.1221 21.3156 16.1169 21.3682 16.1065 21.4203C16.0961 21.4725 16.0808 21.5231 16.0605 21.5722C16.0401 21.6213 16.0152 21.668 15.9857 21.7122C15.9561 21.7563 15.9226 21.7972 15.885 21.8348C15.8475 21.8724 15.8066 21.9059 15.7624 21.9354C15.7182 21.965 15.6715 21.9899 15.6225 22.0102C15.5733 22.0305 15.5227 22.0459 15.4706 22.0563C15.4185 22.0666 15.3658 22.0718 15.3127 22.0718H14.2995C14.2464 22.0718 14.1937 22.0666 14.1416 22.0563C14.0895 22.0459 14.0389 22.0305 13.9898 22.0102C13.9407 21.9899 13.894 21.965 13.8499 21.9354C13.8057 21.9059 13.7648 21.8724 13.7272 21.8348C13.6896 21.7972 13.6561 21.7563 13.6265 21.7122C13.597 21.668 13.5721 21.6213 13.5518 21.5722C13.5314 21.5231 13.5161 21.4725 13.5057 21.4203C13.4953 21.3682 13.4901 21.3156 13.4901 21.2625ZM21.2165 21.2607C21.2156 21.7084 21.5782 22.0718 22.0259 22.0718H23.2414C23.6877 22.0718 24.0498 21.7105 24.0508 21.2642L24.0552 19.251V19.2474L24.0508 17.2342C24.0498 16.7878 23.6877 16.4266 23.2414 16.4266H22.0259C21.5782 16.4266 21.2156 16.79 21.2165 17.2377L21.2209 19.2474V19.251L21.2165 21.2607ZM17.7081 31.4312C25.2748 31.4312 28.127 25.9897 29.1196 23.0251C29.4948 21.9059 30.5436 21.1521 31.7239 21.1528C33.5946 21.1528 34.9108 22.9794 34.3333 24.7593C33.8114 26.3725 33.0183 27.8849 31.9878 29.2314L33.418 33.4906L28.3318 32.6556C18.7242 39.0155 5.82732 32.6475 5.03564 21.1528C6.55142 28.0051 10.7756 31.4312 17.7081 31.4312Z" fill="currentColor" fill-rule="evenodd"/>"## };
|
||||
static INCEPTION: Icon = Icon { name: "inception", view: 24.0, body: r##"<path d="M14.3794 2.99999H8.71219L3.04492 8.66725V14.3345H8.71219V8.66725H14.3794V2.99999Z" fill="currentColor"/><path d="M15.2877 9.66548V15.3327H9.62048V21H15.2877L20.955 15.3327V9.66548H15.2877Z" fill="currentColor"/>"## };
|
||||
static INFERENCE: Icon = Icon { name: "inference", view: 40.0, body: r##"<path d="M34.625 33.7119H27.4734V6.28124H34.625V33.7119ZM23.703 33.7119H18.6296V6.28124H23.703V33.7119ZM15.2674 33.7119H11.3771V6.28124H15.2674V33.7119ZM8.15814 33.7119H5.375V6.28124H8.15814V33.7119Z" fill="currentColor"/>"## };
|
||||
static IO_NET: Icon = Icon { name: "io-net", view: 24.0, body: r##"<path d="M2.3999 9.60101L4.41977 10.9695H2.3999V16.0618H4.41977V10.9695V7.91422H2.3999V9.60101Z" fill="currentColor"/><path d="M16.0739 9.9477C16.3586 9.9477 16.58 10.1701 16.58 10.4561V11.6317L18.6044 12.9979V9.9477C18.6044 8.83564 17.6871 7.91422 16.58 7.91422H4.46533L7.50191 9.9477H16.1055H16.0739Z" fill="currentColor"/><path d="M9.99142 14.0283C9.70673 14.0283 9.48532 13.8059 9.48532 13.5199V12.3443L7.46094 10.9781V14.0283C7.46094 15.1403 8.37823 16.0618 9.48532 16.0618H21.6L18.5634 14.0283H9.95978H9.99142Z" fill="currentColor"/>"## };
|
||||
static JIEKOU: Icon = Icon { name: "jiekou", view: 24.0, body: r##"<path d="M16 4H4V20H16C18.2091 20 20 18.2091 20 16V8H24V16C24 20.4183 20.4183 24 16 24H4C1.79086 24 1.61064e-08 22.2091 0 20V0H16V4Z" fill="currentColor"/><path d="M20 4H24V0H20V4Z" fill="currentColor"/>"## };
|
||||
static KILO: Icon = Icon { name: "kilo", view: 24.0, body: r##"<path d="M5 3v18" fill="none" stroke="currentColor" stroke-width="2.4" stroke-linecap="round"/><path d="M17.5 4.5 9.5 12l8 7.5" fill="none" stroke="currentColor" stroke-width="2.4" stroke-linecap="round" stroke-linejoin="round"/>"## };
|
||||
static KIMI_FOR_CODING: Icon = Icon { name: "kimi-for-coding", view: 24.0, body: r##"<path d="M3.51531 15.81L10.908 17.7878C10.8981 18.3134 10.9136 18.8392 10.9545 19.3633L15.5704 20.5979C14.2013 21.163 12.7171 21.3928 11.2413 21.2683L11.1018 21.2559L11.0677 21.2528L11.0026 21.2458L10.9297 21.238C10.8891 21.2332 10.8486 21.228 10.808 21.2225L10.7251 21.2117L10.6399 21.1993C10.557 21.1872 10.4743 21.1741 10.3919 21.1598L10.3593 21.1536L10.3012 21.1435L10.2183 21.128L10.164 21.1164L10.0919 21.1016L10.0338 21.0892L9.96019 21.0737L9.88501 21.0559L9.81216 21.0389L9.75946 21.0257L9.69126 21.0086L9.62151 20.99L9.54789 20.9707L9.48434 20.9528L9.39986 20.9296L9.35181 20.9141L9.28671 20.8947L9.21464 20.873L9.13326 20.8467L9.08831 20.8319L9.02631 20.8118L8.95656 20.7878L8.90541 20.7692C8.89403 20.7653 8.88267 20.7615 8.87131 20.7575L8.81861 20.7382L8.74034 20.7095L8.69617 20.6924L8.63417 20.6692L8.56674 20.6421L8.49854 20.6149L8.43732 20.5901L8.36369 20.5591L8.31487 20.5374L8.26604 20.5165C8.25543 20.5119 8.24484 20.5073 8.23427 20.5026L8.18312 20.4793L8.10329 20.4429L8.06299 20.4243L7.98859 20.3886L7.94054 20.3654L7.87544 20.3344L7.80879 20.3003L7.73672 20.2639L7.69642 20.2429L7.61659 20.2003L7.57242 20.1771L7.52747 20.1523C7.51556 20.1456 7.50367 20.1389 7.49182 20.1321L7.41897 20.091L7.37247 20.0647L7.33294 20.0414L7.27714 20.0097L7.21359 19.9709L7.14152 19.9275L7.10122 19.9027L7.03612 19.8616L6.98885 19.8314L6.92762 19.7927L6.87337 19.7562L6.8323 19.7291C6.81831 19.7199 6.80436 19.7106 6.79045 19.7012L6.75635 19.678L6.72225 19.6547C6.71188 19.6475 6.70155 19.6403 6.69125 19.633L6.64707 19.602L6.58817 19.5602L6.5347 19.5214L6.47735 19.4796L6.43395 19.447L6.37505 19.4028L6.31615 19.3571L6.2495 19.3052L6.21462 19.2781L6.16502 19.2378L6.10767 19.1913L6.0387 19.1347L6.00305 19.1045L5.9674 19.0742C5.95625 19.0647 5.94515 19.0552 5.93407 19.0456L5.8992 19.0146L5.85192 18.9735L5.79767 18.9255L5.74497 18.8789L5.69692 18.834L5.645 18.786L5.60392 18.7472L5.53572 18.6821C5.51002 18.6572 5.48444 18.6321 5.459 18.6069L5.43653 18.5852L5.40475 18.5527L5.35128 18.4984L5.31253 18.4589L5.27378 18.4178C5.2295 18.3724 5.18609 18.3262 5.14358 18.2791L5.08158 18.2109L5.03353 18.1567L4.9785 18.0947L4.94595 18.0567L4.90488 18.0086L4.85993 17.9559L4.82428 17.9125C4.81728 17.904 4.8103 17.8955 4.80335 17.887L4.76848 17.8443L4.71733 17.7808L4.68555 17.7405L4.6468 17.6909L4.6313 17.6715C4.18786 17.0967 3.81331 16.4719 3.51531 15.81ZM2.72481 11.3196L11.5234 13.6733C11.3761 14.1864 11.2547 14.7065 11.1599 15.2318L19.543 17.4747C19.1266 18.0449 18.6469 18.5662 18.1132 19.0285L3.20918 15.0404L3.19678 15.0047L3.16966 14.9241C3.15647 14.8847 3.14356 14.8452 3.13091 14.8056L3.12548 14.7877C3.06583 14.5981 3.01233 14.4066 2.96506 14.2135L2.94181 14.1158L2.92786 14.0538L2.91158 13.9786L2.89763 13.9159L2.88368 13.8461L2.87051 13.781L2.85656 13.7082C2.83641 13.5989 2.81781 13.4888 2.80153 13.378L2.78836 13.2866L2.77983 13.2222L2.76976 13.1432C2.76457 13.1016 2.75966 13.06 2.75503 13.0184L2.75116 12.982C2.69326 12.4297 2.68444 11.8734 2.72481 11.3196ZM3.95938 7.32839L13.2191 9.80528C12.9339 10.2742 12.6727 10.7593 12.4363 11.2584L21.1899 13.6004C21.0799 14.2359 20.9047 14.8497 20.6722 15.4333L11.721 13.0386L2.79611 10.6516L2.80773 10.5741L2.81393 10.5361L2.82168 10.4842L2.83331 10.4168L2.84726 10.3408C2.86741 10.2261 2.89066 10.1122 2.91546 9.99825L2.93716 9.90215L2.95266 9.83628L2.97126 9.7611C2.98831 9.69135 3.00613 9.6216 3.02551 9.5534L3.04721 9.47435L3.06503 9.41003L3.08828 9.33253L3.10766 9.26898L3.13091 9.19458L3.15106 9.13103L3.17508 9.05741C3.37577 8.45541 3.63808 7.87573 3.95783 7.32761L3.95938 7.32839ZM7.40192 3.9184L16.1478 6.25734C15.6862 6.67623 15.2494 7.12157 14.8396 7.59111L20.9024 9.21318C21.1093 9.87348 21.2449 10.5648 21.3 11.2785L4.33215 6.74016L4.36703 6.68979L4.38795 6.65879L4.41895 6.61616L4.4546 6.56579L4.49723 6.50689L4.53908 6.45109L4.58868 6.38444L4.62743 6.33406L4.6716 6.27749L4.71423 6.22324L4.76073 6.16589L4.80335 6.11241L4.85373 6.05274L4.89558 6.00159L4.94673 5.94192L4.9878 5.89542L5.0436 5.83187L5.08468 5.78537L5.1366 5.72802L5.17845 5.68307L5.23503 5.62262L5.27998 5.57612L5.3288 5.52419L5.459 5.39244L5.5365 5.31649L5.58222 5.27309L5.64112 5.21807C6.17525 4.71752 6.76621 4.28132 7.40192 3.9184ZM12.0132 2.7001H12.0883L12.1519 2.70088L12.2054 2.70165L12.2472 2.7032L12.2999 2.70475L12.3356 2.70553L12.3945 2.70785L12.4309 2.7094L12.4774 2.71173L12.5192 2.71328L12.5867 2.71715L12.668 2.72258L12.7796 2.7311L12.8478 2.73653L12.8819 2.73963L12.9416 2.74583L13.0052 2.75203L13.0416 2.7559L13.1206 2.7652L13.1594 2.76985L13.2431 2.7807L13.3059 2.78845L13.3384 2.7931L13.3888 2.80085L13.5492 2.82565L13.6035 2.83495L13.6538 2.84348L13.7623 2.86363L13.8336 2.87758L13.9189 2.89462L13.9545 2.90237L14.0126 2.91477L14.0444 2.92252L14.0925 2.9326L14.125 2.94035L14.1754 2.95197L14.2134 2.96127L14.2684 2.97445L14.3428 2.99305L14.4296 3.0163L14.5172 3.03955L14.6047 3.06435L14.6435 3.07597L14.6977 3.09147L14.7582 3.11007L14.8148 3.1279L14.8535
Line truncated
|
||||
static KUAE_CLOUD_CODING_PLAN: Icon = Icon { name: "kuae-cloud-coding-plan", view: 40.0, body: r##"<path d="M20.1312 7.5L17.4088 11.1912H5.81625L8.5375 7.5H20.1325H20.1312ZM34.0675 28.81L31.3475 32.5H19.795L22.5125 28.81H34.0675ZM35 7.5L16.58 32.5H5L23.42 7.5H35Z" fill="currentColor"/>"## };
|
||||
static LLAMA: Icon = Icon { name: "llama", view: 40.0, body: r##"<path d="M27.1942 9.03509C24.4881 9.03509 22.3726 11.0731 20.4574 13.6623C17.8258 10.3114 15.6255 9.03509 12.9925 9.03509C7.62404 9.03509 3.51001 16.0234 3.51001 23.4181C3.51001 28.0453 5.74831 30.9649 9.49831 30.9649C12.1971 30.9649 14.1387 29.693 17.5904 23.6594C17.5904 23.6594 19.029 21.1199 20.0173 19.3699C20.3643 19.9293 20.7298 20.5327 21.1138 21.1798L22.7322 23.902C25.8843 29.1769 27.6416 30.9649 30.8229 30.9649C34.4778 30.9649 36.51 28.0058 36.51 23.2822C36.51 15.538 32.3039 9.03509 27.1942 9.03509ZM14.9574 22.0263C12.1606 26.4123 11.1928 27.3962 9.63574 27.3962C8.03194 27.3962 7.07872 25.9883 7.07872 23.4781C7.07872 18.1096 9.75562 12.6199 12.9471 12.6199C14.6752 12.6199 16.1197 13.617 18.3316 16.7836C16.2308 20.0058 14.9574 22.0263 14.9574 22.0263ZM25.5202 21.4751L23.5831 18.2456C23.0969 17.4514 22.5938 16.6676 22.0743 15.8947C23.8185 13.2032 25.2556 11.8611 26.9676 11.8611C30.5202 11.8611 33.3638 17.095 33.3638 23.5219C33.3638 25.9722 32.5612 27.3947 30.8989 27.3947C29.3053 27.3947 28.5451 26.3421 25.5188 21.4737" fill="currentColor"/>"## };
|
||||
static LMSTUDIO: Icon = Icon { name: "lmstudio", view: 24.0, body: r##"<path d="M9.8132 15.9038L9 18.75L8.1868 15.9038C7.75968 14.4089 6.59112 13.2403 5.09619 12.8132L2.25 12L5.09619 11.1868C6.59113 10.7597 7.75968 9.59112 8.1868 8.09619L9 5.25L9.8132 8.09619C10.2403 9.59113 11.4089 10.7597 12.9038 11.1868L15.75 12L12.9038 12.8132C11.4089 13.2403 10.2403 14.4089 9.8132 15.9038Z" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/><path d="M18.2589 8.71454L18 9.75L17.7411 8.71454C17.4388 7.50533 16.4947 6.56117 15.2855 6.25887L14.25 6L15.2855 5.74113C16.4947 5.43883 17.4388 4.49467 17.7411 3.28546L18 2.25L18.2589 3.28546C18.5612 4.49467 19.5053 5.43883 20.7145 5.74113L21.75 6L20.7145 6.25887C19.5053 6.56117 18.5612 7.50533 18.2589 8.71454Z" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/><path d="M16.8942 20.5673L16.5 21.75L16.1058 20.5673C15.8818 19.8954 15.3546 19.3682 14.6827 19.1442L13.5 18.75L14.6827 18.3558C15.3546 18.1318 15.8818 17.6046 16.1058 16.9327L16.5 15.75L16.8942 16.9327C17.1182 17.6046 17.6454 18.1318 18.3173 18.3558L19.5 18.75L18.3173 19.1442C17.6454 19.3682 17.1182 19.8954 16.8942 20.5673Z" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>"## };
|
||||
static LUCIDQUERY: Icon = Icon { name: "lucidquery", view: 24.0, body: r##"<path d="M9.60783 3.46101C9.64016 3.48017 9.67275 3.49889 9.70534 3.51763C9.71858 3.52526 9.73182 3.53289 9.74507 3.54052C9.75164 3.54431 9.75822 3.5481 9.76499 3.552C9.79789 3.57096 9.83078 3.58994 9.86367 3.60892C9.8768 3.61649 9.88993 3.62407 9.90307 3.63165C10.4152 3.9271 10.4152 3.9271 10.9273 4.22255C10.9338 4.2263 10.9403 4.23005 10.947 4.23392C10.9601 4.24149 10.9732 4.24906 10.9864 4.25663C11.0193 4.27565 11.0523 4.29467 11.0853 4.31367C11.1486 4.35017 11.2119 4.38677 11.275 4.42369C11.3276 4.45444 11.3804 4.48481 11.4334 4.51497C11.4923 4.54855 11.551 4.58245 11.6095 4.61669C11.6731 4.65387 11.7369 4.69064 11.8008 4.72741C11.8223 4.73983 11.8438 4.75228 11.8654 4.76473C11.8762 4.771 11.887 4.77726 11.8979 4.78352C11.9081 4.78946 11.9184 4.79541 11.9287 4.80136C11.9349 4.80495 11.9411 4.80855 11.9475 4.81225C11.953 4.81542 11.9585 4.81858 11.9641 4.82184C11.9689 4.82458 11.9738 4.82731 11.9788 4.83012C11.9828 4.83281 11.9868 4.8355 11.9909 4.83827C12.0035 4.84381 12.0035 4.84381 12.0178 4.83672C12.0232 4.83342 12.0287 4.83013 12.0343 4.82674C12.0406 4.82307 12.0468 4.81939 12.0532 4.81561C12.0599 4.81152 12.0666 4.80744 12.0735 4.80323C12.0806 4.79902 12.0876 4.79482 12.0947 4.79063C12.1094 4.78192 12.1241 4.77315 12.1388 4.76436C12.1721 4.74444 12.2058 4.7252 12.2394 4.70588C12.2525 4.69831 12.2657 4.69073 12.2788 4.68315C13.303 4.09225 13.303 4.09225 13.3227 4.08088C13.3359 4.07331 13.349 4.06574 13.3621 4.05817C13.3951 4.03915 13.4281 4.02013 13.461 4.00113C13.5244 3.96463 13.5877 3.92803 13.6508 3.89111C13.7069 3.85826 13.7634 3.82587 13.8199 3.79365C13.8752 3.76213 13.9303 3.73025 13.9853 3.69811C14.049 3.66081 14.1131 3.62393 14.1771 3.58705C14.2034 3.57187 14.2298 3.55667 14.2561 3.54147C14.2692 3.53393 14.2822 3.5264 14.2953 3.51888C14.329 3.49945 14.3627 3.47993 14.3963 3.46025C14.568 3.35985 14.7407 3.28118 14.9451 3.33127C14.9606 3.33546 14.9756 3.34022 14.9909 3.34528C14.9968 3.3472 15.0026 3.34911 15.0086 3.35108C15.1125 3.39027 15.2095 3.45509 15.3049 3.51115C15.3433 3.53371 15.3819 3.556 15.4205 3.57824C15.427 3.58201 15.4335 3.58578 15.4403 3.58967C15.4536 3.59732 15.4668 3.60496 15.4801 3.61261C15.513 3.63157 15.5459 3.65055 15.5788 3.66952C15.5919 3.6771 15.605 3.68468 15.6182 3.69225C15.697 3.73771 15.7758 3.78316 15.8545 3.82861C15.861 3.83236 15.8675 3.83612 15.8742 3.83998C15.8874 3.84755 15.9005 3.85512 15.9136 3.86269C15.9466 3.88172 15.9796 3.90073 16.0125 3.91974C16.0759 3.95623 16.1392 3.99284 16.2023 4.02975C16.2549 4.06051 16.3077 4.09087 16.3606 4.12104C16.4195 4.15461 16.4782 4.18851 16.5368 4.22275C16.6005 4.26005 16.6646 4.29694 16.7286 4.33382C16.7615 4.35277 16.7944 4.37175 16.8273 4.39073C16.8404 4.39831 16.8535 4.40588 16.8667 4.41346C17.103 4.54982 17.3394 4.68618 17.5757 4.82255C17.5855 4.82817 17.5855 4.82817 17.5954 4.83392C17.6085 4.84147 17.6216 4.84903 17.6347 4.85658C17.6681 4.87587 17.7016 4.89512 17.735 4.91431C17.768 4.93322 17.8009 4.95222 17.8337 4.97131C17.8451 4.9779 17.8564 4.98447 17.8678 4.99101C17.9298 5.02675 17.9832 5.06351 18.0333 5.11497C18.04 5.12167 18.04 5.12167 18.0468 5.12851C18.1733 5.26233 18.1988 5.43146 18.1986 5.60719C18.1987 5.61939 18.1987 5.63159 18.1987 5.64379C18.1988 5.6771 18.1989 5.71041 18.1989 5.74372C18.1989 5.77972 18.199 5.81572 18.1991 5.85173C18.1992 5.91808 18.1993 5.98443 18.1994 6.05079C18.1994 6.11204 18.1995 6.17329 18.1996 6.23455C18.1996 6.23861 18.1996 6.24268 18.1996 6.24688C18.1997 6.26754 18.1997 6.28821 18.1998 6.30887C18.2 6.45503 18.2003 6.60119 18.2004 6.74736C18.2006 6.8893 18.2008 7.03125 18.2011 7.17319C18.2011 7.17757 18.2011 7.18195 18.2011 7.18647C18.2012 7.23045 18.2013 7.27443 18.2013 7.31842C18.2015 7.40801 18.2016 7.4976 18.2018 7.58719C18.2018 7.59131 18.2018 7.59543 18.2018 7.59967C18.2023 7.87446 18.2026 8.14925 18.203 8.42404C18.2078 8.42675 18.2125 8.42946 18.2174 8.43226C18.2354 8.44254 18.2535 8.45283 18.2715 8.46311C18.2792 8.46753 18.2869 8.47194 18.2947 8.47635C18.3453 8.50525 18.3958 8.53436 18.4462 8.56381C18.4524 8.56744 18.4586 8.57107 18.465 8.57481C18.4706 8.57807 18.4761 8.58133 18.4819 8.58469C18.5397 8.61849 18.5978 8.65187 18.6558 8.6853C18.6887 8.70426 18.7216 8.72324 18.7545 8.74222C18.7676 8.74979 18.7808 8.75737 18.7939 8.76494C19.1878 8.99221 19.5818 9.21949 19.9757 9.44676C19.9822 9.45051 19.9887 9.45426 19.9954 9.45812C20.0085 9.46569 20.0217 9.47326 20.0348 9.48083C20.0678 9.49986 20.1007 9.51888 20.1337 9.53788C20.1971 9.57438 20.2603 9.61098 20.3234 9.64789C20.3725 9.67655 20.4216 9.7049 20.471 9.73301C20.5029 9.7512 20.5347 9.76943 20.5666 9.78766C20.5734 9.79151 20.5801 9.79536 20.587 9.79933C20.7794 9.90961 20.925 10.0179 20.9862 10.241C20.9954 10.2793 20.9978 10.315 20.9977 10.3541C20.9978 10.3599 20.9978 10.3657 20.9978 10.3716C20.9978 10.391 20.9978 10.4104 20.9978 10.4297C20.9978 10.4437 20.9979 10.4578 20.9979 10.4718C20.9979 10.5103 20.998 10.5489 20.998 10.5874C20.998 10.6247
Line truncated
|
||||
static MEGANOVA: Icon = Icon { name: "meganova", view: 1000.0, body: r##"<path d="M534 154C541.732 154 548 160.268 548 168C548 170.518 547.334 172.881 546.17 174.923L602.021 240.338C603.835 239.48 605.861 239 608 239C615.732 239 622 245.268 622 253C622 254.065 621.88 255.102 621.655 256.099L706.818 300.431C709.276 298.294 712.487 297 716 297C723.732 297 730 303.268 730 311C730 311.443 729.978 311.882 729.938 312.314L863.375 379.883C865.943 376.893 869.75 375 874 375C881.732 375 888 381.268 888 389C888 391.789 887.183 394.387 885.777 396.569L946.472 464.134C948.168 463.404 950.037 463 952 463C959.732 463 966 469.268 966 477C966 484.732 959.732 491 952 491C945.627 491 940.248 486.741 938.555 480.914L856.912 472.417C854.794 477.459 849.811 481 844 481C839.112 481 834.811 478.495 832.307 474.699L729.884 506.808C728.997 513.686 723.119 519 716 519C713.249 519 710.684 518.206 708.52 516.835L621.863 571.045C621.953 571.684 622 572.336 622 573C622 580.732 615.732 587 608 587C606.913 587 605.854 586.876 604.838 586.642L545.427 672.909C547.047 675.194 548 677.986 548 681C548 685.573 545.806 689.633 542.415 692.188L562.436 761.104C567.278 761.8 571 765.965 571 771C571 772.011 570.848 772.986 570.569 773.906L603.281 804.182C604.687 803.428 606.293 803 608 803C611.041 803 613.763 804.359 615.597 806.5L702.076 770.468C702.026 769.985 702 769.496 702 769C702 761.268 708.268 755 716 755C723.732 755 730 761.268 730 769C730 776.732 723.732 783 716 783C712.501 783 709.301 781.716 706.847 779.594L617.979 836.371C617.991 836.579 618 836.789 618 837C618 842.523 613.523 847 608 847C602.477 847 598 842.523 598 837C598 836.723 598.014 836.449 598.036 836.178L513.258 779.798C511.544 781.175 509.369 782 507 782C501.477 782 497 777.523 497 772C497 769.373 498.014 766.983 499.671 765.198L467.477 694.922C466.991 694.973 466.499 695 466 695C458.268 695 452 688.732 452 681C452 677.846 453.043 674.935 454.803 672.595L395.197 586.633C394.17 586.873 393.1 587 392 587C384.268 587 378 580.732 378 573C378 572.271 378.055 571.555 378.162 570.856L292.756 515.923C290.358 517.847 287.314 519 284 519C276.58 519 270.509 513.228 270.031 505.929L167.816 474.509C165.332 478.411 160.969 481 156 481C150.213 481 145.246 477.489 143.113 472.48L61.3994 481.062C59.6582 486.813 54.319 491 48 491C40.268 491 34 484.732 34 477C34 469.268 40.268 463 48 463C50.289 463 52.4497 463.549 54.3574 464.523L113.915 396.071C112.698 393.996 112 391.58 112 389C112 381.268 118.268 375 126 375C130.139 375 133.858 376.796 136.421 379.651L270.236 313.574C270.081 312.74 270 311.879 270 311C270 303.268 276.268 297 284 297C287.987 297 291.584 298.667 294.134 301.341L378.38 256.251C378.132 255.208 378 254.119 378 253C378 245.268 384.268 239 392 239C394.155 239 396.197 239.487 398.021 240.357L454.009 175.23C452.734 173.12 452 170.646 452 168C452 160.268 458.268 154 466 154C473.732 154 480 160.268 480 168C480 175.732 473.732 182 466 182C465.903 182 465.806 181.997 465.71 181.995L456.335 215.262C458.572 217.096 460 219.881 460 223C460 223.476 459.964 223.943 459.899 224.401L490.157 243.044C492.686 240.544 496.163 239 500 239C503.689 239 507.043 240.427 509.544 242.759L540.088 224.312C540.032 223.882 540 223.445 540 223C540 219.852 541.455 217.045 543.729 215.212L534.666 181.983C534.445 181.994 534.223 182 534 182C526.268 182 520 175.732 520 168C520 160.268 526.268 154 534 154ZM601.857 829.11C603.553 827.789 605.684 827 608 827C610.386 827 612.575 827.836 614.294 829.23L675.14 790.358L617.926 814.197C617.334 819.155 613.118 823 608 823C602.477 823 598 818.523 598 813C598 812.133 598.11 811.291 598.317 810.488L565.37 779.995C564.05 780.638 562.567 781 561 781C556.709 781 553.05 778.296 551.631 774.5H519.738L601.857 829.11ZM534.745 694.979L512.811 763.863C513.81 764.579 514.673 765.473 515.351 766.5H552.07C552.714 765.226 553.62 764.108 554.72 763.219L534.893 694.97C534.843 694.973 534.794 694.977 534.745 694.979ZM479.419 685C478.611 687.716 477.001 690.086 474.863 691.836L505.827 759.428L526.949 693.097C523.912 691.323 521.604 688.438 520.581 685H479.419ZM472.819 668.771C475.97 670.531 478.37 673.475 479.419 677H520.581C521.664 673.363 524.184 670.345 527.483 668.606L499.583 566.045L472.819 668.771ZM506.869 556.264C506.448 556.662 505.992 557.025 505.507 557.346L535.354 667.064C536.67 667.191 537.934 667.499 539.119 667.965L597.867 582.66C596.132 580.841 594.883 578.555 594.325 576.011L506.869 556.264ZM405.68 575.984C405.128 578.527 403.885 580.811 402.158 582.632L461.236 667.831C462.425 667.401 463.689 667.128 465.003 667.035L493.727 556.786C493.457 556.568 493.198 556.338 492.952 556.094L405.68 575.984ZM508.761 544.178C509.515 545.545 509.956 547.106 509.994 548.769L594.938 567.95C595.639 566.14 596.705 564.512 598.046 563.156L557.757 476.993C557.023 476.976 556.309 476.88 555.622 476.713L508.761 544.178ZM445.066 476.519C444.466 476.712 443.841 476.849 443.197 476.926L402.037 563.241C403.332 564.573 404.364 566.161 405.05 567.922L490.011 548.559C490.068 547.243 490.38 545.994 490.898 5Line truncated
|
||||
static MEITUAN: Icon = Icon { name: "meituan", view: 36.0, body: r##"<path d="M1.6654 29.9998C1.1899 29.9998 0.8449 29.5469 0.9713 29.0884L7.0438 7.0649C7.3033 6.1234 8.4049 5.7079 9.2216 6.2434L17.2117 11.4829C17.6905 11.7968 18.3098 11.7973 18.7891 11.4841L26.8132 6.2406C27.6306 5.7064 28.7313 6.1234 28.9896 7.0651L35.0303 29.0893C35.156 29.5476 34.8111 29.9998 34.3359 29.9998L26.6236 29.9998C28.0276 28.3742 28.8 26.2979 28.8 24.15L28.8 23.8993C28.8 21.7983 28.0358 19.7691 26.6498 18.19L25.66 13.2219C25.6019 12.93 25.3457 12.7198 25.0481 12.7198C24.913 12.7198 24.7816 12.7636 24.6736 12.8446L20.9419 15.6434C20.6761 15.8427 20.3324 15.9062 20.013 15.8149C18.6973 15.439 17.3027 15.439 15.9871 15.8149C15.6676 15.9062 15.3239 15.8427 15.0582 15.6434L11.3248 12.8434C11.2179 12.7631 11.0878 12.7198 10.9541 12.7198C10.6562 12.7198 10.4007 12.9323 10.3465 13.2252L9.3863 18.4166C7.9852 19.8413 7.2001 21.7596 7.2001 23.7578L7.2001 24.2327C7.2001 26.328 7.9496 28.3543 9.3132 29.9452L9.3601 29.9998L1.6654 29.9998Z" fill="currentColor" fill-rule="evenodd"/><path d="M14.04 25.68L16.2 25.68L16.2 20.64L14.3673 20.64L14.04 25.68ZM21.96 25.68L19.8 25.68L19.8 20.64L21.6327 20.64L21.96 25.68Z" fill="currentColor"/>"## };
|
||||
static META: Icon = Icon { name: "meta", view: 40.0, body: r##"<path d="M27.1942 9.03509C24.4881 9.03509 22.3726 11.0731 20.4574 13.6623C17.8258 10.3114 15.6255 9.03509 12.9925 9.03509C7.62404 9.03509 3.51001 16.0234 3.51001 23.4181C3.51001 28.0453 5.74831 30.9649 9.49831 30.9649C12.1971 30.9649 14.1387 29.693 17.5904 23.6594C17.5904 23.6594 19.029 21.1199 20.0173 19.3699C20.3643 19.9293 20.7298 20.5327 21.1138 21.1798L22.7322 23.902C25.8843 29.1769 27.6416 30.9649 30.8229 30.9649C34.4778 30.9649 36.51 28.0058 36.51 23.2822C36.51 15.538 32.3039 9.03509 27.1942 9.03509ZM14.9574 22.0263C12.1606 26.4123 11.1928 27.3962 9.63574 27.3962C8.03194 27.3962 7.07872 25.9883 7.07872 23.4781C7.07872 18.1096 9.75562 12.6199 12.9471 12.6199C14.6752 12.6199 16.1197 13.617 18.3316 16.7836C16.2308 20.0058 14.9574 22.0263 14.9574 22.0263ZM25.5202 21.4751L23.5831 18.2456C23.0969 17.4514 22.5938 16.6676 22.0743 15.8947C23.8185 13.2032 25.2556 11.8611 26.9676 11.8611C30.5202 11.8611 33.3638 17.095 33.3638 23.5219C33.3638 25.9722 32.5612 27.3947 30.8989 27.3947C29.3053 27.3947 28.5451 26.3421 25.5188 21.4737" fill="currentColor"/>"## };
|
||||
static MINIMAX: Icon = Icon { name: "minimax", view: 40.0, body: r##"<path d="M17.8758 9.20865C17.8758 8.59461 17.3777 8.09634 16.7663 8.09634C16.155 8.09634 15.6567 8.59575 15.6567 9.20865V27.6446C15.6567 29.0714 14.4985 30.2324 13.0755 30.2324C11.6523 30.2324 10.4941 29.0714 10.4941 27.6446V15.8167C10.4941 15.2027 9.99591 14.7044 9.38453 14.7044C8.77316 14.7044 8.275 15.2038 8.275 15.8167V20.8301C8.275 22.2567 7.11678 23.4179 5.69364 23.4179C4.2705 23.4179 3.1123 22.2567 3.1123 20.8301V19.0129C3.1123 18.6054 3.44177 18.2752 3.84822 18.2752C4.25467 18.2752 4.58413 18.6054 4.58413 19.0129V20.8301C4.58413 21.4441 5.08227 21.9424 5.69364 21.9424C6.30502 21.9424 6.80317 21.443 6.80317 20.8301V15.8167C6.80317 14.39 7.96139 13.2289 9.38453 13.2289C10.8077 13.2289 11.9659 14.39 11.9659 15.8167V27.6446C11.9659 28.2587 12.4641 28.7569 13.0755 28.7569C13.6868 28.7569 14.1849 28.2575 14.1849 27.6446V20.4123V9.20865C14.1849 7.78194 15.3431 6.62082 16.7663 6.62082C18.1894 6.62082 19.3476 7.78194 19.3476 9.20865V24.4746C19.3476 24.8821 19.0182 25.2123 18.6117 25.2123C18.2053 25.2123 17.8758 24.8821 17.8758 24.4746V9.20865ZM31.531 13.2289C30.1079 13.2289 28.9496 14.39 28.9496 15.8167V25.6969C28.9496 26.311 28.4515 26.8093 27.8401 26.8093C27.2287 26.8093 26.7306 26.3099 26.7306 25.6969V9.20865C26.7306 7.78194 25.5723 6.62082 24.1492 6.62082C22.7261 6.62082 21.5679 7.78194 21.5679 9.20865V30.1383C21.5679 30.7523 21.0697 31.2506 20.4583 31.2506C19.8469 31.2506 19.3488 30.7511 19.3488 30.1383V27.5471C19.3488 27.1396 19.0194 26.8093 18.6129 26.8093C18.2065 26.8093 17.877 27.1396 17.877 27.5471V30.1383C17.877 31.565 19.0352 32.7261 20.4583 32.7261C21.8815 32.7261 23.0397 31.565 23.0397 30.1383V9.20865C23.0397 8.59461 23.5378 8.09634 24.1492 8.09634C24.7605 8.09634 25.2587 8.59575 25.2587 9.20865V25.6969C25.2587 27.1237 26.417 28.2848 27.8401 28.2848C29.2632 28.2848 30.4215 27.1237 30.4215 25.6969V15.8167C30.4215 15.2027 30.9196 14.7044 31.531 14.7044C32.1424 14.7044 32.6405 15.2038 32.6405 15.8167V24.4746C32.6405 24.8821 32.97 25.2123 33.3764 25.2123C33.7829 25.2123 34.1123 24.8821 34.1123 24.4746V15.8167C34.1123 14.39 32.9541 13.2289 31.531 13.2289Z" fill="currentColor"/>"## };
|
||||
static MINIMAX_CN: Icon = Icon { name: "minimax-cn", view: 40.0, body: r##"<path d="M17.8758 9.20865C17.8758 8.59461 17.3777 8.09634 16.7663 8.09634C16.155 8.09634 15.6567 8.59575 15.6567 9.20865V27.6446C15.6567 29.0714 14.4985 30.2324 13.0755 30.2324C11.6523 30.2324 10.4941 29.0714 10.4941 27.6446V15.8167C10.4941 15.2027 9.99591 14.7044 9.38453 14.7044C8.77316 14.7044 8.275 15.2038 8.275 15.8167V20.8301C8.275 22.2567 7.11678 23.4179 5.69364 23.4179C4.2705 23.4179 3.1123 22.2567 3.1123 20.8301V19.0129C3.1123 18.6054 3.44177 18.2752 3.84822 18.2752C4.25467 18.2752 4.58413 18.6054 4.58413 19.0129V20.8301C4.58413 21.4441 5.08227 21.9424 5.69364 21.9424C6.30502 21.9424 6.80317 21.443 6.80317 20.8301V15.8167C6.80317 14.39 7.96139 13.2289 9.38453 13.2289C10.8077 13.2289 11.9659 14.39 11.9659 15.8167V27.6446C11.9659 28.2587 12.4641 28.7569 13.0755 28.7569C13.6868 28.7569 14.1849 28.2575 14.1849 27.6446V20.4123V9.20865C14.1849 7.78194 15.3431 6.62082 16.7663 6.62082C18.1894 6.62082 19.3476 7.78194 19.3476 9.20865V24.4746C19.3476 24.8821 19.0182 25.2123 18.6117 25.2123C18.2053 25.2123 17.8758 24.8821 17.8758 24.4746V9.20865ZM31.531 13.2289C30.1079 13.2289 28.9496 14.39 28.9496 15.8167V25.6969C28.9496 26.311 28.4515 26.8093 27.8401 26.8093C27.2287 26.8093 26.7306 26.3099 26.7306 25.6969V9.20865C26.7306 7.78194 25.5723 6.62082 24.1492 6.62082C22.7261 6.62082 21.5679 7.78194 21.5679 9.20865V30.1383C21.5679 30.7523 21.0697 31.2506 20.4583 31.2506C19.8469 31.2506 19.3488 30.7511 19.3488 30.1383V27.5471C19.3488 27.1396 19.0194 26.8093 18.6129 26.8093C18.2065 26.8093 17.877 27.1396 17.877 27.5471V30.1383C17.877 31.565 19.0352 32.7261 20.4583 32.7261C21.8815 32.7261 23.0397 31.565 23.0397 30.1383V9.20865C23.0397 8.59461 23.5378 8.09634 24.1492 8.09634C24.7605 8.09634 25.2587 8.59575 25.2587 9.20865V25.6969C25.2587 27.1237 26.417 28.2848 27.8401 28.2848C29.2632 28.2848 30.4215 27.1237 30.4215 25.6969V15.8167C30.4215 15.2027 30.9196 14.7044 31.531 14.7044C32.1424 14.7044 32.6405 15.2038 32.6405 15.8167V24.4746C32.6405 24.8821 32.97 25.2123 33.3764 25.2123C33.7829 25.2123 34.1123 24.8821 34.1123 24.4746V15.8167C34.1123 14.39 32.9541 13.2289 31.531 13.2289Z" fill="currentColor"/>"## };
|
||||
static MINIMAX_CN_CODING_PLAN: Icon = Icon { name: "minimax-cn-coding-plan", view: 24.0, body: r##"<path d="M9.8132 15.9038L9 18.75L8.1868 15.9038C7.75968 14.4089 6.59112 13.2403 5.09619 12.8132L2.25 12L5.09619 11.1868C6.59113 10.7597 7.75968 9.59112 8.1868 8.09619L9 5.25L9.8132 8.09619C10.2403 9.59113 11.4089 10.7597 12.9038 11.1868L15.75 12L12.9038 12.8132C11.4089 13.2403 10.2403 14.4089 9.8132 15.9038Z" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/><path d="M18.2589 8.71454L18 9.75L17.7411 8.71454C17.4388 7.50533 16.4947 6.56117 15.2855 6.25887L14.25 6L15.2855 5.74113C16.4947 5.43883 17.4388 4.49467 17.7411 3.28546L18 2.25L18.2589 3.28546C18.5612 4.49467 19.5053 5.43883 20.7145 5.74113L21.75 6L20.7145 6.25887C19.5053 6.56117 18.5612 7.50533 18.2589 8.71454Z" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/><path d="M16.8942 20.5673L16.5 21.75L16.1058 20.5673C15.8818 19.8954 15.3546 19.3682 14.6827 19.1442L13.5 18.75L14.6827 18.3558C15.3546 18.1318 15.8818 17.6046 16.1058 16.9327L16.5 15.75L16.8942 16.9327C17.1182 17.6046 17.6454 18.1318 18.3173 18.3558L19.5 18.75L18.3173 19.1442C17.6454 19.3682 17.1182 19.8954 16.8942 20.5673Z" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>"## };
|
||||
static MINIMAX_CODING_PLAN: Icon = Icon { name: "minimax-coding-plan", view: 24.0, body: r##"<path d="M9.8132 15.9038L9 18.75L8.1868 15.9038C7.75968 14.4089 6.59112 13.2403 5.09619 12.8132L2.25 12L5.09619 11.1868C6.59113 10.7597 7.75968 9.59112 8.1868 8.09619L9 5.25L9.8132 8.09619C10.2403 9.59113 11.4089 10.7597 12.9038 11.1868L15.75 12L12.9038 12.8132C11.4089 13.2403 10.2403 14.4089 9.8132 15.9038Z" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/><path d="M18.2589 8.71454L18 9.75L17.7411 8.71454C17.4388 7.50533 16.4947 6.56117 15.2855 6.25887L14.25 6L15.2855 5.74113C16.4947 5.43883 17.4388 4.49467 17.7411 3.28546L18 2.25L18.2589 3.28546C18.5612 4.49467 19.5053 5.43883 20.7145 5.74113L21.75 6L20.7145 6.25887C19.5053 6.56117 18.5612 7.50533 18.2589 8.71454Z" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/><path d="M16.8942 20.5673L16.5 21.75L16.1058 20.5673C15.8818 19.8954 15.3546 19.3682 14.6827 19.1442L13.5 18.75L14.6827 18.3558C15.3546 18.1318 15.8818 17.6046 16.1058 16.9327L16.5 15.75L16.8942 16.9327C17.1182 17.6046 17.6454 18.1318 18.3173 18.3558L19.5 18.75L18.3173 19.1442C17.6454 19.3682 17.1182 19.8954 16.8942 20.5673Z" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>"## };
|
||||
static MISTRAL: Icon = Icon { name: "mistral", view: 40.0, body: r##"<path d="M8.92783 8.88101H13.357V13.3088H17.7861V17.738H17.7835H22.2152V13.3088H26.6418V8.88101H31.0722V26.5949H35.5V31.0241H22.2139V26.5962H17.7861V22.1671H13.3557V26.5949L17.7861 26.5962V31.0241H4.5V26.5949H8.92783V8.88101ZM22.2139 26.5962H26.6418V22.1671H22.2152V26.5962H22.2139Z" fill="currentColor"/>"## };
|
||||
static MOARK: Icon = Icon { name: "moark", view: 40.0, body: r##"<path d="M25.132 24.3947C25.497 25.7527 25.8984 27.1413 26.3334 28.5834C26.7302 29.8992 25.5459 30.4167 25.0752 29.1758C24.571 27.8466 24.0885 26.523 23.6347 25.1729C21.065 26.4654 18.5025 27.5424 15.5961 28.7541C16.7581 33.0256 17.8309 36.5984 19.4952 39.9935C19.4953 39.9936 19.4953 39.9937 19.4954 39.9938C19.6631 39.9979 19.8313 40 20 40C31.0457 40 40 31.0457 40 20C40 16.0335 38.8453 12.3366 36.8537 9.22729C31.6585 9.69534 27.0513 10.4562 22.8185 11.406C22.8882 12.252 22.9677 13.0739 23.0555 13.855C23.3824 16.7604 23.9112 19.5281 24.6137 22.3836C27.0581 21.2848 29.084 20.3225 30.6816 19.522C32.2154 18.7535 33.6943 18.7062 31.2018 20.6594C29.0388 22.1602 27.0644 23.3566 25.132 24.3947ZM36.1559 8.20846C33.0001 3.89184 28.1561 0.887462 22.5955 0.166882C22.4257 2.86234 22.4785 6.26344 22.681 9.50447C26.7473 8.88859 31.1721 8.46032 36.1559 8.20846ZM19.9369 9.73661e-05C19.7594 2.92694 19.8384 6.65663 20.19 9.91293C17.3748 10.4109 14.7225 11.0064 12.1592 11.7038C12.0486 10.4257 11.9927 9.25764 11.9927 8.24178C11.9927 7.5054 11.3957 6.90844 10.6593 6.90844C9.92296 6.90844 9.32601 7.5054 9.32601 8.24178C9.32601 9.47868 9.42873 10.898 9.61402 12.438C8.33567 12.8278 7.07397 13.2443 5.81918 13.688C5.12493 13.9336 4.76118 14.6954 5.0067 15.3896C5.25223 16.0839 6.01406 16.4476 6.7083 16.2021C7.7931 15.8185 8.88482 15.4388 9.98927 15.0659C10.5222 18.3344 11.3344 21.9428 12.2703 25.4156C12.4336 26.0218 12.6062 26.6262 12.7863 27.2263C9.34168 28.4135 5.82612 29.3782 2.61128 29.8879C0.949407 26.9716 0 23.5967 0 20C0 8.97534 8.92023 0.0341108 19.9369 9.73661e-05ZM4.19152 32.2527C7.45069 36.4516 12.3458 39.3173 17.9204 39.8932C16.5916 37.455 14.9338 33.717 13.5405 29.5901C10.4404 30.7762 7.25883 31.6027 4.19152 32.2527ZM22.9735 23.1135C22.1479 20.41 21.4462 17.5441 20.9225 14.277C20.746 13.5841 20.5918 12.8035 20.4593 11.9636C17.6508 12.6606 14.9992 13.4372 12.4356 14.2598C12.8479 17.4766 13.5448 21.1334 14.5118 24.7218C14.662 25.2792 14.8081 25.8248 14.9514 26.3594L14.9516 26.3603L14.9524 26.3634L14.9526 26.3639L14.973 26.4401C16.1833 25.9872 17.3746 25.5123 18.53 25.0259C20.1235 24.3552 21.6051 23.7165 22.9735 23.1135Z" fill="currentColor" fill-rule="evenodd"/>"## };
|
||||
static MODELSCOPE: Icon = Icon { name: "modelscope", view: 40.0, body: r##"<path d="M6.77825 10.4999H14.3333V14.2782H10.5551V18.055H6.77825V14.9865H3.70833V18.055H6.77825V21.8333H3V14.2782H6.77825V10.4999ZM6.77825 21.8333H10.5551V25.6115H14.3333V29.3884H6.77825V21.8333ZM14.3333 18.055H18.1116V21.8333H14.3333V18.055ZM21.8884 21.8333V25.6115H18.1116V21.8333H21.8884ZM21.8884 21.8333V18.055H25.6667V21.8333H21.8884Z" fill="currentColor"/><path d="M33.2218 21.8333V18.055H29.445V14.2782H25.6667V10.4999H33.2218V14.2782H37.0001V21.8333H33.2218ZM33.2218 18.055H36.2918V14.9865H33.2218V18.055Z" fill="currentColor"/><path d="M33.2218 21.8333V29.3884H25.6667V25.6116H29.445V21.8333H33.2218Z" fill="currentColor"/>"## };
|
||||
static MOONSHOTAI: Icon = Icon { name: "moonshotai", view: 40.0, body: r##"<path d="M5.85893 26.3499L18.1801 29.6463C18.1635 30.5223 18.1894 31.3987 18.2576 32.2722L25.9507 34.3298C23.669 35.2716 21.1952 35.6547 18.7355 35.4471L18.503 35.4265L18.4462 35.4213L18.3377 35.4097L18.2163 35.3968C18.1486 35.3886 18.081 35.38 18.0135 35.3709L17.8753 35.3528L17.7332 35.3322C17.5951 35.3121 17.4573 35.2901 17.3198 35.2663L17.2656 35.256L17.1687 35.2392L17.0305 35.2133L16.9401 35.194L16.82 35.1694L16.7231 35.1488L16.6004 35.1229L16.4751 35.0932L16.3537 35.0648L16.2659 35.0428L16.1522 35.0144L16.0359 34.9834L15.9132 34.9511L15.8073 34.9214L15.6665 34.8827L15.5864 34.8568L15.4779 34.8245L15.3578 34.7884L15.2222 34.7445L15.1473 34.7199L15.0439 34.6863L14.9277 34.6463L14.8424 34.6153C14.8235 34.6089 14.8045 34.6025 14.7856 34.5959L14.6978 34.5636L14.5673 34.5158L14.4937 34.4874L14.3904 34.4487L14.278 34.4035L14.1643 34.3583L14.0623 34.3169L13.9396 34.2653L13.8582 34.2291L13.7768 34.1942C13.7591 34.1865 13.7415 34.1788 13.7239 34.171L13.6386 34.1322L13.5056 34.0715L13.4384 34.0405L13.3144 33.9811L13.2343 33.9423L13.1258 33.8907L13.0147 33.8338L12.8946 33.7731L12.8274 33.7383L12.6944 33.6672L12.6208 33.6285L12.5459 33.5871C12.526 33.576 12.5062 33.5648 12.4864 33.5536L12.365 33.4851L12.2875 33.4412L12.2217 33.4024L12.1287 33.3495L12.0227 33.2849L11.9026 33.2126L11.8354 33.1712L11.7269 33.1028L11.6482 33.0524L11.5461 32.9878L11.4557 32.9271L11.3872 32.8819C11.3639 32.8665 11.3407 32.851 11.3175 32.8354L11.2607 32.7966L11.2038 32.7579C11.1866 32.7459 11.1693 32.7338 11.1522 32.7217L11.0785 32.6701L10.9804 32.6003L10.8912 32.5357L10.7957 32.466L10.7233 32.4117L10.6252 32.3381L10.527 32.2619L10.4159 32.1753L10.3578 32.1301L10.2751 32.063L10.1795 31.9855L10.0646 31.8912L10.0052 31.8408L9.94575 31.7904C9.92717 31.7746 9.90866 31.7586 9.8902 31.7426L9.83208 31.691L9.75329 31.6225L9.66287 31.5424L9.57504 31.4649L9.49496 31.39L9.40841 31.3099L9.33996 31.2453L9.22629 31.1368C9.18345 31.0953 9.14082 31.0535 9.09842 31.0116L9.06096 30.9754L9.008 30.9211L8.91887 30.8307L8.85429 30.7648L8.78971 30.6964C8.71592 30.6207 8.64357 30.5436 8.57271 30.4652L8.46938 30.3515L8.38929 30.2611L8.29758 30.1578L8.24333 30.0945L8.17488 30.0144L8.09996 29.9266L8.04054 29.8542C8.02888 29.8401 8.01725 29.8258 8.00567 29.8116L7.94754 29.7406L7.86229 29.6346L7.80934 29.5675L7.74475 29.4848L7.71892 29.4525C6.97985 28.4945 6.3556 27.4532 5.85893 26.3499ZM4.54143 18.8661L19.2057 22.7888C18.9602 23.6439 18.758 24.5109 18.5999 25.3864L32.5718 29.1244C31.8777 30.0748 31.0782 30.9436 30.1887 31.7142L5.34872 25.0673L5.32805 25.0079L5.28284 24.8736C5.26087 24.8078 5.23934 24.742 5.21826 24.676L5.20922 24.6462C5.1098 24.3302 5.02063 24.011 4.94184 23.6891L4.90309 23.5264L4.87984 23.423L4.85272 23.2978L4.82947 23.1931L4.80622 23.0769L4.78426 22.9684L4.76101 22.847C4.72743 22.6648 4.69643 22.4814 4.6693 22.2967L4.64735 22.1443L4.63314 22.0371L4.61635 21.9053C4.6077 21.8361 4.59952 21.7668 4.5918 21.6974L4.58535 21.6367C4.48884 20.7162 4.47414 19.7891 4.54143 18.8661ZM6.59905 12.214L22.0318 16.3421C21.5565 17.1236 21.1212 17.9322 20.7273 18.764L35.3166 22.6674C35.1332 23.7266 34.8413 24.7496 34.4538 25.7222L19.5351 21.731L4.66026 17.7526L4.67964 17.6235L4.68997 17.5602L4.70289 17.4736L4.72226 17.3613L4.74551 17.2347C4.7791 17.0435 4.81785 16.8536 4.85918 16.6638L4.89534 16.5036L4.92118 16.3938L4.95218 16.2685C4.98059 16.1523 5.0103 16.036 5.04259 15.9224L5.07876 15.7906L5.10847 15.6834L5.14722 15.5542L5.17951 15.4483L5.21826 15.3243L5.25184 15.2184L5.29189 15.0957C5.62637 14.0924 6.06355 13.1262 6.59646 12.2127L6.59905 12.214ZM12.3366 6.53068L26.913 10.4289C26.1438 11.1271 25.4158 11.8693 24.7327 12.6519L34.8374 15.3553C35.1823 16.4558 35.4083 17.608 35.5 18.7976L7.22034 11.2336L7.27846 11.1497L7.31334 11.098L7.365 11.027L7.42442 10.943L7.49546 10.8448L7.56521 10.7518L7.64788 10.6407L7.71246 10.5568L7.78609 10.4625L7.85713 10.3721L7.93463 10.2765L8.00567 10.1874L8.08963 10.0879L8.15938 10.0027L8.24463 9.90321L8.31308 9.82571L8.40608 9.71979L8.47454 9.64229L8.56108 9.54671L8.63083 9.47179L8.72512 9.37104L8.80004 9.29354L8.88142 9.207L9.09842 8.98742L9.22758 8.86084L9.30379 8.7885L9.40196 8.69679C10.2922 7.86254 11.2771 7.13554 12.3366 6.53068ZM20.022 4.50018H20.1473L20.2532 4.50147L20.3423 4.50277L20.4121 4.50535L20.4999 4.50793L20.5593 4.50922L20.6575 4.5131L20.7182 4.51568L20.7957 4.51956L20.8655 4.52214L20.9778 4.5286L21.1135 4.53764L21.2995 4.55185L21.4131 4.56089L21.47 4.56606L21.5694 4.57639L21.6753 4.58672L21.736 4.59318L21.8678 4.60868L21.9324 4.61643L22.0719 4.63452L22.1765 4.64743L22.2308 4.65518L22.3147 4.6681L22.5821 4.70943L22.6725 4.72493L22.7565 4.73914L22.9373 4.77272L23.0561 4.79597L23.1982 4.82439L23.2576 4.83731L23.3545 4.85797L23.4075 4.87089L23.4875 4.88768L23.5418 4.9006L23.6257 4.91997L23.689 4.93547L23.7807 4.95743L23.9047 4.98843L24.0494 5.02718L24.1954 5.06593L24.3413 5.10726L24.4059 5.12664L24.4963 5.15247L24.5971 5.18347L24.6914 5.21318L24.756Line truncated
|
||||
static MOONSHOTAI_CN: Icon = Icon { name: "moonshotai-cn", view: 40.0, body: r##"<path d="M5.85893 26.3499L18.1801 29.6463C18.1635 30.5223 18.1894 31.3987 18.2576 32.2722L25.9507 34.3298C23.669 35.2716 21.1952 35.6547 18.7355 35.4471L18.503 35.4265L18.4462 35.4213L18.3377 35.4097L18.2163 35.3968C18.1486 35.3886 18.081 35.38 18.0135 35.3709L17.8753 35.3528L17.7332 35.3322C17.5951 35.3121 17.4573 35.2901 17.3198 35.2663L17.2656 35.256L17.1687 35.2392L17.0305 35.2133L16.9401 35.194L16.82 35.1694L16.7231 35.1488L16.6004 35.1229L16.4751 35.0932L16.3537 35.0648L16.2659 35.0428L16.1522 35.0144L16.0359 34.9834L15.9132 34.9511L15.8073 34.9214L15.6665 34.8827L15.5864 34.8568L15.4779 34.8245L15.3578 34.7884L15.2222 34.7445L15.1473 34.7199L15.0439 34.6863L14.9277 34.6463L14.8424 34.6153C14.8235 34.6089 14.8045 34.6025 14.7856 34.5959L14.6978 34.5636L14.5673 34.5158L14.4937 34.4874L14.3904 34.4487L14.278 34.4035L14.1643 34.3583L14.0623 34.3169L13.9396 34.2653L13.8582 34.2291L13.7768 34.1942C13.7591 34.1865 13.7415 34.1788 13.7239 34.171L13.6386 34.1322L13.5056 34.0715L13.4384 34.0405L13.3144 33.9811L13.2343 33.9423L13.1258 33.8907L13.0147 33.8338L12.8946 33.7731L12.8274 33.7383L12.6944 33.6672L12.6208 33.6285L12.5459 33.5871C12.526 33.576 12.5062 33.5648 12.4864 33.5536L12.365 33.4851L12.2875 33.4412L12.2217 33.4024L12.1287 33.3495L12.0227 33.2849L11.9026 33.2126L11.8354 33.1712L11.7269 33.1028L11.6482 33.0524L11.5461 32.9878L11.4557 32.9271L11.3872 32.8819C11.3639 32.8665 11.3407 32.851 11.3175 32.8354L11.2607 32.7966L11.2038 32.7579C11.1866 32.7459 11.1693 32.7338 11.1522 32.7217L11.0785 32.6701L10.9804 32.6003L10.8912 32.5357L10.7957 32.466L10.7233 32.4117L10.6252 32.3381L10.527 32.2619L10.4159 32.1753L10.3578 32.1301L10.2751 32.063L10.1795 31.9855L10.0646 31.8912L10.0052 31.8408L9.94575 31.7904C9.92717 31.7746 9.90866 31.7586 9.8902 31.7426L9.83208 31.691L9.75329 31.6225L9.66287 31.5424L9.57504 31.4649L9.49496 31.39L9.40841 31.3099L9.33996 31.2453L9.22629 31.1368C9.18345 31.0953 9.14082 31.0535 9.09842 31.0116L9.06096 30.9754L9.008 30.9211L8.91887 30.8307L8.85429 30.7648L8.78971 30.6964C8.71592 30.6207 8.64357 30.5436 8.57271 30.4652L8.46938 30.3515L8.38929 30.2611L8.29758 30.1578L8.24333 30.0945L8.17488 30.0144L8.09996 29.9266L8.04054 29.8542C8.02888 29.8401 8.01725 29.8258 8.00567 29.8116L7.94754 29.7406L7.86229 29.6346L7.80934 29.5675L7.74475 29.4848L7.71892 29.4525C6.97985 28.4945 6.3556 27.4532 5.85893 26.3499ZM4.54143 18.8661L19.2057 22.7888C18.9602 23.6439 18.758 24.5109 18.5999 25.3864L32.5718 29.1244C31.8777 30.0748 31.0782 30.9436 30.1887 31.7142L5.34872 25.0673L5.32805 25.0079L5.28284 24.8736C5.26087 24.8078 5.23934 24.742 5.21826 24.676L5.20922 24.6462C5.1098 24.3302 5.02063 24.011 4.94184 23.6891L4.90309 23.5264L4.87984 23.423L4.85272 23.2978L4.82947 23.1931L4.80622 23.0769L4.78426 22.9684L4.76101 22.847C4.72743 22.6648 4.69643 22.4814 4.6693 22.2967L4.64735 22.1443L4.63314 22.0371L4.61635 21.9053C4.6077 21.8361 4.59952 21.7668 4.5918 21.6974L4.58535 21.6367C4.48884 20.7162 4.47414 19.7891 4.54143 18.8661ZM6.59905 12.214L22.0318 16.3421C21.5565 17.1236 21.1212 17.9322 20.7273 18.764L35.3166 22.6674C35.1332 23.7266 34.8413 24.7496 34.4538 25.7222L19.5351 21.731L4.66026 17.7526L4.67964 17.6235L4.68997 17.5602L4.70289 17.4736L4.72226 17.3613L4.74551 17.2347C4.7791 17.0435 4.81785 16.8536 4.85918 16.6638L4.89534 16.5036L4.92118 16.3938L4.95218 16.2685C4.98059 16.1523 5.0103 16.036 5.04259 15.9224L5.07876 15.7906L5.10847 15.6834L5.14722 15.5542L5.17951 15.4483L5.21826 15.3243L5.25184 15.2184L5.29189 15.0957C5.62637 14.0924 6.06355 13.1262 6.59646 12.2127L6.59905 12.214ZM12.3366 6.53068L26.913 10.4289C26.1438 11.1271 25.4158 11.8693 24.7327 12.6519L34.8374 15.3553C35.1823 16.4558 35.4083 17.608 35.5 18.7976L7.22034 11.2336L7.27846 11.1497L7.31334 11.098L7.365 11.027L7.42442 10.943L7.49546 10.8448L7.56521 10.7518L7.64788 10.6407L7.71246 10.5568L7.78609 10.4625L7.85713 10.3721L7.93463 10.2765L8.00567 10.1874L8.08963 10.0879L8.15938 10.0027L8.24463 9.90321L8.31308 9.82571L8.40608 9.71979L8.47454 9.64229L8.56108 9.54671L8.63083 9.47179L8.72512 9.37104L8.80004 9.29354L8.88142 9.207L9.09842 8.98742L9.22758 8.86084L9.30379 8.7885L9.40196 8.69679C10.2922 7.86254 11.2771 7.13554 12.3366 6.53068ZM20.022 4.50018H20.1473L20.2532 4.50147L20.3423 4.50277L20.4121 4.50535L20.4999 4.50793L20.5593 4.50922L20.6575 4.5131L20.7182 4.51568L20.7957 4.51956L20.8655 4.52214L20.9778 4.5286L21.1135 4.53764L21.2995 4.55185L21.4131 4.56089L21.47 4.56606L21.5694 4.57639L21.6753 4.58672L21.736 4.59318L21.8678 4.60868L21.9324 4.61643L22.0719 4.63452L22.1765 4.64743L22.2308 4.65518L22.3147 4.6681L22.5821 4.70943L22.6725 4.72493L22.7565 4.73914L22.9373 4.77272L23.0561 4.79597L23.1982 4.82439L23.2576 4.83731L23.3545 4.85797L23.4075 4.87089L23.4875 4.88768L23.5418 4.9006L23.6257 4.91997L23.689 4.93547L23.7807 4.95743L23.9047 4.98843L24.0494 5.02718L24.1954 5.06593L24.3413 5.10726L24.4059 5.12664L24.4963 5.15247L24.5971 5.18347L24.6914 5.21318LLine truncated
|
||||
static MORPH: Icon = Icon { name: "morph", view: 24.0, body: r##"<path d="M9.8132 15.9038L9 18.75L8.1868 15.9038C7.75968 14.4089 6.59112 13.2403 5.09619 12.8132L2.25 12L5.09619 11.1868C6.59113 10.7597 7.75968 9.59112 8.1868 8.09619L9 5.25L9.8132 8.09619C10.2403 9.59113 11.4089 10.7597 12.9038 11.1868L15.75 12L12.9038 12.8132C11.4089 13.2403 10.2403 14.4089 9.8132 15.9038Z" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/><path d="M18.2589 8.71454L18 9.75L17.7411 8.71454C17.4388 7.50533 16.4947 6.56117 15.2855 6.25887L14.25 6L15.2855 5.74113C16.4947 5.43883 17.4388 4.49467 17.7411 3.28546L18 2.25L18.2589 3.28546C18.5612 4.49467 19.5053 5.43883 20.7145 5.74113L21.75 6L20.7145 6.25887C19.5053 6.56117 18.5612 7.50533 18.2589 8.71454Z" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/><path d="M16.8942 20.5673L16.5 21.75L16.1058 20.5673C15.8818 19.8954 15.3546 19.3682 14.6827 19.1442L13.5 18.75L14.6827 18.3558C15.3546 18.1318 15.8818 17.6046 16.1058 16.9327L16.5 15.75L16.8942 16.9327C17.1182 17.6046 17.6454 18.1318 18.3173 18.3558L19.5 18.75L18.3173 19.1442C17.6454 19.3682 17.1182 19.8954 16.8942 20.5673Z" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>"## };
|
||||
static NANO_GPT: Icon = Icon { name: "nano-gpt", view: 40.0, body: r##"<path d="M26.7,5.25l2.14-1.53,10.49,13.29-16.23,19.43-2.65,3L0.42,16.83l6.87-8.64,5.78,2.21,1.79-4.46L23.3,0.1l3.42,5.15ZM31.13,13.98L22.91,1.78l-7.1,4.95-5.45,13.53,20.77-6.28ZM36.74,15.57l-8.03-10.1-0.14-0.1-1.14,0.89,5.03,7.58,4.28,1.73ZM9.06,20.35l3.53-8.84-4.89-1.92-5.62,7.1,6.98,3.66ZM37.62,17.19l-5.3-2.14-9.22,19.52,14.52-17.38ZM30.95,15.24l-20.63,6.22,10.1,15.93,10.53-22.15ZM15.79,32.41l-6.86-10.82c-1.61-0.84-3.2-1.73-4.81-2.57-0.1-0.05-0.21-0.12-0.32-0.13l11.99,13.52Z" fill="currentColor"/>"## };
|
||||
static NEBIUS: Icon = Icon { name: "nebius", view: 40.0, body: r##"<path d="M30.3333 7.53622V29.2323C30.3333 29.2323 35.5 28.9198 35.5 23.013V7.53622H30.3333ZM9.66667 32.9756V11.2795C9.66667 11.2795 4.5 11.5921 4.5 17.5001V32.9743L9.66667 32.9756Z" fill="currentColor"/><path d="M25.5776 25.883L19.078 10.9384C18.0136 8.5204 16.2776 7.15898 13.8118 7.15898C11.3473 7.15898 9.66431 9.14815 9.66431 11.2794C9.66431 11.2794 12.7708 10.8493 14.4176 14.6287L20.9225 29.5733C21.9829 31.9887 23.7228 33.3527 26.186 33.3527C28.6466 33.3527 30.3336 31.3622 30.3336 29.2323C30.3336 29.2323 27.2258 29.6637 25.5776 25.883Z" fill="currentColor"/>"## };
|
||||
static NOVA: Icon = Icon { name: "nova", view: 24.0, body: r##"<path d="M13.48 17.46L14.64 18.62C14.69 18.67 14.71 18.75 14.68 18.82L12.87 23.41C12.73 23.76 12.38 24 12 24C11.62 24 11.27 23.76 11.13 23.41L8.52 16.80L4.31 21.02C4.24 21.09 4.12 21.09 4.05 21.02L2.98 19.95C2.91 19.88 2.91 19.76 2.98 19.69L8.18 14.49C8.35 14.32 8.58 14.21 8.81 14.19C9.23 14.17 9.60 14.42 9.74 14.78L12.00 20.51L13.18 17.52C13.23 17.40 13.39 17.37 13.49 17.46H13.48ZM19.69 2.98L15.48 7.20L12.87 0.59C12.71 0.17 12.26 -0.08 11.79 0.02C11.48 0.09 11.23 0.33 11.12 0.63L9.32 5.18C9.29 5.25 9.31 5.33 9.36 5.38L10.52 6.54C10.61 6.63 10.77 6.60 10.82 6.47L12 3.49L14.26 9.21C14.37 9.51 14.63 9.72 14.94 9.79C15.00 9.80 15.07 9.81 15.13 9.81C15.38 9.81 15.62 9.71 15.79 9.53L21.02 4.31C21.09 4.24 21.09 4.12 21.02 4.04L19.96 2.98C19.88 2.91 19.76 2.91 19.69 2.98L19.69 2.98ZM6.47 13.17L3.49 12.00L9.21 9.74C9.58 9.59 9.83 9.23 9.81 8.81C9.79 8.57 9.68 8.35 9.51 8.18L4.31 2.98C4.24 2.91 4.12 2.91 4.05 2.98L2.98 4.05C2.91 4.12 2.91 4.24 2.98 4.31L7.20 8.52L0.59 11.13C0.24 11.27 0 11.62 0 12.00C0 12.38 0.24 12.73 0.59 12.87L5.18 14.68C5.25 14.71 5.33 14.69 5.38 14.64L6.54 13.48C6.64 13.39 6.60 13.23 6.48 13.17H6.47ZM23.41 11.13L18.82 9.32C18.75 9.29 18.67 9.31 18.62 9.36L17.46 10.52C17.36 10.61 17.40 10.77 17.52 10.82L20.51 12.00L14.78 14.26C14.42 14.40 14.17 14.77 14.19 15.19C14.21 15.42 14.32 15.65 14.49 15.82L19.69 21.02C19.76 21.09 19.88 21.09 19.95 21.02L21.02 19.95C21.09 19.88 21.09 19.76 21.02 19.69L16.80 15.48L23.41 12.87C23.76 12.73 24 12.38 24 12.00C24 11.62 23.76 11.27 23.41 11.13V11.13Z" fill="currentColor"/>"## };
|
||||
static NOVITA_AI: Icon = Icon { name: "novita-ai", view: 40.0, body: r##"<path d="M15.5564 8.26172V16.5239L2.1875 29.8928H15.5564V21.6302L23.8194 29.8928H37.1875L15.5564 8.26172Z" fill="#000000"/>"## };
|
||||
static NVIDIA: Icon = Icon { name: "nvidia", view: 40.0, body: r##"<path d="M16.1801 15.8791V14.0283C16.3472 14.0155 16.5271 14.0026 16.7199 14.0026C21.7966 13.8356 25.1254 18.3596 25.1254 18.3596C25.1254 18.3596 21.5267 23.3463 17.671 23.3463C17.1569 23.3463 16.6557 23.2692 16.1801 23.1021V17.4728C18.1465 17.7298 18.545 18.591 19.7274 20.5702L22.375 18.3468C22.375 18.3468 20.4343 15.8277 17.1955 15.8277C16.8356 15.8277 16.5014 15.8405 16.1801 15.8791ZM16.1801 9.75492V12.5246C16.3472 12.5118 16.5271 12.4989 16.7199 12.4861C23.763 12.2547 28.377 18.2696 28.377 18.2696C28.377 18.2696 23.0819 24.683 17.5939 24.683C17.0798 24.683 16.6171 24.6444 16.1801 24.5545V26.2767C16.5528 26.3152 16.9384 26.341 17.3625 26.341C22.4649 26.341 26.1664 23.7448 29.7523 20.6473C30.3435 21.1229 32.7597 22.2796 33.261 22.7937C29.8679 25.6341 21.9251 27.9346 17.4396 27.9346C17.0155 27.9346 16.5914 27.9089 16.1801 27.8704V30.2866H35.6001V9.75492H16.1801ZM16.1801 23.1021V24.5545C11.4376 23.7191 10.1266 18.7966 10.1266 18.7966C10.1266 18.7966 12.4015 16.2775 16.1801 15.8791V17.4728H16.1673C14.188 17.2414 12.6329 19.0922 12.6329 19.0922C12.6329 19.0922 13.5068 22.2025 16.1801 23.1021ZM7.77464 18.591C7.77464 18.591 10.5765 14.4525 16.1801 14.0283V12.5246C9.9724 13.0259 4.6001 18.2696 4.6001 18.2696C4.6001 18.2696 7.64612 27.0735 16.1801 27.8575V26.2767C9.90814 25.4798 7.77464 18.591 7.77464 18.591Z" fill="currentColor"/>"## };
|
||||
static OLLAMA_CLOUD: Icon = Icon { name: "ollama-cloud", view: 40.0, body: r##"<path d="M12.1766 4.57738C12.7424 4.45248 13.3253 4.4821 13.8719 4.64802C14.3313 4.78771 14.7467 5.0176 15.1232 5.32158C15.7506 5.82452 16.2805 6.54484 16.6847 7.39778C17.0911 8.25589 17.3555 9.20672 17.4555 10.1602C18.7946 9.57485 20.2806 9.21797 21.8134 9.11449L21.9219 9.10819C23.7727 8.99312 25.6026 9.25154 27.1981 9.88772C27.4129 9.97483 27.6238 10.0679 27.8301 10.1665C27.9364 9.23136 28.196 8.30283 28.5958 7.46464C28.9999 6.60982 29.5307 5.89059 30.1561 5.38591C30.5055 5.09396 30.9329 4.86411 31.4086 4.71235C31.9551 4.54805 32.5357 4.5182 33.1014 4.64297C33.9545 4.83037 34.6868 5.24855 35.2633 5.85515C35.3459 5.94188 35.4243 6.03325 35.5005 6.12759V15.9511C35.3966 15.8807 35.2901 15.8126 35.18 15.748C33.9142 15.0017 32.2379 14.6416 30.117 14.7452C29.8396 14.7591 29.5632 14.7076 29.3236 14.5989C29.084 14.4902 28.8918 14.3286 28.7724 14.1347C28.1043 13.0417 27.1301 12.2596 25.9154 11.7747C24.7492 11.325 23.443 11.1355 22.1451 11.2285C19.4969 11.3914 17.161 12.5451 16.4653 13.9998C16.3668 14.2045 16.1901 14.3819 15.9582 14.5068C15.7263 14.6316 15.4499 14.6982 15.1673 14.6986C12.8978 14.7019 11.1405 15.1127 9.85572 15.854C8.74521 16.4951 7.98775 17.3916 7.58779 18.4649C7.22593 19.4754 7.17595 20.5375 7.44274 21.5654C7.68101 22.4825 8.14742 23.2424 8.68139 23.6517L8.69905 23.6631C9.14965 24.0034 9.24462 24.5344 8.92988 24.9534C8.16414 25.9759 7.59183 27.5 7.49823 28.9645C7.39192 30.6379 7.89443 32.0911 9.02827 33.1334L9.06232 33.1649C9.23327 33.3188 9.34304 33.5076 9.37893 33.7085C9.41476 33.9096 9.37497 34.1146 9.26414 34.2988C9.01373 34.7141 8.79967 35.1146 8.61959 35.4996H5.70206C5.88367 35.0312 6.10757 34.5494 6.37562 34.0555L6.40463 33.9973L6.38824 33.9785C5.81212 33.3209 5.38162 32.5935 5.11552 31.8266L5.10543 31.7951C4.78254 30.8384 4.65491 29.8484 4.72828 28.8612C4.82189 27.3653 5.31963 25.8324 6.05146 24.6028L6.07795 24.5599L6.0729 24.5573C5.4496 23.8702 4.98861 22.99 4.73333 22.0169L4.72198 21.9779C4.37027 20.6205 4.43825 19.2181 4.92001 17.8847C5.47739 16.3806 6.5735 15.0886 8.18819 14.1549C8.31563 14.0811 8.44921 14.0069 8.58301 13.9379C8.24476 11.4838 8.33005 9.45005 8.82141 7.90485C9.09153 7.05352 9.48977 6.34345 10.0172 5.78955C10.5916 5.18463 11.3236 4.76644 12.1766 4.57738ZM12.8767 6.64096C12.6303 6.7238 12.4193 6.8594 12.27 7.03199L12.2599 7.04208C11.9664 7.35278 11.7109 7.80949 11.5195 8.4094C11.1578 9.54695 11.0601 11.091 11.2558 12.9831C12.1706 12.7727 13.1684 12.641 14.2427 12.5933L14.2642 12.5908L14.3045 12.5353C14.4022 12.4008 14.5061 12.271 14.6186 12.143C14.8802 10.8758 14.6661 9.36166 14.0813 8.12559C13.7963 7.52741 13.4494 7.05655 13.1176 6.78855C13.0491 6.73286 12.972 6.68361 12.8893 6.64096L12.883 6.63719L12.8767 6.64096ZM32.3963 6.70403C32.3135 6.74667 32.2365 6.79719 32.1679 6.85288C31.8361 7.12084 31.4873 7.5929 31.2043 8.19118C30.5875 9.49635 30.3808 11.1109 30.7149 12.4193L30.8385 12.5782L30.8549 12.6009H30.9192C31.975 12.6011 33.0258 12.7194 34.0385 12.9503C34.2214 11.1026 34.1192 9.59119 33.7661 8.47499C33.5745 7.87507 33.3189 7.41836 33.0231 7.10767L33.0143 7.09758C32.8652 6.92452 32.6555 6.78729 32.4088 6.70403L32.4 6.70278L32.3963 6.70403Z" fill="currentColor" fill-rule="evenodd"/><path d="M21.5208 22.8469C21.7175 22.8312 21.9155 22.876 22.0695 22.9718L22.5262 23.2555L22.9941 22.9692C23.1476 22.8755 23.343 22.8314 23.5378 22.8469C23.7324 22.8626 23.912 22.9364 24.0373 23.0525L24.046 23.0601C24.3009 23.3081 24.2473 23.6677 23.9262 23.8648L23.3057 24.2432V24.9761C23.3045 25.1391 23.2194 25.295 23.0698 25.41C22.92 25.5248 22.717 25.5894 22.5059 25.5891C22.2946 25.5895 22.0908 25.5249 21.9408 25.41C21.7912 25.295 21.706 25.1391 21.705 24.9761V24.2205L21.1285 23.8623C21.0527 23.8153 20.9899 23.7567 20.9432 23.6907C20.8964 23.6247 20.8663 23.5512 20.8561 23.4763C20.8459 23.4017 20.8551 23.3262 20.8826 23.2542C20.9103 23.182 20.9572 23.1146 21.0188 23.0562C21.1443 22.9384 21.3244 22.8627 21.5208 22.8469Z" fill="currentColor"/><path d="M22.6284 19.5913C24.6195 19.5913 26.4584 20.1055 27.8327 20.9965C29.1727 21.8626 29.9705 23.0264 29.9707 24.1853C29.9707 25.6448 29.1066 26.7822 27.5602 27.5089C26.2412 28.1253 24.4732 28.4247 22.4479 28.4247C20.3014 28.4247 18.4671 27.9996 17.1439 27.2188C15.8314 26.4461 15.0955 25.3604 15.0955 24.1853C15.0957 23.0232 15.9423 21.8558 17.3419 20.9864C18.763 20.1036 20.6394 19.5914 22.6284 19.5913ZM22.6284 21.0634C21.1527 21.0534 19.716 21.4302 18.5529 22.1317C17.5721 22.7399 17.0165 23.5056 17.0165 24.1877C17.0168 24.8911 17.4639 25.5495 18.3144 26.0508C19.2825 26.6211 20.7055 26.9526 22.4479 26.9526C24.1473 26.9526 25.581 26.7109 26.5575 26.2525C27.5425 25.7922 28.0472 25.1239 28.0472 24.1853C28.0469 23.4898 27.5235 22.7218 26.5941 22.1203C25.5644 21.4547 24.1684 21.0634 22.6284 21.0634Z" fill="currentColor" fill-rule="evenodd"/><path d="M13.3142 19.8978C14.331 19.8978 15.1595 20.54 15.1595 21.3308C15.1599 21.7093 14.9655 22.0727 14.6197 22.3411C14.2735 22.6095 13.Line truncated
|
||||
static OPENAI: Icon = Icon { name: "openai", view: 40.0, body: r##"<path d="M32.8377 17.282C33.2127 16.25 33.3072 15.218 33.2127 14.1875C33.1197 13.1571 32.7447 12.1251 32.2752 11.1876C31.4322 9.78209 30.2127 8.6571 28.8072 8.0001C27.3072 7.34461 25.7127 7.15711 24.1197 7.53211C23.3698 6.78212 22.5253 6.12512 21.5878 5.65713C20.6503 5.18913 19.5253 5.00013 18.4948 5.00013C16.8851 4.99074 15.3125 5.48246 13.9948 6.40712C12.6824 7.34311 11.7449 8.6571 11.2754 10.1571C10.1504 10.4376 9.21289 10.9071 8.27539 11.4696C7.4324 12.1251 6.77541 12.9696 6.21291 13.8126C5.36992 15.2195 5.08792 16.8125 5.27542 18.407C5.46399 19.9968 6.11605 21.496 7.1504 22.718C6.79608 23.7086 6.66795 24.7659 6.77541 25.8124C6.86991 26.8444 7.2449 27.8749 7.7129 28.8124C8.55739 30.2194 9.77538 31.3444 11.1824 31.9999C12.6824 32.6569 14.2753 32.8444 15.8698 32.4694C16.6198 33.2194 17.4628 33.8749 18.4003 34.3444C19.3378 34.8139 20.4628 34.9999 21.4948 34.9999C23.1043 35.0097 24.6769 34.5185 25.9947 33.5944C27.3072 32.6569 28.2447 31.3444 28.7127 29.8444C29.7719 29.6432 30.7682 29.1934 31.6197 28.5319C32.4627 27.8749 33.2127 27.1249 33.6822 26.1874C34.5251 24.7819 34.8071 23.1875 34.6196 21.5945C34.4322 20 33.8697 18.5015 32.8377 17.282ZM21.5878 33.0304C20.0878 33.0304 18.9628 32.5609 17.9323 31.7179C17.9323 31.7179 18.0253 31.6234 18.1198 31.6234L24.1197 28.1554C24.2862 28.0803 24.4196 27.9469 24.4947 27.7804C24.5698 27.636 24.6021 27.4731 24.5877 27.3109V18.875L27.1197 20.375V27.3124C27.1455 28.0547 27.0215 28.7945 26.755 29.4878C26.4885 30.181 26.085 30.8134 25.5687 31.3473C25.0523 31.8811 24.4337 32.3054 23.7497 32.5949C23.0658 32.8843 22.3305 33.0314 21.5878 33.0304ZM9.49488 27.8749C8.83789 26.7499 8.55739 25.4374 8.83789 24.125C8.83789 24.125 8.93239 24.2195 9.02539 24.2195L15.0253 27.6874C15.1693 27.7638 15.3325 27.7966 15.4948 27.7819C15.6823 27.7819 15.8698 27.7819 15.9628 27.6874L23.2753 23.4695V26.3749L17.1823 29.9374C16.5506 30.3042 15.8527 30.5427 15.1287 30.6393C14.4046 30.7358 13.6686 30.6884 12.9629 30.4999C11.4629 30.1249 10.2449 29.1874 9.49488 27.8749ZM7.9004 14.8445C8.56239 13.7234 9.58826 12.8627 10.8074 12.4056V19.532C10.8074 19.718 10.8074 19.907 10.9004 20C10.9755 20.1665 11.1089 20.2998 11.2754 20.375L18.5878 24.5944L16.0573 26.0944L10.0574 22.625C9.41842 22.2639 8.85742 21.7797 8.40684 21.2004C7.95627 20.6211 7.62506 19.9582 7.4324 19.25C7.05741 17.8445 7.1504 16.157 7.9004 14.8445ZM28.6197 19.625L21.3073 15.407L23.8377 13.9071L29.8377 17.375C30.7752 17.9375 31.5252 18.6875 31.9947 19.625C32.4642 20.5625 32.7447 21.5945 32.6502 22.7195C32.5603 23.7755 32.1699 24.7837 31.5252 25.6249C30.8697 26.4694 30.0252 27.1249 28.9947 27.4999V20.375C28.9947 20.1875 28.9947 20 28.9002 19.907C28.9002 19.907 28.8072 19.718 28.6197 19.625ZM31.1502 15.875C31.1502 15.875 31.0572 15.782 30.9627 15.782L24.9627 12.3126C24.7752 12.2196 24.6822 12.2196 24.4947 12.2196C24.3072 12.2196 24.1197 12.2196 24.0252 12.3126L16.7128 16.532V13.6251L22.8073 10.0626C23.7448 9.50009 24.7752 9.31259 25.9002 9.31259C26.9322 9.31259 27.9627 9.68759 28.9002 10.3446C29.7447 11.0001 30.4947 11.8446 30.8697 12.7821C31.2447 13.7196 31.3377 14.8445 31.1502 15.875ZM15.4003 21.125L12.8699 19.625V12.5946C12.8699 11.5626 13.1503 10.4376 13.7128 9.59459C14.2753 8.6571 15.1198 8.0001 16.0573 7.53211C17.0127 7.05249 18.0956 6.88812 19.1503 7.06261C20.1823 7.15711 21.2128 7.62511 22.0573 8.2821C22.0573 8.2821 21.9628 8.3751 21.8698 8.3751L15.8698 11.8446C15.7033 11.9197 15.57 12.0531 15.4948 12.2196C15.4003 12.4071 15.4003 12.5001 15.4003 12.6876V21.125ZM16.7128 18.125L19.9948 16.25L23.2753 18.125V21.875L19.9948 23.75L16.7128 21.875V18.125Z" fill="currentColor"/>"## };
|
||||
static OPENCODE: Icon = Icon { name: "opencode", view: 24.0, body: r##"<path d="M15.6 17.4H8.4V10.2H15.6V17.4Z" fill="currentColor" fill-opacity="0.4"/><path d="M15.6 6.6H8.4V17.4H15.6V6.6ZM19.2 21H4.8V3H19.2V21Z" fill="currentColor"/>"## };
|
||||
static OPENCODE_GO: Icon = Icon { name: "opencode-go", view: 24.0, body: r##"<path d="M19.4004 21H5V3H19.4004V6.59961H8.59961V17.4004H15.7998V13.7998H12.2002V10.2002H19.4004V21Z" fill="currentColor"/>"## };
|
||||
static OPENROUTER: Icon = Icon { name: "openrouter", view: 24.0, body: r##"<path d="M17.0634 5.4844C19.2029 5.4844 20.9373 7.2333 20.9373 9.3907C20.9373 11.548 19.2029 13.2969 17.0634 13.2969L20.9059 17.1716C21.394 17.6638 21.0483 18.5053 20.3581 18.5053L9.3157 18.5053C5.75 18.5053 2.8594 15.5905 2.8594 11.9948C2.8594 8.3992 5.75 5.4844 9.3157 5.4844L17.0634 5.4844ZM9.3157 8.0886C7.1763 8.0886 5.4419 9.8375 5.4419 11.9948C5.4419 14.1522 7.1763 15.9011 9.3157 15.9011C11.4552 15.9011 13.1896 14.1522 13.1896 11.9948C13.1896 9.8375 11.4552 8.0886 9.3157 8.0886Z" fill="currentColor"/>"## };
|
||||
static OVHCLOUD: Icon = Icon { name: "ovhcloud", view: 40.0, body: r##"<path d="M33.5005 11.7092C36.6343 17.3422 36.0393 24.3239 32.0327 29.3619H23.5039L26.122 24.7206H22.6708L26.7567 17.5405H30.2476L33.5005 11.7092ZM16.7205 29.3619H8.03298C3.94707 24.3239 3.35203 17.3025 6.52555 11.6695L12.1586 21.4281L18.3469 10.6381H27.4708L16.7205 29.3619Z" fill="currentColor" fill-rule="evenodd"/>"## };
|
||||
static PERPLEXITY: Icon = Icon { name: "perplexity", view: 24.0, body: r##"<path d="M17.2642 2.8689L12.042 8.0961M17.2642 2.8689V8.0961H12.042M17.2642 2.8689V4.30027M12.042 8.0961L6.81809 2.8689V8.0961H12.042ZM12.042 8.0961L17.2642 13.3225V20.8159L12.042 15.5887M12.042 8.0961V15.5887M12.042 8.0961L6.81892 13.3225M12.0296 2.1V21.9M12.042 15.5887L6.81892 20.8159V13.3225M6.81892 13.3225L6.81809 15.559H4.57739V8.09527H12.0412L6.81892 13.3225ZM11.9859 8.09527L17.2081 13.3225V15.559H19.4497V8.09527H11.9859Z" fill="none" stroke="currentColor" stroke-width="0.825"/>"## };
|
||||
static POE: Icon = Icon { name: "poe", view: 40.0, body: r##"<path d="M31.4739 11.8771C31.0962 11.4991 30.5979 11.3159 30.1031 11.3246L30.0936 11.3248C28.6012 11.3248 27.4017 10.115 27.4017 8.62262V8.62092C27.407 8.12944 27.2234 7.63665 26.8488 7.26144C26.485 6.89774 26.0103 6.714 25.5339 6.70853L10.3566 6.70834C9.87999 6.714 9.40529 6.89774 9.04177 7.26126C8.66693 7.63608 8.48319 8.12926 8.48885 8.62054L8.4883 8.61998C8.4883 10.1125 7.27826 11.3225 5.78592 11.3225L5.78781 11.3246C5.29275 11.3158 4.79487 11.4991 4.41684 11.8771C4.04672 12.2473 3.86223 12.7325 3.86279 13.2176V18.0722C3.86223 18.5573 4.04672 19.0422 4.41665 19.4123C4.79468 19.7903 5.29256 19.9735 5.78762 19.9648H5.78913C7.27844 19.9648 8.48359 21.1694 8.48867 22.6576V27.585C8.48867 28.2139 9.28073 28.4918 9.67383 28.0007L12.4096 24.5809L25.5347 24.5807C26.0113 24.5751 26.4858 24.3913 26.8495 24.0278C27.2243 23.653 27.4081 23.1598 27.4024 22.6685V22.6657C27.4024 21.1732 28.6072 19.9647 30.1002 19.9647H30.1036C30.5984 19.9735 31.0967 19.7901 31.4744 19.4121C31.8446 19.042 32.0293 18.5568 32.0285 18.072V13.2178C32.0287 12.7325 31.8438 12.2473 31.4739 11.8771ZM28.2471 18.1246C28.2314 19.604 27.0289 20.7983 25.546 20.7983H10.3445C8.86162 20.7983 7.65912 19.6036 7.64348 18.1246C7.64385 18.1071 7.64385 13.1827 7.64348 13.165C7.65912 11.6857 8.86162 10.4913 10.3445 10.4913L10.3428 10.4896C10.3474 10.4896 10.3519 10.4902 10.3566 10.4902V10.4913H25.5458C27.0287 10.4913 28.2314 11.6861 28.2469 13.1652C28.2465 13.1827 28.2467 18.1071 28.2471 18.1246Z" fill="currentColor"/><path d="M13.7473 12.8011C12.7003 12.8011 11.8513 13.6497 11.8513 14.6971V16.5931C11.8513 17.6402 12.6999 18.4891 13.7473 18.4891C14.7947 18.4891 15.6433 17.6405 15.6433 16.5931V14.697C15.6431 13.6499 14.7943 12.8011 13.7473 12.8011Z" fill="currentColor"/><path d="M22.1431 12.8011C21.096 12.8011 20.2471 13.6497 20.2471 14.6971V16.5931C20.2471 17.6402 21.0957 18.4891 22.1431 18.4891C23.1905 18.4891 24.0391 17.6405 24.0391 16.5931V14.697C24.0389 13.6499 23.1901 12.8011 22.1431 12.8011Z" fill="currentColor"/><path d="M13.5857 32.8994L16.2438 29.5775L29.369 29.5773C29.8455 29.5716 30.32 29.3879 30.6839 29.0244C31.0585 28.6496 31.2424 28.1564 31.2366 27.6651C31.2351 26.1767 32.438 24.9676 33.9259 24.9612H33.938C34.4328 24.9701 34.9308 24.7867 35.3088 24.4087C35.6787 24.0386 35.8634 23.5533 35.8628 23.0686V18.2745C35.8628 17.8169 35.7117 17.3718 35.4332 17.0085L34.9025 16.3159V21.8183C34.9033 22.3033 34.7186 22.7882 34.3484 23.1583C33.9707 23.5364 33.4727 23.7195 32.9779 23.7109H32.9658C31.4774 23.7173 30.2747 24.9265 30.2765 26.4147C30.2818 26.906 30.0981 27.399 29.7236 27.774C29.3599 28.1377 28.8852 28.3213 28.4088 28.3269L15.2836 28.3271L12.3915 31.9437C12.1718 32.2186 12.168 32.6078 12.3825 32.8868C12.6851 33.2806 13.2759 33.2863 13.5857 32.8994Z" fill="currentColor" fill-opacity="0.4"/><path d="M10.5362 29.3653L13.3635 25.83L26.4886 25.8298C26.9652 25.8242 27.4397 25.6404 27.8035 25.2769C28.1783 24.9021 28.362 24.4089 28.3564 23.9174V23.9146C28.3549 22.4277 29.5562 21.2199 31.043 21.2135H31.0577C31.5528 21.2224 32.0508 21.039 32.4285 20.661C32.7987 20.2909 32.9833 19.8058 32.9826 19.3209V13.8141L33.6775 14.7194C33.9563 15.0831 34.1074 15.5284 34.1074 15.9863V20.778C34.1079 21.2631 33.9235 21.748 33.5534 22.1181C33.1756 22.4961 32.6776 22.6793 32.1825 22.6706H32.1705C30.6823 22.677 29.4795 23.8863 29.4814 25.3745C29.4867 25.8658 29.3032 26.3588 28.9285 26.7338C28.5648 27.0975 28.0901 27.281 27.6137 27.2867L14.4885 27.2869L11.9332 30.4823C11.5706 30.9355 10.8794 30.9287 10.5255 30.4685C10.2746 30.1421 10.2792 29.6866 10.5362 29.3653Z" fill="currentColor" fill-opacity="0.6"/>"## };
|
||||
static PRIVATEMODE_AI: Icon = Icon { name: "privatemode-ai", view: 63.0, body: r##"<path d="M14.2167 6.7188C14.2167 10.4296 11.258 13.4377 7.6083 13.4377C3.9587 13.4377 1 10.4296 1 6.7188C1 3.0081 3.9587 0 7.6083 0C11.258 0 14.2167 3.0081 14.2167 6.7188Z" fill="currentColor"/><path d="M17.2667 22.7407L29.4667 22.7407L29.4667 62.0201L17.2667 62.0201L17.2667 22.7407Z" fill="currentColor"/><path d="M39.6333 33.0774C45.2482 33.0774 49.8 28.4495 49.8 22.7407C49.8 17.0319 45.2482 12.404 39.6333 12.404C34.0184 12.404 29.4667 17.0319 29.4667 22.7407C29.4667 28.4495 34.0184 33.0774 39.6333 33.0774ZM39.6333 45.4814C51.9861 45.4814 62 35.3 62 22.7407C62 10.1814 51.9861 0 39.6333 0C27.2806 0 17.2667 10.1814 17.2667 22.7407C17.2667 35.3 27.2806 45.4814 39.6333 45.4814Z" fill="currentColor" fill-rule="evenodd"/>"## };
|
||||
static QIHANG_AI: Icon = Icon { name: "qihang-ai", view: 40.0, body: r##"<path d="M20 2L36.4 11V29L20 38L3.6 29V11L20 2Z M20 20V2 M20 20L36.4 11 M20 20L36.4 29 M20 20V38 M20 20L3.6 29 M20 20L3.6 11" fill="none" stroke="currentColor" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"/>"## };
|
||||
static QINIU_AI: Icon = Icon { name: "qiniu-ai", view: 24.0, body: r##"<path d="M23.568,4.37284513 C23.180619,4.24052218 22.8592977,4.40224993 22.6756964,4.54008596 C20.1236928,7.55961616 16.310265,9.47645197 12.0489207,9.47645197 C10.5856349,9.47645197 9.17375432,9.25040654 7.84814258,8.82954254 C7.5029753,7.57615888 7.25878488,6.68481809 7.25878488,6.68481809 C7.25878488,6.68481809 6.97237307,5.81185554 6.00112785,5.96071698 L6.28019714,8.22306831 C4.39829587,7.36296976 2.74038351,6.09854994 1.42029592,4.53641031 C1.23669698,4.39857428 0.915396329,4.23684654 0.528,4.36916956 C1.62959981,7.32069904 3.8328071,9.73559053 6.63638202,11.1121076 L7.40015707,17.309184 C7.40015707,17.309184 7.74165693,19.68 9.96508874,19.68 L14.7184659,19.68 C16.9418594,19.68 17.2833592,17.309184 17.2833592,17.309184 L17.8212733,12.8690689 C16.3782427,12.7514113 15.4693667,13.7585665 15.1829548,14.7509761 C14.7001288,16.4233728 14.7001288,16.5318144 14.6046071,16.8221952 C14.4100343,17.4194688 13.7692329,17.4912 13.7692329,17.4912 L10.9179278,17.4912 C10.9179278,17.4912 10.2772032,17.4194688 10.0825536,16.8221952 C9.95772321,16.4381184 9.32981155,14.1868033 8.69821712,11.9023719 C9.76307366,12.2037505 10.8885424,12.3654913 12.0507621,12.3654913 C17.3237162,12.3710209 21.8219851,9.04456718 23.568,4.37284513 Z" fill="currentColor" fill-rule="nonzero"/>"## };
|
||||
static REFLECTION: Icon = Icon { name: "reflection", view: 272.0, body: r##"<path d="M65.274 83.769C93.85 83.769 117.099 107.018 117.099 135.594C117.099 164.17 93.85 187.419 65.274 187.419C36.697 187.419 13.4483 164.17 13.4483 135.594C13.4483 107.018 36.697 83.769 65.274 83.769ZM65.274 71.047C29.6209 71.047 0.7266 99.941 0.7266 135.594C0.7266 171.247 29.6209 200.141 65.274 200.141C100.926 200.141 129.821 171.247 129.821 135.594C129.821 99.941 100.926 71.047 65.274 71.047ZM207.09 71.047C171.437 71.047 142.542 99.941 142.542 135.594C142.542 171.247 171.437 200.141 207.09 200.141C242.742 200.141 271.637 171.247 271.637 135.594C271.637 99.941 242.742 71.047 207.09 71.047Z" fill="currentColor"/>"## };
|
||||
static REQUESTY: Icon = Icon { name: "requesty", view: 24.0, body: r##"<path d="M9.8132 15.9038L9 18.75L8.1868 15.9038C7.75968 14.4089 6.59112 13.2403 5.09619 12.8132L2.25 12L5.09619 11.1868C6.59113 10.7597 7.75968 9.59112 8.1868 8.09619L9 5.25L9.8132 8.09619C10.2403 9.59113 11.4089 10.7597 12.9038 11.1868L15.75 12L12.9038 12.8132C11.4089 13.2403 10.2403 14.4089 9.8132 15.9038Z" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/><path d="M18.2589 8.71454L18 9.75L17.7411 8.71454C17.4388 7.50533 16.4947 6.56117 15.2855 6.25887L14.25 6L15.2855 5.74113C16.4947 5.43883 17.4388 4.49467 17.7411 3.28546L18 2.25L18.2589 3.28546C18.5612 4.49467 19.5053 5.43883 20.7145 5.74113L21.75 6L20.7145 6.25887C19.5053 6.56117 18.5612 7.50533 18.2589 8.71454Z" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/><path d="M16.8942 20.5673L16.5 21.75L16.1058 20.5673C15.8818 19.8954 15.3546 19.3682 14.6827 19.1442L13.5 18.75L14.6827 18.3558C15.3546 18.1318 15.8818 17.6046 16.1058 16.9327L16.5 15.75L16.8942 16.9327C17.1182 17.6046 17.6454 18.1318 18.3173 18.3558L19.5 18.75L18.3173 19.1442C17.6454 19.3682 17.1182 19.8954 16.8942 20.5673Z" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>"## };
|
||||
static SAP_AI_CORE: Icon = Icon { name: "sap-ai-core", view: 24.0, body: r##"<path d="M9.8132 15.9038L9 18.75L8.1868 15.9038C7.75968 14.4089 6.59112 13.2403 5.09619 12.8132L2.25 12L5.09619 11.1868C6.59113 10.7597 7.75968 9.59112 8.1868 8.09619L9 5.25L9.8132 8.09619C10.2403 9.59113 11.4089 10.7597 12.9038 11.1868L15.75 12L12.9038 12.8132C11.4089 13.2403 10.2403 14.4089 9.8132 15.9038Z" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/><path d="M18.2589 8.71454L18 9.75L17.7411 8.71454C17.4388 7.50533 16.4947 6.56117 15.2855 6.25887L14.25 6L15.2855 5.74113C16.4947 5.43883 17.4388 4.49467 17.7411 3.28546L18 2.25L18.2589 3.28546C18.5612 4.49467 19.5053 5.43883 20.7145 5.74113L21.75 6L20.7145 6.25887C19.5053 6.56117 18.5612 7.50533 18.2589 8.71454Z" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/><path d="M16.8942 20.5673L16.5 21.75L16.1058 20.5673C15.8818 19.8954 15.3546 19.3682 14.6827 19.1442L13.5 18.75L14.6827 18.3558C15.3546 18.1318 15.8818 17.6046 16.1058 16.9327L16.5 15.75L16.8942 16.9327C17.1182 17.6046 17.6454 18.1318 18.3173 18.3558L19.5 18.75L18.3173 19.1442C17.6454 19.3682 17.1182 19.8954 16.8942 20.5673Z" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>"## };
|
||||
static SCALEWAY: Icon = Icon { name: "scaleway", view: 24.0, body: r##"<path d="M12.6809 6.96139H9.61812C8.9461 7.03911 8.42917 7.59607 8.40332 8.26961V12.6994C8.40332 12.9973 8.51964 13.2564 8.71349 13.4507C8.90733 13.645 9.1658 13.7615 9.46304 13.7615C10.0446 13.7615 10.5228 13.2823 10.5228 12.6994V9.88869C10.5228 9.4483 10.8846 9.08562 11.324 9.08562H12.7068C13.004 9.08562 13.2625 8.96905 13.4563 8.77476C13.6502 8.58048 13.7665 8.30847 13.7665 8.01056C13.7665 7.42769 13.2625 6.96139 12.6809 6.96139Z" fill="currentColor"/><path d="M11.2982 17.0645H14.361C15.033 16.9867 15.55 16.4298 15.5758 15.7563V11.3265C15.5758 11.0285 15.4595 10.7695 15.2657 10.5752C15.0718 10.3809 14.8133 10.2643 14.5161 10.2643C13.9346 10.2643 13.4564 10.7436 13.4564 11.3265V14.1372C13.4564 14.5776 13.0945 14.9402 12.6551 14.9402H11.2724C10.9751 14.9402 10.7167 15.0568 10.5228 15.2511C10.329 15.4454 10.2126 15.7174 10.2126 16.0153C10.2256 16.5982 10.7167 17.0645 11.2982 17.0645Z" fill="currentColor"/><path d="M7.62793 2.7H13.1979C16.8681 2.7 19.8275 5.66616 19.8147 9.34471V18.1655C19.6466 19.8364 18.2896 21.1575 16.6096 21.3H10.7425C7.08515 21.3 4.11279 18.3209 4.11279 14.6553V6.22312C4.11279 4.28023 5.68944 2.7 7.62793 2.7ZM17.7081 9.34471C17.7081 6.8578 15.6792 4.82424 13.1979 4.82424H7.64085C6.86545 4.82424 6.24514 5.44597 6.24514 6.22312V14.6553C6.24514 17.1552 8.26117 19.1757 10.7554 19.1757H16.5192C17.1266 19.0981 17.6048 18.6318 17.7081 18.036V9.34471Z" fill="currentColor" fill-rule="evenodd"/>"## };
|
||||
static SILICONFLOW: Icon = Icon { name: "siliconflow", view: 40.0, body: r##"<path d="M34.1033 12.3605H20.6227C19.8778 12.3605 19.2764 12.9839 19.2764 13.7501V17.9223C19.2764 18.2909 19.1346 18.6451 18.8823 18.9058C18.6292 19.1658 18.2869 19.3127 17.9293 19.3118H5.7933C5.04839 19.3118 4.44703 19.9353 4.44703 20.7014V26.2658C4.44618 26.6344 4.58887 26.9886 4.84114 27.2485C5.09341 27.5093 5.43656 27.6562 5.7933 27.6562H19.273C19.6306 27.6562 19.9729 27.5093 20.226 27.2485C20.4783 26.9886 20.6202 26.6344 20.6202 26.2658V22.0944C20.6193 21.7258 20.7612 21.3716 21.0143 21.1108C21.2665 20.8501 21.6097 20.704 21.9673 20.7048H34.0999C34.8457 20.7048 35.447 20.0805 35.447 19.3152V13.7501C35.447 12.9814 34.8423 12.3605 34.0999 12.3605H34.1033Z" fill="currentColor"/>"## };
|
||||
static SILICONFLOW_CN: Icon = Icon { name: "siliconflow-cn", view: 40.0, body: r##"<path d="M34.1033 12.3605H20.6227C19.8778 12.3605 19.2764 12.9839 19.2764 13.7501V17.9223C19.2764 18.2909 19.1346 18.6451 18.8823 18.9058C18.6292 19.1658 18.2869 19.3127 17.9293 19.3118H5.7933C5.04839 19.3118 4.44703 19.9353 4.44703 20.7014V26.2658C4.44618 26.6344 4.58887 26.9886 4.84114 27.2485C5.09341 27.5093 5.43656 27.6562 5.7933 27.6562H19.273C19.6306 27.6562 19.9729 27.5093 20.226 27.2485C20.4783 26.9886 20.6202 26.6344 20.6202 26.2658V22.0944C20.6193 21.7258 20.7612 21.3716 21.0143 21.1108C21.2665 20.8501 21.6097 20.704 21.9673 20.7048H34.0999C34.8457 20.7048 35.447 20.0805 35.447 19.3152V13.7501C35.447 12.9814 34.8423 12.3605 34.0999 12.3605H34.1033Z" fill="currentColor"/>"## };
|
||||
static STACKIT: Icon = Icon { name: "stackit", view: 41.536063, body: r##"<path d="M13.9510149,10.4421038h20.8374634l-1.1608887,5.4412842h-14.5545654l-1.3522339,6.3352661h-6.2828369l2.5130615-11.7765503ZM22.5114397,25.652614H7.9081072l-1.1605225,5.4413452h20.8855591l2.5210571-11.8130493h-6.2828979l-1.3598633,6.3717041Z" fill="currentColor"/>"## };
|
||||
static STEPFUN: Icon = Icon { name: "stepfun", view: 28.0, body: r##"<path d="M14 0C6.272 0 0 6.272 0 14C0 21.728 6.272 28 14 28C21.728 28 28 21.728 28 14C28 6.272 21.728 0 14 0ZM10.22 22.876H5.11V17.766H10.22V22.876ZM16.548 22.876H11.438V17.766H16.548V22.876ZM16.548 16.562H11.438V11.438H16.548V16.562ZM16.548 10.234H11.438V5.124H16.548V10.234ZM22.876 10.234H17.766V5.11H22.876V10.234Z" fill="currentColor"/>"## };
|
||||
static SUBMODEL: Icon = Icon { name: "submodel", view: 24.0, body: r##"<path d="M8.69514 3.98663C3.44358 6.10184 1.69306 13.7604 5.55879 17.6261L7.60106 19.5954L9.86215 17.4802C11.1021 16.2403 12.415 14.5627 12.7797 13.6145C13.2173 12.5204 13.9467 12.0098 14.6761 12.1557C16.4266 12.5204 16.7913 14.8544 15.1137 15.4379C13.1444 16.0944 10.5186 18.6472 10.5186 19.8872C10.5186 21.7106 15.6243 20.3977 18.1771 17.8449C20.0006 15.9485 20.3653 15.0732 20.3653 12.0098C20.3653 9.09231 20.0006 7.99823 18.4689 6.53947L16.5725 4.64307L14.2384 6.61241C12.9256 7.70648 11.5397 9.38406 11.175 10.3323C10.7374 11.4993 10.081 12.0098 9.27864 11.864C7.52813 11.4993 7.16343 9.16524 8.84101 8.65468C10.7374 7.92529 14.1655 4.64307 13.7279 3.84075C13.2902 3.11137 10.6645 3.18431 8.69514 3.98663Z" fill="currentColor"/>"## };
|
||||
static SYNTHETIC: Icon = Icon { name: "synthetic", view: 24.0, body: r##"<path d="M9.8132 15.9038L9 18.75L8.1868 15.9038C7.75968 14.4089 6.59112 13.2403 5.09619 12.8132L2.25 12L5.09619 11.1868C6.59113 10.7597 7.75968 9.59112 8.1868 8.09619L9 5.25L9.8132 8.09619C10.2403 9.59113 11.4089 10.7597 12.9038 11.1868L15.75 12L12.9038 12.8132C11.4089 13.2403 10.2403 14.4089 9.8132 15.9038Z" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/><path d="M18.2589 8.71454L18 9.75L17.7411 8.71454C17.4388 7.50533 16.4947 6.56117 15.2855 6.25887L14.25 6L15.2855 5.74113C16.4947 5.43883 17.4388 4.49467 17.7411 3.28546L18 2.25L18.2589 3.28546C18.5612 4.49467 19.5053 5.43883 20.7145 5.74113L21.75 6L20.7145 6.25887C19.5053 6.56117 18.5612 7.50533 18.2589 8.71454Z" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/><path d="M16.8942 20.5673L16.5 21.75L16.1058 20.5673C15.8818 19.8954 15.3546 19.3682 14.6827 19.1442L13.5 18.75L14.6827 18.3558C15.3546 18.1318 15.8818 17.6046 16.1058 16.9327L16.5 15.75L16.8942 16.9327C17.1182 17.6046 17.6454 18.1318 18.3173 18.3558L19.5 18.75L18.3173 19.1442C17.6454 19.3682 17.1182 19.8954 16.8942 20.5673Z" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>"## };
|
||||
static TOGETHERAI: Icon = Icon { name: "togetherai", view: 40.0, body: r##"<path d="M27.539 18.922C29.2526 18.922 30.8959 18.2413 32.1076 17.0296C33.3193 15.8179 34 14.1746 34 12.461C34 10.7474 33.3193 9.10406 32.1076 7.89238C30.8959 6.68071 29.2526 6 27.539 6C25.8254 6 24.1821 6.68071 22.9704 7.89238C21.7587 9.10406 21.078 10.7474 21.078 12.461C21.078 14.1746 21.7587 15.8179 22.9704 17.0296C24.1821 18.2413 25.8254 18.922 27.539 18.922ZM27.539 34C29.2526 34 30.8959 33.3193 32.1076 32.1076C33.3193 30.8959 34 29.2526 34 27.539C34 25.8254 33.3193 24.1821 32.1076 22.9704C30.8959 21.7587 29.2526 21.078 27.539 21.078C25.8254 21.078 24.1821 21.7587 22.9704 22.9704C21.7587 24.1821 21.078 25.8254 21.078 27.539C21.078 29.2526 21.7587 30.8959 22.9704 32.1076C24.1821 33.3193 25.8254 34 27.539 34ZM12.461 34C14.1746 34 15.8179 33.3193 17.0296 32.1076C18.2413 30.8959 18.922 29.2526 18.922 27.539C18.922 25.8254 18.2413 24.1821 17.0296 22.9704C15.8179 21.7587 14.1746 21.078 12.461 21.078C10.7474 21.078 9.10406 21.7587 7.89238 22.9704C6.68071 24.1821 6 25.8254 6 27.539C6 29.2526 6.68071 30.8959 7.89238 32.1076C9.10406 33.3193 10.7474 34 12.461 34Z" fill="currentColor" opacity="0.25"/><path d="M12.461 18.922C16.0293 18.922 18.922 16.0293 18.922 12.461C18.922 8.89269 16.0293 6 12.461 6C8.89269 6 6 8.89269 6 12.461C6 16.0293 8.89269 18.922 12.461 18.922Z" fill="currentColor"/>"## };
|
||||
static UPSTAGE: Icon = Icon { name: "upstage", view: 24.0, body: r##"<path d="M9.8132 15.9038L9 18.75L8.1868 15.9038C7.75968 14.4089 6.59112 13.2403 5.09619 12.8132L2.25 12L5.09619 11.1868C6.59113 10.7597 7.75968 9.59112 8.1868 8.09619L9 5.25L9.8132 8.09619C10.2403 9.59113 11.4089 10.7597 12.9038 11.1868L15.75 12L12.9038 12.8132C11.4089 13.2403 10.2403 14.4089 9.8132 15.9038Z" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/><path d="M18.2589 8.71454L18 9.75L17.7411 8.71454C17.4388 7.50533 16.4947 6.56117 15.2855 6.25887L14.25 6L15.2855 5.74113C16.4947 5.43883 17.4388 4.49467 17.7411 3.28546L18 2.25L18.2589 3.28546C18.5612 4.49467 19.5053 5.43883 20.7145 5.74113L21.75 6L20.7145 6.25887C19.5053 6.56117 18.5612 7.50533 18.2589 8.71454Z" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/><path d="M16.8942 20.5673L16.5 21.75L16.1058 20.5673C15.8818 19.8954 15.3546 19.3682 14.6827 19.1442L13.5 18.75L14.6827 18.3558C15.3546 18.1318 15.8818 17.6046 16.1058 16.9327L16.5 15.75L16.8942 16.9327C17.1182 17.6046 17.6454 18.1318 18.3173 18.3558L19.5 18.75L18.3173 19.1442C17.6454 19.3682 17.1182 19.8954 16.8942 20.5673Z" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>"## };
|
||||
static V0: Icon = Icon { name: "v0", view: 40.0, body: r##"<path d="M22.6686 12.2861V15.1536H30.0685C30.1331 15.1528 30.1968 15.1549 30.2597 15.1601L22.6996 22.5897C22.6789 22.4577 22.6686 22.3243 22.6686 22.1906V15.1523H19.6293V22.1919C19.6293 25.1912 22.1287 27.6453 25.1292 27.6453H32.4594V24.7778H25.1292C25.1034 24.7778 25.078 24.7765 25.053 24.774L32.453 17.5032C32.4581 17.5738 32.4607 17.6452 32.4607 17.7176V24.7765H35.5V17.7176C35.5002 17.0043 35.3598 16.2979 35.0869 15.6388C34.814 14.9798 34.4139 14.381 33.9095 13.8766C33.4051 13.3722 32.8063 12.9721 32.1473 12.6992C31.4882 12.4263 30.7819 12.2859 30.0685 12.2861H22.6686ZM4.5 15.1497L15.195 27.1183C16.2787 28.3325 18.2898 27.5652 18.2898 25.9377V15.1497H15.0787V22.1764L8.80125 15.1497H4.5Z" fill="currentColor"/>"## };
|
||||
static VENICE: Icon = Icon { name: "venice", view: 40.0, body: r##"<path d="M15.2746 25.1631C14.7812 24.7962 14.1856 24.4889 13.527 24.3022C12.8684 24.1155 12.1468 24.0494 11.4412 24.1277C10.7355 24.2059 10.0459 24.4285 9.44426 24.7551C8.8426 25.0815 8.32886 25.512 7.92778 25.9781C7.5256 26.4433 7.17523 27.0146 6.94055 27.6577C6.70588 28.3008 6.58691 29.0155 6.61306 29.725C6.63919 30.4345 6.81044 31.1386 7.09179 31.7626C7.37314 32.3867 7.76461 32.9307 8.19994 33.3651C8.63423 33.8004 9.17824 34.1918 9.8023 34.4732C10.4264 34.7545 11.1305 34.9257 11.84 34.952C12.5494 34.9781 13.2642 34.8591 13.9073 34.6244C14.5504 34.3897 15.1218 34.0393 15.5869 33.6372C16.053 33.2362 16.4834 32.7224 16.8099 32.1207C17.1364 31.5191 17.359 30.8294 17.4373 30.1238C17.5156 29.4182 17.4496 28.6966 17.2628 28.038C17.0761 27.3794 16.7687 26.7838 16.4019 26.2903L17.6136 25.0785L18.4957 25.9605H18.9967L19.6013 25.3559V24.855L18.7193 23.9729L19.9998 22.6924L21.2804 23.9729L20.3983 24.855V25.3559L21.003 25.9605H21.504L22.386 25.0785L23.5978 26.2903C23.231 26.7838 22.9236 27.3794 22.7368 28.038C22.5501 28.6966 22.4841 29.4182 22.5623 30.1238C22.6406 30.8294 22.8633 31.5191 23.1897 32.1207C23.5163 32.7224 23.9467 33.2362 24.4128 33.6372C24.8779 34.0393 25.4493 34.3897 26.0923 34.6244C26.7354 34.8591 27.4503 34.9781 28.1597 34.952C28.8692 34.9257 29.5733 34.7545 30.1974 34.4732C30.8215 34.1918 31.3655 33.8004 31.7997 33.3651C32.235 32.9307 32.6265 32.3867 32.9079 31.7626C33.1892 31.1386 33.3605 30.4345 33.3866 29.725C33.4127 29.0155 33.2938 28.3008 33.0592 27.6577C32.8244 27.0146 32.4741 26.4433 32.0719 25.9781C31.6708 25.512 31.157 25.0815 30.5554 24.7551C29.9537 24.4285 29.2641 24.2059 28.5585 24.1277C27.8529 24.0494 27.1313 24.1155 26.4727 24.3022C25.8141 24.4889 25.2185 24.7962 24.725 25.1631L23.5357 23.9719L24.4173 23.0904V22.5894L23.7911 21.9632H23.2901L22.4081 22.8452L21.127 21.5651L27.8429 14.8492L30.5616 17.5678V14.7392H33.3903L30.6717 12.0205L33.3903 9.30188V8.80091L32.7641 8.17468H32.2631L19.9998 20.4379L7.73657 8.17468H7.2356L6.60938 8.80091V9.30188L9.328 12.0205L6.60938 14.7392H9.43806V17.5678L12.1567 14.8492L18.8727 21.5651L17.5916 22.8452L16.7096 21.9632H16.2085L15.5823 22.5894V23.0904L16.4639 23.9719L15.2746 25.1631ZM26.1729 31.3844C25.8964 31.9517 25.9538 32.7377 26.3099 33.2588C26.637 33.7984 27.3289 34.1757 27.9598 34.1585C28.5906 34.1757 29.2825 33.7984 29.6097 33.2588C29.9657 32.7377 30.0231 31.9517 29.7466 31.3844L29.8155 31.3102C30.3827 31.5882 31.1699 31.532 31.6918 31.176C32.2323 30.8492 32.6105 30.1565 32.5932 29.525C32.6105 28.8936 32.2323 28.2009 31.6918 27.8741C31.1699 27.5182 30.3827 27.4618 29.8155 27.7399L29.7466 27.6657C30.0231 27.0985 29.9657 26.3124 29.6097 25.7914C29.2825 25.2518 28.5906 24.8744 27.9598 24.8916C27.3289 24.8744 26.637 25.2518 26.3099 25.7914C25.9538 26.3124 25.8964 27.0985 26.1729 27.6657L26.1041 27.7399C25.5368 27.4618 24.7496 27.5182 24.2278 27.8741C23.6872 28.2009 23.309 28.8936 23.3263 29.525C23.309 30.1565 23.6872 30.8492 24.2278 31.176C24.7496 31.532 25.5368 31.5882 26.1041 31.3102L26.1729 31.3844ZM13.6895 33.2588C14.0456 32.7377 14.103 31.9517 13.8265 31.3844L13.8954 31.3102C14.4626 31.5882 15.2498 31.532 15.7717 31.176C16.3121 30.8492 16.6904 30.1565 16.6731 29.525C16.6904 28.8936 16.3121 28.2009 15.7717 27.8741C15.2498 27.5182 14.4626 27.4618 13.8954 27.7399L13.8265 27.6657C14.103 27.0985 14.0456 26.3124 13.6895 25.7914C13.3624 25.2518 12.6705 24.8744 12.0396 24.8916C11.4088 24.8744 10.7169 25.2518 10.3898 25.7914C10.0337 26.3124 9.97627 27.0985 10.2528 27.6657L10.1839 27.7399C9.61674 27.4618 8.82952 27.5182 8.30767 27.8741C7.76713 28.2009 7.3889 28.8936 7.40618 29.525C7.3889 30.1565 7.76713 30.8492 8.30767 31.176C8.82952 31.532 9.61674 31.5882 10.1839 31.3102L10.2528 31.3844C9.97627 31.9517 10.0337 32.7377 10.3898 33.2588C10.7169 33.7984 11.4088 34.1757 12.0396 34.1585C12.6705 34.1757 13.3624 33.7984 13.6895 33.2588Z" fill="currentColor" fill-rule="evenodd"/><path d="M19.9907 8.17464L23.21 4.95547L24.804 6.54957V11.923L20.3893 16.3378H19.5922L15.1775 11.923V6.54957L16.7716 4.95547L19.9907 8.17464ZM16.7716 6.08268L19.5922 8.90334V14.0833L16.7716 11.2627V6.08268ZM20.3894 8.90334L23.21 6.08268V11.2627L20.3894 14.0833V8.90334Z" fill="currentColor" fill-rule="evenodd"/>"## };
|
||||
static VERCEL: Icon = Icon { name: "vercel", view: 40.0, body: r##"<path d="M35.5 33.5949H4.5L20 6.40511L35.5 33.5949Z" fill="currentColor"/>"## };
|
||||
static VIVGRID: Icon = Icon { name: "vivgrid", view: 24.0, body: r##"<path d="M 10.921 1.266 C 11.477 0.952 12.161 0.952 12.717 1.266 L 14.079 2.037 C 12.108 3.127 9.934 4.437 8.274 5.788 C 7.425 6.479 6.706 7.185 6.216 7.879 C 5.727 8.574 5.458 9.268 5.53 9.935 C 5.625 10.839 6.133 11.432 6.825 11.858 C 7.512 12.283 8.388 12.55 9.232 12.809 C 9.968 13.033 10.681 13.253 11.245 13.56 C 11.808 13.868 12.214 14.257 12.353 14.819 C 12.492 15.384 12.369 16.145 11.825 17.206 C 11.286 18.255 10.342 19.586 8.861 21.293 L 2.91 17.924 C 2.356 17.608 2.013 17.028 2.013 16.398 L 2.013 7.327 C 2.013 6.697 2.356 6.116 2.91 5.802 L 10.921 1.266 Z" fill="currentColor" stroke="currentColor" stroke-width="1"/><path d="M 21.122 6.009 C 21.677 6.324 22.019 6.904 22.019 7.534 L 22.019 16.606 C 22.019 17.235 21.677 17.816 21.122 18.131 L 13.11 22.667 C 12.555 22.981 11.872 22.981 11.314 22.667 L 10.388 22.142 C 10.772 21.78 11.159 21.413 11.55 21.047 C 12.722 19.945 13.901 18.834 14.928 17.765 C 15.953 16.698 16.825 15.667 17.382 14.721 C 17.936 13.778 18.187 12.902 17.93 12.154 C 17.671 11.401 16.913 10.813 15.54 10.415 C 13.986 9.966 12.92 9.457 12.272 8.908 C 11.628 8.362 11.403 7.78 11.507 7.17 C 11.617 6.55 12.069 5.883 12.824 5.18 C 13.572 4.488 14.606 3.77 15.874 3.039 L 21.122 6.009 Z" fill="currentColor" stroke="currentColor" stroke-width="1"/>"## };
|
||||
static VULTR: Icon = Icon { name: "vultr", view: 40.0, body: r##"<path d="M15.2983 4.60669C15.1614 4.38264 14.9695 4.19726 14.7409 4.06809C14.5123 3.93893 14.2545 3.87026 13.9919 3.86859H6.05C5.63892 3.86859 5.24467 4.03189 4.95399 4.32258C4.6633 4.61326 4.5 5.00751 4.5 5.41859C4.5 5.7108 4.58182 5.99716 4.73619 6.24526L6.78072 9.24931L17.0034 7.03502L15.2983 4.60669Z" fill="currentColor"/><path d="M17.0474 7.09406C16.9088 6.86991 16.7155 6.68462 16.4857 6.55553C16.256 6.42643 15.9972 6.35777 15.7336 6.35596H7.82122C7.53681 6.34284 7.25431 6.40869 7.00501 6.54622C6.75571 6.68375 6.54934 6.88758 6.40874 7.13516C6.26814 7.38274 6.1988 7.6644 6.2084 7.94895C6.218 8.23351 6.30616 8.50985 6.46312 8.74739L8.74384 12.3641L19.306 10.7107L17.0474 7.09406Z" fill="currentColor"/><path d="M8.64826 12.2164C8.52024 12.0113 8.44101 11.7795 8.4167 11.5389C8.39238 11.2984 8.42363 11.0554 8.50803 10.8288C8.62388 10.5331 8.82738 10.2799 9.09123 10.1031C9.35508 9.92633 9.66667 9.83444 9.98422 9.83977H17.8966C18.1603 9.84089 18.4194 9.90926 18.6493 10.0384C18.8792 10.1676 19.0723 10.3532 19.2104 10.5779L26.3183 21.8486C26.4727 22.0967 26.5545 22.3831 26.5545 22.6753C26.5533 22.9673 26.4716 23.2534 26.3183 23.5019L22.3473 29.7979C22.2067 30.0189 22.0125 30.2008 21.7829 30.3269C21.5532 30.4529 21.2955 30.519 21.0335 30.519C20.7716 30.519 20.5138 30.4529 20.2842 30.3269C20.0545 30.2008 19.8604 30.0189 19.7197 29.7979L8.64826 12.2164Z" fill="currentColor"/><path d="M28.6652 15.8184C28.8059 16.0394 29.0001 16.2213 29.2297 16.3474C29.4594 16.4734 29.7171 16.5395 29.9791 16.5395C30.241 16.5395 30.4988 16.4734 30.7284 16.3474C30.9581 16.2213 31.1522 16.0394 31.2929 15.8184L32.6583 13.6557L35.2638 9.52241C35.4182 9.27431 35.5 8.98794 35.5 8.69574C35.4989 8.4037 35.4171 8.11765 35.2638 7.86907L33.1972 4.60669C33.0585 4.38254 32.8652 4.19724 32.6355 4.06815C32.4057 3.93906 32.1469 3.8704 31.8833 3.86859H23.9414C23.7379 3.86859 23.5363 3.90868 23.3483 3.98658C23.1602 4.06447 22.9893 4.17865 22.8454 4.32258C22.7015 4.46651 22.5873 4.63738 22.5094 4.82543C22.4315 5.01349 22.3914 5.21504 22.3914 5.41859C22.3886 5.71224 22.4734 6.00007 22.635 6.24526L28.6652 15.8184Z" fill="currentColor"/>"## };
|
||||
static WANDB: Icon = Icon { name: "wandb", view: 24.0, body: r##"<path d="M9.8132 15.9038L9 18.75L8.1868 15.9038C7.75968 14.4089 6.59112 13.2403 5.09619 12.8132L2.25 12L5.09619 11.1868C6.59113 10.7597 7.75968 9.59112 8.1868 8.09619L9 5.25L9.8132 8.09619C10.2403 9.59113 11.4089 10.7597 12.9038 11.1868L15.75 12L12.9038 12.8132C11.4089 13.2403 10.2403 14.4089 9.8132 15.9038Z" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/><path d="M18.2589 8.71454L18 9.75L17.7411 8.71454C17.4388 7.50533 16.4947 6.56117 15.2855 6.25887L14.25 6L15.2855 5.74113C16.4947 5.43883 17.4388 4.49467 17.7411 3.28546L18 2.25L18.2589 3.28546C18.5612 4.49467 19.5053 5.43883 20.7145 5.74113L21.75 6L20.7145 6.25887C19.5053 6.56117 18.5612 7.50533 18.2589 8.71454Z" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/><path d="M16.8942 20.5673L16.5 21.75L16.1058 20.5673C15.8818 19.8954 15.3546 19.3682 14.6827 19.1442L13.5 18.75L14.6827 18.3558C15.3546 18.1318 15.8818 17.6046 16.1058 16.9327L16.5 15.75L16.8942 16.9327C17.1182 17.6046 17.6454 18.1318 18.3173 18.3558L19.5 18.75L18.3173 19.1442C17.6454 19.3682 17.1182 19.8954 16.8942 20.5673Z" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>"## };
|
||||
static XAI: Icon = Icon { name: "xai", view: 40.0, body: r##"<path d="M12.4579 15.6036L26.1529 35H20.0656L6.37059 15.6036H12.4579ZM12.4524 26.3764L15.4974 30.6909L12.4551 35H6.36377L12.4524 26.3764ZM33.6365 7.15727V35H28.647V14.2236L33.6365 7.15727ZM33.6365 5L20.0656 24.2205L17.0206 19.9073L27.5451 5H33.6365Z" fill="currentColor"/>"## };
|
||||
static XIAOMI: Icon = Icon { name: "xiaomi", view: 40.0, body: r##"<path d="M17.3598 5.03522C13.6378 5.20577 11.3905 5.78765 9.47432 7.07179C8.10992 7.97471 7.10668 9.14849 6.38435 10.6935C5.59179 12.389 5.24066 14.255 5.09017 17.7262C4.90959 21.6087 5.17043 25.4812 5.75231 27.5378C6.27399 29.4039 7.10668 30.8285 8.38079 32.0223C9.95588 33.487 11.7216 34.2595 14.4604 34.6709C16.9685 35.0421 22.7773 35.0621 25.3154 34.711C28.4054 34.2896 30.3718 33.4168 31.987 31.7414C32.7896 30.9187 33.1608 30.377 33.6824 29.2835C34.4951 27.5679 34.8261 25.7922 34.9867 22.2407C35.107 19.7026 34.9867 16.0909 34.7358 14.4055C34.1439 10.4527 32.4585 7.88441 29.519 6.39962C27.964 5.62713 25.6766 5.17567 22.4963 5.02519C20.0986 4.91483 19.7776 4.91483 17.3598 5.03522ZM21.0617 14.3854C22.386 14.6964 23.0281 15.1378 23.4494 16.0407C23.8808 16.9637 23.951 17.7262 23.951 21.8896V25.8022L22.5264 25.7721L21.0918 25.742L21.0417 21.9297C20.9915 17.7663 20.9714 17.6359 20.3895 17.1844C19.8679 16.7731 19.4264 16.7229 16.5772 16.7129H13.8685L13.8183 21.2275L13.7682 25.742H10.9591L10.929 20.0336C10.909 15.5291 10.939 14.2951 11.0293 14.2349C11.0996 14.1847 13.2365 14.1647 15.7747 14.1847C19.4967 14.2249 20.52 14.265 21.0617 14.3854ZM28.9472 14.3252C29.0174 14.4657 29.0475 25.3708 28.9773 25.722C28.9773 25.7621 28.3252 25.7822 27.5426 25.7721L26.108 25.742L26.0779 20.0838C26.0679 15.9906 26.0879 14.3854 26.1682 14.2951C26.2585 14.1847 26.6096 14.1546 27.5727 14.1546C28.6964 14.1546 28.8669 14.1747 28.9472 14.3252ZM18.9349 22.2307V25.8022L17.4601 25.7721L15.9753 25.742L15.9452 22.331C15.9352 20.455 15.9452 18.8598 15.9753 18.7996C16.0054 18.6993 16.3967 18.6692 17.4802 18.6692H18.9349V22.2307Z" fill="currentColor"/>"## };
|
||||
static ZAI: Icon = Icon { name: "zai", view: 40.0, body: r##"<path d="M20.1312 7.50002L17.4088 11.1913H5.81625L8.5375 7.50002H20.1325H20.1312ZM34.0675 28.81L31.3475 32.5H19.795L22.5125 28.81H34.0675ZM35 7.50002L16.58 32.5H5L23.42 7.50002H35Z" fill="currentColor"/>"## };
|
||||
static ZAI_CODING_PLAN: Icon = Icon { name: "zai-coding-plan", view: 40.0, body: r##"<path d="M20.1312 7.50002L17.4088 11.1913H5.81625L8.5375 7.50002H20.1325H20.1312ZM34.0675 28.81L31.3475 32.5H19.795L22.5125 28.81H34.0675ZM35 7.50002L16.58 32.5H5L23.42 7.50002H35Z" fill="currentColor"/>"## };
|
||||
static ZENMUX: Icon = Icon { name: "zenmux", view: 40.0, body: r##"<path d="M19.2587 5.29983C20.814 5.24008 23.9615 5.44575 26.4795 7.70668C28.5451 9.56134 29.2567 12.9997 28.7754 15.6659C28.3341 18.1098 27.2944 20.1094 27.7016 21.9609C28.1088 23.8124 29.1453 24.7252 30.027 25.1086C30.8787 25.4787 31.7019 25.3677 31.5452 26.0712C31.3884 26.7747 30.3233 27.0341 29.5455 27.0341C29.1191 27.0341 27.8294 26.9228 27.2572 26.5525C26.581 26.1149 26.4303 25.7228 26.1729 25.4075C26.1292 25.354 26.0521 25.3913 26.0624 25.4595C26.1797 26.2351 26.503 27.551 27.0276 28.3672C27.4521 29.0274 27.6275 29.5089 28.6 30.3236C29.5726 31.1381 30.0268 31.8787 29.0813 32.4033C28.2412 32.8691 26.4152 31.9159 25.3414 30.737C24.3749 29.6759 23.7019 28.367 23.4358 27.5154C23.2935 27.0601 23.151 26.2768 23.0087 25.6362C22.99 25.5519 22.8746 25.5655 22.8721 25.6518C22.8249 27.2822 22.5686 28.8393 22.1939 30.5087C21.9241 31.7105 21.2681 33.1747 20.6756 34.0635C19.9532 35.1471 18.8808 35.4853 18.0836 35.1891C17.446 34.952 17.8985 34.1463 18.0836 33.4487C18.2687 32.7513 18.6391 31.2923 18.8886 29.694C19.1144 28.2472 19.1741 26.8151 19.0735 25.4582C19.0673 25.3754 18.9402 25.3627 18.9144 25.4416C18.7066 26.078 18.3149 27.133 18.0292 27.7747C17.4332 29.1128 16.9922 29.7001 15.7702 31.1073C14.6712 32.3727 11.5105 34.1622 11.1045 32.4033C10.9935 31.922 11.5755 31.7112 12.1122 31.2923C12.9191 30.6629 13.5933 29.5459 14.2325 28.1819C14.8065 26.9571 15.0983 25.7724 15.1429 25.016C15.1472 24.943 15.0556 24.9155 15.0145 24.9758C14.7488 25.3656 14.3575 25.893 13.9266 26.3303C13.2067 27.0611 12.4083 27.8134 11.4824 28.1819C9.99368 28.7744 8.47556 28.367 8.58655 27.2934C8.67931 26.3963 9.68069 26.582 10.9272 25.222C12.1492 23.889 12.5564 22.8519 12.6305 21.704C12.6896 20.7857 11.7912 18.606 11.3345 17.6309C10.6063 16.0756 10.0681 11.6617 12.2603 8.81785C15.0004 5.26311 18.2959 5.33684 19.2587 5.29983ZM14.9842 11.5161C13.9647 11.5161 13.4549 12.2987 13.4549 13.2639C13.4549 14.2292 14.0213 15.0117 14.9842 15.0117C15.9471 15.0117 16.5135 14.2292 16.5135 13.2639C16.5135 12.2987 16.0038 11.5161 14.9842 11.5161Z" fill="currentColor" fill-rule="evenodd"/>"## };
|
||||
static ZHIPUAI: Icon = Icon { name: "zhipuai", view: 40.0, body: r##"<path d="M20.1312 7.50002L17.4088 11.1913H5.81625L8.5375 7.50002H20.1325H20.1312ZM34.0675 28.81L31.3475 32.5H19.795L22.5125 28.81H34.0675ZM35 7.50002L16.58 32.5H5L23.42 7.50002H35Z" fill="currentColor"/>"## };
|
||||
static ZHIPUAI_CODING_PLAN: Icon = Icon { name: "zhipuai-coding-plan", view: 40.0, body: r##"<path d="M20.1312 7.5L17.4088 11.1912H5.81625L8.5375 7.5H20.1325H20.1312ZM34.0675 28.81L31.3475 32.5H19.795L22.5125 28.81H34.0675ZM35 7.5L16.58 32.5H5L23.42 7.5H35Z" fill="currentColor"/>"## };
|
||||
|
||||
/// Desktop's mark for provider `id`, if it ships one.
|
||||
pub fn named(id: &str) -> Option<&'static Icon> {
|
||||
Some(match id {
|
||||
"302ai" => &P302AI,
|
||||
"abacus" => &ABACUS,
|
||||
"aihubmix" => &AIHUBMIX,
|
||||
"alibaba" => &ALIBABA,
|
||||
"alibaba-cn" => &ALIBABA_CN,
|
||||
"amazon-bedrock" => &AMAZON_BEDROCK,
|
||||
"anthropic" => &ANTHROPIC,
|
||||
"azure" => &AZURE,
|
||||
"azure-cognitive-services" => &AZURE_COGNITIVE_SERVICES,
|
||||
"bailing" => &BAILING,
|
||||
"baseten" => &BASETEN,
|
||||
"berget" => &BERGET,
|
||||
"cerebras" => &CEREBRAS,
|
||||
"chutes" => &CHUTES,
|
||||
"claude-agent" => &CLAUDE_AGENT,
|
||||
"cloudferro-sherlock" => &CLOUDFERRO_SHERLOCK,
|
||||
"cloudflare-ai-gateway" => &CLOUDFLARE_AI_GATEWAY,
|
||||
"cloudflare-workers-ai" => &CLOUDFLARE_WORKERS_AI,
|
||||
"cohere" => &COHERE,
|
||||
"cortecs" => &CORTECS,
|
||||
"deepinfra" => &DEEPINFRA,
|
||||
"deepseek" => &DEEPSEEK,
|
||||
"digitalocean" => &DIGITALOCEAN,
|
||||
"evroc" => &EVROC,
|
||||
"fastrouter" => &FASTROUTER,
|
||||
"fireworks-ai" => &FIREWORKS_AI,
|
||||
"firmware" => &FIRMWARE,
|
||||
"friendli" => &FRIENDLI,
|
||||
"github-copilot" => &GITHUB_COPILOT,
|
||||
"github-models" => &GITHUB_MODELS,
|
||||
"gitlab" => &GITLAB,
|
||||
"google" => &GOOGLE,
|
||||
"google-vertex" => &GOOGLE_VERTEX,
|
||||
"google-vertex-anthropic" => &GOOGLE_VERTEX_ANTHROPIC,
|
||||
"groq" => &GROQ,
|
||||
"helicone" => &HELICONE,
|
||||
"huggingface" => &HUGGINGFACE,
|
||||
"iflowcn" => &IFLOWCN,
|
||||
"inception" => &INCEPTION,
|
||||
"inference" => &INFERENCE,
|
||||
"io-net" => &IO_NET,
|
||||
"jiekou" => &JIEKOU,
|
||||
"kilo" => &KILO,
|
||||
"kimi-for-coding" => &KIMI_FOR_CODING,
|
||||
"kuae-cloud-coding-plan" => &KUAE_CLOUD_CODING_PLAN,
|
||||
"llama" => &LLAMA,
|
||||
"lmstudio" => &LMSTUDIO,
|
||||
"lucidquery" => &LUCIDQUERY,
|
||||
"meganova" => &MEGANOVA,
|
||||
"meituan" => &MEITUAN,
|
||||
"meta" => &META,
|
||||
"minimax" => &MINIMAX,
|
||||
"minimax-cn" => &MINIMAX_CN,
|
||||
"minimax-cn-coding-plan" => &MINIMAX_CN_CODING_PLAN,
|
||||
"minimax-coding-plan" => &MINIMAX_CODING_PLAN,
|
||||
"mistral" => &MISTRAL,
|
||||
"moark" => &MOARK,
|
||||
"modelscope" => &MODELSCOPE,
|
||||
"moonshotai" => &MOONSHOTAI,
|
||||
"moonshotai-cn" => &MOONSHOTAI_CN,
|
||||
"morph" => &MORPH,
|
||||
"nano-gpt" => &NANO_GPT,
|
||||
"nebius" => &NEBIUS,
|
||||
"nova" => &NOVA,
|
||||
"novita-ai" => &NOVITA_AI,
|
||||
"nvidia" => &NVIDIA,
|
||||
"ollama-cloud" => &OLLAMA_CLOUD,
|
||||
"openai" => &OPENAI,
|
||||
"opencode" => &OPENCODE,
|
||||
"opencode-go" => &OPENCODE_GO,
|
||||
"openrouter" => &OPENROUTER,
|
||||
"ovhcloud" => &OVHCLOUD,
|
||||
"perplexity" => &PERPLEXITY,
|
||||
"poe" => &POE,
|
||||
"privatemode-ai" => &PRIVATEMODE_AI,
|
||||
"qihang-ai" => &QIHANG_AI,
|
||||
"qiniu-ai" => &QINIU_AI,
|
||||
"reflection" => &REFLECTION,
|
||||
"requesty" => &REQUESTY,
|
||||
"sap-ai-core" => &SAP_AI_CORE,
|
||||
"scaleway" => &SCALEWAY,
|
||||
"siliconflow" => &SILICONFLOW,
|
||||
"siliconflow-cn" => &SILICONFLOW_CN,
|
||||
"stackit" => &STACKIT,
|
||||
"stepfun" => &STEPFUN,
|
||||
"submodel" => &SUBMODEL,
|
||||
"synthetic" => &SYNTHETIC,
|
||||
"togetherai" => &TOGETHERAI,
|
||||
"upstage" => &UPSTAGE,
|
||||
"v0" => &V0,
|
||||
"venice" => &VENICE,
|
||||
"vercel" => &VERCEL,
|
||||
"vivgrid" => &VIVGRID,
|
||||
"vultr" => &VULTR,
|
||||
"wandb" => &WANDB,
|
||||
"xai" => &XAI,
|
||||
"xiaomi" => &XIAOMI,
|
||||
"zai" => &ZAI,
|
||||
"zai-coding-plan" => &ZAI_CODING_PLAN,
|
||||
"zenmux" => &ZENMUX,
|
||||
"zhipuai" => &ZHIPUAI,
|
||||
"zhipuai-coding-plan" => &ZHIPUAI_CODING_PLAN,
|
||||
_ => return None,
|
||||
})
|
||||
}
|
||||
|
||||
/// The providers that have a mark of their own, in `named`.
|
||||
pub const NAMES: &[&str] = &[
|
||||
"302ai",
|
||||
"abacus",
|
||||
"aihubmix",
|
||||
"alibaba",
|
||||
"alibaba-cn",
|
||||
"amazon-bedrock",
|
||||
"anthropic",
|
||||
"azure",
|
||||
"azure-cognitive-services",
|
||||
"bailing",
|
||||
"baseten",
|
||||
"berget",
|
||||
"cerebras",
|
||||
"chutes",
|
||||
"claude-agent",
|
||||
"cloudferro-sherlock",
|
||||
"cloudflare-ai-gateway",
|
||||
"cloudflare-workers-ai",
|
||||
"cohere",
|
||||
"cortecs",
|
||||
"deepinfra",
|
||||
"deepseek",
|
||||
"digitalocean",
|
||||
"evroc",
|
||||
"fastrouter",
|
||||
"fireworks-ai",
|
||||
"firmware",
|
||||
"friendli",
|
||||
"github-copilot",
|
||||
"github-models",
|
||||
"gitlab",
|
||||
"google",
|
||||
"google-vertex",
|
||||
"google-vertex-anthropic",
|
||||
"groq",
|
||||
"helicone",
|
||||
"huggingface",
|
||||
"iflowcn",
|
||||
"inception",
|
||||
"inference",
|
||||
"io-net",
|
||||
"jiekou",
|
||||
"kilo",
|
||||
"kimi-for-coding",
|
||||
"kuae-cloud-coding-plan",
|
||||
"llama",
|
||||
"lmstudio",
|
||||
"lucidquery",
|
||||
"meganova",
|
||||
"meituan",
|
||||
"meta",
|
||||
"minimax",
|
||||
"minimax-cn",
|
||||
"minimax-cn-coding-plan",
|
||||
"minimax-coding-plan",
|
||||
"mistral",
|
||||
"moark",
|
||||
"modelscope",
|
||||
"moonshotai",
|
||||
"moonshotai-cn",
|
||||
"morph",
|
||||
"nano-gpt",
|
||||
"nebius",
|
||||
"nova",
|
||||
"novita-ai",
|
||||
"nvidia",
|
||||
"ollama-cloud",
|
||||
"openai",
|
||||
"opencode",
|
||||
"opencode-go",
|
||||
"openrouter",
|
||||
"ovhcloud",
|
||||
"perplexity",
|
||||
"poe",
|
||||
"privatemode-ai",
|
||||
"qihang-ai",
|
||||
"qiniu-ai",
|
||||
"reflection",
|
||||
"requesty",
|
||||
"sap-ai-core",
|
||||
"scaleway",
|
||||
"siliconflow",
|
||||
"siliconflow-cn",
|
||||
"stackit",
|
||||
"stepfun",
|
||||
"submodel",
|
||||
"synthetic",
|
||||
"togetherai",
|
||||
"upstage",
|
||||
"v0",
|
||||
"venice",
|
||||
"vercel",
|
||||
"vivgrid",
|
||||
"vultr",
|
||||
"wandb",
|
||||
"xai",
|
||||
"xiaomi",
|
||||
"zai",
|
||||
"zai-coding-plan",
|
||||
"zenmux",
|
||||
"zhipuai",
|
||||
"zhipuai-coding-plan",
|
||||
];
|
||||
|
||||
/// Desktop's stand-in for a provider with no mark of its own.
|
||||
pub static FALLBACK: &Icon = &SYNTHETIC;
|
||||
@@ -0,0 +1,94 @@
|
||||
//! The file icons of Desktop's file trees and file lists (Files, Review, the files filter): the
|
||||
//! monochrome "complete" set of `@pierre/trees`, which Desktop draws in `--v2-icon-icon-muted` and,
|
||||
//! on the selected row, in the file type's colour (`file-tree.css`). Folders show only the
|
||||
//! [`CHEVRON`], turned a quarter clockwise while open.
|
||||
//!
|
||||
//! ```ignore
|
||||
//! let t = tree_icons::file(&node.path);
|
||||
//! icon(t.icon(), 16.0).color(if selected { t.color(dark) } else { k.c.icon_muted })
|
||||
//! ```
|
||||
|
||||
mod catalog;
|
||||
|
||||
use rune::{Color, Icon, TextStyle};
|
||||
use rune_kit::{Kit, TreeItem, TreeStyle};
|
||||
|
||||
/// A folder row's disclosure (`outline-chevron-right`, 16 points), drawn 1 point low.
|
||||
pub static CHEVRON: &Icon = &crate::icons::OUTLINE_CHEVRON_RIGHT;
|
||||
|
||||
/// A file's icon in a file tree and its type (`typescript`, `json`, `default`).
|
||||
#[derive(Clone, Copy, Debug)]
|
||||
pub struct TreeIcon {
|
||||
token: &'static str,
|
||||
}
|
||||
|
||||
impl TreeIcon {
|
||||
pub fn icon(&self) -> &'static Icon {
|
||||
catalog::icon(self.token)
|
||||
}
|
||||
/// The file type, as `@pierre/trees` names it (`data-icon-token`).
|
||||
pub fn token(&self) -> &'static str {
|
||||
self.token
|
||||
}
|
||||
/// The type's colour for one appearance (`--trees-file-icon-color-<token>`), which a selected
|
||||
/// row draws its icon in.
|
||||
pub fn color(&self, dark: bool) -> Color {
|
||||
let (light, night) = catalog::tint(self.token);
|
||||
rune::color::hex(if dark { night } else { light }).unwrap_or(Color::TRANSPARENT)
|
||||
}
|
||||
}
|
||||
|
||||
/// The icon for a file at `path` (`/` or `\` separated, or just a name): its whole name first
|
||||
/// (`bun.lock`, `Dockerfile`), then each dotted suffix from the first dot (`config.ts`, then `ts`),
|
||||
/// `.tsx` and `.jsx` as React and `.scss` and `.sass` as Sass, else the plain file.
|
||||
pub fn file(path: &str) -> TreeIcon {
|
||||
let name = path.rsplit(['/', '\\']).find(|s| !s.is_empty()).unwrap_or("").to_lowercase();
|
||||
let suffix = || {
|
||||
name.match_indices('.')
|
||||
.map(|(i, _)| &name[i + 1..])
|
||||
.find_map(|s| catalog::complete_override(s).or_else(|| catalog::by_extension(s)))
|
||||
};
|
||||
TreeIcon { token: catalog::by_file_name(&name).or_else(suffix).unwrap_or("default") }
|
||||
}
|
||||
|
||||
/// Desktop's file tree rows (`pierre-tree.tsx` over `@pierre/trees`): 28 points tall with 8 at
|
||||
/// the ends, 6 between the chevron or icon and the name, 21.5 per level, 6-point corners, 12-point
|
||||
/// medium names in `text-muted` (`text-base` and the pressed overlay when selected, the hover
|
||||
/// overlay under the pointer), chevron-only folders with the chevron 1 point low, guides at 0.75
|
||||
/// only while the pointer is over the tree, and long names fading out over 16 points.
|
||||
pub fn style(k: &Kit) -> TreeStyle {
|
||||
let t = crate::theme(k.dark);
|
||||
let v = |n: &str| t.color(&format!("v2-{n}"));
|
||||
let mut s = TreeStyle::from_kit(k)
|
||||
.hover(v("overlay-simple-overlay-hover"))
|
||||
.gap(6.0)
|
||||
.radius(6.0)
|
||||
.label(TextStyle::new(12.0, 500.0).lh(28.0), v("text-text-muted"), v("text-text-base"))
|
||||
.fade_long_labels(16.0)
|
||||
.chevron_only_folders(true)
|
||||
.chevron(&crate::icons::CHEVRON_DOWN)
|
||||
.chevron_nudge(1.0)
|
||||
.chevron_colors(v("icon-icon-muted"), v("text-text-base"))
|
||||
.guides_on_hover(0.75);
|
||||
(s.row_height, s.indent, s.padding) = (28.0, 21.5, 8.0);
|
||||
s.guide = v("border-border-muted").alpha(v("border-border-muted").a * 0.5);
|
||||
s.selected = v("overlay-simple-overlay-pressed");
|
||||
s
|
||||
}
|
||||
|
||||
/// A file tree row as Desktop draws it under [`style`]: the name, and for a file its icon in
|
||||
/// `icon-muted`, or in its type's colour while selected. Folders show only the chevron.
|
||||
pub fn item(name: &str, path: &str, folder: bool, selected: bool, dark: bool) -> TreeItem {
|
||||
let item = TreeItem::new(name);
|
||||
if folder {
|
||||
return item;
|
||||
}
|
||||
let t = file(path);
|
||||
let muted = crate::theme(dark).color("v2-icon-icon-muted");
|
||||
item.icon(t.icon()).icon_color(if selected { t.color(dark) } else { muted })
|
||||
}
|
||||
|
||||
/// Every file type with an icon of its own, for a gallery.
|
||||
pub fn all() -> impl Iterator<Item = TreeIcon> {
|
||||
catalog::TOKENS.iter().map(|&token| TreeIcon { token })
|
||||
}
|
||||
@@ -0,0 +1,677 @@
|
||||
//! Generated by tools/tree-icons.py from @pierre/trees's complete icon set. Do not edit.
|
||||
use rune::Icon;
|
||||
|
||||
static ASTRO: Icon = Icon {
|
||||
name: "file-tree-astro",
|
||||
view: 16.0,
|
||||
body: r#"<path fill="currentColor" d="M6.08 13.92c-.63-.57-.81-1.79-.55-2.67.45.56 1.08.73 1.73.83 1 .15 1.99.1 2.92-.37l.32-.19q.13.38.08.78a2.1 2.1 0 0 1-.9 1.5q-.3.24-.61.43c-.64.44-.81.95-.57 1.69l.02.08a1.7 1.7 0 0 1-.74-.64 2 2 0 0 1-.3-.98q0-.27-.02-.52-.07-.61-.61-.62a.7.7 0 0 0-.75.6z" opacity=".6"/><path fill="currentColor" d="M2.5 11.1s1.86-.9 3.72-.9l1.4-4.39c.05-.21.2-.36.38-.36s.33.15.38.36l1.4 4.38c2.2 0 3.72.92 3.72.92l-3.16-8.69q-.13-.4-.45-.42H6.11q-.3.02-.45.42z"/>"#,
|
||||
};
|
||||
static BABEL: Icon = Icon {
|
||||
name: "file-tree-babel",
|
||||
view: 16.0,
|
||||
body: r#"<path fill="currentColor" fill-rule="evenodd" d="M9.49.5q1.92.05 2.66.54 1.27.6 1.35 1.52v.23a4 4 0 0 1-.53 1.9l-1.38 1.24q-.74.38-.72.63c.77.82 1.33 1.29.85 2.42q-.47 1.1-2.04 2.28c-.5.32-1.88 1.35-2.96 1.86-1.64.77-3.1 1.4-4.65 1.89-.51.16-1.5.16-1.5.16L.5 15A76 76 0 0 0 5.76 3.49q-.1-.08-.1-.2.1 0 .32-.35l-.03-.09q-1.17.39-2.38 1.3l-.13.03q0-.1-.21-.16-.46.31-.82.7l-.13-.19.16-.06-.03-.16-.34.29L2 4.5q.36-.48.72-.54l.04-.1V3.8q.16 0 .15-.06l.13-.06a6 6 0 0 0 1.13-.9v-.03H4.1l-.12.07q0-.1-.1-.1l-.15.07-.04-.1q.93-.52 1.63-1.05Q7.89.65 9.5.5M8.46 7.83l-.32.04c-1.31.54-2.31.82-2.91.88a71 71 0 0 0-2.2 4.54h.07q.58-.04 3.04-1.42.13 0 1.66-1.05L9.18 9.7v.03q.45-.2.81-1.3v-.2q-.5-.46-1.53-.4m.28-5.75c-.5.1-.75.19-.72.38l-1.16 2.6q-.17.1-.34.95-.3.48-.25.77v.1l.22.05A15 15 0 0 1 8.86 6c1.1-.71 2.12-1.38 2.8-2.54q.24-.33.21-.54-.02-.33-.4-.54c-.54 0-1.07-.34-1.63-.28l-.94-.03z" clip-rule="evenodd"/>"#,
|
||||
};
|
||||
static BASH: Icon = Icon {
|
||||
name: "file-tree-bash",
|
||||
view: 16.0,
|
||||
body: r#"<path fill="currentColor" d="M8 1C2.24 1 1 2.24 1 8s1.24 7 7 7 7-1.24 7-7-1.24-7-7-7" opacity=".2"/><path fill="currentColor" d="M11.5 11a.5.5 0 0 1 0 1h-3a.5.5 0 0 1 0-1zM7 6.75C7 6.42 6.64 6 6 6s-1 .42-1 .75q-.01.25.22.41.26.21.89.35.74.14 1.28.53c.37.29.61.7.61 1.21 0 .87-.68 1.5-1.5 1.7v.55a.5.5 0 0 1-1 0v-.56c-.82-.18-1.5-.82-1.5-1.69a.5.5 0 0 1 1 0c0 .33.36.75 1 .75s1-.42 1-.75q.01-.25-.22-.41a2 2 0 0 0-.89-.35q-.74-.14-1.28-.53A1.5 1.5 0 0 1 4 6.75c0-.87.68-1.5 1.5-1.7V4.5a.5.5 0 0 1 1 0v.56c.82.18 1.5.82 1.5 1.69a.5.5 0 0 1-1 0"/>"#,
|
||||
};
|
||||
static BIOME: Icon = Icon {
|
||||
name: "file-tree-biome",
|
||||
view: 16.0,
|
||||
body: r#"<path fill="currentColor" d="M8 2 4.88 7.35a7 7 0 0 1 3.7-.13l1.04.25-.99 4.16-1.05-.25a2.7 2.7 0 0 0-3.07 1.45l-.98-.47a4 4 0 0 1 1.07-1.31 3.8 3.8 0 0 1 3.23-.71l.5-2.08a6 6 0 0 0-5.07 1.12A5.9 5.9 0 0 0 1 14h14z"/>"#,
|
||||
};
|
||||
static BOOTSTRAP: Icon = Icon {
|
||||
name: "file-tree-bootstrap",
|
||||
view: 16.0,
|
||||
body: r#"<path fill="currentColor" fill-rule="evenodd" d="M11.72 1.5A2.5 2.5 0 0 1 14.2 4q.02 1.08.3 2.09c.22.73.56 1.24 1.08 1.45.22.08.4.27.4.5s-.18.43-.4.51q-.76.34-1.08 1.45c-.2.65-.27 1.32-.3 2a2.5 2.5 0 0 1-2.48 2.5H4.25A2.6 2.6 0 0 1 1.7 12c-.04-.85-.1-1.68-.22-2.04C1.26 9.23.92 8.7.4 8.5.18 8.42 0 8.23 0 8s.18-.42.4-.5q.77-.35 1.09-1.46c.1-.36.17-1.19.2-2.04a2.6 2.6 0 0 1 2.56-2.5z" clip-rule="evenodd" opacity=".2"/><path fill="currentColor" fill-rule="evenodd" d="M8.47 4.54c1.23 0 2.04.68 2.04 1.73 0 .73-.55 1.39-1.24 1.5v.04c.94.1 1.58.77 1.58 1.7 0 1.2-.9 1.95-2.37 1.95H5.97a.3.3 0 0 1-.2-.08.3.3 0 0 1-.08-.2V4.82a.3.3 0 0 1 .08-.2.3.3 0 0 1 .2-.08zm-1.7 6.04h1.49q1.47-.01 1.49-1.15Q9.74 8.31 8.2 8.3H6.77zm0-5.16v2.06h1.21c.93 0 1.45-.38 1.45-1.06 0-.65-.44-1-1.22-1z" clip-rule="evenodd"/>"#,
|
||||
};
|
||||
static BROWSERSLIST: Icon = Icon {
|
||||
name: "file-tree-browserslist",
|
||||
view: 16.0,
|
||||
body: r#"<path fill="currentColor" d="M8.88 6.96c0 3.82 3.72 4.7 5.7 3.74-.23.9-1.04 1.67-2.35 1.93-.02.4.42 1.28.82 1.63-.9.35-1.94-.12-2.51-.48a5 5 0 0 0-.32 1.87c-.68 0-1.57-1-1.8-1.37-.3.18-.85 1.15-.96 1.72a2.4 2.4 0 0 1-.81-.86 2.4 2.4 0 0 1-.3-1.15c-.38.27-1.48.95-1.99 1.18-.25-.58-.15-1.3 0-2.06-.21.12-1.8.27-2.43.12.32-.36.75-1.19.94-1.57A4.5 4.5 0 0 1 .44 10.6c.48-.22.97-.53 1.49-1.06C1.26 9.17.24 8.64 0 7.7a6 6 0 0 0 1.79-.32C1.28 7.08.44 6.15.6 5.01c.42.21 1.3.37 1.73.3a3.4 3.4 0 0 1-.25-2.75 5 5 0 0 0 1.48 1c-.08-.8.3-2.31.8-2.71.2.46.73 1.21 1.08 1.4.09-.61.87-2.06 1.57-2.25 0 .5.27 1.4.5 1.67.51-.54 2.25-1.44 3.64-1.13-.43.45-.75.61-.86.98 1.05 0 2.78.34 4.27 1.93-2.34-.89-5.69.56-5.69 3.5" opacity=".5"/><path fill="currentColor" d="M11.21 3.59a4.1 4.1 0 0 0 2.47 2.89c.24-.22.61-.38.95-.19.76.44.2 1.26-.34 1.66l-.07.06a13 13 0 0 1-4.49 1.61l-.3-.43a10.5 10.5 0 0 0 4.13-1.31 1 1 0 0 0 .23-.25.5.5 0 0 0-.21-.69l-.15-.06a4.5 4.5 0 0 1-1.77-1.31 4.5 4.5 0 0 1-.88-1.77q.2-.12.43-.21"/><path fill="currentColor" d="M10.36 5.18a.4.4 0 0 0-.03.38c.09.2.3.3.46.23s.24-.3.15-.5l-.01-.02q.23.13.34.39a.83.83 0 0 1-.43 1.08.8.8 0 0 1-1.08-.43.83.83 0 0 1 .6-1.13"/>"#,
|
||||
};
|
||||
static BUN: Icon = Icon {
|
||||
name: "file-tree-bun",
|
||||
view: 16.0,
|
||||
body: r#"<path fill="currentColor" d="M8 14c3.87 0 7-2.46 7-5.49 0-1.88-1.2-3.53-3.04-4.52q-1.1-.61-1.84-1.07C9.2 2.35 8.64 2 8 2s-1.36.45-2.31 1.03A29 29 0 0 1 4.04 4C2.2 4.98 1 6.63 1 8.51 1 11.54 4.13 14 8 14M7.18 3.88q.3-.66.3-1.37c0-.08.11-.1.13-.01.38 1.57-.53 2.35-1.2 2.61-.08.03-.12-.07-.06-.12a3 3 0 0 0 .83-1.12m1.2-.05a3 3 0 0 0-.45-1.3V2.5c-.04-.07.05-.15.1-.1 1.15 1.2.77 2.3.33 2.87-.05.05-.13 0-.11-.08q.21-.67.13-1.37m1.04-.32a3 3 0 0 0-.94-1.02v-.01c-.06-.05-.01-.16.07-.12 1.51.61 1.61 1.8 1.43 2.5l-.03.03a.07.07 0 0 1-.1-.06 3 3 0 0 0-.43-1.32m-2.97.32c-.36.3-.74.43-1.2.56q-.11 0-.1-.1a3.5 3.5 0 0 0 1.76-1.57s.09-.07.1.04c0 .18-.2.76-.56 1.07m2.89 6.36q-.13.52-.55.88a1.3 1.3 0 0 1-.75.35 1.3 1.3 0 0 1-.77-.35 1.7 1.7 0 0 1-.54-.88.13.13 0 0 1 .15-.15h2.31a.14.14 0 0 1 .15.15M6.15 8.95a1.1 1.1 0 0 1-1.39-.14A1.1 1.1 0 0 1 5.12 7a1.1 1.1 0 0 1 1.2.25 1.1 1.1 0 0 1-.17 1.69m4.96 0a1.1 1.1 0 0 1-1.4-.14 1.1 1.1 0 0 1 .37-1.8 1.1 1.1 0 0 1 1.2.25 1.1 1.1 0 0 1 .24 1.2 1 1 0 0 1-.41.5"/>"#,
|
||||
};
|
||||
static C: Icon = Icon {
|
||||
name: "file-tree-c",
|
||||
view: 16.0,
|
||||
body: r#"<path fill="currentColor" fill-rule="evenodd" d="M8 1q.084 0 .166.021.098.023.186.075c1.055.624 4.22 2.486 5.277 3.11.085.05.15.112.209.192h-.002l.028.037a.5.5 0 0 1 .103.21q.031.102.033.21v6.29a.71.71 0 0 1-.347.616l-5.307 3.144a.68.68 0 0 1-.693 0l-5.307-3.144A.72.72 0 0 1 2 11.145V4.832a.71.71 0 0 1 .346-.612l5.288-3.126A.7.7 0 0 1 7.992 1zm2.901 4.349a3.75 3.75 0 1 0 0 5.302l-1.06-1.06a2.25 2.25 0 1 1 0-3.182z" clip-rule="evenodd"/>"#,
|
||||
};
|
||||
static CLAUDE: Icon = Icon {
|
||||
name: "file-tree-claude",
|
||||
view: 16.0,
|
||||
body: r#"<path fill="currentColor" d="M3.75 10.31 6.5 8.77l.04-.14-.04-.07h-.14l-.46-.03-1.57-.04-1.38-.07-1.33-.07-.34-.07L1 7.86l.03-.21.28-.18.4.03.89.07 1.33.08.97.06 1.43.16h.22l.03-.1-.07-.05-.06-.06-1.39-.92-1.48-.98-.79-.57-.42-.28-.2-.28-.1-.6.39-.41.52.04.12.03.52.4 1.12.86L6.2 6.04l.2.17.09-.06.01-.04-.1-.15-.76-1.46-.85-1.46-.37-.6-.1-.36a1 1 0 0 1-.06-.42l.42-.59.25-.07.6.08.22.2.36.84.58 1.3.9 1.77.29.53.14.47.04.14h.1v-.07l.07-1 .14-1.22.14-1.57.04-.45.23-.53.42-.28.36.15.28.41-.04.25-.16 1.08-.36 1.7-.21 1.14h.12l.14-.15.58-.76.97-1.2.42-.5.5-.51.32-.25h.6l.44.66-.2.68-.61.79-.52.65-.74 1-.45.8.04.05h.1l1.68-.36.9-.16 1.06-.18.5.23.05.22-.2.48-1.15.28-1.34.28-2 .46-.04.01.03.04.9.09.4.03h.94l1.77.14.46.28.27.37-.04.28-.72.37-.95-.23-2.24-.53-.76-.18h-.11v.06l.64.63L12 10.86l1.48 1.35.07.34-.18.28-.2-.03-1.29-.98-.5-.42-1.12-.95h-.07v.1l.25.38 1.37 2.05.07.63-.1.2-.36.14-.38-.08-.8-1.12-.85-1.26-.66-1.15-.07.05-.4 4.23-.19.21-.42.17-.35-.28-.2-.42.2-.87.23-1.12.18-.9.17-1.1.1-.36v-.03h-.1l-.84 1.16-1.27 1.72-1 1.07-.24.1-.42-.22.04-.39.22-.32 1.4-1.8.84-1.1.57-.64-.02-.07h-.04l-3.7 2.4-.66.09-.28-.28.03-.42.14-.14 1.12-.77z"/>"#,
|
||||
};
|
||||
static CPP: Icon = Icon {
|
||||
name: "file-tree-cpp",
|
||||
view: 16.0,
|
||||
body: r#"<path fill="currentColor" fill-rule="evenodd" d="M8 1q.084 0 .166.021.098.023.186.075c1.055.624 4.22 2.486 5.277 3.11.085.05.15.112.209.192h-.002l.028.037a.5.5 0 0 1 .103.21q.031.102.033.21v6.29a.71.71 0 0 1-.347.616l-5.307 3.144a.68.68 0 0 1-.693 0l-5.307-3.144A.72.72 0 0 1 2 11.145V4.832a.71.71 0 0 1 .346-.612l5.288-3.126A.7.7 0 0 1 7.992 1zm2.901 4.349a3.75 3.75 0 1 0 0 5.302l-1.06-1.06a2.25 2.25 0 1 1 0-3.182z" clip-rule="evenodd"/>"#,
|
||||
};
|
||||
static CSS: Icon = Icon {
|
||||
name: "file-tree-css",
|
||||
view: 16.0,
|
||||
body: r#"<path fill="currentColor" d="M8 15c-5.76 0-7-1.24-7-7V2a1 1 0 0 1 1-1h6c5.77 0 7 1.24 7 7s-1.24 7-7 7" opacity=".2"/><path fill="currentColor" d="M10.1 9.19h.73c.03.49.22.6 1 .6.76 0 .93-.12.93-.68 0-.52-.17-.67-.94-.85-1.38-.3-1.68-.56-1.68-1.47 0-1.05.3-1.29 1.67-1.29 1.29 0 1.57.2 1.6 1.13h-.74c-.01-.34-.17-.42-.85-.42-.77 0-.94.1-.94.58 0 .42.17.55.96.73 1.36.3 1.66.58 1.66 1.59 0 1.14-.31 1.39-1.73 1.39-1.39 0-1.69-.24-1.67-1.31m-3.9 0h.74c.03.49.21.6.99.6.76 0 .93-.12.93-.68 0-.52-.17-.67-.93-.85-1.39-.3-1.69-.56-1.69-1.47 0-1.05.3-1.29 1.67-1.29 1.3 0 1.58.2 1.6 1.13h-.73c-.02-.34-.18-.42-.85-.42-.78 0-.95.1-.95.58 0 .42.17.55.96.73 1.37.3 1.67.58 1.67 1.59 0 1.14-.32 1.39-1.74 1.39-1.38 0-1.68-.24-1.66-1.31m-1.22 0h.75c-.09 1.07-.37 1.31-1.56 1.31-1.37 0-1.68-.45-1.68-2.5 0-1.96.36-2.5 1.68-2.5 1.16 0 1.44.25 1.52 1.35h-.76c-.08-.52-.22-.64-.76-.64-.74 0-.9.33-.9 1.78 0 1.47.16 1.8.9 1.8.58 0 .74-.11.8-.6"/>"#,
|
||||
};
|
||||
static DATABASE: Icon = Icon {
|
||||
name: "file-tree-database",
|
||||
view: 16.0,
|
||||
body: r#"<path fill="currentColor" d="M14.953 9.733a12.4 12.4 0 0 1-.244 1.936c-.207.933-.532 1.58-.996 2.044s-1.11.789-2.044.996C10.73 14.918 9.533 15 8 15s-2.73-.082-3.669-.291c-.933-.207-1.58-.532-2.044-.996s-.789-1.11-.996-2.044c-.122-.547-.2-1.182-.244-1.92q.23.364.532.667c.64.639 1.482 1.031 2.533 1.265 1.046.232 2.33.315 3.884.315 1.555 0 2.838-.083 3.884-.315 1.051-.234 1.893-.626 2.532-1.265a4 4 0 0 0 .541-.683"/><path fill="currentColor" d="M14.93 5.924c-.046.663-.118 1.24-.23 1.743-.207.932-.532 1.579-.995 2.042s-1.11.789-2.042.996c-.938.209-2.135.291-3.667.291-1.531 0-2.729-.082-3.667-.29-.932-.208-1.579-.534-2.042-.997s-.789-1.11-.996-2.042a12 12 0 0 1-.227-1.683l.016-.188a4 4 0 0 0 .5.62c.638.639 1.48 1.031 2.532 1.265 1.046.232 2.33.315 3.884.315 1.555 0 2.838-.083 3.884-.315 1.051-.234 1.893-.626 2.532-1.265.192-.192.357-.404.506-.633z"/><path fill="currentColor" d="M8 1c1.533 0 2.73.082 3.669.291.933.207 1.58.533 2.044.996.403.404.904.944.91 1.695.004.764-.509 1.318-.918 1.727-.463.463-1.11.789-2.042.996-.938.209-2.135.291-3.667.291-1.531 0-2.729-.082-3.667-.29-.932-.208-1.579-.534-2.042-.997-.406-.406-.915-.953-.915-1.71 0-.758.509-1.305.915-1.712.464-.463 1.11-.789 2.044-.996C5.27 1.082 6.467 1 8 1"/>"#,
|
||||
};
|
||||
static DEFAULT: Icon = Icon {
|
||||
name: "file-tree-default",
|
||||
view: 16.0,
|
||||
body: r#"<path fill="currentColor" d="M8 1v3a3 3 0 0 0 3 3h3v5.5a2.5 2.5 0 0 1-2.5 2.5h-7A2.5 2.5 0 0 1 2 12.5v-9A2.5 2.5 0 0 1 4.5 1z" opacity=".4"/><path fill="currentColor" d="M9.5 1a.5.5 0 0 1 .354.146l4 4A.5.5 0 0 1 14 5.5V6h-3a2 2 0 0 1-2-2V1z"/>"#,
|
||||
};
|
||||
static DOCKER: Icon = Icon {
|
||||
name: "file-tree-docker",
|
||||
view: 16.0,
|
||||
body: r#"<path fill="currentColor" d="M15.85 6.54c-.05-.04-.45-.36-1.31-.36q-.34 0-.68.06a2.7 2.7 0 0 0-1.14-1.79l-.23-.14-.15.23a3 3 0 0 0-.4 1q-.24 1.01.26 1.84c-.4.24-1.03.3-1.17.3H.5a.5.5 0 0 0-.5.52q-.01 1.46.46 2.83.55 1.5 1.6 2.18c.79.5 2.08.79 3.54.79q.96 0 1.94-.18a8 8 0 0 0 2.55-.97 7 7 0 0 0 1.73-1.5 10 10 0 0 0 1.7-3.06h.15a2.4 2.4 0 0 0 1.8-.7 2 2 0 0 0 .47-.74l.06-.2z"/><path fill="currentColor" d="M1.48 7.36h1.4a.14.14 0 0 0 .14-.13V5.91q-.01-.12-.13-.14H1.48a.13.13 0 0 0-.13.14v1.32q.02.13.13.13m1.94 0h1.41a.14.14 0 0 0 .13-.13V5.91q-.01-.12-.13-.14h-1.4a.13.13 0 0 0-.13.14v1.32q0 .13.12.13m1.98 0h1.4q.13 0 .14-.13V5.91a.13.13 0 0 0-.14-.14H5.4q-.1.01-.12.14v1.32q0 .13.12.13m1.95 0h1.42q.1 0 .12-.13V5.91q0-.12-.12-.14H7.35q-.1.01-.12.14v1.32q.01.13.12.13M3.42 5.5h1.41c.07 0 .13-.08.13-.15V4.03a.13.13 0 0 0-.13-.14h-1.4q-.12 0-.13.14v1.31q0 .13.12.15m1.98 0h1.4c.08 0 .14-.08.14-.15V4.03q0-.13-.14-.14H5.4q-.1 0-.12.14v1.31q0 .13.12.15m1.95 0h1.42c.06 0 .12-.08.12-.15V4.03q-.01-.13-.12-.14H7.35q-.1 0-.12.14v1.31q.01.13.12.15m0-1.9h1.42q.1-.02.12-.14v-1.3Q8.88 2 8.77 2H7.35q-.1 0-.12.14v1.3q.01.13.12.14m1.97 3.78h1.4a.13.13 0 0 0 .14-.13V5.91q-.01-.12-.13-.14H9.32q-.1.01-.12.14v1.32q.01.13.12.13" opacity=".5"/>"#,
|
||||
};
|
||||
static ESLINT: Icon = Icon {
|
||||
name: "file-tree-eslint",
|
||||
view: 16.0,
|
||||
body: r#"<path fill="currentColor" d="M11.16 6.1 8.12 4.35a.3.3 0 0 0-.24 0L4.84 6.1a.3.3 0 0 0-.12.2v3.5q0 .14.12.22l3.04 1.74q.12.08.24 0l3.04-1.74a.2.2 0 0 0 .13-.22V6.3a.3.3 0 0 0-.13-.2" opacity=".5"/><path fill="currentColor" d="m.1 7.69 3.63-6.3A.8.8 0 0 1 4.37 1h7.26c.26 0 .5.17.64.4l3.63 6.27a.8.8 0 0 1 0 .75l-3.63 6.24a.7.7 0 0 1-.64.34H4.37a.7.7 0 0 1-.64-.34L.1 8.41a.7.7 0 0 1 0-.72m3 3.02q.01.15.14.23l4.63 2.66q.13.06.26 0l4.63-2.66a.3.3 0 0 0 .14-.23V5.4a.3.3 0 0 0-.14-.23L8.13 2.52a.3.3 0 0 0-.26 0L3.24 5.17a.3.3 0 0 0-.14.23z"/>"#,
|
||||
};
|
||||
static FONT: Icon = Icon {
|
||||
name: "file-tree-font",
|
||||
view: 16.0,
|
||||
body: r#"<path fill="currentColor" d="M12.3 13c-1.59 0-2.68-.99-2.68-2.5 0-1.43 1-2.34 2.88-2.35h2.16v-.83c0-1.08-.62-1.68-1.73-1.68-1.05 0-1.66.54-1.73 1.36H9.93c.09-1.43 1.06-2.48 3.05-2.48 1.75 0 3.02.95 3.02 2.68v5.66h-1.29v-1.02h-.04c-.41.66-1.16 1.16-2.37 1.16m.36-1.12c1.14 0 2-.72 2-1.74v-.96H12.6c-1.12 0-1.6.54-1.6 1.28 0 .97.8 1.42 1.66 1.42m-11.24.98H0L3.8 2h1.39l3.8 10.86H7.54l-1.08-3.2H2.5zm3.09-9.25h-.04l-1.6 4.95H6.1z"/>"#,
|
||||
};
|
||||
static GIT: Icon = Icon {
|
||||
name: "file-tree-git",
|
||||
view: 16.0,
|
||||
body: r#"<path fill="currentColor" d="M14.74 7.38 8.62 1.26a.9.9 0 0 0-1.27 0L6.08 2.53l1.61 1.61a1.07 1.07 0 0 1 1.36 1.37l1.55 1.55a1.07 1.07 0 0 1 1.1 1.77 1.07 1.07 0 0 1-1.74-1.16L8.5 6.22v3.8a1.07 1.07 0 1 1-.89-.02V6.15a1.07 1.07 0 0 1-.58-1.4l-1.58-1.6-4.2 4.2a.9.9 0 0 0 0 1.27l6.12 6.12a.9.9 0 0 0 1.27 0l6.09-6.09a.9.9 0 0 0 0-1.27"/>"#,
|
||||
};
|
||||
static GO: Icon = Icon {
|
||||
name: "file-tree-go",
|
||||
view: 16.0,
|
||||
body: r#"<path fill="currentColor" fill-rule="evenodd" d="M4.41 4.57A3.2 3.2 0 0 1 6.87 5q.74.49 1.08 1.29.08.12-.1.16l-1.55.4c-.14.03-.15.04-.27-.1a1 1 0 0 0-.44-.34 1.6 1.6 0 0 0-1.68.14q-.95.61-.94 1.73c0 .73.52 1.33 1.25 1.43q.95.1 1.58-.6l.25-.34h-1.8c-.19 0-.24-.12-.17-.27.12-.28.34-.76.47-1a.3.3 0 0 1 .24-.14h2.98a4 4 0 0 1 .64-1.19 4 4 0 0 1 2.6-1.52 3.5 3.5 0 0 1 2.64.46q1.13.73 1.31 2.04a3.5 3.5 0 0 1-1.06 3.09q-.93.92-2.23 1.17l-.74.08a3.5 3.5 0 0 1-2.27-.8 3 3 0 0 1-.93-1.42 4 4 0 0 1-.39.61 4 4 0 0 1-2.64 1.56 3.3 3.3 0 0 1-2.5-.6 3 3 0 0 1-1.18-2.03 3.5 3.5 0 0 1 .8-2.67 4 4 0 0 1 2.6-1.58M13.1 7.5a1.53 1.53 0 0 0-1.9-1.21q-1.3.3-1.62 1.59a1.5 1.5 0 0 0 .85 1.72q.77.33 1.52-.05a2 2 0 0 0 1.18-1.74q0-.17-.03-.3" clip-rule="evenodd"/>"#,
|
||||
};
|
||||
static GRAPHQL: Icon = Icon {
|
||||
name: "file-tree-graphql",
|
||||
view: 16.0,
|
||||
body: r#"<path fill="currentColor" fill-rule="evenodd" d="M8 1a1.25 1.25 0 0 1 1.18 1.65l2.8 1.61q.33-.25.77-.26a1.25 1.25 0 0 1 .48 2.4v3.2a1.25 1.25 0 1 1-1.25 2.13l-2.8 1.62A1.25 1.25 0 0 1 8 15a1.25 1.25 0 0 1-1.18-1.65l-2.8-1.62q-.33.26-.77.27a1.25 1.25 0 0 1-.48-2.4V6.4a1.25 1.25 0 1 1 1.25-2.14l2.8-1.61A1.25 1.25 0 0 1 8 1M4.44 11.14l-.06.13 2.75 1.58a1.25 1.25 0 0 1 1.74 0l2.74-1.58-.05-.13zm3.89-7.68a1.3 1.3 0 0 1-.66 0L4.03 9.77q.37.3.45.78h7.04q.08-.48.45-.78zM4.38 4.73a1.24 1.24 0 0 1-1.02 1.76v3.02l.13.01 3.67-6.35-.03-.02zm4.46-1.56 3.67 6.35.13-.01V6.49a1.25 1.25 0 0 1-1.03-1.76L8.87 3.15z" clip-rule="evenodd"/>"#,
|
||||
};
|
||||
static HTML: Icon = Icon {
|
||||
name: "file-tree-html",
|
||||
view: 16.0,
|
||||
body: r#"<path fill="currentColor" d="M8 1C2.24 1 1 2.24 1 8s1.24 7 7 7 7-1.24 7-7-1.24-7-7-7" opacity=".2"/><path fill="currentColor" d="M10.48 3.76a.5.5 0 0 1 .4.58L10.6 5.8h1.14a.5.5 0 0 1 0 1h-1.32L10 9.2h1.08a.5.5 0 0 1 0 1H9.8l-.3 1.64a.5.5 0 1 1-.98-.18l.27-1.46H6.4l-.3 1.64a.5.5 0 1 1-.98-.18l.27-1.46H4.25a.5.5 0 0 1 0-1h1.32L6 6.8H4.93a.5.5 0 0 1 0-1H6.2l.3-1.64a.5.5 0 1 1 .98.18L7.2 5.8h2.4l.3-1.64a.5.5 0 0 1 .58-.4M6.58 9.2h2.4l.44-2.4h-2.4z"/>"#,
|
||||
};
|
||||
static IMAGE: Icon = Icon {
|
||||
name: "file-tree-image",
|
||||
view: 16.0,
|
||||
body: r#"<path fill="currentColor" d="M12.5 2A2.5 2.5 0 0 1 15 4.5v4.67l-4.05-3.54-4.08 4.08-3-2L1 10.6V4.5A2.5 2.5 0 0 1 3.5 2z" opacity=".3"/><path fill="currentColor" d="M15 10.5v1a2.5 2.5 0 0 1-2.5 2.5h-9a2.5 2.5 0 0 1-2.46-2.04L4 9l3 2 4-4zm-7-5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0"/>"#,
|
||||
};
|
||||
static JAVASCRIPT: Icon = Icon {
|
||||
name: "file-tree-javascript",
|
||||
view: 16.0,
|
||||
body: r#"<path fill="currentColor" d="M8 1C2.24 1 1 2.24 1 8s1.24 7 7 7 7-1.24 7-7-1.24-7-7-7" opacity=".2"/><path fill="currentColor" d="M8.1 9.64h.95c.04.62.28.76 1.28.76s1.2-.14 1.2-.85c0-.66-.2-.85-1.2-1.07-1.79-.38-2.18-.7-2.18-1.86C8.15 5.3 8.54 5 10.31 5c1.67 0 2.04.26 2.07 1.42h-.95c-.02-.43-.23-.53-1.1-.53-1 0-1.22.14-1.22.74 0 .52.22.7 1.24.92 1.76.38 2.15.73 2.15 2 0 1.44-.4 1.75-2.24 1.75-1.8 0-2.18-.3-2.15-1.66M3.5 9.5h.98c0 .76.15.92.85.92.77 0 .94-.18.94-1.02V5.1h1v4.34c0 1.54-.35 1.87-1.92 1.87-1.55 0-1.89-.32-1.86-1.8"/>"#,
|
||||
};
|
||||
static JSON: Icon = Icon {
|
||||
name: "file-tree-json",
|
||||
view: 16.0,
|
||||
body: r#"<path fill="currentColor" d="M13.25 11.5V9.75a.5.5 0 0 1 .36-.48l.55-.15a1.16 1.16 0 0 0 0-2.24l-.55-.15a.5.5 0 0 1-.36-.48V4.5a2.5 2.5 0 0 0-2.5-2.5h-.25a.5.5 0 0 0 0 1h.25a1.5 1.5 0 0 1 1.5 1.5v1.75a1.5 1.5 0 0 0 1.09 1.44l.54.15a.16.16 0 0 1 0 .32l-.54.15a1.5 1.5 0 0 0-1.09 1.44v1.75a1.5 1.5 0 0 1-1.5 1.5h-.25a.5.5 0 0 0 0 1h.25a2.5 2.5 0 0 0 2.5-2.5m-10.5 0V9.75a.5.5 0 0 0-.36-.48l-.55-.15a1.16 1.16 0 0 1 0-2.24l.55-.15a.5.5 0 0 0 .36-.48V4.5A2.5 2.5 0 0 1 5.25 2h.25a.5.5 0 0 1 0 1h-.25a1.5 1.5 0 0 0-1.5 1.5v1.75a1.5 1.5 0 0 1-1.09 1.44l-.54.15a.16.16 0 0 0 0 .32l.54.15a1.5 1.5 0 0 1 1.09 1.45v1.74a1.5 1.5 0 0 0 1.5 1.5h.25a.5.5 0 0 1 0 1h-.25a2.5 2.5 0 0 1-2.5-2.5"/>"#,
|
||||
};
|
||||
static MARKDOWN: Icon = Icon {
|
||||
name: "file-tree-markdown",
|
||||
view: 16.0,
|
||||
body: r#"<path fill="currentColor" d="M1 12V4h2l2 2.5L7 4h2v8H7V7.5l-2 2-2-2V12zm9-3 3 3.5L16 9h-2V4h-2v5z"/>"#,
|
||||
};
|
||||
static MCP: Icon = Icon {
|
||||
name: "file-tree-mcp",
|
||||
view: 16.0,
|
||||
body: r#"<path fill="currentColor" d="M9.26-.04a3 3 0 0 1 2 .82 2.8 2.8 0 0 1 .8 2.35 2.9 2.9 0 0 1 2.41.8l.03.02a2.74 2.74 0 0 1 0 3.94l-5.8 5.69-.04.06-.02.07q0 .04.02.07.01.04.04.06l1.2 1.17a.55.55 0 0 1 0 .79.6.6 0 0 1-.81 0l-1.2-1.17a1.3 1.3 0 0 1 0-1.84L13.7 7.1a1.65 1.65 0 0 0 .37-1.82 2 2 0 0 0-.37-.54l-.03-.03a1.73 1.73 0 0 0-2.4 0L6.47 9.4l-.07.06a.58.58 0 0 1-.92-.18.6.6 0 0 1 .12-.6l4.85-4.76a1.65 1.65 0 0 0 0-2.36 1.73 1.73 0 0 0-2.4 0l-6.43 6.3a.6.6 0 0 1-.8 0 .55.55 0 0 1 0-.8L7.25.79a3 3 0 0 1 2-.82"/><path fill="currentColor" d="M9.26 2.19a.6.6 0 0 1 .52.34.6.6 0 0 1 0 .43l-.12.18L4.9 7.79a1.65 1.65 0 0 0 0 2.36 1.73 1.73 0 0 0 2.4 0l4.75-4.66a.58.58 0 0 1 .93.18.6.6 0 0 1-.12.61l-4.75 4.66a2.9 2.9 0 0 1-4.01 0 2.75 2.75 0 0 1-.62-3.04A3 3 0 0 1 4.1 7l4.74-4.65a.6.6 0 0 1 .4-.16"/>"#,
|
||||
};
|
||||
static NEXTJS: Icon = Icon {
|
||||
name: "file-tree-nextjs",
|
||||
view: 16.0,
|
||||
body: r#"<defs><linearGradient id="a" x1="4.522" x2="14" y1="3.943" y2="16" gradientUnits="userSpaceOnUse"><stop stop-color="currentColor"/><stop offset="1" stop-color="currentColor" stop-opacity="0"/></linearGradient></defs><path fill="currentColor" d="M3 2h1.522v9.09H3z"/><path fill="url(#a)" d="M4.903 2 15 15.075q-.565.5-1.195.925L4.522 3.943z"/><path fill="currentColor" d="M12.172 2h-1.508v9.094h1.508z"/>"#,
|
||||
};
|
||||
static OXC: Icon = Icon {
|
||||
name: "file-tree-oxc",
|
||||
view: 16.0,
|
||||
body: r#"<path fill="currentColor" d="M9.5 1a.5.5 0 0 1 .5.5V3h3.5a.5.5 0 0 1 .38.83L10.5 7.69v1.44q.41.04.95-.16a4 4 0 0 0 .72-.35l.04-.03h.01a.5.5 0 0 1 .67.1l2 2.5a.5.5 0 0 1 0 .62c-.76.96-3.14 2.69-6.89 2.69s-6.13-1.73-6.89-2.69a.5.5 0 0 1 0-.62l2-2.5a.5.5 0 0 1 .67-.1l.05.03.16.09q.22.13.56.26.54.2.95.16V7.69L2.12 3.83A.5.5 0 0 1 2.5 3H6V1.5a.5.5 0 0 1 .5-.5zM7 3.5a.5.5 0 0 1-.5.5H3.6l2.78 3.17a.5.5 0 0 1 .12.33v2a.5.5 0 0 1-.28.45c-.7.35-1.5.15-2.02-.05a5 5 0 0 1-.58-.26l-1.46 1.84c.82.78 2.8 2.02 5.84 2.02s5.02-1.24 5.84-2.02l-1.46-1.83a5 5 0 0 1-.58.26c-.52.2-1.33.39-2.02.04a.5.5 0 0 1-.28-.45v-2a.5.5 0 0 1 .12-.33L12.4 4H9.5a.5.5 0 0 1-.5-.5V2H7z"/>"#,
|
||||
};
|
||||
static POSTCSS: Icon = Icon {
|
||||
name: "file-tree-postcss",
|
||||
view: 16.0,
|
||||
body: r#"<path fill="currentColor" d="M14.5 8a6.5 6.5 0 0 0-5.9-6.47l5.42 8.93A7 7 0 0 0 14.5 8M2.88 12A6.5 6.5 0 0 0 8 14.5c2.08 0 3.93-.98 5.12-2.5zm8.62-1h1.68L11.5 8.24zm-1-.55a4 4 0 0 1-.7.55h.7zM8 5.5a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5M5.5 11h.7a4 4 0 0 1-.7-.55zm-2.68 0H4.5V8.24zm3.76-6.2A4 4 0 0 1 8 4.5q.76 0 1.42.3L8 2.46zM1.5 8q0 1.31.48 2.46L7.4 1.53A6.5 6.5 0 0 0 1.5 8m14 0a7.5 7.5 0 0 1-.99 3.72l-.01.03-.02.03A7.5 7.5 0 0 1 8 15.5a7.5 7.5 0 0 1-6.5-3.75l-.01-.03A7.5 7.5 0 1 1 15.5 8"/>"#,
|
||||
};
|
||||
static PRETTIER: Icon = Icon {
|
||||
name: "file-tree-prettier",
|
||||
view: 16.0,
|
||||
body: r#"<path fill="currentColor" d="M6 12v1H4.93v-1zm1-2v1H2v-1zm6-4v1h-3V6zm-1-4v1H9V2z"/><path fill="currentColor" d="M11.5 10v1H8v-1zM5 6v1H2V6zm5-2v1H9V4z" opacity=".8"/><path fill="currentColor" d="M6 14v1H2v-1zm-.5-6v1H2V8zM13 4v1h-3V4zM4.93 2v1H2V2z" opacity=".6"/><path fill="currentColor" d="M4.93 12v1H2v-1zM13 8v1H9V8zM5.5 4v1H2V4zM9 2v1H4.93V2z" opacity=".4"/>"#,
|
||||
};
|
||||
static PYTHON: Icon = Icon {
|
||||
name: "file-tree-python",
|
||||
view: 16.0,
|
||||
body: r#"<path fill="currentColor" d="M8.33 8.4H10c1.16 0 1.9-.73 1.9-1.86V5.08q0-.24.25-.24h.74c.75 0 1.33.32 1.66.97q.4.73.41 1.46c.09.9.09 1.78-.24 2.67-.25.73-.75 1.3-1.58 1.46h-4.8c-.08 0-.25 0-.25.08v.4s.17.09.25.09h2.82q.34-.02.33.32v1.06c0 .56-.25.97-.75 1.13-.41.16-.83.33-1.24.4a7 7 0 0 1-2.98-.07 3 3 0 0 1-1.16-.49c-.33-.32-.58-.65-.5-1.14v-2.91c0-1.13.67-1.78 1.82-1.78q.89-.1 1.66-.08m2.32 4.86a.65.65 0 0 0-.66-.65c-.34 0-.67.33-.67.65s.33.57.67.65a.65.65 0 0 0 .66-.65" opacity=".8"/><path fill="currentColor" d="M7.67 7.6H6c-1.16 0-1.9.73-1.9 1.86v1.46q0 .24-.25.24h-.74c-.75 0-1.33-.32-1.66-.97a3 3 0 0 1-.41-1.46 6 6 0 0 1 .24-2.67c.25-.73.75-1.3 1.58-1.46h4.8c.08 0 .25 0 .25-.08v-.4s-.17-.09-.25-.09H4.85c-.24 0-.33-.08-.33-.32V2.65c0-.56.25-.97.75-1.13.41-.16.83-.33 1.24-.4a7 7 0 0 1 2.98.07c.41.09.83.25 1.16.49.33.32.58.65.5 1.13v2.92c0 1.14-.67 1.78-1.82 1.78-.58.08-1.16.08-1.66.08M5.35 2.73c0 .33.25.65.66.65.33 0 .66-.32.66-.65 0-.32-.33-.56-.66-.64a.65.65 0 0 0-.66.64"/>"#,
|
||||
};
|
||||
static REACT: Icon = Icon {
|
||||
name: "file-tree-react",
|
||||
view: 16.0,
|
||||
body: r#"<path fill="currentColor" d="M8 6.65c.73 0 1.31.6 1.31 1.35S8.73 9.35 8 9.35 6.69 8.75 6.69 8 7.27 6.65 8 6.65"/><path fill="currentColor" fill-rule="evenodd" d="M8 2.55c1.3-.99 2.59-1.34 3.5-.8.92.55 1.27 1.87 1.08 3.53C14.06 5.94 15 6.9 15 8s-.94 2.06-2.42 2.72c.19 1.65-.16 2.98-1.08 3.52-.91.55-2.2.2-3.5-.8-1.3 1-2.58 1.35-3.5.8-.91-.54-1.27-1.87-1.08-3.52C1.94 10.06 1 9.1 1 8s.94-2.06 2.42-2.72c-.19-1.66.17-2.98 1.08-3.52s2.2-.2 3.5.8M4.26 11.2c-.08 1.34.28 2.03.68 2.26s1.15.22 2.25-.52l.11-.09a12 12 0 0 1-1.24-1.39 11 11 0 0 1-1.8-.41zm7.47-.15q-.83.27-1.79.41-.6.8-1.24 1.4l.11.08c1.1.74 1.86.76 2.25.52.4-.23.76-.92.68-2.26zm-3.04.54a14 14 0 0 1-1.38 0q.34.38.69.7.35-.32.7-.7M8 5.29q-.76 0-1.47.1A13 13 0 0 0 5.07 8a14 14 0 0 0 1.46 2.62 13 13 0 0 0 2.94 0A13 13 0 0 0 10.93 8a14 14 0 0 0-1.46-2.62A13 13 0 0 0 8 5.3M4.64 9.18q-.15.5-.25.96.44.16.94.27a15 15 0 0 1-.7-1.23m6.73 0a15 15 0 0 1-.7 1.23q.5-.11.95-.27a10 10 0 0 0-.25-.96M3.44 6.26C2.27 6.86 1.87 7.53 1.87 8s.4 1.14 1.57 1.74l.13.07q.18-.88.55-1.81a12 12 0 0 1-.55-1.8q-.07.02-.13.06m8.99-.07A12 12 0 0 1 11.88 8q.36.94.55 1.8l.13-.06c1.17-.6 1.56-1.27 1.56-1.74s-.39-1.14-1.56-1.74zm-7.1-.6q-.5.11-.94.27.1.46.25.96a15 15 0 0 1 .69-1.23m5.34 0a15 15 0 0 1 .7 1.23q.14-.5.24-.96-.44-.15-.94-.27M7.18 3.06c-1.09-.74-1.85-.76-2.24-.52s-.76.92-.69 2.26l.01.15a11 11 0 0 1 1.8-.41q.6-.8 1.24-1.4zm3.88-.52c-.4-.24-1.15-.22-2.25.52l-.12.08q.65.6 1.25 1.4.96.15 1.8.41v-.14c.08-1.35-.28-2.04-.68-2.27M8 3.7a10 10 0 0 0-.7.7 14 14 0 0 1 1.4 0 10 10 0 0 0-.7-.7" clip-rule="evenodd"/>"#,
|
||||
};
|
||||
static RUBY: Icon = Icon {
|
||||
name: "file-tree-ruby",
|
||||
view: 16.0,
|
||||
body: r#"<path fill="currentColor" fill-rule="evenodd" d="M11.04 2c.48 0 .92.23 1.18.6l2.54 3.65c.37.52.3 1.23-.15 1.69l-5.58 5.64a1.47 1.47 0 0 1-2.06 0L1.39 7.94a1.3 1.3 0 0 1-.15-1.7l2.54-3.63q.2-.3.5-.45.33-.16.68-.16zm.84 2.17a.5.5 0 0 0-.7-.05L8 6.84 4.83 4.12a.5.5 0 0 0-.65.76L6.65 7H3.5a.5.5 0 0 0 0 1h9a.5.5 0 0 0 0-1H9.35l2.48-2.12a.5.5 0 0 0 .05-.7" clip-rule="evenodd"/>"#,
|
||||
};
|
||||
static RUST: Icon = Icon {
|
||||
name: "file-tree-rust",
|
||||
view: 16.0,
|
||||
body: r#"<path fill="currentColor" fill-rule="evenodd" d="M8 .8a.2.2 0 0 1 .18.1l.38.6.16.02.5-.53.01-.01a.2.2 0 0 1 .33.08l.25.68.16.05.59-.43h.02a.2.2 0 0 1 .3.14l.12.71.15.08.65-.3a.2.2 0 0 1 .2.02.2.2 0 0 1 .1.18l-.03.72.12.1.71-.16a.2.2 0 0 1 .25.25l-.17.7q.06.06.1.13l.73-.03A.2.2 0 0 1 14 4a.2.2 0 0 1 .02.2l-.3.66.08.14.71.12a.2.2 0 0 1 .14.32l-.43.59.05.16.68.25a.2.2 0 0 1 .07.35l-.53.49.01.16.62.38a.2.2 0 0 1 0 .36l-.62.38-.01.16.53.5a.2.2 0 0 1-.07.34l-.68.25-.05.16.43.59a.2.2 0 0 1-.14.32l-.72.12-.07.15.3.65a.2.2 0 0 1-.02.2.2.2 0 0 1-.18.1l-.72-.03-.1.13.16.7a.2.2 0 0 1-.25.25l-.7-.17-.13.1.03.73a.2.2 0 0 1-.1.18.2.2 0 0 1-.2.02l-.66-.3-.14.08-.12.71a.2.2 0 0 1-.32.14l-.59-.43-.16.05-.25.68a.2.2 0 0 1-.34.07l-.5-.53-.16.01-.38.62a.2.2 0 0 1-.36 0l-.38-.62-.16-.01-.5.53a.2.2 0 0 1-.34-.07l-.25-.68-.16-.05-.59.43a.2.2 0 0 1-.32-.14L5 13.78l-.15-.07-.65.3a.2.2 0 0 1-.2-.02.2.2 0 0 1-.1-.18l.03-.72-.13-.1-.7.16a.2.2 0 0 1-.25-.25l.17-.7-.1-.13-.73.03a.2.2 0 0 1-.2-.3l.3-.66-.08-.14-.71-.12a.2.2 0 0 1-.14-.32l.43-.59-.05-.16-.68-.25A.2.2 0 0 1 1 9.22l.53-.5-.02-.16-.6-.38A.2.2 0 0 1 .8 8a.2.2 0 0 1 .1-.18l.6-.38.02-.16-.53-.5a.2.2 0 0 1 .07-.34l.68-.25.05-.16-.43-.59a.2.2 0 0 1 .14-.32L2.2 5l.08-.15L2 4.2a.2.2 0 0 1 .2-.3l.72.03.1-.13-.16-.7a.2.2 0 0 1 .25-.25l.7.16.13-.1-.03-.72A.2.2 0 0 1 4 2a.2.2 0 0 1 .2-.02l.65.3L5 2.2l.12-.71v-.03a.2.2 0 0 1 .32-.1l.59.41.16-.04.25-.68.01-.02A.2.2 0 0 1 6.8.99l.49.53.16-.02.38-.61.02-.02A.2.2 0 0 1 8 .79M6.8 9.45h1.26l.06.01q.03.01.03.05v1.52q0 .07-.09.06h-4.5A5.4 5.4 0 0 0 8 13.42a5.4 5.4 0 0 0 4.45-2.33h-2.42c-.36 0-.68-.5-.77-.75-.08-.22-.2-.91-.25-1.12-.15-.61-.59-.71-.78-.73H6.8zM8 2.58a5.4 5.4 0 0 0-4.07 1.85h5.74l.17.02c.23.03.6.12.96.35.34.23.83.68.83 1.4 0 .66-.55 1.16-1.08 1.5.42.33.7.53.86 1.44.04.17.34.32.62.29.29-.03.62-.16.62-.75v-.24q0-.1.07-.1h.68A5.43 5.43 0 0 0 8 2.59M2.96 6.03a5.4 5.4 0 0 0-.19 3.37h1.66V6.03zM6.8 7.06h1.66c.35 0 .77-.12.77-.47 0-.42-.55-.53-.65-.53H6.8z" clip-rule="evenodd"/>"#,
|
||||
};
|
||||
static SASS: Icon = Icon {
|
||||
name: "file-tree-sass",
|
||||
view: 16.0,
|
||||
body: r#"<path fill="currentColor" fill-rule="evenodd" d="M8.08 1.44c2.41-.91 4.96-.37 5.35 1.27.39 1.62-.92 3.56-2.6 4.25a5 5 0 0 1-3.26.35c-.58-.2-.92-.62-1-.85-.03-.09-.09-.24 0-.3.05-.03.08-.02.22.15s.7.6 1.75.48c2.78-.34 4.45-2.64 3.92-3.88-.37-.87-2.5-1.26-5.18.16C4.03 4.81 3.85 6.24 3.82 6.8c-.08 1.5 1.73 2.28 2.7 3.4q.04.03.07.08c.3-.12.7-.19 1.35-.2 1.58-.03 2.47 1.08 2.43 2.08-.03.78-.7 1.1-.82 1.13-.1.01-.14.02-.15-.06q-.03-.06.13-.15c.16-.09.42-.3.48-.72.05-.43-.24-1.44-1.76-1.63a3 3 0 0 0-1.33.08c.27.62.32 1.87-.29 2.83-.63 1-1.8 1.61-2.93 1.27-.37-.1-.93-.92-.45-2.05.46-1.07 2.4-2.12 2.66-2.26-.9-.83-3.08-1.95-3.4-3.65-.08-.49.13-1.65 1.46-2.98a12 12 0 0 1 4.11-2.52m-1.88 9.7c-.01.01-.9.47-1.52 1.17-.59.66-.75 1.48-.43 1.69.3.18 1-.04 1.51-.62a3 3 0 0 0 .5-.9q.2-.64.02-1.39z" clip-rule="evenodd"/>"#,
|
||||
};
|
||||
static STYLELINT: Icon = Icon {
|
||||
name: "file-tree-stylelint",
|
||||
view: 16.0,
|
||||
body: r#"<path fill="currentColor" d="M4 3v3.5l1.5-1L7 15 .5 6l1-1.5L0 3l2.5-2h1zm12 0-1.5 1.5 1 1.5L9 15l1.5-9.5 1.5 1V3l.5-2h1zm-8 8.5a.5.5 0 1 1 0 1 .5.5 0 0 1 0-1m0-3a.5.5 0 1 1 0 1 .5.5 0 0 1 0-1m0-3a.5.5 0 1 1 0 1 .5.5 0 0 1 0-1"/><path fill="currentColor" d="M6.5 2.5V4l-2 1.5v-4zm5 3L9.5 4V2.5l2-1zM9 4H7V2.5h2z"/>"#,
|
||||
};
|
||||
static SVELTE: Icon = Icon {
|
||||
name: "file-tree-svelte",
|
||||
view: 16.0,
|
||||
body: r#"<path fill="currentColor" d="m3.98 3.7 3.36-2.08a4.5 4.5 0 0 1 5.9 1.23 4 4 0 0 1 .7 3.02q-.16.75-.58 1.4c.42.77.56 1.66.4 2.52a3.7 3.7 0 0 1-1.57 2.4l-.17.1-3.36 2.09a4.5 4.5 0 0 1-5.9-1.23 4 4 0 0 1-.66-1.44 4 4 0 0 1-.04-1.58 4 4 0 0 1 .58-1.4 4 4 0 0 1-.4-2.52 3.7 3.7 0 0 1 1.57-2.4zl3.36-2.08zm7.87 0a2.7 2.7 0 0 0-1.26-.95 2.7 2.7 0 0 0-1.6-.07 3 3 0 0 0-.52.2l-.16.09-3.36 2.08a2 2 0 0 0-.69.64 2 2 0 0 0-.36.86 2.3 2.3 0 0 0 .42 1.81A2.7 2.7 0 0 0 7.18 9.4q.28-.06.53-.2l.16-.09 1.28-.79.2-.09a.8.8 0 0 1 .87.31.7.7 0 0 1 .13.55.7.7 0 0 1-.24.4l-.08.05-3.36 2.08-.2.09a1 1 0 0 1-.49-.02 1 1 0 0 1-.38-.3 1 1 0 0 1-.13-.37v-.1l.01-.13-.13-.03a4 4 0 0 1-1.1-.5l-.2-.14-.18-.12-.07.18-.08.3a2.3 2.3 0 0 0 .43 1.82q.45.64 1.19.93.73.28 1.51.14l.16-.04q.27-.07.52-.2l.16-.09 3.36-2.08q.4-.25.69-.64.27-.4.36-.86a2.3 2.3 0 0 0-.42-1.82 2.7 2.7 0 0 0-1.27-.95 2.7 2.7 0 0 0-1.6-.08q-.27.07-.52.2l-.16.1-1.28.79-.2.09a1 1 0 0 1-.49-.03 1 1 0 0 1-.38-.29.7.7 0 0 1-.13-.54.7.7 0 0 1 .24-.4l.08-.06L9.33 4.4l.2-.1a.8.8 0 0 1 .87.32 1 1 0 0 1 .13.38v.22l.11.04q.6.18 1.12.5l.2.14.17.12.06-.19.08-.3a2.3 2.3 0 0 0-.42-1.81z"/>"#,
|
||||
};
|
||||
static SVG: Icon = Icon {
|
||||
name: "file-tree-svg",
|
||||
view: 16.0,
|
||||
body: r#"<path fill="currentColor" d="M5 7a2 2 0 0 1 2-2h6a2 2 0 0 1 2 2v6a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2z"/><path fill="currentColor" d="M6 1a5 5 0 0 1 4.58 3H7a3 3 0 0 0-3 3v3.58A5 5 0 0 1 6 1" opacity=".5"/>"#,
|
||||
};
|
||||
static SVGO: Icon = Icon {
|
||||
name: "file-tree-svgo",
|
||||
view: 16.0,
|
||||
body: r#"<path fill="currentColor" d="M9.43 4.8A.6.6 0 1 1 9.19 6l-.56.96a1.2 1.2 0 0 1 .32 1.58l.7.53a.89.89 0 1 1-.17.22l-.7-.52a1.2 1.2 0 0 1-1.4.25l-.56.87a.75.75 0 1 1-.57-.2 1 1 0 0 1 .32.05l.56-.87a1.2 1.2 0 0 1-.4-1.24l-1.2-.47a.56.56 0 1 1 .1-.28v.02l1.2.47a1.2 1.2 0 0 1 1.56-.55l.56-.97a.6.6 0 0 1-.15-.64.6.6 0 0 1 .63-.4"/><path fill="currentColor" fill-rule="evenodd" d="M9.17 1q.16.63.27 1.26a6 6 0 0 1 1.61.67q.52-.38 1.08-.71l1.65 1.64q-.32.56-.68 1.05.48.78.72 1.67.6.09 1.18.25v2.32q-.55.15-1.11.24a6 6 0 0 1-.7 1.82q.31.44.59.91l-1.65 1.65-.85-.55a6 6 0 0 1-1.9.83q-.08.47-.2.95H6.84q-.12-.46-.2-.93a6 6 0 0 1-1.96-.81q-.39.27-.8.51l-1.65-1.65q.25-.43.53-.84a6 6 0 0 1-.75-1.9L1 9.16V6.83q.54-.14 1.09-.24a6 6 0 0 1 .77-1.74q-.33-.47-.63-.98l1.65-1.65q.54.32 1.03.68a6 6 0 0 1 1.66-.66q.1-.61.26-1.24zM7.96 3.73a4 4 0 0 0-1.74.36 4.5 4.5 0 0 0-2.3 2.3 4.4 4.4 0 0 0-.1 3.29l.03.06a4.4 4.4 0 0 0 2.4 2.47 4.4 4.4 0 0 0 3.48-.02l.03-.02a4.4 4.4 0 0 0 2.3-2.42l.06-.14a4.4 4.4 0 0 0-.2-3.4 4.4 4.4 0 0 0-2.13-2.07L9.47 4a4 4 0 0 0-1.51-.27" clip-rule="evenodd"/>"#,
|
||||
};
|
||||
static SWIFT: Icon = Icon {
|
||||
name: "file-tree-swift",
|
||||
view: 16.0,
|
||||
body: r#"<path fill="currentColor" d="M9.63 1c6.15 4.35 4.16 9.15 4.16 9.15s1.75 2.05 1.04 3.85c0 0-.72-1.26-1.93-1.26-1.17 0-1.85 1.26-4.2 1.26C3.47 14 1 9.46 1 9.46c4.71 3.22 7.93.94 7.93.94C6.8 9.12 2.29 3 2.29 3c3.93 3.47 5.63 4.39 5.63 4.39-1.01-.87-3.86-5.13-3.86-5.13C6.34 4.66 10.86 8 10.86 8c1.28-3.7-1.23-7-1.23-7"/>"#,
|
||||
};
|
||||
static TABLE: Icon = Icon {
|
||||
name: "file-tree-table",
|
||||
view: 16.0,
|
||||
body: r#"<path fill="currentColor" d="M8 4a3 3 0 0 0 3 3h3v5.5a2.5 2.5 0 0 1-2.5 2.5h-7A2.5 2.5 0 0 1 2 12.5v-9A2.5 2.5 0 0 1 4.5 1H8z" opacity=".4"/><path fill="currentColor" d="M11.5 8a.5.5 0 0 1 .5.5v4a.5.5 0 0 1-.5.5h-7a.5.5 0 0 1-.5-.5v-4a.5.5 0 0 1 .5-.5zM5 12h2.5v-1H5zm3.5 0H11v-1H8.5zM5 10h2.5V9H5zm3.5 0H11V9H8.5zm1-9a.5.5 0 0 1 .354.146l4 4A.5.5 0 0 1 14 5.5V6h-3a2 2 0 0 1-2-2V1z"/>"#,
|
||||
};
|
||||
static TAILWIND: Icon = Icon {
|
||||
name: "file-tree-tailwind",
|
||||
view: 16.0,
|
||||
body: r#"<path fill="currentColor" fill-rule="evenodd" d="M8 4Q5.2 4 4.5 6.67q1.05-1.34 2.45-1c.53.12.91.5 1.33.9C8.98 7.23 9.77 8 11.5 8q2.8 0 3.5-2.67-1.05 1.34-2.45 1c-.53-.12-.91-.5-1.33-.9C10.52 4.77 9.73 4 8 4M4.5 8Q1.7 8 1 10.67q1.05-1.34 2.45-1c.53.12.91.5 1.33.9C5.48 11.23 6.26 12 8 12q2.8 0 3.5-2.67-1.05 1.34-2.45 1c-.53-.12-.91-.5-1.33-.9C7.02 8.77 6.24 8 4.5 8" clip-rule="evenodd"/>"#,
|
||||
};
|
||||
static TERRAFORM: Icon = Icon {
|
||||
name: "file-tree-terraform",
|
||||
view: 16.0,
|
||||
body: r#"<path fill="currentColor" d="M1 0v5.05l4.35 2.53V2.53zm9.18 5.34L5.83 2.82v5.05l4.35 2.53zm.47 5.06V5.34L15 2.82v5.05zm-.48 5.6-4.35-2.53V8.42l4.35 2.53z"/>"#,
|
||||
};
|
||||
static TEXT: Icon = Icon {
|
||||
name: "file-tree-text",
|
||||
view: 16.0,
|
||||
body: r#"<path fill="currentColor" fill-rule="evenodd" d="M8 4a3 3 0 0 0 3 3h3v5.5a2.5 2.5 0 0 1-2.5 2.5h-7A2.5 2.5 0 0 1 2 12.5v-9A2.5 2.5 0 0 1 4.5 1H8z" clip-rule="evenodd" opacity=".4"/><path fill="currentColor" d="M8.5 11a.5.5 0 0 1 0 1h-3a.5.5 0 0 1 0-1zm2-2a.5.5 0 0 1 0 1h-5a.5.5 0 0 1 0-1zm-1-8a.5.5 0 0 1 .354.146l4 4A.5.5 0 0 1 14 5.5V6h-3a2 2 0 0 1-2-2V1z"/>"#,
|
||||
};
|
||||
static TYPESCRIPT: Icon = Icon {
|
||||
name: "file-tree-typescript",
|
||||
view: 16.0,
|
||||
body: r#"<path fill="currentColor" d="M8 1C2.24 1 1 2.24 1 8s1.24 7 7 7 7-1.24 7-7-1.24-7-7-7" opacity=".2"/><path fill="currentColor" d="M8.1 9.64h.95c.04.62.28.76 1.28.76s1.2-.14 1.2-.85c0-.66-.2-.85-1.2-1.07-1.79-.38-2.18-.7-2.18-1.86C8.15 5.3 8.54 5 10.31 5c1.67 0 2.04.26 2.07 1.42h-.95c-.02-.43-.23-.53-1.1-.53-1 0-1.22.14-1.22.74 0 .52.22.7 1.24.92 1.76.38 2.15.73 2.15 2 0 1.44-.4 1.75-2.24 1.75-1.8 0-2.18-.3-2.15-1.66m-3 1.57V5.99H3.5v-.9h4.21v.9H6.1v5.22z"/>"#,
|
||||
};
|
||||
static VITE: Icon = Icon {
|
||||
name: "file-tree-vite",
|
||||
view: 16.0,
|
||||
body: r#"<path fill="currentColor" d="M8.57 14.87c-.18.26-.55.11-.55-.22v-3.18l-.05-.27-.13-.22-.2-.15-.24-.06H4.29c-.26 0-.4-.32-.26-.55L6.08 7c.3-.46 0-1.1-.5-1.1H1.8c-.25 0-.4-.32-.25-.56l2.65-4.2A.3.3 0 0 1 4.46 1h7.9c.26 0 .4.32.26.55l-2.05 3.23c-.29.46 0 1.1.5 1.1h3.12c.26 0 .4.34.24.57z"/>"#,
|
||||
};
|
||||
static VSCODE: Icon = Icon {
|
||||
name: "file-tree-vscode",
|
||||
view: 16.0,
|
||||
body: r#"<path fill="currentColor" d="m5.11 9.68-2.4 1.84a.6.6 0 0 1-.75-.04l-.77-.7a.6.6 0 0 1 0-.87L3.28 8zm5.52-8.42a.51.51 0 0 1 .87.36V4.8L7.32 8 5.1 6.32z" opacity=".75"/><path fill="currentColor" d="M11.1 14.99h.03zM1.96 4.52a.6.6 0 0 1 .75-.04l8.8 6.71v3.19a.51.51 0 0 1-.88.36L1.19 6.1a.6.6 0 0 1 0-.87z" opacity=".65"/><path fill="currentColor" d="M11.62 14.91a.9.9 0 0 1-1-.17.51.51 0 0 0 .88-.36V1.62a.51.51 0 0 0-.87-.36.9.9 0 0 1 1-.17l2.87 1.39a.9.9 0 0 1 .5.8v9.44a.9.9 0 0 1-.5.8z"/>"#,
|
||||
};
|
||||
static VUE: Icon = Icon {
|
||||
name: "file-tree-vue",
|
||||
view: 16.0,
|
||||
body: r#"<path fill="currentColor" d="M9.62 2.25 8 5.02 6.38 2.25H1l7 12 7-12z" opacity=".5"/><path fill="currentColor" d="M9.54 2.25 8 4.95l-1.54-2.7H4l4 7 4-7z"/>"#,
|
||||
};
|
||||
static WASM: Icon = Icon {
|
||||
name: "file-tree-wasm",
|
||||
view: 16.0,
|
||||
body: r#"<path fill="currentColor" d="M13 1a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2V3a2 2 0 0 1 2-2h3a2 2 0 1 0 4 0z" opacity=".2"/><path fill="currentColor" d="M4.64 11.4h.02l.8-3.4h.91l.73 3.45L7.88 8h.96l-1.25 5h-.97L5.9 9.6 5.1 13h-1L3 8h.98z"/><path fill="currentColor" fill-rule="evenodd" d="M13 13h-1.02l-.33-1.11H9.9L9.64 13h-.97l1.26-5h1.54zm-2.49-3.77-.42 1.84h1.32l-.49-1.84z" clip-rule="evenodd"/>"#,
|
||||
};
|
||||
static WEBPACK: Icon = Icon {
|
||||
name: "file-tree-webpack",
|
||||
view: 16.0,
|
||||
body: r#"<path fill="currentColor" d="M14.1 11.79 8.26 15v-2.5l3.64-1.94zm.4-.35V4.73l-2.14 1.2v4.3zm-12.6.35L7.74 15v-2.5L4.1 10.56zm-.4-.35V4.73l2.14 1.2v4.3zm.25-7.15 6-3.29v2.42L3.9 5.47l-.03.01zm12.5 0L8.25 1v2.42l3.85 2.05.03.01z" opacity=".4"/><path fill="currentColor" d="m7.74 11.93-3.59-1.92v-3.8l3.6 2.02zm.52 0 3.59-1.92v-3.8l-3.6 2.02zM4.4 5.77 8 3.85l3.6 1.93L8 7.8z"/>"#,
|
||||
};
|
||||
static YML: Icon = Icon {
|
||||
name: "file-tree-yml",
|
||||
view: 16.0,
|
||||
body: r#"<path fill="currentColor" d="M7.5 2A1.5 1.5 0 0 1 9 3.5v3A1.5 1.5 0 0 1 7.5 8h-2v2A1.5 1.5 0 0 0 7 11.5v-1A1.5 1.5 0 0 1 8.5 9h5a1.5 1.5 0 0 1 1.5 1.5v3a1.5 1.5 0 0 1-1.5 1.5h-5A1.5 1.5 0 0 1 7 13.5v-1A2.5 2.5 0 0 1 4.5 10V8h-2A1.5 1.5 0 0 1 1 6.5v-3A1.5 1.5 0 0 1 2.5 2zm1 8a.5.5 0 0 0-.5.5v3a.5.5 0 0 0 .5.5h5a.5.5 0 0 0 .5-.5v-3a.5.5 0 0 0-.5-.5zm-6-7a.5.5 0 0 0-.5.5v3a.5.5 0 0 0 .5.5h5a.5.5 0 0 0 .5-.5v-3a.5.5 0 0 0-.5-.5z"/>"#,
|
||||
};
|
||||
static ZIG: Icon = Icon {
|
||||
name: "file-tree-zig",
|
||||
view: 16.0,
|
||||
body: r#"<path fill="currentColor" d="m14.73 1.5-7.29 8.82h4.17l-1.73 2.04H5.76L1.27 14.5l7.3-8.91H4.39l1.73-2.05h4.12z"/><path fill="currentColor" d="M5.21 3.54 3.56 5.6h-.55v4.73h.83L2.1 12.36H1V3.54zm9.79 0v8.82h-4.3l1.74-2.04h.55V5.68h-.83l1.74-2.14z"/>"#,
|
||||
};
|
||||
static ZIP: Icon = Icon {
|
||||
name: "file-tree-zip",
|
||||
view: 16.0,
|
||||
body: r#"<path fill="currentColor" d="M4.585 2a2 2 0 0 1 1.028.285l1.788 1.072a1 1 0 0 0 .514.143H12A2 2 0 0 1 13.935 5H0V4a2 2 0 0 1 2-2z" opacity=".5"/><path fill="currentColor" fill-rule="evenodd" d="M14 12a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2v-1.25h1v-1H0V6h14zM9.9 8.25c-.883 0-1.9.5-1.9.5H7v1h1v1s1.017.5 1.9.5c.884 0 1.6-.672 1.6-1.5s-.716-1.5-1.6-1.5M2 9.75v1h1v-1zm2 0v1h1v-1zm2 0v1h1v-1zm-5-1v1h1v-1zm2 0v1h1v-1zm2 0v1h1v-1z" clip-rule="evenodd"/>"#,
|
||||
};
|
||||
|
||||
/// The icon for a token (`file-tree-builtin-<token>`).
|
||||
pub(super) fn icon(token: &str) -> &'static Icon {
|
||||
match token {
|
||||
"astro" => &ASTRO,
|
||||
"babel" => &BABEL,
|
||||
"bash" => &BASH,
|
||||
"biome" => &BIOME,
|
||||
"bootstrap" => &BOOTSTRAP,
|
||||
"browserslist" => &BROWSERSLIST,
|
||||
"bun" => &BUN,
|
||||
"c" => &C,
|
||||
"claude" => &CLAUDE,
|
||||
"cpp" => &CPP,
|
||||
"css" => &CSS,
|
||||
"database" => &DATABASE,
|
||||
"docker" => &DOCKER,
|
||||
"eslint" => &ESLINT,
|
||||
"font" => &FONT,
|
||||
"git" => &GIT,
|
||||
"go" => &GO,
|
||||
"graphql" => &GRAPHQL,
|
||||
"html" => &HTML,
|
||||
"image" => &IMAGE,
|
||||
"javascript" => &JAVASCRIPT,
|
||||
"json" => &JSON,
|
||||
"markdown" => &MARKDOWN,
|
||||
"mcp" => &MCP,
|
||||
"nextjs" => &NEXTJS,
|
||||
"oxc" => &OXC,
|
||||
"postcss" => &POSTCSS,
|
||||
"prettier" => &PRETTIER,
|
||||
"python" => &PYTHON,
|
||||
"react" => &REACT,
|
||||
"ruby" => &RUBY,
|
||||
"rust" => &RUST,
|
||||
"sass" => &SASS,
|
||||
"stylelint" => &STYLELINT,
|
||||
"svelte" => &SVELTE,
|
||||
"svg" => &SVG,
|
||||
"svgo" => &SVGO,
|
||||
"swift" => &SWIFT,
|
||||
"table" => &TABLE,
|
||||
"tailwind" => &TAILWIND,
|
||||
"terraform" => &TERRAFORM,
|
||||
"text" => &TEXT,
|
||||
"typescript" => &TYPESCRIPT,
|
||||
"vite" => &VITE,
|
||||
"vscode" => &VSCODE,
|
||||
"vue" => &VUE,
|
||||
"wasm" => &WASM,
|
||||
"webpack" => &WEBPACK,
|
||||
"yml" => &YML,
|
||||
"zig" => &ZIG,
|
||||
"zip" => &ZIP,
|
||||
_ => &DEFAULT,
|
||||
}
|
||||
}
|
||||
|
||||
/// A whole lower-case file name's token (`BUILT_IN_FILE_NAME_TOKENS`).
|
||||
pub(super) fn by_file_name(key: &str) -> Option<&'static str> {
|
||||
Some(match key {
|
||||
".babelrc" => "babel",
|
||||
".babelrc.json" => "babel",
|
||||
".bash_profile" => "bash",
|
||||
".bashrc" => "bash",
|
||||
".browserslistrc" => "browserslist",
|
||||
".dockerignore" => "docker",
|
||||
".eslintignore" => "eslint",
|
||||
".eslintrc" => "eslint",
|
||||
".eslintrc.cjs" => "eslint",
|
||||
".eslintrc.js" => "eslint",
|
||||
".eslintrc.json" => "eslint",
|
||||
".eslintrc.yaml" => "eslint",
|
||||
".eslintrc.yml" => "eslint",
|
||||
".gitattributes" => "git",
|
||||
".gitignore" => "git",
|
||||
".gitkeep" => "git",
|
||||
".gitmodules" => "git",
|
||||
".oxlintrc.json" => "oxc",
|
||||
".postcssrc" => "postcss",
|
||||
".postcssrc.json" => "postcss",
|
||||
".postcssrc.yaml" => "postcss",
|
||||
".postcssrc.yml" => "postcss",
|
||||
".prettierignore" => "prettier",
|
||||
".prettierrc" => "prettier",
|
||||
".prettierrc.cjs" => "prettier",
|
||||
".prettierrc.js" => "prettier",
|
||||
".prettierrc.json" => "prettier",
|
||||
".prettierrc.mjs" => "prettier",
|
||||
".prettierrc.toml" => "prettier",
|
||||
".prettierrc.yaml" => "prettier",
|
||||
".prettierrc.yml" => "prettier",
|
||||
".stylelintignore" => "stylelint",
|
||||
".stylelintrc" => "stylelint",
|
||||
".stylelintrc.cjs" => "stylelint",
|
||||
".stylelintrc.js" => "stylelint",
|
||||
".stylelintrc.json" => "stylelint",
|
||||
".stylelintrc.mjs" => "stylelint",
|
||||
".stylelintrc.yaml" => "stylelint",
|
||||
".stylelintrc.yml" => "stylelint",
|
||||
".terraform.lock.hcl" => "terraform",
|
||||
".zprofile" => "bash",
|
||||
".zshenv" => "bash",
|
||||
".zshrc" => "bash",
|
||||
"babel.config.cjs" => "babel",
|
||||
"babel.config.js" => "babel",
|
||||
"babel.config.json" => "babel",
|
||||
"babel.config.mjs" => "babel",
|
||||
"biome.json" => "biome",
|
||||
"biome.jsonc" => "biome",
|
||||
"bootstrap.bundle.js" => "bootstrap",
|
||||
"bootstrap.bundle.min.js" => "bootstrap",
|
||||
"bootstrap.css" => "bootstrap",
|
||||
"bootstrap.js" => "bootstrap",
|
||||
"bootstrap.min.css" => "bootstrap",
|
||||
"bootstrap.min.js" => "bootstrap",
|
||||
"bun.lock" => "bun",
|
||||
"bun.lockb" => "bun",
|
||||
"bunfig.toml" => "bun",
|
||||
"claude.md" => "claude",
|
||||
"compose.yaml" => "docker",
|
||||
"compose.yml" => "docker",
|
||||
"docker-compose.override.yml" => "docker",
|
||||
"docker-compose.yaml" => "docker",
|
||||
"docker-compose.yml" => "docker",
|
||||
"dockerfile" => "docker",
|
||||
"eslint.config.cjs" => "eslint",
|
||||
"eslint.config.js" => "eslint",
|
||||
"eslint.config.mjs" => "eslint",
|
||||
"eslint.config.mts" => "eslint",
|
||||
"eslint.config.ts" => "eslint",
|
||||
"gemfile" => "ruby",
|
||||
"next.config.js" => "nextjs",
|
||||
"next.config.mjs" => "nextjs",
|
||||
"next.config.mts" => "nextjs",
|
||||
"next.config.ts" => "nextjs",
|
||||
"postcss.config.cjs" => "postcss",
|
||||
"postcss.config.js" => "postcss",
|
||||
"postcss.config.mjs" => "postcss",
|
||||
"postcss.config.ts" => "postcss",
|
||||
"prettier.config.cjs" => "prettier",
|
||||
"prettier.config.js" => "prettier",
|
||||
"prettier.config.mjs" => "prettier",
|
||||
"rakefile" => "ruby",
|
||||
"readme.md" => "markdown",
|
||||
"stylelint.config.cjs" => "stylelint",
|
||||
"stylelint.config.js" => "stylelint",
|
||||
"stylelint.config.mjs" => "stylelint",
|
||||
"svgo.config.cjs" => "svgo",
|
||||
"svgo.config.js" => "svgo",
|
||||
"svgo.config.mjs" => "svgo",
|
||||
"svgo.config.ts" => "svgo",
|
||||
"tailwind.config.cjs" => "tailwind",
|
||||
"tailwind.config.js" => "tailwind",
|
||||
"tailwind.config.mjs" => "tailwind",
|
||||
"tailwind.config.ts" => "tailwind",
|
||||
"vite.config.js" => "vite",
|
||||
"vite.config.mjs" => "vite",
|
||||
"vite.config.mts" => "vite",
|
||||
"vite.config.ts" => "vite",
|
||||
"webpack.config.babel.js" => "webpack",
|
||||
"webpack.config.cjs" => "webpack",
|
||||
"webpack.config.js" => "webpack",
|
||||
"webpack.config.mjs" => "webpack",
|
||||
"webpack.config.ts" => "webpack",
|
||||
_ => return None,
|
||||
})
|
||||
}
|
||||
|
||||
/// A lower-case suffix's token (`BUILT_IN_FILE_EXTENSION_TOKENS`).
|
||||
pub(super) fn by_extension(key: &str) -> Option<&'static str> {
|
||||
Some(match key {
|
||||
"7z" => "zip",
|
||||
"astro" => "astro",
|
||||
"avif" => "image",
|
||||
"bash" => "bash",
|
||||
"bmp" => "image",
|
||||
"bz2" => "zip",
|
||||
"c" => "c",
|
||||
"cc" => "cpp",
|
||||
"cfg" => "text",
|
||||
"cjs" => "javascript",
|
||||
"code-workspace" => "vscode",
|
||||
"conf" => "text",
|
||||
"cpp" => "cpp",
|
||||
"csh" => "bash",
|
||||
"css" => "css",
|
||||
"csv" => "table",
|
||||
"cts" => "typescript",
|
||||
"cxx" => "cpp",
|
||||
"db" => "database",
|
||||
"editorconfig" => "text",
|
||||
"env" => "text",
|
||||
"env.development" => "text",
|
||||
"env.local" => "text",
|
||||
"env.production" => "text",
|
||||
"eot" => "font",
|
||||
"erb" => "ruby",
|
||||
"fish" => "bash",
|
||||
"gemspec" => "ruby",
|
||||
"gif" => "image",
|
||||
"go" => "go",
|
||||
"gql" => "graphql",
|
||||
"graphql" => "graphql",
|
||||
"gz" => "zip",
|
||||
"h" => "c",
|
||||
"hh" => "cpp",
|
||||
"hpp" => "cpp",
|
||||
"htm" => "html",
|
||||
"html" => "html",
|
||||
"hxx" => "cpp",
|
||||
"icns" => "image",
|
||||
"ico" => "image",
|
||||
"ini" => "text",
|
||||
"inl" => "cpp",
|
||||
"jar" => "zip",
|
||||
"jpeg" => "image",
|
||||
"jpg" => "image",
|
||||
"js" => "javascript",
|
||||
"json" => "json",
|
||||
"json5" => "json",
|
||||
"jsonc" => "json",
|
||||
"jsonl" => "json",
|
||||
"jsx" => "javascript",
|
||||
"ksh" => "bash",
|
||||
"less" => "css",
|
||||
"log" => "text",
|
||||
"markdown" => "markdown",
|
||||
"mcp" => "mcp",
|
||||
"md" => "markdown",
|
||||
"mdx" => "markdown",
|
||||
"mdx.tsx" => "markdown",
|
||||
"mjs" => "javascript",
|
||||
"mm" => "cpp",
|
||||
"mts" => "typescript",
|
||||
"ods" => "table",
|
||||
"otf" => "font",
|
||||
"png" => "image",
|
||||
"postcss" => "css",
|
||||
"py" => "python",
|
||||
"pyi" => "python",
|
||||
"pyw" => "python",
|
||||
"pyx" => "python",
|
||||
"rake" => "ruby",
|
||||
"rar" => "zip",
|
||||
"rb" => "ruby",
|
||||
"rs" => "rust",
|
||||
"rst" => "text",
|
||||
"rtf" => "text",
|
||||
"sass" => "css",
|
||||
"scss" => "css",
|
||||
"sh" => "bash",
|
||||
"sql" => "database",
|
||||
"sqlite" => "database",
|
||||
"sqlite3" => "database",
|
||||
"styl" => "css",
|
||||
"svelte" => "svelte",
|
||||
"svg" => "svg",
|
||||
"swift" => "swift",
|
||||
"tar" => "zip",
|
||||
"tf" => "terraform",
|
||||
"tfstate" => "terraform",
|
||||
"tfvars" => "terraform",
|
||||
"tgz" => "zip",
|
||||
"tif" => "image",
|
||||
"tiff" => "image",
|
||||
"ts" => "typescript",
|
||||
"tsv" => "table",
|
||||
"tsx" => "typescript",
|
||||
"ttf" => "font",
|
||||
"txt" => "text",
|
||||
"vue" => "vue",
|
||||
"war" => "zip",
|
||||
"wasm" => "wasm",
|
||||
"wast" => "wasm",
|
||||
"wat" => "wasm",
|
||||
"webp" => "image",
|
||||
"woff" => "font",
|
||||
"woff2" => "font",
|
||||
"xhtml" => "html",
|
||||
"xls" => "table",
|
||||
"xlsx" => "table",
|
||||
"xz" => "zip",
|
||||
"yaml" => "yml",
|
||||
"yml" => "yml",
|
||||
"zig" => "zig",
|
||||
"zip" => "zip",
|
||||
"zsh" => "bash",
|
||||
_ => return None,
|
||||
})
|
||||
}
|
||||
|
||||
/// The complete set's suffix overrides (`COMPLETE_EXTENSION_OVERRIDES`).
|
||||
pub(super) fn complete_override(key: &str) -> Option<&'static str> {
|
||||
Some(match key {
|
||||
"jsx" => "react",
|
||||
"sass" => "sass",
|
||||
"scss" => "sass",
|
||||
"tsx" => "react",
|
||||
_ => return None,
|
||||
})
|
||||
}
|
||||
|
||||
/// A token's colour as `#rrggbb` (light, dark), from `--trees-file-icon-color-<token>`.
|
||||
pub(super) fn tint(token: &str) -> (&'static str, &'static str) {
|
||||
match token {
|
||||
"astro" => ("#a631be", "#d568ea"),
|
||||
"babel" => ("#d5a910", "#ffd452"),
|
||||
"bash" => ("#199f43", "#5ecc71"),
|
||||
"biome" => ("#1a85d4", "#69b1ff"),
|
||||
"bootstrap" => ("#693acf", "#9d6afb"),
|
||||
"browserslist" => ("#d5a910", "#ffd452"),
|
||||
"bun" => ("#594c5b", "#79697b"),
|
||||
"c" => ("#1a85d4", "#69b1ff"),
|
||||
"claude" => ("#d47628", "#ffa359"),
|
||||
"cpp" => ("#1a85d4", "#69b1ff"),
|
||||
"css" => ("#693acf", "#9d6afb"),
|
||||
"database" => ("#a631be", "#d568ea"),
|
||||
"docker" => ("#1a85d4", "#69b1ff"),
|
||||
"eslint" => ("#693acf", "#9d6afb"),
|
||||
"git" => ("#ff8c5b", "#d5512f"),
|
||||
"go" => ("#1ca1c7", "#68cdf2"),
|
||||
"graphql" => ("#d32a61", "#ff678d"),
|
||||
"html" => ("#d47628", "#ffa359"),
|
||||
"image" => ("#d32a61", "#ff678d"),
|
||||
"javascript" => ("#d5a910", "#ffd452"),
|
||||
"json" => ("#d47628", "#ffa359"),
|
||||
"markdown" => ("#199f43", "#5ecc71"),
|
||||
"mcp" => ("#17a5af", "#64d1db"),
|
||||
"oxc" => ("#1ca1c7", "#68cdf2"),
|
||||
"postcss" => ("#d52c36", "#ff6762"),
|
||||
"prettier" => ("#17a5af", "#64d1db"),
|
||||
"python" => ("#1a85d4", "#69b1ff"),
|
||||
"react" => ("#1ca1c7", "#68cdf2"),
|
||||
"ruby" => ("#d52c36", "#ff6762"),
|
||||
"rust" => ("#d47628", "#ffa359"),
|
||||
"sass" => ("#d32a61", "#ff678d"),
|
||||
"svelte" => ("#d52c36", "#ff6762"),
|
||||
"svg" => ("#d47628", "#ffa359"),
|
||||
"svgo" => ("#199f43", "#5ecc71"),
|
||||
"swift" => ("#d47628", "#ffa359"),
|
||||
"table" => ("#17a5af", "#64d1db"),
|
||||
"tailwind" => ("#1ca1c7", "#68cdf2"),
|
||||
"terraform" => ("#693acf", "#9d6afb"),
|
||||
"text" => ("#84848a", "#adadb1"),
|
||||
"typescript" => ("#1a85d4", "#69b1ff"),
|
||||
"vite" => ("#a631be", "#d568ea"),
|
||||
"vscode" => ("#1a85d4", "#69b1ff"),
|
||||
"vue" => ("#199f43", "#5ecc71"),
|
||||
"wasm" => ("#693acf", "#9d6afb"),
|
||||
"webpack" => ("#1a85d4", "#69b1ff"),
|
||||
"yml" => ("#d52c36", "#ff6762"),
|
||||
"zig" => ("#d47628", "#ffa359"),
|
||||
"zip" => ("#d47628", "#ffa359"),
|
||||
_ => ("#84848a", "#adadb1"),
|
||||
}
|
||||
}
|
||||
|
||||
/// Every token, for a gallery.
|
||||
pub(super) const TOKENS: &[&str] = &[
|
||||
"astro",
|
||||
"babel",
|
||||
"bash",
|
||||
"biome",
|
||||
"bootstrap",
|
||||
"browserslist",
|
||||
"bun",
|
||||
"c",
|
||||
"claude",
|
||||
"cpp",
|
||||
"css",
|
||||
"database",
|
||||
"default",
|
||||
"docker",
|
||||
"eslint",
|
||||
"font",
|
||||
"git",
|
||||
"go",
|
||||
"graphql",
|
||||
"html",
|
||||
"image",
|
||||
"javascript",
|
||||
"json",
|
||||
"markdown",
|
||||
"mcp",
|
||||
"nextjs",
|
||||
"oxc",
|
||||
"postcss",
|
||||
"prettier",
|
||||
"python",
|
||||
"react",
|
||||
"ruby",
|
||||
"rust",
|
||||
"sass",
|
||||
"stylelint",
|
||||
"svelte",
|
||||
"svg",
|
||||
"svgo",
|
||||
"swift",
|
||||
"table",
|
||||
"tailwind",
|
||||
"terraform",
|
||||
"text",
|
||||
"typescript",
|
||||
"vite",
|
||||
"vscode",
|
||||
"vue",
|
||||
"wasm",
|
||||
"webpack",
|
||||
"yml",
|
||||
"zig",
|
||||
"zip",
|
||||
];
|
||||
@@ -0,0 +1,71 @@
|
||||
#!/usr/bin/env python3
|
||||
"""Regenerates src/app_icons.rs: the app marks Desktop's Open in menus draw (@opencode/ui's
|
||||
components/app-icon.tsx, from assets/icons/app), as Rune icons.
|
||||
|
||||
usage: tools/app-icons.py <opencode>/packages/ui/src > src/app_icons.rs
|
||||
|
||||
Each mark is its SVG's body in a group carrying the root's paint (`fill="none"`), so it draws in
|
||||
its own colours as the browser does. Named colours are written as #rrggbb, which is how Rune tells
|
||||
a colour icon from a monochrome one. The PNG marks (Finder, Terminal, TextMate, Warp, Xcode) aren't
|
||||
icons and stay out.
|
||||
"""
|
||||
import re
|
||||
import sys
|
||||
from pathlib import Path
|
||||
|
||||
# Desktop's ids (app-icon.tsx) and the files they draw; Zed has a dark variant.
|
||||
FILES = {
|
||||
"vscode": "vscode",
|
||||
"cursor": "cursor",
|
||||
"zed": "zed",
|
||||
"zed-dark": "zed-dark",
|
||||
"file-explorer": "file-explorer",
|
||||
"iterm2": "iterm2",
|
||||
"ghostty": "ghostty",
|
||||
"android-studio": "android-studio",
|
||||
"antigravity": "antigravity",
|
||||
"powershell": "powershell",
|
||||
"sublime-text": "sublimetext",
|
||||
}
|
||||
NAMED = {"white": "#ffffff", "black": "#000000"}
|
||||
|
||||
|
||||
def body(svg):
|
||||
root = re.search(r"<svg([^>]*)>", svg)
|
||||
inner = svg[root.end():svg.rindex("</svg>")]
|
||||
fill = re.search(r'\sfill="([^"]*)"', root.group(1))
|
||||
inner = re.sub(r'((?:fill|stroke|stop-color|flood-color)=")(white|black)"', lambda m: m.group(1) + NAMED[m.group(2)] + '"', inner)
|
||||
inner = re.sub(r">\s+<", "><", inner.strip())
|
||||
inner = re.sub(r"\s+", " ", inner)
|
||||
assert '"##' not in inner
|
||||
return f'<g fill="{fill.group(1)}">{inner}</g>' if fill else inner
|
||||
|
||||
|
||||
def main():
|
||||
src = Path(sys.argv[1]) / "assets" / "icons" / "app"
|
||||
print("//! Generated by tools/app-icons.py from @opencode/ui's app marks. Do not edit.")
|
||||
print("use rune::Icon;")
|
||||
print()
|
||||
idents = []
|
||||
for name, file in FILES.items():
|
||||
svg = (src / f"{file}.svg").read_text()
|
||||
view = re.search(r'viewBox="0 0 ([\d.]+) ([\d.]+)"', svg)
|
||||
assert view and view.group(1) == view.group(2), file
|
||||
ident = name.upper().replace("-", "_")
|
||||
idents.append((name, ident))
|
||||
print(f'static {ident}: Icon = Icon {{ name: "app-{name}", view: {float(view.group(1))}, body: r##"{body(svg)}"## }};')
|
||||
print()
|
||||
print("/// Desktop's mark for app `id` (`AppIcon`'s ids: \"vscode\", \"file-explorer\", ...), in the")
|
||||
print("/// variant for a dark or light appearance; None for the marks Desktop draws from PNGs.")
|
||||
print("pub fn named(id: &str, dark: bool) -> Option<&'static Icon> {")
|
||||
print(" Some(match id {")
|
||||
print(' "zed" if dark => &ZED_DARK,')
|
||||
for name, ident in idents:
|
||||
if name != "zed-dark":
|
||||
print(f' "{name}" => &{ident},')
|
||||
print(" _ => return None,")
|
||||
print(" })")
|
||||
print("}")
|
||||
|
||||
|
||||
main()
|
||||
+118
@@ -0,0 +1,118 @@
|
||||
#!/usr/bin/env python3
|
||||
"""Regenerates src/file_icons/catalog.rs: @opencode/ui's FileIcon badges (assets/icons/file-types)
|
||||
for every icon its `chooseIconName` can pick, with that function's name, extension and folder maps.
|
||||
|
||||
usage: tools/file-icons.py <opencode>/packages/ui/src > src/file_icons/catalog.rs
|
||||
|
||||
Each SVG keeps its own colours, gradients, groups and transforms (Rune draws an icon that names its
|
||||
colours as full SVG). Presentation attributes on the root move to a group, and a viewBox that doesn't
|
||||
start at 0 0 becomes a translate.
|
||||
"""
|
||||
import re
|
||||
import sys
|
||||
from pathlib import Path
|
||||
|
||||
root = Path(sys.argv[1])
|
||||
chooser = (root / "components" / "file-icons" / "choose-icon-name.ts").read_text()
|
||||
assets = root / "assets" / "icons" / "file-types"
|
||||
|
||||
|
||||
def icon_name(stem):
|
||||
# file-icon.tsx's `toIconName`: `folder-src-open` is `FolderSrcOpen`.
|
||||
return "".join(w[:1].upper() + w[1:] for w in stem.split("-"))
|
||||
|
||||
|
||||
files = {icon_name(p.stem): p for p in sorted(assets.glob("*.svg"))}
|
||||
|
||||
|
||||
def block(name):
|
||||
body = re.search(name + r": \{(.*?)\n \}", chooser, re.S).group(1)
|
||||
pairs = re.findall(r'^\s*(?:"([^"]+)"|([\w@.$-]+)):\s*"(\w+)",', body, re.M)
|
||||
# A later duplicate key wins, as in the object literal.
|
||||
return list({(q or b): v for q, b, v in pairs}.items())
|
||||
|
||||
|
||||
file_names, extensions, folders = block("fileNames"), block("fileExtensions"), block("folderNames")
|
||||
|
||||
|
||||
def open_variant(name):
|
||||
# `toOpenVariant`; a missing variant falls back as FileIcon's failed load does.
|
||||
name = name.replace("_light", "Open_light") if name.endswith("_light") else name if name.endswith("Open") else name + "Open"
|
||||
return name if name in files else "FolderOpen"
|
||||
|
||||
|
||||
def resolve(name, fallback):
|
||||
return name if name in files else fallback
|
||||
|
||||
|
||||
wanted = {"Document", "Folder", "FolderOpen"}
|
||||
wanted |= {resolve(v, "Document") for _, v in file_names + extensions}
|
||||
for _, v in folders:
|
||||
wanted |= {resolve(v, "Folder"), open_variant(resolve(v, "Folder"))}
|
||||
|
||||
DROP = re.compile(r"^(xmlns(:\w+)?|viewBox|width|height|version|class|id|xml:space|data-[\w-]+|aria-[\w-]+|preserveAspectRatio|x|y|enable-background)$")
|
||||
|
||||
|
||||
def body_of(path):
|
||||
svg = path.read_text()
|
||||
svg = re.sub(r"<!--.*?-->", "", svg, flags=re.S)
|
||||
head, inner = re.search(r"<svg\b([^>]*)>(.*)</svg>", svg, re.S).groups()
|
||||
attrs = re.findall(r'([\w:-]+)="([^"]*)"', head)
|
||||
x, y, w, h = (float(v) for v in dict(attrs)["viewBox"].replace(",", " ").split())
|
||||
assert w == h, f"{path.name}: viewBox is not square"
|
||||
inner = re.sub(r"\s+", " ", inner).strip()
|
||||
inner = re.sub(r">\s+<", "><", inner)
|
||||
kept = " ".join(f'{k}="{v}"' for k, v in attrs if not DROP.match(k))
|
||||
if kept:
|
||||
inner = f"<g {kept}>{inner}</g>"
|
||||
if x or y:
|
||||
inner = f'<g transform="translate({-x:g} {-y:g})">{inner}</g>'
|
||||
assert '"##' not in inner, f"{path.name}: body would end the raw string"
|
||||
return w, inner
|
||||
|
||||
|
||||
def ident(name):
|
||||
return re.sub(r"[^A-Z0-9]", "_", files[name].stem.upper())
|
||||
|
||||
|
||||
idents = {}
|
||||
for name in sorted(wanted):
|
||||
assert ident(name) not in idents.values(), f"{name}: identifier collides"
|
||||
idents[name] = ident(name)
|
||||
|
||||
print("//! Generated by tools/file-icons.py from @opencode/ui's file-type icons and `chooseIconName`. Do not edit.")
|
||||
print("use rune::Icon;")
|
||||
print()
|
||||
for name in sorted(wanted, key=lambda n: idents[n]):
|
||||
view, body = body_of(files[name])
|
||||
print(f'pub(super) static {idents[name]}: Icon = Icon {{ name: "{files[name].stem}", view: {view:.1f}, body: r##"{body}"## }};')
|
||||
print()
|
||||
|
||||
|
||||
def lookup(fn, doc, pairs, fallback):
|
||||
print(f"/// {doc}")
|
||||
print(f"pub(super) fn {fn}(key: &str) -> Option<&'static Icon> {{")
|
||||
print(" Some(match key {")
|
||||
for k, v in pairs:
|
||||
print(f' "{k}" => &{idents[resolve(v, fallback)]},')
|
||||
print(" _ => return None,")
|
||||
print(" })")
|
||||
print("}")
|
||||
print()
|
||||
|
||||
|
||||
lookup("by_file_name", "A whole lower-case file name's badge (`fileNames`).", file_names, "Document")
|
||||
lookup("by_extension", "A lower-case dotted suffix's badge (`fileExtensions`), `d.ts` as well as `ts`.", extensions, "Document")
|
||||
|
||||
print("/// A lower-case folder name's closed and open icons (`folderNames`).")
|
||||
print("pub(super) fn by_folder_name(key: &str) -> Option<(&'static Icon, &'static Icon)> {")
|
||||
print(" Some(match key {")
|
||||
for k, v in folders:
|
||||
closed = resolve(v, "Folder")
|
||||
print(f' "{k}" => (&{idents[closed]}, &{idents[open_variant(closed)]}),')
|
||||
print(" _ => return None,")
|
||||
print(" })")
|
||||
print("}")
|
||||
print()
|
||||
print("/// Every badge, for a gallery.")
|
||||
print("pub(super) static ALL: &[&Icon] = &[" + ", ".join(f"&{idents[n]}" for n in sorted(wanted, key=lambda n: idents[n])) + "];")
|
||||
+39
@@ -0,0 +1,39 @@
|
||||
#!/usr/bin/env python3
|
||||
"""Regenerates src/icons.rs: @opencode/ui's artwork and compatibility names in catalog order.
|
||||
|
||||
usage: tools/icons.py <opencode>/packages/ui/src/icons > src/icons.rs
|
||||
"""
|
||||
import re
|
||||
import sys
|
||||
from pathlib import Path
|
||||
|
||||
# Card title icons draw at stroke-width 1.5 (card.css); these get a `_BOLD` twin.
|
||||
BOLD = ["circle-ban-sign", "warning", "circle-check", "help", "dash"]
|
||||
|
||||
root = Path(sys.argv[1])
|
||||
catalog = (root / "catalog.ts").read_text()
|
||||
|
||||
icons = {}
|
||||
for m in re.finditer(r'\n "?([a-z0-9-]+)"?: \{\s*viewBox: "0 0 (\d+) \d+",\s*body: `([^`]*)`', catalog):
|
||||
icons[m.group(1)] = (int(m.group(2)), m.group(3))
|
||||
alias_block = catalog.split("const aliases = {", 1)[1].split("}", 1)[0]
|
||||
aliases = dict(re.findall(r'\n "?([a-z0-9-]+)"?: "([a-z0-9-]+)",', alias_block))
|
||||
|
||||
print("//! Generated by tools/icons.py from @opencode/ui's icon catalog. Do not edit.")
|
||||
print("#![allow(dead_code)]")
|
||||
print("use rune::Icon;")
|
||||
for name in [*icons, *aliases]:
|
||||
target = aliases.get(name, name)
|
||||
view, body = icons[target]
|
||||
ident = name.upper().replace("-", "_")
|
||||
value = f'..{target.upper().replace("-", "_")}' if name in aliases else f'view: {view}.0, body: r#"{body}"#'
|
||||
print(f'pub static {ident}: Icon = Icon {{ name: "{name}", {value} }};')
|
||||
if name in BOLD:
|
||||
bold = body.replace('stroke="currentColor"', 'stroke="currentColor" stroke-width="1.5"')
|
||||
print(f'pub static {ident}_BOLD: Icon = Icon {{ name: "{name}-bold", view: {view}.0, body: r#"{bold}"# }};')
|
||||
print()
|
||||
print("/// Every icon by its catalog name, for a gallery or a name read from data.")
|
||||
print("pub static ALL: &[&Icon] = &[")
|
||||
for name in [*icons, *aliases]:
|
||||
print(f' &{name.upper().replace("-", "_")},')
|
||||
print("];")
|
||||
@@ -0,0 +1,257 @@
|
||||
#!/usr/bin/env python3
|
||||
"""Regenerates src/provider_icons.rs: every provider mark Desktop draws (@opencode/ui's
|
||||
components/provider-icons/sprite.svg, the sheet its ProviderIcon uses), as Rune icons.
|
||||
|
||||
usage: tools/provider-icons.py <opencode>/packages/ui/src > src/provider_icons.rs
|
||||
|
||||
Rune's icons take one square viewBox from 0. Each mark is flattened here, so every one is a flat
|
||||
list of shapes, each carrying its own paint: a viewBox that isn't square from 0 is
|
||||
centred in a square one (as the browser's xMidYMid meet places it), group and transform are baked
|
||||
into the path data (strokes scale with them), the paint a shape inherits is written on it, and
|
||||
clip paths are dropped (every clip here holds its whole mark). A mark that names its own colours
|
||||
keeps them, written as #rrggbb so Rune draws it in colour as Desktop does.
|
||||
"""
|
||||
import math
|
||||
import re
|
||||
import sys
|
||||
import xml.etree.ElementTree as ET
|
||||
from pathlib import Path
|
||||
|
||||
SVG = "{http://www.w3.org/2000/svg}"
|
||||
SHAPES = {"path", "rect", "circle", "ellipse", "line", "polygon", "polyline"}
|
||||
# Paint read from each element; the ones that inherit pass down through groups and the symbol.
|
||||
PAINT = ["fill", "fill-rule", "stroke", "stroke-width", "stroke-linecap", "stroke-linejoin"]
|
||||
OWN = ["opacity", "fill-opacity", "stroke-opacity"]
|
||||
NAMED = {"black": "#000000", "white": "#ffffff"}
|
||||
|
||||
|
||||
def main():
|
||||
sprite = ET.parse(Path(sys.argv[1]) / "components" / "provider-icons" / "sprite.svg").getroot()
|
||||
symbols = sorted(sprite.iter(SVG + "symbol"), key=lambda s: s.get("id"))
|
||||
print("//! Generated by tools/provider-icons.py from @opencode/ui's provider marks. Do not edit.")
|
||||
print("use rune::Icon;")
|
||||
print()
|
||||
idents = []
|
||||
for symbol in symbols:
|
||||
name = symbol.get("id")
|
||||
view, body = flatten(symbol)
|
||||
ident = re.sub(r"[^A-Z0-9]", "_", name.upper())
|
||||
if ident[0].isdigit():
|
||||
ident = "P" + ident
|
||||
idents.append((name, ident))
|
||||
print(f'static {ident}: Icon = Icon {{ name: "{name}", view: {fmt_view(view)}, body: r##"{body}"## }};')
|
||||
print()
|
||||
print("/// Desktop's mark for provider `id`, if it ships one.")
|
||||
print("pub fn named(id: &str) -> Option<&'static Icon> {")
|
||||
print(" Some(match id {")
|
||||
for name, ident in idents:
|
||||
print(f' "{name}" => &{ident},')
|
||||
print(" _ => return None,")
|
||||
print(" })")
|
||||
print("}")
|
||||
print()
|
||||
print("/// The providers that have a mark of their own, in `named`.")
|
||||
print("pub const NAMES: &[&str] = &[")
|
||||
for name, _ in idents:
|
||||
print(f' "{name}",')
|
||||
print("];")
|
||||
print()
|
||||
print("/// Desktop's stand-in for a provider with no mark of its own.")
|
||||
print("pub static FALLBACK: &Icon = &SYNTHETIC;")
|
||||
|
||||
|
||||
def flatten(symbol):
|
||||
x, y, w, h = [float(v) for v in symbol.get("viewBox").replace(",", " ").split()]
|
||||
side = max(w, h)
|
||||
start = (1.0, 0.0, 0.0, 1.0, (side - w) / 2 - x, (side - h) / 2 - y)
|
||||
out = []
|
||||
walk(symbol, start, {k: v for k in PAINT if (v := symbol.get(k)) not in (None, "inherit")}, out)
|
||||
return side, "".join(out)
|
||||
|
||||
|
||||
def walk(node, m, inherited, out):
|
||||
for child in node:
|
||||
tag = child.tag.replace(SVG, "")
|
||||
if tag in ("defs", "clipPath", "mask", "title", "desc"):
|
||||
continue
|
||||
here = mul(m, parse_transform(child.get("transform", "")))
|
||||
paint = dict(inherited)
|
||||
for k in PAINT:
|
||||
v = child.get(k)
|
||||
if v is not None and v != "inherit":
|
||||
paint[k] = v
|
||||
if tag == "g":
|
||||
walk(child, here, paint, out)
|
||||
elif tag in SHAPES:
|
||||
out.append(shape(tag, child, here, paint))
|
||||
else:
|
||||
raise SystemExit(f"unhandled <{tag}>")
|
||||
|
||||
|
||||
def shape(tag, el, m, paint):
|
||||
d = shape_path(tag, el)
|
||||
if m != IDENTITY:
|
||||
d = transform_path(d, m)
|
||||
attrs = [("d", d)]
|
||||
fill = paint.get("fill", "currentColor")
|
||||
stroke = paint.get("stroke", "none")
|
||||
attrs.append(("fill", colour(fill)))
|
||||
if paint.get("fill-rule") and fill != "none":
|
||||
attrs.append(("fill-rule", paint["fill-rule"]))
|
||||
if stroke != "none":
|
||||
attrs.append(("stroke", colour(stroke)))
|
||||
width = float(paint.get("stroke-width", "1").replace("px", "")) * scale_of(m)
|
||||
attrs.append(("stroke-width", num(width)))
|
||||
for k in ("stroke-linecap", "stroke-linejoin"):
|
||||
if paint.get(k):
|
||||
attrs.append((k, paint[k]))
|
||||
for k in OWN:
|
||||
if el.get(k) is not None:
|
||||
attrs.append((k, el.get(k)))
|
||||
return "<path " + " ".join(f'{k}="{v}"' for k, v in attrs) + "/>"
|
||||
|
||||
|
||||
def colour(v):
|
||||
v = v.strip()
|
||||
if v in NAMED:
|
||||
return NAMED[v]
|
||||
rgb = re.fullmatch(r"rgb\((\d+),\s*(\d+),\s*(\d+)\)", v)
|
||||
if rgb:
|
||||
return "#" + "".join(f"{int(c):02x}" for c in rgb.groups())
|
||||
if v.startswith("#") and len(v) == 4:
|
||||
return "#" + "".join(c * 2 for c in v[1:]).lower()
|
||||
return v.lower() if v.startswith("#") else v
|
||||
|
||||
|
||||
def shape_path(tag, el):
|
||||
n = lambda k: float((el.get(k) or "0").replace("px", ""))
|
||||
if tag == "path":
|
||||
return el.get("d")
|
||||
if tag == "rect":
|
||||
x, y, w, h = n("x"), n("y"), n("width"), n("height")
|
||||
rx = el.get("rx") or el.get("ry")
|
||||
r = min(float(rx), w / 2, h / 2) if rx else 0.0
|
||||
if r <= 0:
|
||||
return f"M{num(x)} {num(y)}H{num(x + w)}V{num(y + h)}H{num(x)}Z"
|
||||
return (f"M{num(x + r)} {num(y)}H{num(x + w - r)}A{num(r)} {num(r)} 0 0 1 {num(x + w)} {num(y + r)}"
|
||||
f"V{num(y + h - r)}A{num(r)} {num(r)} 0 0 1 {num(x + w - r)} {num(y + h)}H{num(x + r)}"
|
||||
f"A{num(r)} {num(r)} 0 0 1 {num(x)} {num(y + h - r)}V{num(y + r)}A{num(r)} {num(r)} 0 0 1 {num(x + r)} {num(y)}Z")
|
||||
if tag in ("circle", "ellipse"):
|
||||
cx, cy = n("cx"), n("cy")
|
||||
rx, ry = (n("r"), n("r")) if tag == "circle" else (n("rx"), n("ry"))
|
||||
return f"M{num(cx - rx)} {num(cy)}A{num(rx)} {num(ry)} 0 1 0 {num(cx + rx)} {num(cy)}A{num(rx)} {num(ry)} 0 1 0 {num(cx - rx)} {num(cy)}Z"
|
||||
if tag == "line":
|
||||
return f"M{num(n('x1'))} {num(n('y1'))}L{num(n('x2'))} {num(n('y2'))}"
|
||||
pts = [float(v) for v in re.split(r"[\s,]+", el.get("points").strip())]
|
||||
d = "M" + " ".join(num(v) for v in pts[:2]) + "L" + " ".join(num(v) for v in pts[2:])
|
||||
return d + ("Z" if tag == "polygon" else "")
|
||||
|
||||
|
||||
IDENTITY = (1.0, 0.0, 0.0, 1.0, 0.0, 0.0)
|
||||
|
||||
|
||||
def mul(a, b):
|
||||
return (a[0] * b[0] + a[2] * b[1], a[1] * b[0] + a[3] * b[1], a[0] * b[2] + a[2] * b[3],
|
||||
a[1] * b[2] + a[3] * b[3], a[0] * b[4] + a[2] * b[5] + a[4], a[1] * b[4] + a[3] * b[5] + a[5])
|
||||
|
||||
|
||||
def parse_transform(t):
|
||||
m = IDENTITY
|
||||
for op, args in re.findall(r"(\w+)\s*\(([^)]*)\)", t):
|
||||
v = [float(a) for a in re.split(r"[\s,]+", args.strip()) if a]
|
||||
if op == "translate":
|
||||
step = (1, 0, 0, 1, v[0], v[1] if len(v) > 1 else 0)
|
||||
elif op == "scale":
|
||||
step = (v[0], 0, 0, v[1] if len(v) > 1 else v[0], 0, 0)
|
||||
elif op == "rotate":
|
||||
a = math.radians(v[0])
|
||||
step = (math.cos(a), math.sin(a), -math.sin(a), math.cos(a), 0, 0)
|
||||
if len(v) == 3:
|
||||
step = mul(mul((1, 0, 0, 1, v[1], v[2]), step), (1, 0, 0, 1, -v[1], -v[2]))
|
||||
elif op == "matrix":
|
||||
step = tuple(v)
|
||||
else:
|
||||
raise SystemExit(f"unhandled transform {op}")
|
||||
m = mul(m, step)
|
||||
return tuple(float(c) for c in m)
|
||||
|
||||
|
||||
def scale_of(m):
|
||||
return math.sqrt(abs(m[0] * m[3] - m[1] * m[2]))
|
||||
|
||||
|
||||
def transform_path(d, m):
|
||||
"""`d` with every point through `m`, a similarity (uniform scale, turn, shift), in absolute
|
||||
commands; arcs keep their shape as such a transform keeps circles circles."""
|
||||
if abs(m[0] - m[3]) > 1e-6 or abs(m[1] + m[2]) > 1e-6:
|
||||
raise SystemExit(f"transform {m} is not a similarity")
|
||||
s, turn = scale_of(m), math.degrees(math.atan2(m[1], m[0]))
|
||||
pt = lambda x, y: (m[0] * x + m[2] * y + m[4], m[1] * x + m[3] * y + m[5])
|
||||
out, cur, start = [], (0.0, 0.0), (0.0, 0.0)
|
||||
for cmd, args in commands(d):
|
||||
rel, up = cmd.islower(), cmd.upper()
|
||||
if up == "Z":
|
||||
out.append("Z")
|
||||
cur = start
|
||||
continue
|
||||
size = {"M": 2, "L": 2, "H": 1, "V": 1, "C": 6, "S": 4, "Q": 4, "T": 2, "A": 7}[up]
|
||||
for i in range(0, len(args), size):
|
||||
a = args[i:i + size]
|
||||
ox, oy = cur if rel else (0.0, 0.0)
|
||||
if up == "H":
|
||||
up_, pts = "L", [(a[0] + (cur[0] if rel else 0), cur[1])]
|
||||
elif up == "V":
|
||||
up_, pts = "L", [(cur[0], a[0] + (cur[1] if rel else 0))]
|
||||
elif up == "A":
|
||||
end = (a[5] + ox, a[6] + oy)
|
||||
p = pt(*end)
|
||||
out.append(f"A{num(a[0] * s)} {num(a[1] * s)} {num(a[2] + turn)} {int(a[3])} {int(a[4])} {num(p[0])} {num(p[1])}")
|
||||
cur = end
|
||||
continue
|
||||
else:
|
||||
up_, pts = up, [(a[j] + ox, a[j + 1] + oy) for j in range(0, size, 2)]
|
||||
if up == "M" and i > 0:
|
||||
up_ = "L"
|
||||
out.append(up_ + " ".join(f"{num(px)} {num(py)}" for px, py in map(lambda q: pt(*q), pts)))
|
||||
cur = pts[-1]
|
||||
if up == "M" and i == 0:
|
||||
start = cur
|
||||
return "".join(out)
|
||||
|
||||
|
||||
NUMBER = re.compile(r"[-+]?(?:\d*\.\d+|\d+\.?)(?:[eE][-+]?\d+)?")
|
||||
|
||||
|
||||
def commands(d):
|
||||
"""`d`'s commands and their numbers. An arc's two flags are one character each, as they may
|
||||
run into what follows them ("a1 1 0 01.5.5")."""
|
||||
out, i = [], 0
|
||||
while i < len(d):
|
||||
c = d[i]
|
||||
if c.isalpha():
|
||||
out.append((c, []))
|
||||
i += 1
|
||||
elif c in " ,\t\r\n":
|
||||
i += 1
|
||||
else:
|
||||
cmd, args = out[-1]
|
||||
if cmd in "Aa" and len(args) % 7 in (3, 4):
|
||||
args.append(float(c))
|
||||
i += 1
|
||||
continue
|
||||
m = NUMBER.match(d, i)
|
||||
args.append(float(m.group()))
|
||||
i = m.end()
|
||||
return out
|
||||
|
||||
|
||||
def num(v):
|
||||
s = f"{v:.4f}".rstrip("0").rstrip(".")
|
||||
return "0" if s in ("-0", "") else s
|
||||
|
||||
|
||||
def fmt_view(v):
|
||||
return f"{v:.6f}".rstrip("0") if v != int(v) else f"{v:.1f}"
|
||||
|
||||
|
||||
main()
|
||||
+93
@@ -0,0 +1,93 @@
|
||||
#!/usr/bin/env node
|
||||
// Regenerates assets/theme.json from @opencode/ui as the browser resolves it.
|
||||
//
|
||||
// usage: OPENCODE=<opencode checkout> node themes/opencode/tools/theme.mjs > themes/opencode/assets/theme.json
|
||||
//
|
||||
// It opens a Storybook story in light and dark, collects every custom property the kit's
|
||||
// stylesheets and ThemeProvider define (the v2 tokens and the v1 tokens the older components
|
||||
// still read), and resolves each through the browser: colours to #rrggbbaa (color-mix, rgba()
|
||||
// and var() chains included), shadows to their computed box-shadow lists. The result is plain
|
||||
// Rune theme data; nothing here is compiled into Rune.
|
||||
|
||||
import { openStory, playwright, serve } from "../../../scripts/kit/storybook.mjs"
|
||||
|
||||
const STORY = "ui-button--playground"
|
||||
|
||||
async function collect(page) {
|
||||
return page.evaluate(() => {
|
||||
const names = new Set()
|
||||
const walk = (rules) => {
|
||||
for (const r of rules) {
|
||||
if (r.style) for (const n of r.style) if (n.startsWith("--")) names.add(n)
|
||||
if (r.cssRules) walk(r.cssRules)
|
||||
}
|
||||
}
|
||||
for (const sheet of document.styleSheets) {
|
||||
try {
|
||||
walk(sheet.cssRules)
|
||||
} catch {}
|
||||
}
|
||||
for (const el of [document.documentElement, document.body]) for (const n of el.style) if (n.startsWith("--")) names.add(n)
|
||||
|
||||
const canvas = document.createElement("canvas")
|
||||
canvas.width = canvas.height = 1
|
||||
const ctx = canvas.getContext("2d", { willReadFrequently: true })
|
||||
const hex = (css) => {
|
||||
ctx.clearRect(0, 0, 1, 1)
|
||||
ctx.fillStyle = "rgba(0,0,0,0)"
|
||||
ctx.fillStyle = css
|
||||
ctx.fillRect(0, 0, 1, 1)
|
||||
const [r, g, b, a] = ctx.getImageData(0, 0, 1, 1).data
|
||||
return "#" + [r, g, b, a].map((v) => v.toString(16).padStart(2, "0")).join("")
|
||||
}
|
||||
const probe = document.createElement("div")
|
||||
document.body.append(probe)
|
||||
const root = getComputedStyle(document.documentElement)
|
||||
const colors = {}
|
||||
const shadows = {}
|
||||
const numbers = {}
|
||||
for (const name of [...names].sort()) {
|
||||
const raw = root.getPropertyValue(name).trim()
|
||||
if (!raw) continue
|
||||
const key = name.slice(2)
|
||||
if (/shadow|elevation/.test(name) && /px/.test(raw)) {
|
||||
probe.style.boxShadow = "none"
|
||||
probe.style.boxShadow = `var(${name})`
|
||||
const v = getComputedStyle(probe).boxShadow
|
||||
if (v && v !== "none") shadows[key] = v.replace(/rgba?\([^)]*\)|color\([^)]*\)|oklch\([^)]*\)/g, (c) => hex(c))
|
||||
continue
|
||||
}
|
||||
if (CSS.supports("color", raw)) {
|
||||
probe.style.color = `var(${name})`
|
||||
const c = getComputedStyle(probe).color
|
||||
colors[key] = hex(c)
|
||||
continue
|
||||
}
|
||||
const px = raw.match(/^(-?[\d.]+)(px)?$/)
|
||||
if (px) numbers[key] = Number(px[1])
|
||||
else if (/^-?[\d.]+rem$/.test(raw)) numbers[key] = parseFloat(raw) * 16
|
||||
}
|
||||
probe.remove()
|
||||
return { colors, shadows, numbers }
|
||||
})
|
||||
}
|
||||
|
||||
const server = await serve()
|
||||
const browser = await playwright().chromium.launch()
|
||||
const out = { name: "OpenCode", blend: { mode: "srgb", over: "v2-background-bg-base" } }
|
||||
let numbers = {}
|
||||
const shadows = {}
|
||||
for (const scheme of ["light", "dark"]) {
|
||||
const page = await browser.newPage()
|
||||
await openStory(page, server.url, STORY, scheme)
|
||||
const got = await collect(page)
|
||||
out[scheme] = got.colors
|
||||
shadows[scheme] = got.shadows
|
||||
numbers = { ...got.numbers, ...numbers }
|
||||
await page.close()
|
||||
}
|
||||
out.shadows = shadows
|
||||
out.numbers = numbers
|
||||
await browser.close()
|
||||
server.close()
|
||||
process.stdout.write(JSON.stringify(out, null, 1) + "\n")
|
||||
@@ -0,0 +1,95 @@
|
||||
#!/usr/bin/env python3
|
||||
"""Regenerates src/tree_icons/catalog.rs: the "complete" file icon set of @pierre/trees, which
|
||||
Desktop's file trees and file lists draw (gui-plugins `pierre-tree.tsx`, `list.tsx`), with its file
|
||||
name and extension tokens and each token's light and dark colour.
|
||||
|
||||
usage: tools/tree-icons.py <opencode>/node_modules/@pierre/trees/dist > src/tree_icons/catalog.rs
|
||||
|
||||
Run `bun install` in the opencode checkout first. The icons are monochrome (`currentColor` with
|
||||
`opacity` layers). Next.js's fading stroke is a gradient, which a monochrome icon draws solid.
|
||||
"""
|
||||
import re
|
||||
import sys
|
||||
from pathlib import Path
|
||||
|
||||
dist = Path(sys.argv[1])
|
||||
js = (dist / "builtInIcons.js").read_text()
|
||||
css = (dist / "style.js").read_text()
|
||||
|
||||
symbols = {}
|
||||
for name, view, body in re.findall(r'<symbol id="([^"]+)" viewBox="0 0 (\d+) \d+">(.*?)</symbol>', js, re.S):
|
||||
body = re.sub(r'\s(class)="[^"]*"', "", body)
|
||||
body = re.sub(r"\s+", " ", body).strip()
|
||||
body = re.sub(r">\s+<", "><", body).replace('"currentcolor"', '"currentColor"')
|
||||
symbols[name] = (int(view), body)
|
||||
|
||||
|
||||
def table(name):
|
||||
body = re.search(r"const " + name + r" = \{(.*?)\n\};", js, re.S).group(1)
|
||||
pairs = re.findall(r'^\s*(?:"([^"]+)"|([\w$-]+)):\s*"([\w-]+)"', body, re.M)
|
||||
# Pierre lower-cases names and suffixes before it looks them up, so upper-case keys never match.
|
||||
return [(q or b, v) for q, b, v in pairs if (q or b) == (q or b).lower()]
|
||||
|
||||
|
||||
names, extensions, overrides = table("BUILT_IN_FILE_NAME_TOKENS"), table("BUILT_IN_FILE_EXTENSION_TOKENS"), table("COMPLETE_EXTENSION_OVERRIDES")
|
||||
palette = {k: (light, dark) for k, light, dark in re.findall(r"--trees-icon-(\w+): light-dark\((#\w+), (#\w+)\)", css)}
|
||||
tints = {t: palette[c] for t, c in re.findall(r"--trees-file-icon-color-([\w-]+): var\(--trees-file-icon-[\w-]+, var\(--trees-icon-(\w+)\)\)", css)}
|
||||
|
||||
tokens = sorted({t for _, t in names + extensions + overrides} | {"default"})
|
||||
for t in tokens:
|
||||
assert f"file-tree-builtin-{t}" in symbols, f"no icon for token {t}"
|
||||
|
||||
|
||||
def ident(name):
|
||||
return re.sub(r"[^A-Z0-9]", "_", name.upper())
|
||||
|
||||
|
||||
print("//! Generated by tools/tree-icons.py from @pierre/trees's complete icon set. Do not edit.")
|
||||
print("use rune::Icon;")
|
||||
print()
|
||||
for t in tokens:
|
||||
view, body = symbols[f"file-tree-builtin-{t}"]
|
||||
print(f'static {ident(t)}: Icon = Icon {{ name: "file-tree-{t}", view: {view:.1f}, body: r#"{body}"# }};')
|
||||
print()
|
||||
print("/// The icon for a token (`file-tree-builtin-<token>`).")
|
||||
print("pub(super) fn icon(token: &str) -> &'static Icon {")
|
||||
print(" match token {")
|
||||
for t in tokens:
|
||||
if t != "default":
|
||||
print(f' "{t}" => &{ident(t)},')
|
||||
print(" _ => &DEFAULT,")
|
||||
print(" }")
|
||||
print("}")
|
||||
print()
|
||||
|
||||
|
||||
def lookup(fn, doc, pairs):
|
||||
print(f"/// {doc}")
|
||||
print(f"pub(super) fn {fn}(key: &str) -> Option<&'static str> {{")
|
||||
print(" Some(match key {")
|
||||
for k, v in dict(pairs).items():
|
||||
print(f' "{k}" => "{v}",')
|
||||
print(" _ => return None,")
|
||||
print(" })")
|
||||
print("}")
|
||||
print()
|
||||
|
||||
|
||||
lookup("by_file_name", "A whole lower-case file name's token (`BUILT_IN_FILE_NAME_TOKENS`).", names)
|
||||
lookup("by_extension", "A lower-case suffix's token (`BUILT_IN_FILE_EXTENSION_TOKENS`).", extensions)
|
||||
lookup("complete_override", "The complete set's suffix overrides (`COMPLETE_EXTENSION_OVERRIDES`).", overrides)
|
||||
|
||||
print("/// A token's colour as `#rrggbb` (light, dark), from `--trees-file-icon-color-<token>`.")
|
||||
print("pub(super) fn tint(token: &str) -> (&'static str, &'static str) {")
|
||||
print(" match token {")
|
||||
for t in tokens:
|
||||
if t in tints and t != "default":
|
||||
light, dark = tints[t]
|
||||
print(f' "{t}" => ("{light}", "{dark}"),')
|
||||
light, dark = tints["default"]
|
||||
print(f' _ => ("{light}", "{dark}"),')
|
||||
print(" }")
|
||||
print("}")
|
||||
print()
|
||||
print("/// Every token, for a gallery.")
|
||||
print("pub(super) const TOKENS: &[&str] = &[" + ", ".join(f'"{t}"' for t in tokens) + "];")
|
||||
Reference in new issue
Block a user