hc-starlight 0.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/components/Head.astro +22 -0
- package/components/Icon.astro +43 -0
- package/components/SocialIcons.astro +47 -0
- package/components/ThemeProvider.astro +5 -0
- package/components/ThemeSelect.astro +15 -0
- package/components.ts +1 -0
- package/data/icons.ts +40 -0
- package/index.ts +73 -0
- package/package.json +38 -0
- package/styles/theme.css +330 -0
- package/styles.css +3 -0
- package/user-options.ts +29 -0
- package/virtual-user-config.ts +38 -0
- package/virtual-user.d.ts +8 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026–present Saif Abdelrazek (A8K)
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
---
|
|
2
|
+
import StarlightHead from '@astrojs/starlight/components/Head.astro';
|
|
3
|
+
import VtbotStarlight from 'astro-vtbot/components/starlight/Base.astro';
|
|
4
|
+
import PageOrder from 'astro-vtbot/components/starlight/PageOrder.astro';
|
|
5
|
+
|
|
6
|
+
import hcConfig from 'virtual:hc-starlight/user-config';
|
|
7
|
+
|
|
8
|
+
const isClientRoutingDisabled =
|
|
9
|
+
hcConfig.withClientRouting === false ||
|
|
10
|
+
(typeof hcConfig.withClientRouting === 'object' && hcConfig.withClientRouting.active === false);
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
{
|
|
14
|
+
isClientRoutingDisabled ? (
|
|
15
|
+
<StarlightHead><slot /></StarlightHead>
|
|
16
|
+
) : (
|
|
17
|
+
<VtbotStarlight transition:animate={typeof hcConfig.withClientRouting === 'object' ? hcConfig.withClientRouting.animate ?? 'fade' : 'fade'}>
|
|
18
|
+
<StarlightHead><slot /></StarlightHead>
|
|
19
|
+
</VtbotStarlight>
|
|
20
|
+
)
|
|
21
|
+
}
|
|
22
|
+
<PageOrder />
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
---
|
|
2
|
+
import { type HCIcons } from '../data/icons';
|
|
3
|
+
import { glyphs } from '../data/icons.ts';
|
|
4
|
+
|
|
5
|
+
interface Props {
|
|
6
|
+
name: HCIcons;
|
|
7
|
+
label?: string;
|
|
8
|
+
color?: string;
|
|
9
|
+
size?: string;
|
|
10
|
+
class?: string;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
const { name, label, size = '1em', color } = Astro.props;
|
|
14
|
+
const a11yAttrs = label ? ({ 'aria-label': label } as const) : ({ 'aria-hidden': 'true' } as const);
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* The fragment around the element is used as a workaround to avoid a trailing whitespace in the output.
|
|
18
|
+
* @see https://github.com/withastro/compiler/issues/1003
|
|
19
|
+
*/
|
|
20
|
+
---
|
|
21
|
+
|
|
22
|
+
<>
|
|
23
|
+
<svg
|
|
24
|
+
{...a11yAttrs}
|
|
25
|
+
class={Astro.props.class}
|
|
26
|
+
width="16"
|
|
27
|
+
height="16"
|
|
28
|
+
viewBox="0 0 48 48"
|
|
29
|
+
fill="currentColor"
|
|
30
|
+
set:html={glyphs[name]}
|
|
31
|
+
/>
|
|
32
|
+
</>
|
|
33
|
+
|
|
34
|
+
<style define:vars={{ 'sl-icon-color': color, 'sl-icon-size': size }}>
|
|
35
|
+
@layer starlight.components {
|
|
36
|
+
svg {
|
|
37
|
+
color: var(--sl-icon-color);
|
|
38
|
+
font-size: var(--sl-icon-size, 1em);
|
|
39
|
+
width: 1em;
|
|
40
|
+
height: 1em;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
</style>
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
---
|
|
2
|
+
import { Icon as StarlightIcon } from '@astrojs/starlight/components'
|
|
3
|
+
import starlightConfig from 'virtual:starlight/user-config'
|
|
4
|
+
import hcConfig from 'virtual:hc-starlight/user-config'
|
|
5
|
+
import HCIcon from './Icon.astro'
|
|
6
|
+
|
|
7
|
+
const starlightLinks = starlightConfig.social || []
|
|
8
|
+
const hcLinks = hcConfig.hcSocial || []
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
{
|
|
12
|
+
starlightLinks.length > 0 && (
|
|
13
|
+
<>
|
|
14
|
+
{starlightLinks.map(({ label, href, icon }) => (
|
|
15
|
+
<a {href} rel="me" class="sl-flex">
|
|
16
|
+
<span class="sr-only">{label}</span>
|
|
17
|
+
<StarlightIcon name={icon} />
|
|
18
|
+
</a>
|
|
19
|
+
))}
|
|
20
|
+
</>
|
|
21
|
+
)
|
|
22
|
+
}
|
|
23
|
+
{
|
|
24
|
+
hcLinks.length > 0 && (
|
|
25
|
+
<>
|
|
26
|
+
{hcLinks.map(({ label, href, icon }) => (
|
|
27
|
+
<a {href} rel="me" class="sl-flex">
|
|
28
|
+
<span class="sr-only">{label}</span>
|
|
29
|
+
<HCIcon name={icon} />
|
|
30
|
+
</a>
|
|
31
|
+
))}
|
|
32
|
+
</>
|
|
33
|
+
)
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
<style>
|
|
37
|
+
@layer starlight.core {
|
|
38
|
+
a {
|
|
39
|
+
color: var(--sl-color-text-accent);
|
|
40
|
+
padding: 0.5em;
|
|
41
|
+
margin: -0.5em;
|
|
42
|
+
}
|
|
43
|
+
a:hover {
|
|
44
|
+
opacity: 0.66;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
</style>
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
---
|
|
2
|
+
import { Toggle } from 'astro-theme-toggle/components'
|
|
3
|
+
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
<div class="hc-theme-select">
|
|
7
|
+
<Toggle class="hc-icon-button">
|
|
8
|
+
<Fragment slot="icon-light">
|
|
9
|
+
<div class="hc-theme-select-icon-light"></div>
|
|
10
|
+
</Fragment>
|
|
11
|
+
<Fragment slot="icon-dark">
|
|
12
|
+
<div class="hc-theme-select-icon-dark"></div>
|
|
13
|
+
</Fragment>
|
|
14
|
+
</Toggle>
|
|
15
|
+
</div>
|
package/components.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as Icon } from "./components/Icon.astro";
|
package/data/icons.ts
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
export const glyphs = {
|
|
2
|
+
apple: `<path fill-rule="evenodd" clip-rule="evenodd" d="M40.1407 37.4066C39.4046 39.0835 38.5332 40.6272 37.5237 42.0463C36.1478 43.9812 35.021 45.3204 34.1528 46.0641C32.8065 47.2848 31.3645 47.91 29.82 47.9455C28.7113 47.9455 27.3745 47.6344 25.8179 47.0032C24.2566 46.3752 22.8216 46.0641 21.5095 46.0641C20.1334 46.0641 18.6576 46.3752 17.079 47.0032C15.498 47.6344 14.2244 47.9632 13.2506 47.9959C11.7697 48.058 10.2936 47.4151 8.82014 46.0641C7.87972 45.2551 6.70343 43.8686 5.29431 41.9042C3.78242 39.8064 2.53944 37.374 1.56567 34.6008C0.522791 31.6053 0 28.7047 0 25.8965C0 22.6796 0.704867 19.9052 2.1167 17.5802C3.22629 15.7127 4.70241 14.2396 6.54989 13.1581C8.3974 12.0767 10.3936 11.5256 12.5434 11.4903C13.7196 11.4903 15.2622 11.8491 17.1791 12.5543C19.0906 13.2618 20.3179 13.6206 20.856 13.6206C21.2584 13.6206 22.6218 13.2011 24.9333 12.3646C27.1191 11.589 28.9638 11.2678 30.4751 11.3943C34.5702 11.7202 37.6469 13.3122 39.6931 16.1802C36.0306 18.3686 34.2188 21.4337 34.2548 25.3658C34.2878 28.4285 35.4146 30.977 37.6288 33.0007C38.6324 33.9401 39.7531 34.6658 41 35.1813C40.7296 35.9549 40.4441 36.6955 40.1407 37.4066ZM30.7486 0.960266C30.7486 3.36081 29.8591 5.6022 28.0864 7.6768C25.9472 10.1431 23.3597 11.5682 20.5538 11.3434C20.518 11.0554 20.4973 10.7523 20.4973 10.4338C20.4973 8.12923 21.5146 5.66294 23.3213 3.64641C24.2233 2.62541 25.3703 1.77645 26.7614 1.09923C28.1496 0.432105 29.4626 0.0631684 30.6974 0C30.7334 0.320909 30.7486 0.641875 30.7486 0.960266Z"/>`,
|
|
3
|
+
attachment: `<path fill-rule="evenodd" clip-rule="evenodd" d="M1.25859 33.9301C-1.3318 38.4169 0.204427 44.1529 4.69118 46.7414C9.17607 49.3318 14.9121 47.7956 17.5025 43.3088L25.0054 30.3137L26.8811 27.065L34.3841 14.0699C36.9745 9.5831 35.4364 3.8471 30.9515 1.25859C26.4647 -1.3318 20.7287 0.204427 18.1402 4.69118L17.2023 6.31557C16.6846 7.21217 16.9904 8.36012 17.8889 8.87783C18.7855 9.39553 19.9334 9.08791 20.4511 8.19131L21.389 6.56692C22.9421 3.87524 26.3841 2.95238 29.0757 4.50736C31.7674 6.06047 32.6884 9.50244 31.1353 12.1941L30.1974 13.8185L23.6324 25.1892L21.7566 28.438L14.2537 41.4331C12.6987 44.1248 9.2586 45.0476 6.56692 43.4926C3.87524 41.9395 2.95238 38.4976 4.50736 35.8059L8.25883 29.3083L15.7618 16.3132C16.2795 15.4166 17.4255 15.109 18.324 15.6267C19.2206 16.1444 19.5282 17.2924 19.0105 18.189L11.5076 31.1841C10.9899 32.0825 11.2975 33.2286 12.1941 33.7463C13.0907 34.264 14.2387 33.9583 14.7564 33.0598L22.2593 20.0647C23.8124 17.373 22.8914 13.9311 20.1998 12.3779C17.5081 10.823 14.0661 11.7458 12.513 14.4375L5.01006 27.4326L1.25859 33.9301Z"/>`,
|
|
4
|
+
channel: `<path fill-rule="evenodd" clip-rule="evenodd" d="M17.068 2.96527C17.64 0.833275 19.836 -0.434724 21.968 0.137276C24.104 0.709276 25.368 2.90527 24.796 5.03727L23.172 11.1053H31.38L33.56 2.96527C34.132 0.833275 36.324 -0.434724 38.46 0.137276C40.592 0.709276 41.86 2.90527 41.288 5.03727L39.66 11.1053H44C46.212 11.1053 48 12.8933 48 15.1053C48 17.3133 46.212 19.1053 44 19.1053H37.52L35.376 27.1053H40C42.212 27.1053 44 28.8933 44 31.1053C44 33.3133 42.212 35.1053 40 35.1053H33.232L30.936 43.6733C30.364 45.8093 28.168 47.0733 26.036 46.5013C23.9 45.9293 22.636 43.7373 23.208 41.6053L24.948 35.1053H16.74L14.444 43.6733C13.872 45.8093 11.68 47.0733 9.544 46.5013C7.412 45.9293 6.144 43.7373 6.716 41.6053L8.46 35.1053H4C1.792 35.1053 0 33.3133 0 31.1053C0 28.8933 1.792 27.1053 4 27.1053H10.604L12.744 19.1053H8C5.792 19.1053 4 17.3133 4 15.1053C4 12.8933 5.792 11.1053 8 11.1053H14.888L17.068 2.96527ZM27.092 27.1053L29.236 19.1053H21.028L18.884 27.1053H27.092Z"/>`,
|
|
5
|
+
channels: `<path fill-rule="evenodd" clip-rule="evenodd" d="M24 4C34.2 4 38.494 5.152 40.672 7.33C42.85 9.508 44 13.8 44 24C44 34.2 42.85 38.494 40.672 40.672C38.494 42.85 34.2 44 24 44C13.8 44 9.506 42.85 7.328 40.672C5.15 38.494 4 34.2 4 24C4 13.8 5.15 9.506 7.328 7.33C9.506 5.152 13.8 4 24 4ZM48 24C48 4 44 0 24 0C4 0 0 4 0 24C0 44 4 48 24 48C44 48 48 44 48 24Z"/><path fill-rule="evenodd" clip-rule="evenodd" d="M20.574 13.882C20.6421 13.6283 20.7594 13.3905 20.9193 13.1821C21.0793 12.9737 21.2787 12.7989 21.5062 12.6676C21.9657 12.4024 22.5116 12.3306 23.024 12.468C23.2778 12.536 23.5156 12.6534 23.724 12.8133C23.9323 12.9733 24.1071 13.1727 24.2384 13.4002C24.3698 13.6277 24.455 13.8788 24.4892 14.1392C24.5234 14.3997 24.5061 14.6643 24.438 14.918L23.626 17.952H27.73L28.82 13.882C28.9574 13.3696 29.2927 12.9328 29.7522 12.6676C30.2117 12.4024 30.7576 12.3306 31.27 12.468C31.7824 12.6054 32.2193 12.9407 32.4845 13.4002C32.7496 13.8596 32.8214 14.4056 32.684 14.918L31.87 17.952H34.04C34.5705 17.952 35.0792 18.1627 35.4543 18.5378C35.8293 18.9129 36.04 19.4216 36.04 19.952C36.04 20.4825 35.8293 20.9912 35.4543 21.3662C35.0792 21.7413 34.5705 21.952 34.04 21.952H30.8L29.728 25.952H32.04C32.5705 25.952 33.0792 26.1627 33.4543 26.5378C33.8293 26.9129 34.04 27.4216 34.04 27.952C34.04 28.4825 33.8293 28.9912 33.4543 29.3662C33.0792 29.7413 32.5705 29.952 32.04 29.952H28.656L27.508 34.236C27.369 34.7462 27.0335 35.1806 26.575 35.4441C26.1165 35.7076 25.5723 35.7787 25.0614 35.642C24.5506 35.5053 24.1147 35.1719 23.8491 34.7146C23.5834 34.2574 23.5097 33.7135 23.644 33.202L24.514 29.952H20.41L19.262 34.236C19.1951 34.4908 19.0785 34.7299 18.919 34.9395C18.7594 35.1491 18.56 35.3251 18.3322 35.4574C18.1044 35.5897 17.8528 35.6758 17.5916 35.7105C17.3305 35.7453 17.0651 35.7282 16.8106 35.6601C16.5561 35.592 16.3176 35.4743 16.1088 35.3137C15.8999 35.1532 15.7248 34.953 15.5936 34.7246C15.4623 34.4962 15.3775 34.2441 15.3439 33.9828C15.3104 33.7215 15.3288 33.4562 15.398 33.202L16.27 29.952H14.04C13.5096 29.952 13.0009 29.7413 12.6258 29.3662C12.2508 28.9912 12.04 28.4825 12.04 27.952C12.04 27.4216 12.2508 26.9129 12.6258 26.5378C13.0009 26.1627 13.5096 25.952 14.04 25.952H17.342L18.412 21.952H16.04C15.5096 21.952 15.0009 21.7413 14.6258 21.3662C14.2508 20.9912 14.04 20.4825 14.04 19.952C14.04 19.4216 14.2508 18.9129 14.6258 18.5378C15.0009 18.1627 15.5096 17.952 16.04 17.952H19.484L20.574 13.882ZM25.586 25.952L26.658 21.952H22.554L21.482 25.952H25.586Z"/>`,
|
|
6
|
+
clubs: `<path fill-rule="evenodd" clip-rule="evenodd" d="M45 24C45 35.046 35.046 45 24 45C12.954 45 3 35.046 3 24C3 12.954 12.954 3 24 3C35.046 3 45 12.954 45 24ZM48 24C48 37.254 37.254 48 24 48C10.746 48 0 37.254 0 24C0 10.746 10.746 0 24 0C37.254 0 48 10.746 48 24Z" /><path fill-rule="evenodd" clip-rule="evenodd" d="M16.4294 7.551C16.2391 7.49996 16.0406 7.4869 15.8453 7.51258C15.6499 7.53825 15.4616 7.60215 15.2909 7.70063C15.1203 7.79911 14.9707 7.93024 14.8508 8.08653C14.7308 8.24282 14.6429 8.42121 14.5919 8.6115L7.55086 38.988C7.49889 39.1786 7.4851 39.3776 7.51027 39.5736C7.53543 39.7695 7.59907 39.9586 7.69751 40.1299C7.79595 40.3012 7.92726 40.4514 8.08391 40.5718C8.24055 40.6922 8.41944 40.7805 8.61029 40.8315C8.80115 40.8826 9.00021 40.8955 9.19606 40.8694C9.3919 40.8433 9.58066 40.7788 9.7515 40.6796C9.92234 40.5803 10.0719 40.4483 10.1916 40.2911C10.3112 40.1339 10.3987 39.9546 10.4489 39.7635L17.4899 9.3885C17.5409 9.19822 17.554 8.99974 17.5283 8.80441C17.5026 8.60908 17.4387 8.42071 17.3402 8.25008C17.2417 8.07945 17.1106 7.92989 16.9543 7.80994C16.798 7.68999 16.6197 7.602 16.4294 7.551ZM19.5899 21.0585C20.2274 18.504 20.7869 16.5045 21.4274 14.94C22.0709 13.353 22.5764 12.795 22.7954 12.642C22.8072 12.6314 22.8182 12.6198 22.8284 12.6075L22.8539 12.612C23.0504 12.579 23.0534 12.5805 23.3834 12.7215L23.4809 12.7635C24.3569 13.1085 25.7189 14.0025 27.7199 15.8775C30.0959 18.0705 32.4794 19.3845 34.2599 19.9845C35.2584 20.2918 36.2866 20.4929 37.3274 20.5845C36.8594 22.326 36.3869 24.03 35.7854 25.5855C35.1779 27.177 34.6514 28.2465 33.8594 29.046C33.2819 29.661 32.7809 29.859 32.1629 29.8365C31.3844 29.8095 29.9924 29.403 27.8114 27.7815C25.1924 25.845 22.9364 24.672 21.3209 24.0105C20.584 23.7149 19.8343 23.4526 19.0739 23.2245C19.1939 22.662 19.3634 21.9675 19.5899 21.0585ZM17.9309 22.86L17.9564 22.872C17.9474 22.869 17.9389 22.865 17.9309 22.86ZM16.6799 20.3325C19.2704 9.9375 21.4409 5.8815 29.7704 13.6875C34.0199 17.67 37.1699 17.6565 38.9804 17.649C40.7204 17.6415 41.2214 17.6385 40.2704 21.1875C38.3294 28.4325 35.6909 37.3815 26.0204 30.1875C22.0634 27.2445 19.4324 26.4585 17.8469 25.986C15.5579 25.302 15.4484 25.269 16.6799 20.3325Z" />`,
|
|
7
|
+
"clubs-fill": `<path fill-rule="evenodd" clip-rule="evenodd" d="M24 48C37.254 48 48 37.254 48 24C48 10.746 37.254 0 24 0C10.746 0 0 10.746 0 24C0 37.254 10.746 48 24 48ZM24 45C35.046 45 45 35.046 45 24C45 12.954 35.046 3 24 3C12.954 3 3 12.954 3 24C3 29.616 5.5725 34.9485 9.5535 38.835L17.892 7.7115C17.995 7.3272 18.2465 6.99957 18.5911 6.80069C18.9357 6.60181 19.3452 6.54796 19.7295 6.651C20.1138 6.75404 20.4414 7.00552 20.6403 7.35011C20.8392 7.69471 20.893 8.1042 20.79 8.4885L20.688 8.8695C22.5195 8.2545 24.969 9.4125 28.5705 12.7875C32.82 16.77 35.97 16.7565 37.7805 16.749C39.5205 16.7415 40.0215 16.74 39.0705 20.2875C37.1295 27.5325 34.491 36.4815 24.8205 29.2875C20.8635 26.3445 18.2325 25.5585 16.647 25.086C16.6096 25.0743 16.5721 25.0628 16.5345 25.0515C16.4775 25.035 16.4205 25.0185 16.3665 25.0005L12.249 40.3635C12.1974 40.558 12.1071 40.7402 11.9835 40.899C15.456 43.452 19.6425 45 24 45Z" />`,
|
|
8
|
+
email: `<path fill-rule="evenodd" clip-rule="evenodd" d="M43.418 34.096C43.9 31.672 44 28.512 44 24C44 19.488 43.9 16.328 43.418 13.904C42.986 11.684 42.352 10.75 41.69 10.198C40.922 9.558 39.502 8.916 36.496 8.51C33.434 8.092 29.452 8 24 8C18.55 8 14.566 8.092 11.504 8.51C8.498 8.916 7.078 9.558 6.31 10.198C5.648 10.75 5.014 11.684 4.582 13.904C4.1 16.328 4 19.488 4 24C4 28.512 4.1 31.672 4.582 34.096C5.014 36.316 5.648 37.25 6.31 37.802C7.078 38.442 8.498 39.084 11.504 39.488C14.566 39.908 18.55 40 24 40C29.452 40 33.434 39.908 36.496 39.488C39.502 39.084 40.922 38.442 41.69 37.802C42.352 37.25 42.986 36.316 43.418 34.096ZM24 44C46 44 48 42.334 48 24C48 5.666 46 4 24 4C2 4 0 5.666 0 24C0 42.334 2 44 24 44ZM6.698 14.452C7.52 13.764 8.744 13.874 9.43 14.7C12.1 17.902 20.664 25.336 24 27.884C27.392 25.292 35.862 17.958 38.57 14.7C39.256 13.874 40.48 13.764 41.302 14.452C42.126 15.14 42.236 16.366 41.55 17.192C40.16 18.868 37.51 21.45 34.692 24C37.51 26.55 40.16 29.132 41.55 30.808C42.236 31.632 42.126 32.86 41.302 33.548C40.48 34.236 39.256 34.126 38.57 33.3C37.246 31.704 34.54 29.134 31.726 26.622C29.522 28.522 27.452 30.2 26.044 31.204C25.44 31.63 24.756 32 24 32C23.244 32 22.56 31.63 21.958 31.204C20.576 30.22 18.502 28.534 16.288 26.62C13.46 29.148 10.738 31.732 9.43 33.3C8.744 34.126 7.52 34.236 6.698 33.548C5.876 32.86 5.764 31.634 6.45 30.808L6.452 30.806C7.818 29.162 10.488 26.568 13.324 24C10.488 21.432 7.818 18.836 6.452 17.194L6.45 17.192C5.764 16.366 5.876 15.14 6.698 14.452Z"/>`,
|
|
9
|
+
"email-fill": `<path fill-rule="evenodd" clip-rule="evenodd" d="M24 40C46 40 48 38.334 48 20C48 1.666 46 0 24 0C2 0 0 1.666 0 20C0 38.334 2 40 24 40ZM6.698 10.452C7.52 9.764 8.744 9.874 9.43 10.7C12.1 13.902 20.664 21.336 24 23.884C27.392 21.292 35.862 13.958 38.57 10.7C39.256 9.874 40.48 9.764 41.302 10.452C42.126 11.14 42.236 12.366 41.55 13.192C40.16 14.868 37.51 17.45 34.692 20C37.51 22.55 40.16 25.132 41.55 26.808C42.236 27.632 42.126 28.86 41.302 29.548C40.48 30.236 39.256 30.126 38.57 29.3C37.246 27.704 34.54 25.134 31.726 22.622C29.522 24.522 27.452 26.2 26.044 27.204C25.44 27.63 24.756 28 24 28C23.244 28 22.56 27.63 21.958 27.204C20.576 26.22 18.502 24.534 16.288 22.62C13.46 25.148 10.738 27.732 9.43 29.3C8.744 30.126 7.52 30.236 6.698 29.548C5.876 28.86 5.764 27.634 6.45 26.808L6.452 26.806C7.818 25.162 10.488 22.568 13.324 20C10.488 17.432 7.818 14.836 6.452 13.194L6.45 13.192C5.764 12.366 5.876 11.14 6.698 10.452Z"/>`,
|
|
10
|
+
facebook: `<path fill-rule="evenodd" clip-rule="evenodd" d="M30.982 47.888C46.444 47.25 48 43.404 48 24C48 2 46 0 24 0C2 0 0 2 0 24C0 45.97 1.994 47.994 23.912 48V32.666H18V25.912H23.912V20.93C23.912 15.148 27.49 12 32.718 12C35.22 12 37.372 12.184 38 12.266V18.308L34.374 18.31C31.532 18.31 30.982 19.642 30.982 21.598V25.912H37.762L36.878 32.666H30.982V47.888Z"/>`,
|
|
11
|
+
figma: `<path fill-rule="evenodd" clip-rule="evenodd" d="M24 4C34.2 4 38.494 5.152 40.672 7.33C42.85 9.508 44 13.8 44 24C44 34.2 42.85 38.494 40.672 40.672C38.494 42.85 34.2 44 24 44C13.8 44 9.506 42.85 7.328 40.672C5.15 38.494 4 34.2 4 24C4 13.8 5.15 9.506 7.328 7.33C9.506 5.152 13.8 4 24 4ZM48 24C48 4 44 0 24 0C4 0 0 4 0 24C0 44 4 48 24 48C44 48 48 44 48 24Z"/><path fill-rule="evenodd" clip-rule="evenodd" d="M23.9861 24C23.9861 22.5854 24.5481 21.2286 25.5484 20.2283C26.5487 19.228 27.9054 18.666 29.3201 18.666C30.7348 18.666 32.0915 19.228 33.0918 20.2283C34.0921 21.2286 34.6541 22.5854 34.6541 24C34.6541 25.4147 34.0921 26.7714 33.0918 27.7717C32.0915 28.7721 30.7348 29.334 29.3201 29.334C27.9054 29.334 26.5487 28.7721 25.5484 27.7717C24.5481 26.7714 23.9861 25.4147 23.9861 24ZM13.3201 34.666C13.3206 33.2517 13.8828 31.8955 14.8831 30.8956C15.8834 29.8957 17.2398 29.334 18.6541 29.334H23.9861V34.666C23.9998 35.3751 23.872 36.0797 23.6102 36.7388C23.3484 37.3978 22.9577 37.998 22.4611 38.5043C21.9646 39.0106 21.372 39.4128 20.7182 39.6873C20.0643 39.9619 19.3623 40.1033 18.6531 40.1033C17.9439 40.1033 17.2419 39.9619 16.588 39.6873C15.9342 39.4128 15.3416 39.0106 14.845 38.5043C14.3485 37.998 13.9578 37.3978 13.696 36.7388C13.4342 36.0797 13.3064 35.3751 13.3201 34.666ZM23.9861 8.00002V18.666H29.3201C30.0291 18.6798 30.7338 18.552 31.3928 18.2901C32.0519 18.0283 32.6521 17.6376 33.1584 17.1411C33.6647 16.6445 34.0669 16.0519 34.3414 15.3981C34.616 14.7442 34.7574 14.0422 34.7574 13.333C34.7574 12.6239 34.616 11.9218 34.3414 11.268C34.0669 10.6141 33.6647 10.0216 33.1584 9.52498C32.6521 9.0284 32.0519 8.63777 31.3928 8.37593C30.7338 8.11408 30.0291 7.98629 29.3201 8.00002H23.9861ZM13.3201 13.334C13.3206 14.7483 13.8828 16.1046 14.8831 17.1044C15.8834 18.1043 17.2398 18.666 18.6541 18.666H23.9861V8.00002H18.6541C17.9535 7.99976 17.2598 8.13755 16.6125 8.40551C15.9653 8.67348 15.3772 9.06637 14.8818 9.56173C14.3864 10.0571 13.9935 10.6452 13.7256 11.2925C13.4576 11.9397 13.3198 12.6335 13.3201 13.334ZM13.3201 24C13.3201 25.4147 13.8821 26.7714 14.8824 27.7717C15.8827 28.7721 17.2394 29.334 18.6541 29.334H23.9861V18.666H18.6541C17.9535 18.6658 17.2598 18.8035 16.6125 19.0715C15.9653 19.3395 15.3772 19.7324 14.8818 20.2277C14.3864 20.7231 13.9935 21.3112 13.7256 21.9585C13.4576 22.6057 13.3198 23.2995 13.3201 24Z"/>`,
|
|
12
|
+
"figma-fill": `<path fill-rule="evenodd" clip-rule="evenodd" d="M25.5761 20.292C24.5761 21.292 24.0161 22.65 24.0161 24.064V18.73H29.3481C27.9341 18.73 26.5761 19.292 25.5761 20.292Z"/><path fill-rule="evenodd" clip-rule="evenodd" d="M48 24C48 46 46 48 24 48C2 48 0 46 0 24C0 2 2 0 24 0C46 0 48 2 48 24ZM29.348 18.73C30.403 18.73 31.4342 19.0428 32.3114 19.6289C33.1886 20.215 33.8723 21.0481 34.276 22.0228C34.6797 22.9974 34.7853 24.0699 34.5795 25.1046C34.3737 26.1393 33.8657 27.0897 33.1197 27.8357C32.3737 28.5817 31.4233 29.0897 30.3886 29.2955C29.3539 29.5013 28.2814 29.3957 27.3068 28.992C26.3321 28.5883 25.499 27.9046 24.9129 27.0274C24.3268 26.1502 24.014 25.119 24.014 24.064V34.73C24.0144 35.7851 23.7018 36.8167 23.1159 37.6942C22.5299 38.5716 21.6969 39.2556 20.7222 39.6596C19.7474 40.0636 18.6748 40.1694 17.6399 39.9636C16.605 39.7579 15.6544 39.2498 14.9083 38.5037C14.1622 37.7576 13.6541 36.807 13.4484 35.7721C13.2426 34.7372 13.3484 33.6646 13.7524 32.6898C14.1564 31.7151 14.8404 30.8821 15.7178 30.2961C16.5953 29.7102 17.6269 29.3976 18.682 29.398C17.2673 29.398 15.9106 28.836 14.9103 27.8357C13.91 26.8354 13.348 25.4787 13.348 24.064C13.348 22.6493 13.91 21.2926 14.9103 20.2923C15.9106 19.292 17.2673 18.73 18.682 18.73C17.9817 18.73 17.2882 18.5921 16.6411 18.3241C15.9941 18.056 15.4062 17.6632 14.911 17.168C14.4158 16.6728 14.023 16.0849 13.7549 15.4378C13.4869 14.7908 13.349 14.0973 13.349 13.397C13.349 12.6967 13.4869 12.0032 13.7549 11.3561C14.023 10.7091 14.4158 10.1212 14.911 9.626C15.4062 9.13079 15.9941 8.73796 16.6411 8.46995C17.2882 8.20194 17.9817 8.064 18.682 8.064H29.348C30.057 8.05027 30.7617 8.17806 31.4207 8.4399C32.0798 8.70174 32.68 9.09238 33.1863 9.58895C33.6926 10.0855 34.0948 10.6781 34.3693 11.3319C34.6439 11.9858 34.7853 12.6878 34.7853 13.397C34.7853 14.1062 34.6439 14.8082 34.3693 15.4621C34.0948 16.1159 33.6926 16.7085 33.1863 17.205C32.68 17.7016 32.0798 18.0923 31.4207 18.3541C30.7617 18.6159 30.057 18.7437 29.348 18.73Z"/>`,
|
|
13
|
+
github: `<path fill-rule="evenodd" clip-rule="evenodd" d="M29.674 47.932C46.358 47.45 48 43.938 48 24C48 2 46 0 24 0C2 0 0 2 0 24C0 43.99 1.652 47.468 18.456 47.936C18.602 47.754 18.656 47.526 18.656 47.294C18.656 46.794 18.636 41.662 18.626 39.896C12.552 41.174 11.27 37.058 11.27 37.058C10.276 34.614 8.844 33.962 8.844 33.962C6.862 32.65 8.994 32.676 8.994 32.676C11.186 32.826 12.34 34.858 12.34 34.858C14.288 38.092 17.452 37.158 18.696 36.616C18.894 35.25 19.458 34.316 20.082 33.788C15.232 33.254 10.134 31.438 10.134 23.328C10.134 21.018 10.986 19.13 12.382 17.65C12.156 17.114 11.408 14.962 12.596 12.05C12.596 12.05 14.43 11.48 18.602 14.218C20.344 13.748 22.212 13.514 24.07 13.506C25.924 13.514 27.792 13.748 29.538 14.218C33.708 11.48 35.538 12.05 35.538 12.05C36.73 14.962 35.98 17.114 35.754 17.65C37.154 19.13 38 21.018 38 23.328C38 31.458 32.894 33.248 28.028 33.77C28.812 34.424 29.51 35.716 29.51 37.69C29.51 39.582 29.498 42.928 29.49 45.146C29.486 46.244 29.484 47.064 29.484 47.294C29.484 47.512 29.542 47.742 29.674 47.932Z"/>`,
|
|
14
|
+
google: `<path fill-rule="evenodd" clip-rule="evenodd" d="M24 48C46 48 48 46 48 24C48 2 46 0 24 0C2 0 0 2 0 24C0 46 2 48 24 48ZM24.284 26.884V21.534L37.746 21.554C38.922 27.01 36.276 38 24.284 38C16.396 38 10 31.732 10 24C10 16.268 16.396 10 24.284 10C27.988 10 31.364 11.382 33.904 13.65L29.884 17.59C28.376 16.324 26.424 15.556 24.284 15.556C19.526 15.556 15.668 19.336 15.668 24C15.668 28.664 19.526 32.444 24.284 32.444C28.28 32.444 31.044 30.126 32.06 26.884H24.284Z"/>`,
|
|
15
|
+
hackclub: `<g transform="translate(24 24) scale(1.3333333) translate(-24 -24)"><path fill-rule="evenodd" clip-rule="evenodd" d="M24 6C39 6 42 9 42 24C42 39 39 42 24 42C9 42 6 39 6 24C6 9 9 6 24 6ZM21.8584 12.5244L17.4844 13.2676C17.3491 13.2905 17.25 13.4078 17.25 13.5449V34.8398C17.25 34.9951 17.3759 35.1211 17.5312 35.1211H21.9053C22.0606 35.121 22.1865 34.995 22.1865 34.8398V26.8682C22.1866 24.44 23.4739 22.936 24.5469 22.9355C25.5127 22.9355 25.792 23.9029 25.792 25.3643V34.8398C25.792 34.995 25.9179 35.121 26.0732 35.1211H30.4688C30.6241 35.1211 30.75 34.9951 30.75 34.8398V24.6543C30.7499 21.3449 29.5051 19.2169 26.2646 19.2168C24.9639 19.2168 23.694 19.5304 22.6826 20.2236C22.4819 20.3612 22.1868 20.2258 22.1865 19.9824V12.8018C22.1865 12.6277 22.0298 12.4954 21.8584 12.5244Z" /></g>`,
|
|
16
|
+
hcb: `<path fill-rule="evenodd" clip-rule="evenodd" d="M24.4656 5.03048C24.3132 4.96133 24.1579 4.89887 24 4.84327V0C24.8592 0 25.764 0.357605 26.3928 0.633609C27.1056 0.945614 28.0153 1.41602 28.9777 1.96563C31.3466 3.35165 33.6514 4.84441 35.885 6.4393C41.0451 10.0826 42.0003 10.8002 47.2972 15.1034C47.52 15.3263 47.6967 15.5908 47.8173 15.8819C47.9379 16.1731 48 16.4851 48 16.8003C48 17.1154 47.9379 17.4274 47.8173 17.7186C47.6967 18.0097 47.52 18.2742 47.2972 18.4971C47.0743 18.7199 46.8098 18.8967 46.5186 19.0173C46.2275 19.1379 45.9155 19.1999 45.6003 19.1999C45.2852 19.1999 44.9732 19.1379 44.682 19.0173C44.3909 18.8967 44.1263 18.7199 43.9035 18.4971C38.4002 14.4002 38.1602 13.9178 33.1153 10.361C31.0087 8.85261 28.8335 7.44229 26.5968 6.13449C25.9072 5.72766 25.1957 5.3591 24.4656 5.03048ZM23.5344 5.03048C23.7504 4.93447 23.9016 4.87687 24 4.84327V0C23.1408 0 22.236 0.357605 21.6072 0.633609C20.8944 0.945614 19.9847 1.41602 19.0223 1.96563C16.6534 3.35165 14.3486 4.84441 12.115 6.4393C6.95974 10.0826 5.99973 10.8002 0.702848 15.1034C0.480018 15.3263 0.303259 15.5908 0.182664 15.8819C0.0620693 16.1731 4.6958e-09 16.4851 0 16.8003C-4.6958e-09 17.1154 0.0620693 17.4274 0.182664 17.7186C0.303259 18.0097 0.480017 18.2742 0.702847 18.4971C0.925677 18.7199 1.19022 18.8967 1.48136 19.0173C1.7725 19.1379 2.08454 19.1999 2.39967 19.1999C2.7148 19.1999 3.02685 19.1379 3.31799 19.0173C3.60913 18.8967 3.87367 18.7199 4.0965 18.4971C9.60218 14.4002 9.84218 13.9178 14.8847 10.361C16.9913 8.85261 19.1665 7.44229 21.4032 6.13449C22.2792 5.63288 22.9632 5.27768 23.5344 5.03048ZM2.39967 43.2007C2.39967 42.5641 2.65253 41.9537 3.10263 41.5036C3.55272 41.0535 4.16318 40.8006 4.79971 40.8006H43.2003C43.8368 40.8006 44.4473 41.0535 44.8974 41.5036C45.3475 41.9537 45.6003 42.5641 45.6003 43.2007C45.6003 43.8372 45.3475 44.4476 44.8974 44.8977C44.4473 45.3478 43.8368 45.6007 43.2003 45.6007H4.79971C4.16318 45.6007 3.55272 45.3478 3.10263 44.8977C2.65253 44.4476 2.39967 43.8372 2.39967 43.2007Z"/><path fill-rule="evenodd" clip-rule="evenodd" d="M24.0001 38.4006C23.3635 38.4006 22.7531 38.1478 22.303 37.6977C21.8529 37.2476 21.6 36.6371 21.6 36.0006V19.2003C21.6 18.5638 21.8529 17.9533 22.303 17.5032C22.7531 17.0532 23.3635 16.8003 24.0001 16.8003C24.6366 16.8003 25.2471 17.0532 25.6972 17.5032C26.1472 17.9533 26.4001 18.5638 26.4001 19.2003V36.0006C26.4001 36.6371 26.1472 37.2476 25.6972 37.6977C25.2471 38.1478 24.6366 38.4006 24.0001 38.4006ZM36.0003 38.4006C35.3637 38.4006 34.7533 38.1478 34.3032 37.6977C33.8531 37.2476 33.6002 36.6371 33.6002 36.0006V19.2003C33.6002 18.5638 33.8531 17.9533 34.3032 17.5032C34.7533 17.0532 35.3637 16.8003 36.0003 16.8003C36.6368 16.8003 37.2472 17.0532 37.6973 17.5032C38.1474 17.9533 38.4003 18.5638 38.4003 19.2003V36.0006C38.4003 36.6371 38.1474 37.2476 37.6973 37.6977C37.2472 38.1478 36.6368 38.4006 36.0003 38.4006ZM11.9999 38.4006C11.3634 38.4006 10.7529 38.1478 10.3028 37.6977C9.85271 37.2476 9.59985 36.6371 9.59985 36.0006V19.2003C9.59985 18.5638 9.85271 17.9533 10.3028 17.5032C10.7529 17.0532 11.3634 16.8003 11.9999 16.8003C12.6364 16.8003 13.2469 17.0532 13.697 17.5032C14.1471 17.9533 14.3999 18.5638 14.3999 19.2003V36.0006C14.3999 36.6371 14.1471 37.2476 13.697 37.6977C13.2469 38.1478 12.6364 38.4006 11.9999 38.4006Z"/>`,
|
|
17
|
+
"hcb-circle": `<path fill-rule="evenodd" clip-rule="evenodd" d="M24.2908 12.144C24.1955 12.1008 24.0984 12.0617 23.9998 12.027V9C24.5368 9 25.1023 9.2235 25.4953 9.396C25.9408 9.591 26.5093 9.885 27.1108 10.2285C28.5913 11.0947 30.0318 12.0277 31.4278 13.0245C34.6528 15.3015 35.2498 15.75 38.5603 18.4395C38.6995 18.5788 38.81 18.7441 38.8854 18.9261C38.9608 19.108 38.9995 19.303 38.9995 19.5C38.9995 19.697 38.9608 19.892 38.8854 20.0739C38.81 20.2559 38.6995 20.4212 38.5603 20.5605C38.421 20.6998 38.2557 20.8102 38.0737 20.8856C37.8918 20.961 37.6967 20.9998 37.4998 20.9998C37.3028 20.9998 37.1078 20.961 36.9258 20.8856C36.7439 20.8102 36.5785 20.6998 36.4393 20.5605C32.9998 18 32.8498 17.6985 29.6968 15.4755C28.3801 14.5328 27.0207 13.6514 25.6228 12.834C25.1918 12.5797 24.7471 12.3494 24.2908 12.144ZM23.7088 12.144C23.8438 12.084 23.9383 12.048 23.9998 12.027V9C23.4628 9 22.8973 9.2235 22.5043 9.396C22.0588 9.591 21.4903 9.885 20.8888 10.2285C19.4082 11.0947 17.9678 12.0277 16.5718 13.0245C13.3498 15.3015 12.7498 15.75 9.43927 18.4395C9.30001 18.5788 9.18953 18.7441 9.11416 18.9261C9.03879 19.108 9 19.303 9 19.5C9 19.697 9.03879 19.892 9.11416 20.0739C9.18953 20.2559 9.30001 20.4212 9.43927 20.5605C9.57854 20.6998 9.74387 20.8102 9.92583 20.8856C10.1078 20.961 10.3028 20.9998 10.4998 20.9998C10.6967 20.9998 10.8918 20.961 11.0737 20.8856C11.2557 20.8102 11.421 20.6998 11.5603 20.5605C15.0013 18 15.1513 17.6985 18.3028 15.4755C19.6194 14.5328 20.9789 13.6514 22.3768 12.834C22.9243 12.5205 23.3518 12.2985 23.7088 12.144ZM10.4998 36C10.4998 35.6022 10.6578 35.2206 10.9391 34.9393C11.2204 34.658 11.6019 34.5 11.9998 34.5H35.9998C36.3976 34.5 36.7791 34.658 37.0604 34.9393C37.3417 35.2206 37.4998 35.6022 37.4998 36C37.4998 36.3978 37.3417 36.7794 37.0604 37.0607C36.7791 37.342 36.3976 37.5 35.9998 37.5H11.9998C11.6019 37.5 11.2204 37.342 10.9391 37.0607C10.6578 36.7794 10.4998 36.3978 10.4998 36Z"/><path fill-rule="evenodd" clip-rule="evenodd" d="M24 33C23.6022 33 23.2206 32.842 22.9393 32.5607C22.658 32.2794 22.5 31.8978 22.5 31.5V21C22.5 20.6022 22.658 20.2206 22.9393 19.9393C23.2206 19.658 23.6022 19.5 24 19.5C24.3978 19.5 24.7794 19.658 25.0607 19.9393C25.342 20.2206 25.5 20.6022 25.5 21V31.5C25.5 31.8978 25.342 32.2794 25.0607 32.5607C24.7794 32.842 24.3978 33 24 33ZM31.5 33C31.1022 33 30.7206 32.842 30.4393 32.5607C30.158 32.2794 30 31.8978 30 31.5V21C30 20.6022 30.158 20.2206 30.4393 19.9393C30.7206 19.658 31.1022 19.5 31.5 19.5C31.8978 19.5 32.2794 19.658 32.5607 19.9393C32.842 20.2206 33 20.6022 33 21V31.5C33 31.8978 32.842 32.2794 32.5607 32.5607C32.2794 32.842 31.8978 33 31.5 33ZM16.5 33C16.1022 33 15.7206 32.842 15.4393 32.5607C15.158 32.2794 15 31.8978 15 31.5V21C15 20.6022 15.158 20.2206 15.4393 19.9393C15.7206 19.658 16.1022 19.5 16.5 19.5C16.8978 19.5 17.2794 19.658 17.5607 19.9393C17.842 20.2206 18 20.6022 18 21V31.5C18 31.8978 17.842 32.2794 17.5607 32.5607C17.2794 32.842 16.8978 33 16.5 33Z"/><path fill-rule="evenodd" clip-rule="evenodd" d="M45 24C45 35.046 35.046 45 24 45C12.954 45 3 35.046 3 24C3 12.954 12.954 3 24 3C35.046 3 45 12.954 45 24ZM48 24C48 37.254 37.254 48 24 48C10.746 48 0 37.254 0 24C0 10.746 10.746 0 24 0C37.254 0 48 10.746 48 24Z"/>`,
|
|
18
|
+
home: `<path fill-rule="evenodd" clip-rule="evenodd" d="M24 0C23.284 0 22.528 0.297994 22.006 0.527989C21.4121 0.787983 20.6541 1.17997 19.8521 1.63797C18.2741 2.53995 16.2562 3.84192 14.0962 5.36589C9.7983 8.40183 4.6664 12.5097 0.586488 16.5857C-0.195496 17.3656 -0.195496 18.6336 0.586488 19.4136C1.36647 20.1956 2.63444 20.1956 3.41443 19.4136C7.33435 15.4897 12.2022 11.5978 16.4042 8.63382C18.4941 7.15785 20.3521 5.95988 21.836 5.11189C22.566 4.6939 23.134 4.39791 23.61 4.19191C23.792 4.11191 23.918 4.06392 24 4.03592C24.082 4.06392 24.208 4.11191 24.388 4.19191C24.866 4.39791 25.434 4.6939 26.164 5.11189C27.6479 5.95988 29.5059 7.15785 31.5958 8.63382C35.7978 11.5978 40.6657 15.4897 44.5856 19.4136C45.3656 20.1956 46.6335 20.1956 47.4135 19.4136C48.1955 18.6336 48.1955 17.3656 47.4135 16.5857C43.3336 12.5097 38.2017 8.40183 33.9038 5.36589C31.7438 3.84192 29.7259 2.53995 28.1479 1.63797C27.3459 1.17997 26.5879 0.787983 25.994 0.527989C25.47 0.297994 24.716 0 24 0ZM31.8678 39.6312C32.2358 39.5752 32.5838 39.5092 32.9158 39.4352L32.9438 39.4292C34.7898 39.0292 35.5258 38.4652 35.9878 37.8492C36.5717 37.0692 37.1657 35.6033 37.5357 32.5513L37.5377 32.5453C37.8677 29.8514 37.9737 26.4514 37.9957 21.9995C37.9997 20.8956 38.8957 19.9996 39.9997 19.9996C41.1036 19.9996 41.9996 20.8956 41.9956 21.9995C41.8916 42.1211 39.9857 43.9991 24 43.9991C8.01433 43.9991 6.10837 42.1211 6.00437 21.9995C6.00037 20.8956 6.89636 19.9996 8.00033 19.9996C9.10431 19.9996 10.0003 20.8956 10.0043 21.9995C10.0263 26.4514 10.1323 29.8514 10.4623 32.5453L10.4643 32.5513C10.8343 35.6033 11.4283 37.0692 12.0122 37.8492C12.4742 38.4652 13.2102 39.0292 15.0582 39.4292L15.0842 39.4352C15.4162 39.5092 15.7642 39.5752 16.1322 39.6312C16.0342 38.0552 16.0002 36.1952 16.0002 33.9993C16.0002 23.7335 16.8002 21.9995 24 21.9995C31.1999 21.9995 31.9998 23.7335 31.9998 33.9993C31.9998 36.1952 31.9658 38.0552 31.8678 39.6312ZM27.8379 39.9512C27.9619 38.3872 27.9999 36.4712 27.9999 33.9993C27.9999 31.4833 27.9599 29.6814 27.7899 28.2594V28.2554C27.6279 26.8794 27.3979 26.4135 27.3339 26.3095C27.3319 26.3075 27.3319 26.3055 27.3319 26.3035C27.3279 26.2935 27.3179 26.2855 27.3079 26.2855C27.2699 26.2835 27.2239 26.2795 27.1619 26.2675C27.1539 26.2655 27.1439 26.2635 27.1379 26.2615C26.4619 26.0415 25.636 25.9955 24.002 25.9995H23.998C22.364 25.9955 21.5381 26.0415 20.8621 26.2615C20.8541 26.2635 20.8461 26.2655 20.8381 26.2675C20.7761 26.2795 20.7281 26.2835 20.6921 26.2855C20.6821 26.2855 20.6721 26.2935 20.6681 26.3035C20.6681 26.3075 20.6681 26.3075 20.6661 26.3095C20.6021 26.4135 20.3721 26.8794 20.2101 28.2554V28.2594C20.0401 29.6814 20.0001 31.4833 20.0001 33.9993C20.0001 36.4712 20.0381 38.3872 20.1601 39.9512C21.2981 39.9872 22.568 39.9992 24 39.9992C25.43 39.9992 26.6999 39.9872 27.8379 39.9512Z"/>`,
|
|
19
|
+
instegram: `<path fill-rule="evenodd" clip-rule="evenodd" d="M24 4C34.2 4 38.494 5.15 40.672 7.328C42.85 9.506 44 13.8 44 24C44 34.2 42.85 38.494 40.672 40.672C38.494 42.85 34.2 44 24 44C13.8 44 9.506 42.85 7.328 40.672C5.15 38.494 4 34.2 4 24C4 13.8 5.15 9.506 7.328 7.328C9.506 5.15 13.8 4 24 4ZM24 0C44 0 48 4 48 24C48 44 44 48 24 48C4 48 0 44 0 24C0 4 4 0 24 0Z" /><path fill-rule="evenodd" clip-rule="evenodd" d="M23.9998 11.676C22.3814 11.676 20.7788 11.9948 19.2836 12.6141C17.7884 13.2334 16.4298 14.1412 15.2854 15.2856C14.141 16.43 13.2332 17.7886 12.6139 19.2838C11.9946 20.779 11.6758 22.3816 11.6758 24C11.6758 25.6184 11.9946 27.221 12.6139 28.7162C13.2332 30.2114 14.141 31.57 15.2854 32.7144C16.4298 33.8588 17.7884 34.7666 19.2836 35.3859C20.7788 36.0052 22.3814 36.324 23.9998 36.324C25.6182 36.324 27.2208 36.0052 28.716 35.3859C30.2112 34.7666 31.5698 33.8588 32.7142 32.7144C33.8586 31.57 34.7663 30.2114 35.3857 28.7162C36.005 27.221 36.3238 25.6184 36.3238 24C36.3238 22.3816 36.005 20.779 35.3857 19.2838C34.7663 17.7886 33.8586 16.43 32.7142 15.2856C31.5698 14.1412 30.2112 13.2334 28.716 12.6141C27.2208 11.9948 25.6182 11.676 23.9998 11.676ZM23.9998 32C21.878 32 19.8432 31.1571 18.3429 29.6569C16.8426 28.1566 15.9998 26.1217 15.9998 24C15.9998 21.8783 16.8426 19.8434 18.3429 18.3431C19.8432 16.8429 21.878 16 23.9998 16C26.1215 16 28.1563 16.8429 29.6566 18.3431C31.1569 19.8434 31.9998 21.8783 31.9998 24C31.9998 26.1217 31.1569 28.1566 29.6566 29.6569C28.1563 31.1571 26.1215 32 23.9998 32ZM39.6898 11.19C39.6898 11.5682 39.6153 11.9427 39.4706 12.2921C39.3258 12.6415 39.1137 12.959 38.8462 13.2265C38.5788 13.4939 38.2613 13.706 37.9119 13.8508C37.5625 13.9955 37.188 14.07 36.8098 14.07C36.4316 14.07 36.0571 13.9955 35.7077 13.8508C35.3582 13.706 35.0407 13.4939 34.7733 13.2265C34.5059 12.959 34.2937 12.6415 34.149 12.2921C34.0043 11.9427 33.9298 11.5682 33.9298 11.19C33.9298 10.4262 34.2332 9.69363 34.7733 9.15353C35.3134 8.61343 36.046 8.31 36.8098 8.31C37.5736 8.31 38.3061 8.61343 38.8462 9.15353C39.3864 9.69363 39.6898 10.4262 39.6898 11.19Z" />`,
|
|
20
|
+
link: `<path fill-rule="evenodd" clip-rule="evenodd" d="M25.7793 25.7793C26.7261 24.8351 28.2999 24.7394 29.2467 25.6836L29.4557 25.8952C30.3571 26.7941 30.4276 28.2369 29.5362 29.146C29.4708 29.2114 29.4078 29.2769 29.3424 29.3424C27.1592 31.523 25.1347 32.9633 23.012 33.5097C22.8156 33.5601 22.6141 33.6029 22.4152 33.6381C20.3957 33.9957 18.2705 33.5475 15.828 32.1726C13.5441 30.8859 10.9858 28.7909 7.97422 25.7793C-1.99472 15.8104 -1.94436 10.7743 4.41371 4.41371C10.7743 -1.94436 15.8104 -1.99472 25.7793 7.97422C26.8847 9.07965 27.8643 10.1221 28.728 11.1142C28.9848 11.4088 28.7053 11.8696 28.32 11.8193C26.9124 11.6329 25.5905 11.7311 24.339 12.056C23.5861 12.2524 22.7677 12.0862 22.2188 11.5373C17.2885 6.60692 14.5765 5.26229 13.0783 5.06336C12.1567 4.93998 10.807 5.14394 7.97422 7.97422C5.14394 10.807 4.93998 12.1567 5.06336 13.0783C5.26229 14.5765 6.60692 17.2885 11.5373 22.2188C12.6251 23.3091 13.6071 24.2232 14.4909 24.9887C14.6068 25.0894 14.7201 25.1876 14.8334 25.2833C16.9511 27.0761 18.4845 27.9851 19.595 28.4056C20.013 28.5618 20.3706 28.6524 20.6752 28.6927C21.5994 28.8161 22.949 28.6121 25.7793 25.7793ZM33.5097 23.012C31.2133 21.0227 29.574 20.0382 28.4056 19.595C27.9877 19.4364 27.6301 19.3482 27.3229 19.3079C26.3988 19.1846 25.0516 19.3885 22.2188 22.2188C21.2745 23.1656 19.6982 23.2613 18.754 22.3145L18.545 22.1055C17.6435 21.204 17.5705 19.7612 18.4644 18.8547C18.5274 18.7892 18.5928 18.7238 18.6583 18.6583C20.8389 16.4777 22.8659 15.0373 24.9887 14.4909C27.1869 13.9244 29.4859 14.3147 32.1726 15.828C34.454 17.1122 37.0148 19.2097 40.0239 22.2188C49.9954 32.1903 49.945 37.2264 43.5844 43.5869C37.2264 49.945 32.1903 49.9954 22.2188 40.0239C21.1159 38.921 20.1339 37.8785 19.2702 36.8864C19.0133 36.5918 19.2928 36.1285 19.6806 36.1814C21.0882 36.3677 22.4077 36.2695 23.6616 35.9447C24.4145 35.7483 25.2304 35.9145 25.7793 36.4634C30.7097 41.3937 33.4216 42.7384 34.9198 42.9373C35.844 43.0607 37.1936 42.8567 40.0239 40.0239C42.8567 37.1936 43.0607 35.844 42.9373 34.9198C42.7384 33.4216 41.3937 30.7097 36.4634 25.7793C35.3731 24.6915 34.3936 23.7775 33.5097 23.012Z"/>`,
|
|
21
|
+
medium: `<path fill-rule="evenodd" clip-rule="evenodd" d="M24 4C34.2 4 38.494 5.152 40.672 7.33C42.85 9.508 44 13.8 44 24C44 34.2 42.85 38.494 40.672 40.672C38.494 42.85 34.2 44 24 44C13.8 44 9.506 42.85 7.328 40.672C5.15 38.494 4 34.2 4 24C4 13.8 5.15 9.506 7.328 7.33C9.506 5.152 13.8 4 24 4ZM48 24C48 4 44 0 24 0C4 0 0 4 0 24C0 44 4 48 24 48C44 48 48 44 48 24Z"/><path fill-rule="evenodd" clip-rule="evenodd" d="M26.05 24C26.05 29.05 22.01 33.142 17.026 33.142C12.042 33.142 8 29.048 8 24.002C8 18.952 12.04 14.858 17.026 14.858C22.01 14.858 26.05 18.95 26.05 24ZM35.95 24C35.95 28.754 33.93 32.608 31.438 32.608C28.946 32.608 26.926 28.754 26.926 24C26.926 19.248 28.946 15.392 31.438 15.392C33.93 15.392 35.95 19.246 35.95 24ZM40 24C40 28.258 39.29 31.71 38.412 31.71C37.536 31.71 36.826 28.258 36.826 24C36.826 19.74 37.536 16.29 38.412 16.29C39.29 16.29 40 19.742 40 24Z"/>`,
|
|
22
|
+
"medium-fill": `<path fill-rule="evenodd" clip-rule="evenodd" d="M48 24C48 4 44 0 24 0C4 0 0 4 0 24C0 44 4 48 24 48C44 48 48 44 48 24ZM17.026 33.142C22.01 33.142 26.05 29.05 26.05 24.002C26.05 18.95 22.01 14.858 17.026 14.858C12.04 14.858 8 18.952 8 24C8 29.048 12.04 33.142 17.026 33.142ZM31.438 32.608C33.93 32.608 35.95 28.754 35.95 24C35.95 19.246 33.93 15.392 31.438 15.392C28.946 15.392 26.926 19.248 26.926 24C26.926 28.754 28.946 32.608 31.438 32.608ZM38.412 31.712C39.29 31.712 40 28.258 40 24C40 19.74 39.29 16.29 38.412 16.29C37.536 16.29 36.826 19.742 36.826 24C36.826 28.26 37.536 31.71 38.412 31.71V31.712Z"/>`,
|
|
23
|
+
messanger: `<path fill-rule="evenodd" clip-rule="evenodd" d="M24 8C14.986 8 8 14.604 8 23.52C8 28.186 9.912 32.216 13.026 35C13.286 35.236 13.444 35.56 13.456 35.912L13.544 38.758C13.5509 38.9674 13.609 39.1718 13.7132 39.3536C13.8174 39.5353 13.9645 39.6887 14.1417 39.8004C14.3189 39.9121 14.5208 39.9787 14.7297 39.9943C14.9386 40.0099 15.1481 39.9741 15.34 39.89L18.514 38.49C18.7828 38.3709 19.0845 38.3483 19.368 38.426C20.826 38.828 22.38 39.04 24 39.04C33.014 39.04 40 32.44 40 23.52C40 14.604 33.014 8 24 8ZM33.606 19.94L28.906 27.396C28.729 27.6762 28.4959 27.9167 28.2214 28.1024C27.9469 28.2881 27.6369 28.4151 27.311 28.4752C26.9851 28.5353 26.6503 28.5273 26.3276 28.4517C26.0049 28.3761 25.7013 28.2346 25.436 28.036L21.698 25.234C21.5313 25.1087 21.3282 25.0411 21.1197 25.0415C20.9111 25.0419 20.7083 25.1101 20.542 25.236L15.494 29.068C14.822 29.58 13.94 28.772 14.394 28.056L19.094 20.6C19.271 20.3198 19.5041 20.0793 19.7786 19.8936C20.0531 19.7079 20.3631 19.5809 20.689 19.5208C21.0149 19.4607 21.3497 19.4687 21.6724 19.5443C21.9951 19.6199 22.2987 19.7614 22.564 19.96L26.302 22.764C26.469 22.889 26.6721 22.9562 26.8807 22.9555C27.0892 22.9548 27.2919 22.8862 27.458 22.76L32.506 18.93C33.178 18.418 34.06 19.226 33.606 19.94Z"/><path fill-rule="evenodd" clip-rule="evenodd" d="M24 4C34.2 4 38.494 5.152 40.672 7.33C42.85 9.508 44 13.8 44 24C44 34.2 42.85 38.494 40.672 40.672C38.494 42.85 34.2 44 24 44C13.8 44 9.506 42.85 7.328 40.672C5.15 38.494 4 34.2 4 24C4 13.8 5.15 9.506 7.328 7.33C9.506 5.152 13.8 4 24 4ZM48 24C48 4 44 0 24 0C4 0 0 4 0 24C0 44 4 48 24 48C44 48 48 44 48 24Z"/>`,
|
|
24
|
+
"messanger-fill": `<path fill-rule="evenodd" clip-rule="evenodd" d="M28.906 27.396L33.606 19.94C34.06 19.226 33.178 18.418 32.506 18.93L27.458 22.76C27.2919 22.8861 27.0892 22.9548 26.8807 22.9555C26.6721 22.9562 26.4689 22.889 26.302 22.764L22.564 19.96C22.2987 19.7614 21.9951 19.6199 21.6724 19.5443C21.3497 19.4687 21.0149 19.4607 20.689 19.5208C20.363 19.5809 20.0531 19.7078 19.7786 19.8936C19.5041 20.0793 19.271 20.3198 19.094 20.6L14.394 28.056C13.94 28.772 14.822 29.58 15.494 29.068L20.542 25.236C20.7083 25.1101 20.9111 25.0418 21.1197 25.0415C21.3282 25.0411 21.5312 25.1087 21.698 25.234L25.436 28.038C26.556 28.878 28.16 28.58 28.906 27.396Z"/><path fill-rule="evenodd" clip-rule="evenodd" d="M48 24C48 4 44 0 24 0C4 0 0 4 0 24C0 44 4 48 24 48C44 48 48 44 48 24ZM8 23.52C8 14.604 14.986 8 24 8C33.014 8 40 14.604 40 23.52C40 32.44 33.014 39.04 24 39.04C22.38 39.04 20.826 38.828 19.368 38.426C19.0845 38.3483 18.7828 38.3709 18.514 38.49L15.34 39.89C15.1481 39.9741 14.9386 40.0099 14.7297 39.9943C14.5208 39.9787 14.3189 39.9121 14.1417 39.8004C13.9645 39.6887 13.8174 39.5353 13.7132 39.3536C13.609 39.1718 13.5509 38.9674 13.544 38.758L13.456 35.912C13.4492 35.7389 13.4077 35.5689 13.3338 35.4122C13.2599 35.2556 13.1552 35.1154 13.026 35C9.912 32.216 8 28.186 8 23.52Z"/>`,
|
|
25
|
+
rss: `<path fill-rule="evenodd" clip-rule="evenodd" d="M6 48C7.5913 48 9.11742 47.3679 10.2426 46.2426C11.3679 45.1174 12 43.5913 12 42C12 40.4087 11.3679 38.8826 10.2426 37.7574C9.11742 36.6321 7.5913 36 6 36C4.4087 36 2.88258 36.6321 1.75736 37.7574C0.632142 38.8826 0 40.4087 0 42C0 43.5913 0.632142 45.1174 1.75736 46.2426C2.88258 47.3679 4.4087 48 6 48Z"/><path fill-rule="evenodd" clip-rule="evenodd" d="M0 3C0 2.20435 0.316071 1.44129 0.87868 0.87868C1.44129 0.316071 2.20435 0 3 0C27.852 0 48 20.148 48 45C48 45.7956 47.6839 46.5587 47.1213 47.1213C46.5587 47.6839 45.7956 48 45 48C44.2044 48 43.4413 47.6839 42.8787 47.1213C42.3161 46.5587 42 45.7956 42 45C42 23.46 24.54 6 3 6C2.20435 6 1.44129 5.68393 0.87868 5.12132C0.316071 4.55871 0 3.79565 0 3Z"/><path fill-rule="evenodd" clip-rule="evenodd" d="M0 21C0 20.2044 0.316071 19.4413 0.87868 18.8787C1.44129 18.3161 2.20435 18 3 18C10.1608 18 17.0284 20.8446 22.0919 25.9081C27.1554 30.9716 30 37.8392 30 45C30 45.7956 29.6839 46.5587 29.1213 47.1213C28.5587 47.6839 27.7956 48 27 48C26.2044 48 25.4413 47.6839 24.8787 47.1213C24.3161 46.5587 24 45.7956 24 45C24 39.4305 21.7875 34.089 17.8492 30.1508C13.911 26.2125 8.56955 24 3 24C2.20435 24 1.44129 23.6839 0.87868 23.1213C0.316071 22.5587 0 21.7956 0 21Z"/>`,
|
|
26
|
+
sam: `<path fill-rule="evenodd" clip-rule="evenodd" d="M25.8462 3.69231C25.8462 5.05898 25.1036 6.25224 24 6.89066V11.0769H20.3077V6.89066C19.2041 6.25224 18.4615 5.05898 18.4615 3.69231C18.4615 1.65311 20.1146 0 22.1538 0C24.1931 0 25.8462 1.65311 25.8462 3.69231ZM20.3077 12.9337V12.9231H24V12.9337C40.8641 13.1371 44.3077 16.347 44.3077 30.4615C44.3077 45.077 40.6154 48 22.1538 48C3.69231 48 0 45.077 0 30.4615C0 16.347 3.44363 13.1371 20.3077 12.9337ZM10.1538 31.3846C11.6833 31.3846 12.9231 30.1447 12.9231 28.6154C12.9231 27.086 11.6833 25.8462 10.1538 25.8462C8.62444 25.8462 7.38462 27.086 7.38462 28.6154C7.38462 30.1447 8.62444 31.3846 10.1538 31.3846ZM34.1538 31.3846C35.6832 31.3846 36.9231 30.1447 36.9231 28.6154C36.9231 27.086 35.6832 25.8462 34.1538 25.8462C32.6245 25.8462 31.3846 27.086 31.3846 28.6154C31.3846 30.1447 32.6245 31.3846 34.1538 31.3846ZM22.1553 38.7692C25.7646 38.7692 28.8342 36.4673 29.5209 33.3986C29.8634 31.8683 25.1022 31.3846 22.1559 31.3846C19.2098 31.3846 14.4096 31.6944 14.7906 33.3986C15.4773 36.4673 18.5459 38.7692 22.1553 38.7692Z"/>`,
|
|
27
|
+
settings: `<path fill-rule="evenodd" clip-rule="evenodd" d="M7.36732 6.66325L13.5299 8.55059C15.0077 7.55204 16.638 6.75962 18.3755 6.2135L20.7447 0.21952C21.8075 0.0749576 22.8944 0 24 0C25.1056 0 26.1925 0.0749576 27.258 0.21952L29.6245 6.2135C31.362 6.75962 32.9923 7.55204 34.47 8.55059L40.6327 6.66325C42.2068 8.16241 43.5775 9.87574 44.6992 11.7524L41.4867 17.3421C42.1238 18.9912 42.5334 20.7527 42.6806 22.5865L48 26.23C47.8046 28.4466 47.312 30.5776 46.5571 32.58L40.1776 33.5545C39.2647 35.1152 38.1323 36.5287 36.8232 37.7575L37.2944 44.1905C35.4927 45.3845 33.525 46.3429 31.4289 47.0202L26.6905 42.6405C25.8124 42.769 24.9129 42.8332 24 42.8332C23.0871 42.8332 22.1903 42.769 21.3095 42.6405L16.5711 47.0202C14.4776 46.3429 12.5073 45.3845 10.7083 44.1905L11.1768 37.7575C9.86771 36.5287 8.7353 35.1152 7.82242 33.5545L1.44294 32.58C0.690686 30.5776 0.195427 28.4466 0 26.23L5.31935 22.5865C5.46659 20.7527 5.87618 18.9912 6.51333 17.3421L3.30351 11.7524C4.42521 9.87574 5.7932 8.16241 7.36732 6.66325ZM24 34.802C29.9137 34.802 34.7083 30.0074 34.7083 24.0937C34.7083 18.18 29.9137 13.3854 24 13.3854C18.0863 13.3854 13.2917 18.18 13.2917 24.0937C13.2917 30.0074 18.0863 34.802 24 34.802Z"/>`,
|
|
28
|
+
share: `<path fill-rule="evenodd" clip-rule="evenodd" d="M20.2585 0.610448C19.4446 -0.203483 18.1214 -0.203483 17.3075 0.610448L11.0465 6.87145C10.2305 7.68747 10.2305 9.00854 11.0465 9.82456C11.8604 10.6385 13.1836 10.6385 13.9975 9.82456L16.696 7.12607V27.13C16.696 28.2841 17.631 29.217 18.783 29.217C19.935 29.217 20.87 28.2841 20.87 27.13V7.12607L23.5685 9.82456C24.3824 10.6385 25.7056 10.6385 26.5195 9.82456C27.3356 9.00854 27.3356 7.68747 26.5195 6.87145L20.2585 0.610448ZM8.11844 15.2675C9.3456 15.0295 10.435 16.0188 10.435 17.2689V18.158C10.435 18.711 10.0218 19.1743 9.47708 19.2662H9.4729C7.29825 19.6209 6.37162 20.1344 5.91248 20.5434C5.51386 20.9003 5.03594 21.5639 4.68532 23.2774L4.67071 23.34C4.27209 25.2725 4.174 27.7352 4.174 31.3019V31.3082C4.174 34.8748 4.27209 37.3375 4.67071 39.268L4.68532 39.3327C5.03594 41.0461 5.51386 41.7098 5.91248 42.0646C6.36953 42.4757 7.29407 42.987 9.45829 43.3418L9.49377 43.346C11.777 43.7258 14.6967 43.8281 18.7809 43.826H18.7851C22.8694 43.8281 25.7891 43.7258 28.0723 43.346L28.1077 43.3418C30.272 42.987 31.1965 42.4757 31.6536 42.0667C32.0522 41.7098 32.5301 41.0461 32.8807 39.3327L32.8953 39.268C33.2939 37.3375 33.392 34.8748 33.392 31.3082V31.3019C33.392 27.7352 33.2939 25.2725 32.8953 23.34L32.8807 23.2774C32.5301 21.5639 32.0522 20.9003 31.6536 20.5434C31.1944 20.1344 30.2678 19.6209 28.0931 19.2662H28.089C27.5422 19.1743 27.131 18.711 27.131 18.158V17.2689C27.131 16.0188 28.2204 15.0295 29.4476 15.2675C36.4641 16.6345 37.566 20.5956 37.566 31.304C37.566 46.0361 35.479 48 18.783 48C2.087 48 0 46.0361 0 31.304C0 20.5956 1.10194 16.6345 8.11844 15.2675Z"/>`,
|
|
29
|
+
slack: `<path fill-rule="evenodd" clip-rule="evenodd" d="M24 4C34.2 4 38.494 5.152 40.672 7.33C42.85 9.508 44 13.8 44 24C44 34.2 42.85 38.494 40.672 40.672C38.494 42.85 34.2 44 24 44C13.8 44 9.506 42.85 7.328 40.672C5.15 38.494 4 34.2 4 24C4 13.8 5.15 9.506 7.328 7.33C9.506 5.152 13.8 4 24 4ZM48 24C48 4 44 0 24 0C4 0 0 4 0 24C0 44 4 48 24 48C44 48 48 44 48 24Z"/><path fill-rule="evenodd" clip-rule="evenodd" d="M19.734 8C19.1007 8.00066 18.4818 8.18862 17.9551 8.54023C17.4284 8.89184 17.0174 9.39138 16.774 9.976C16.613 10.364 16.5303 10.7801 16.5307 11.2002C16.531 11.6203 16.6144 12.0362 16.776 12.424C17.0178 13.0094 17.428 13.5098 17.9547 13.8616C18.4813 14.2134 19.1006 14.4008 19.734 14.4H22.934V11.2C22.9349 10.5669 22.7476 9.94775 22.3957 9.42139C22.0438 8.89503 21.5434 8.48519 20.958 8.244C20.5699 8.08332 20.154 8.00042 19.734 8ZM19.734 16.534H11.2C10.567 16.5348 9.94839 16.7228 9.42203 17.0744C8.89567 17.4261 8.4851 17.9255 8.242 18.51C7.99949 19.0941 7.93599 19.7372 8.05955 20.3575C8.18311 20.9778 8.48817 21.5474 8.936 21.994C9.23314 22.2917 9.58602 22.5279 9.97449 22.6892C10.363 22.8505 10.7794 22.9337 11.2 22.934H19.734C20.3668 22.9324 20.9851 22.7438 21.511 22.3918C22.0369 22.0399 22.4471 21.5404 22.69 20.956C22.933 20.3722 22.9972 19.7294 22.8743 19.1092C22.7515 18.4889 22.4472 17.9191 22 17.472C21.3998 16.8709 20.5854 16.5328 19.736 16.532L19.734 16.534ZM40 19.734C40.0011 19.1011 39.814 18.4821 39.4625 17.9558C39.111 17.4295 38.611 17.0195 38.026 16.778C37.4407 16.5366 36.797 16.4737 36.176 16.5972C35.555 16.7206 34.9844 17.025 34.536 17.472C34.2391 17.7687 34.0037 18.1211 33.8431 18.5088C33.6825 18.8966 33.5999 19.3123 33.6 19.732V22.932H36.8C37.4329 22.9309 38.0514 22.7428 38.5778 22.3912C39.1041 22.0396 39.5147 21.5403 39.758 20.956C39.918 20.568 40 20.152 40 19.734ZM31.466 19.734V11.2C31.4676 10.567 31.2808 9.94779 30.9292 9.42135C30.5777 8.89492 30.0773 8.48506 29.492 8.244C28.9067 8.00259 28.263 7.93968 27.642 8.06316C27.021 8.18665 26.4504 8.49103 26.002 8.938C25.4025 9.53814 25.0659 10.3517 25.066 11.2V19.734C25.0653 20.3666 25.2526 20.9851 25.604 21.511C25.9555 22.037 26.4553 22.4466 27.04 22.688C27.8251 23.0125 28.7069 23.0125 29.492 22.688C30.0759 22.4455 30.575 22.0356 30.9263 21.5099C31.2776 20.9842 31.4654 20.3663 31.466 19.734ZM28.266 40C29.1142 39.9984 29.9272 39.6608 30.527 39.061C31.1268 38.4612 31.4644 37.6482 31.466 36.8C31.4674 36.167 31.2804 35.548 30.9289 35.0216C30.5774 34.4952 30.0772 34.0853 29.492 33.844C29.1033 33.6831 28.6867 33.6002 28.266 33.6H25.066V36.8C25.0652 37.2205 25.1474 37.6369 25.308 38.0255C25.4685 38.4141 25.7042 38.7672 26.0015 39.0645C26.2988 39.3618 26.6519 39.5975 27.0405 39.758C27.4291 39.9186 27.8455 40.0008 28.266 40ZM28.266 31.466H36.8C37.4329 31.4649 38.0514 31.2768 38.5778 30.9252C39.1041 30.5736 39.5147 30.0743 39.758 29.49C40.0005 28.9059 40.064 28.2628 39.9405 27.6425C39.8169 27.0222 39.5118 26.4526 39.064 26.006C38.7669 25.7082 38.4141 25.4719 38.0256 25.3106C37.6371 25.1493 37.2206 25.0662 36.8 25.066H28.266C27.6332 25.0676 27.0149 25.2562 26.489 25.6082C25.9631 25.9601 25.5529 26.4596 25.31 27.044C25.067 27.6278 25.0028 28.2706 25.1257 28.8908C25.2485 29.5111 25.5528 30.0809 26 30.528C26.6002 31.1291 27.4146 31.4672 28.264 31.468L28.266 31.466ZM8 28.266C7.99895 28.6865 8.081 29.1031 8.24144 29.4918C8.40188 29.8806 8.63755 30.2337 8.93491 30.5311C9.23227 30.8285 9.58545 31.0641 9.97417 31.2246C10.3629 31.385 10.7795 31.4671 11.2 31.466C11.8329 31.4649 12.4514 31.2768 12.9778 30.9252C13.5041 30.5736 13.9147 30.0743 14.158 29.49C14.318 29.102 14.4 28.686 14.4 28.266V25.066H11.2C10.5668 25.0672 9.94817 25.2557 9.42184 25.6076C8.8955 25.9596 8.48501 26.4593 8.242 27.044C8.082 27.432 8 27.848 8 28.266ZM16.534 28.266V36.8C16.5326 37.433 16.7196 38.052 17.0711 38.5784C17.4227 39.1048 17.9228 39.5147 18.508 39.756C19.0932 39.9979 19.737 40.0611 20.3581 39.9376C20.9792 39.8141 21.5499 39.5094 21.998 39.062C22.5975 38.4619 22.9341 37.6483 22.934 36.8V28.268C22.9348 27.8475 22.8526 27.4311 22.692 27.0425C22.5315 26.6539 22.2958 26.3008 21.9985 26.0035C21.7012 25.7062 21.3481 25.4705 20.9595 25.31C20.5709 25.1494 20.1545 25.0672 19.734 25.068C18.8858 25.0696 18.0728 25.4072 17.473 26.007C16.8732 26.6068 16.5356 27.4198 16.534 28.268V28.266Z"/>`,
|
|
30
|
+
"slack-fill": `<path fill-rule="evenodd" clip-rule="evenodd" d="M24 0C44 0 48 4 48 24C48 44 44 48 24 48C4 48 0 44 0 24C0 4 4 0 24 0ZM18.508 8.244C19.0933 8.00259 19.737 7.93968 20.358 8.06316C20.979 8.18665 21.5496 8.49103 21.998 8.938C22.5975 9.53814 22.9341 10.3517 22.934 11.2V14.4H19.734C19.2081 14.3991 18.6904 14.2688 18.2267 14.0206C17.763 13.7724 17.3675 13.4139 17.075 12.9768C16.7826 12.5397 16.6021 12.0373 16.5496 11.514C16.4971 10.9907 16.5742 10.4625 16.774 9.976C16.9349 9.58741 17.1708 9.2344 17.4684 8.93718C17.7659 8.63997 18.1192 8.40441 18.508 8.244ZM11.2 16.534H19.734C20.3667 16.5352 20.9848 16.7234 21.5108 17.075C22.0368 17.4266 22.447 17.9259 22.69 18.51C22.933 19.0938 22.9972 19.7366 22.8743 20.3568C22.7515 20.9771 22.4472 21.5469 22 21.994C21.3998 22.5951 20.5854 22.9332 19.736 22.934H11.2C10.5668 22.9328 9.94817 22.7443 9.42183 22.3924C8.8955 22.0404 8.48501 21.5407 8.242 20.956C7.99922 20.3719 7.93558 19.7288 8.05915 19.1085C8.18272 18.4881 8.48794 17.9185 8.936 17.472C9.23314 17.1743 9.58602 16.9381 9.97448 16.7768C10.3629 16.6155 10.7794 16.5323 11.2 16.532V16.534ZM39.758 18.51C40.0005 19.0941 40.064 19.7372 39.9404 20.3575C39.8169 20.9778 39.5118 21.5474 39.064 21.994C38.7669 22.2918 38.4141 22.5281 38.0256 22.6894C37.6371 22.8507 37.2206 22.9338 36.8 22.934H33.6V19.734C33.5989 19.1011 33.786 18.4821 34.1375 17.9558C34.489 17.4295 34.989 17.0195 35.574 16.778C36.1593 16.5366 36.803 16.4737 37.424 16.5972C38.045 16.7206 38.6156 17.025 39.064 17.472C39.362 17.768 39.596 18.122 39.758 18.51ZM31.466 11.2V19.734C31.4672 20.3667 31.2802 20.9854 30.9286 21.5115C30.5771 22.0375 30.077 22.4471 29.492 22.688C28.7069 23.0125 27.8251 23.0125 27.04 22.688C26.4562 22.4453 25.9573 22.0353 25.6061 21.5097C25.2548 20.984 25.0669 20.3662 25.066 19.734V11.2C25.0649 10.5671 25.252 9.94815 25.6035 9.42181C25.955 8.89547 26.455 8.4855 27.04 8.244C27.6253 8.00259 28.269 7.93968 28.89 8.06316C29.511 8.18665 30.0816 8.49103 30.53 8.938C30.827 9.23503 31.0626 9.5877 31.2232 9.97583C31.3838 10.364 31.4663 10.78 31.466 11.2ZM28.266 40C29.1142 39.9984 29.9272 39.6608 30.527 39.061C31.1268 38.4612 31.4644 37.6482 31.466 36.8C31.4674 36.167 31.2804 35.548 30.9289 35.0216C30.5773 34.4952 30.0772 34.0853 29.492 33.844C29.1033 33.6831 28.6867 33.6002 28.266 33.6H25.066V36.8C25.0652 37.2205 25.1474 37.6369 25.308 38.0255C25.4685 38.4141 25.7042 38.7672 26.0015 39.0645C26.2988 39.3618 26.6519 39.5975 27.0405 39.758C27.4291 39.9186 27.8455 40.0008 28.266 40ZM28.266 31.466H36.8C37.4329 31.4649 38.0514 31.2768 38.5778 30.9252C39.1041 30.5736 39.5147 30.0743 39.758 29.49C40.0005 28.9059 40.064 28.2628 39.9404 27.6425C39.8169 27.0222 39.5118 26.4526 39.064 26.006C38.7669 25.7082 38.4141 25.4719 38.0256 25.3106C37.6371 25.1493 37.2206 25.0662 36.8 25.066H28.266C27.6332 25.0676 27.0149 25.2562 26.489 25.6082C25.9631 25.9601 25.5529 26.4596 25.31 27.044C25.067 27.6278 25.0028 28.2706 25.1257 28.8908C25.2485 29.5111 25.5528 30.0809 26 30.528C26.6002 31.1291 27.4146 31.4672 28.264 31.468L28.266 31.466ZM8.242 29.49C7.99949 28.9059 7.93599 28.2628 8.05955 27.6425C8.18311 27.0222 8.48817 26.4526 8.936 26.006C9.23314 25.7083 9.58602 25.4721 9.97448 25.3108C10.3629 25.1495 10.7794 25.0663 11.2 25.066H14.4V28.266C14.4011 28.8989 14.214 29.5179 13.8625 30.0442C13.511 30.5705 13.011 30.9805 12.426 31.222C11.8407 31.4634 11.197 31.5263 10.576 31.4028C9.95504 31.2793 9.38444 30.975 8.936 30.528C8.63863 30.231 8.40279 29.8783 8.242 29.49ZM16.534 36.8V28.266C16.5325 27.6333 16.7195 27.0144 17.071 26.4883C17.4226 25.9622 17.9228 25.5527 18.508 25.312C19.0932 25.0701 19.737 25.0069 20.3581 25.1304C20.9792 25.2539 21.5498 25.5586 21.998 26.006C22.597 26.6056 22.9336 27.4184 22.934 28.266V36.8C22.9348 37.2205 22.8526 37.6369 22.692 38.0255C22.5315 38.4141 22.2958 38.7672 21.9985 39.0645C21.7012 39.3618 21.3481 39.5975 20.9595 39.758C20.5709 39.9186 20.1545 40.0008 19.734 40C18.8858 39.9984 18.0728 39.6608 17.473 39.061C16.8732 38.4612 16.5356 37.6482 16.534 36.8Z"/>`,
|
|
31
|
+
transactions: `<path fill-rule="evenodd" clip-rule="evenodd" d="M23.9999 0C13.3968 0 4.80005 8.59673 4.80005 19.1998H8.00002C8.00002 10.3631 15.1632 3.19997 23.9999 3.19997V0ZM9.22721 25.355C10.4431 28.2707 12.4947 30.7614 15.1235 32.5133C17.7523 34.2652 20.8408 35.1999 23.9999 35.1997V38.3997C16.0144 38.3997 9.16641 33.5245 6.27204 26.587L9.22721 25.355ZM23.9999 38.3997C34.603 38.3997 43.1997 29.8029 43.1997 19.1998H39.9997C39.9997 28.0366 32.8366 35.1997 23.9999 35.1997V38.3997ZM38.7726 13.0447C37.5567 10.129 35.5051 7.63828 32.8763 5.8864C30.2475 4.13451 27.159 3.19979 23.9999 3.19997V0C31.9854 0 38.8334 4.87676 41.7277 11.8127L38.7726 13.0447Z"/><path fill-rule="evenodd" clip-rule="evenodd" d="M40.8637 13.9103C41.2556 13.7475 41.5668 13.4358 41.7288 13.0436C41.8908 12.6514 41.8905 12.211 41.7277 11.8191L38.7726 13.0447C38.853 13.2389 38.9709 13.4153 39.1195 13.5639C39.2682 13.7125 39.4446 13.8303 39.6388 13.9107C39.833 13.9911 40.0411 14.0324 40.2513 14.0324C40.4615 14.0323 40.6696 13.9908 40.8637 13.9103ZM5.26884 21.931C5.56889 22.231 5.97578 22.3995 6.40004 22.3995C6.82429 22.3995 7.23118 22.231 7.53123 21.931L12.3312 17.131C12.4798 16.9825 12.5978 16.8061 12.6783 16.612C12.7588 16.4179 12.8002 16.2098 12.8003 15.9996C12.8004 15.7895 12.7591 15.5814 12.6787 15.3872C12.5984 15.193 12.4805 15.0165 12.332 14.8679C12.1834 14.7192 12.0071 14.6013 11.8129 14.5208C11.6188 14.4403 11.4107 14.3988 11.2006 14.3987C10.9904 14.3987 10.7823 14.44 10.5881 14.5203C10.3939 14.6007 10.2175 14.7185 10.0688 14.8671L8.16802 16.9358H4.92485L2.73287 14.8671C2.43264 14.5668 2.02545 14.3982 1.60088 14.3982C1.1763 14.3982 0.769108 14.5668 0.468886 14.8671C0.168663 15.1673 0 15.5745 0 15.9991C0 16.4236 0.168663 16.8308 0.468886 17.131L5.26884 21.931ZM40.4685 16.4687C40.7686 16.1687 41.1755 16.0002 41.5997 16.0002C42.024 16.0002 42.4309 16.1687 42.7309 16.4687L47.5309 21.2686C47.6795 21.4172 47.7975 21.5935 47.878 21.7877C47.9585 21.9818 47.9999 22.1899 48 22.4C48.0001 22.6102 47.9588 22.8183 47.8784 23.0125C47.798 23.2067 47.6802 23.3831 47.5317 23.5318C47.3831 23.6804 47.2068 23.7984 47.0126 23.8789C46.8185 23.9594 46.6104 24.0008 46.4003 24.0009C46.1901 24.001 45.982 23.9597 45.7878 23.8793C45.5936 23.799 45.4172 23.6811 45.2685 23.5326L43.3677 21.4638H40.1245L37.9326 23.5326C37.6323 23.8328 37.2252 24.0015 36.8006 24.0015C36.376 24.0015 35.9688 23.8328 35.6686 23.5326C35.3684 23.2324 35.1997 22.8252 35.1997 22.4006C35.1997 21.976 35.3684 21.5688 35.6686 21.2686L40.4685 16.4687ZM7.13923 24.5006C6.74747 24.663 6.43623 24.9744 6.27392 25.3662C6.11161 25.758 6.11151 26.1983 6.27364 26.5902L9.23041 25.3662C9.14998 25.172 9.03208 24.9956 8.88344 24.847C8.7348 24.6984 8.55835 24.5805 8.36415 24.5001C8.16995 24.4198 7.96182 24.3784 7.75164 24.3785C7.54147 24.3786 7.33337 24.4201 7.13923 24.5006Z"/><path fill-rule="evenodd" clip-rule="evenodd" d="M23.9999 4.80005C23.5755 4.80005 23.1686 4.96862 22.8685 5.26867C22.5685 5.56873 22.3999 5.97569 22.3999 6.40004V9.63041L25.5999 9.62401V6.40004C25.5999 5.97569 25.4313 5.56873 25.1313 5.26867C24.8312 4.96862 24.4242 4.80005 23.9999 4.80005ZM25.5999 31.9998V28.7758H22.3999V31.9998C22.3999 32.4242 22.5685 32.8311 22.8685 33.1312C23.1686 33.4312 23.5755 33.5998 23.9999 33.5998C24.4242 33.5998 24.8312 33.4312 25.1313 33.1312C25.4313 32.8311 25.5999 32.4242 25.5999 31.9998Z"/><path fill-rule="evenodd" clip-rule="evenodd" d="M33.4541 12.8062C33.6253 13.6734 32.8813 14.3982 31.9982 14.3982C31.115 14.3998 30.491 13.611 29.9982 12.8782C29.355 11.9214 29.1998 11.1998 23.9998 11.1998C18.7999 11.1998 17.5999 11.1998 17.5999 14.3998C17.5999 17.5998 18.5695 17.5998 23.9998 17.5998C32.2285 17.5998 33.5997 18.8798 33.5997 23.9997C33.5997 28.7197 31.5598 30.1757 25.5998 30.3757C24.5902 30.4093 23.4094 30.4093 22.3998 30.3757C17.8047 30.2221 15.1055 29.1197 14.5215 25.5949C14.3759 24.7229 15.1167 23.9997 15.9999 23.9997C16.8831 23.9997 17.4799 24.7405 17.7199 25.5917C18.0527 26.7693 19.3039 27.1997 23.9998 27.1997C30.3998 27.1997 30.3998 26.3997 30.3998 24.0029V23.9965C30.3998 21.5998 30.3998 20.7998 23.9998 20.7998C15.7711 20.7998 14.3999 19.1998 14.3999 14.3998C14.3999 9.97425 16.4399 8.26867 22.3998 8.03027C23.4661 7.99054 24.5334 7.9884 25.5998 8.02387C30.4094 8.02387 32.8589 9.77745 33.4541 12.8062Z"/>`,
|
|
32
|
+
twitter: `<path fill-rule="evenodd" clip-rule="evenodd" d="M24 48C46 48 48 46 48 24C48 2 46 0 24 0C2 0 0 2 0 24C0 46 2 48 24 48ZM35.65 20.198C35.65 27.536 29.872 36 19.306 36C16.062 36 13.042 35.08 10.5 33.504C10.95 33.556 11.408 33.582 11.87 33.582C14.562 33.582 17.04 32.694 19.006 31.204C16.49 31.16 14.37 29.554 13.638 27.348C13.988 27.412 14.348 27.448 14.718 27.448C15.242 27.448 15.75 27.38 16.234 27.252C13.604 26.742 11.624 24.498 11.624 21.808C11.624 21.782 11.624 21.76 11.626 21.736C12.4 22.152 13.284 22.402 14.228 22.432C12.684 21.436 11.67 19.736 11.67 17.808C11.67 16.79 11.956 15.838 12.448 15.016C15.282 18.378 19.516 20.588 24.29 20.82C24.192 20.412 24.142 19.988 24.142 19.554C24.142 16.488 26.714 14 29.886 14C31.538 14 33.032 14.676 34.08 15.754C35.388 15.506 36.618 15.042 37.728 14.406C37.298 15.704 36.388 16.79 35.202 17.478C36.364 17.344 37.47 17.046 38.5 16.604C37.732 17.718 36.756 18.696 35.634 19.48C35.646 19.718 35.65 19.958 35.65 20.198Z"/>`,
|
|
33
|
+
telegram: `<path fill-rule="evenodd" clip-rule="evenodd" d="M42,4H6A2,2,0,0,0,4,6V42a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V6A2,2,0,0,0,42,4ZM33.446,23.71c-.692,4.336-1.444,9.076-1.444,9.076s-.116,1.33-1.098,1.56a4.738,4.738,0,0,1-2.89-1.04c-.232-.174-4.336-2.774-5.838-4.046a1.094,1.094,0,0,1,.058-1.85c2.08-1.908,4.566-4.278,6.068-5.78.694-.694,1.388-2.312-1.502-.346-4.104,2.832-8.15,5.49-8.15,5.49a3.4,3.4,0,0,1-2.66.058c-1.734-.52-3.756-1.214-3.756-1.214s-1.388-.866.982-1.8c0,0,10-4.104,13.468-5.548,1.33-.578,5.838-2.428,5.838-2.428s2.082-.81,1.908,1.156C34.48,17.816,34.018,20.648,33.554,23.71Z"/>`,
|
|
34
|
+
twitch: `<path fill-rule="evenodd" clip-rule="evenodd" d="M48 24C48 46 46 48 24 48C2 48 0 46 0 24C0 2 2 0 24 0C46 0 48 2 48 24ZM10.654 14.928L12.478 10.064H37.402V27.088L30.106 34.382H24.636L20.99 38.032H17.34V34.382H10.654V14.928ZM34.97 12.494H14.91V30.128H20.382V33.772L24.028 30.128H30.714L34.97 25.87V12.494ZM24.028 24.656H21.596V17.364H24.028V24.658V24.656ZM30.714 24.656H28.282V17.364H30.714V24.658V24.656Z" />`,
|
|
35
|
+
web: `<path fill-rule="evenodd" clip-rule="evenodd" d="M22 4.24379C20.4 4.65376 19.078 5.57171 18 6.89164C17.28 7.7736 16.666 8.83754 16.156 10.0515C15.222 12.2654 14.622 14.9772 14.296 17.999C14.16 19.281 14.072 20.6189 14.03 21.9988H22V4.24379ZM26 21.9988H33.97C33.9313 20.6627 33.8419 19.3284 33.702 17.999C33.378 14.9792 32.778 12.2654 31.844 10.0515C31.3827 8.91591 30.7617 7.85192 30 6.89164C28.922 5.57171 27.6 4.65376 26 4.24379V21.9988ZM37.082 14.7852C37.302 15.8212 37.486 16.8951 37.628 17.999C37.794 19.293 37.906 20.6289 37.96 21.9988H43.9C43.5882 18.8549 42.5324 15.8304 40.82 13.1753C39.1296 10.5553 36.8529 8.36438 34.17 6.77565C35.456 9.02953 36.436 11.7494 37.082 14.7852ZM37.102 3.88781C39.7553 5.61711 42.0404 7.85394 43.8259 10.4696C45.6114 13.0853 46.8621 16.0282 47.506 19.129C47.83 20.7029 48 22.3288 48 23.9987C48 25.6666 47.83 27.2945 47.506 28.8685C46.5537 33.4527 44.2825 37.6587 40.9716 40.9694C37.6607 44.2801 33.4545 46.5512 28.87 47.5034C26.6117 47.9701 24.2979 48.1088 22 47.9154C18.0409 47.5904 14.2256 46.2823 10.9 44.1096C8.24637 42.3805 5.96087 40.1438 4.17499 37.5281C2.38912 34.9124 1.13813 31.9694 0.494 28.8685C0.17 27.2945 0 25.6686 0 23.9987C0 22.3308 0.17 20.7009 0.494 19.129C1.44627 14.5448 3.71748 10.3387 7.02838 7.02802C10.3393 3.7173 14.5455 1.44621 19.13 0.49399C20.7322 0.163654 22.3641 -0.00186614 24 1.58692e-05C25.6358 0.000425627 27.2674 0.165922 28.87 0.49399C31.854 1.10996 34.634 2.27789 37.102 3.88781ZM13.038 7.26762C10.6941 8.80669 8.69798 10.819 7.178 13.1753C5.46631 15.8306 4.41123 18.8551 4.1 21.9988H10.04C10.096 20.6289 10.208 19.293 10.374 17.999C10.5121 16.9208 10.6942 15.8486 10.92 14.7852C11.566 11.7494 12.546 9.02953 13.83 6.77565C13.5629 6.93349 13.2995 7.09753 13.04 7.26762H13.038ZM4.098 25.9986C4.40969 29.1426 5.46546 32.1671 7.178 34.8221C8.86841 37.4421 11.1451 39.6331 13.828 41.2218C12.544 38.9679 11.564 36.2481 10.918 33.2122C10.6922 32.1488 10.5101 31.0767 10.372 29.9984C10.2029 28.6706 10.0921 27.3361 10.04 25.9986H4.1H4.098ZM14.03 25.9986C14.072 27.3785 14.16 28.7165 14.298 29.9984C14.622 33.0182 15.222 35.7321 16.156 37.946C16.666 39.1599 17.278 40.2238 18 41.1058C19.078 42.4257 20.4 43.3437 22 43.7537V25.9986H14.03ZM26 25.9986V43.7537C27.6 43.3437 28.922 42.4257 30 41.1058C30.72 40.2238 31.334 39.1599 31.844 37.946C32.778 35.7321 33.378 33.0202 33.704 29.9984C33.84 28.7165 33.928 27.3785 33.97 25.9986H26ZM37.96 25.9986C37.9078 27.3361 37.797 28.6706 37.628 29.9984C37.49 31.0767 37.3078 32.1488 37.082 33.2122C36.436 36.2481 35.456 38.9679 34.172 41.2218C36.8549 39.6331 39.1316 37.4421 40.822 34.8221C42.5336 32.1668 43.5887 29.1423 43.9 25.9986H37.96Z"/>`,
|
|
36
|
+
windows: `<path fill-rule="evenodd" clip-rule="evenodd" d="M0 6.79601L18.3901 4.13273L18.3981 22.9957L0.0167993 23.107L0 6.79601ZM18.3813 25.169L18.3956 44.0486L0.0142742 41.3611L0.0132436 25.0426L18.3813 25.169ZM20.6106 3.78432L44.9943 0V22.7558L20.6106 22.9617V3.78432ZM45 25.3466L44.9943 48L20.6106 44.3405L20.5764 25.3042L45 25.3466Z"/>`,
|
|
37
|
+
youtube: `<path fill-rule="evenodd" clip-rule="evenodd" d="M48 24C48 4 44 0 24 0C4 0 0 4 0 24C0 44 4 48 24 48C44 48 48 44 48 24ZM19.054 30.254L32.014 23.534L19.044 16.768L19.054 30.252V30.254Z" />`,
|
|
38
|
+
};
|
|
39
|
+
|
|
40
|
+
export type HCIcons = keyof typeof glyphs;
|
package/index.ts
ADDED
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import type { StarlightPlugin } from "@astrojs/starlight/types";
|
|
2
|
+
|
|
3
|
+
import type { HCStarlightOptions, ConfigSerialized } from "./user-options";
|
|
4
|
+
import { vitePluginUserConfig } from "./virtual-user-config";
|
|
5
|
+
|
|
6
|
+
export type { HCStarlightOptions };
|
|
7
|
+
|
|
8
|
+
const components = {
|
|
9
|
+
ThemeProvider: "hc-starlight/components/ThemeProvider.astro",
|
|
10
|
+
ThemeSelect: "hc-starlight/components/ThemeSelect.astro",
|
|
11
|
+
SocialIcons: "hc-starlight/components/SocialIcons.astro",
|
|
12
|
+
Head: "hc-starlight/components/Head.astro",
|
|
13
|
+
} as const;
|
|
14
|
+
|
|
15
|
+
export default function hcStarlight(
|
|
16
|
+
options?: HCStarlightOptions
|
|
17
|
+
): StarlightPlugin {
|
|
18
|
+
return {
|
|
19
|
+
name: "hc-starlight",
|
|
20
|
+
hooks: {
|
|
21
|
+
"config:setup"({ config, logger, updateConfig, addIntegration }) {
|
|
22
|
+
/**
|
|
23
|
+
* This is the entry point of your Starlight plugin.
|
|
24
|
+
* The `config:setup` hook is called when Starlight is initialized (during the Astro `astro:config:setup`
|
|
25
|
+
* integration hook).
|
|
26
|
+
* To learn more about the Starlight plugin API and all available options in this hook, check the Starlight
|
|
27
|
+
* plugins reference.
|
|
28
|
+
*
|
|
29
|
+
* @see https://starlight.astro.build/reference/plugins/
|
|
30
|
+
*/
|
|
31
|
+
logger.info("Hello from the hc-starlight plugin!");
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* Update the provided Starlight user configuration by appending the theme CSS file to the `customCss` array.
|
|
35
|
+
* To start customizing your theme, edit the `packages/hc-starlight/styles.css` file.
|
|
36
|
+
*
|
|
37
|
+
* @see https://starlight.astro.build/reference/plugins/#updateconfig
|
|
38
|
+
* @see https://starlight.astro.build/reference/configuration/#customcss
|
|
39
|
+
*/
|
|
40
|
+
updateConfig({
|
|
41
|
+
customCss: [...(config.customCss ?? []), "hc-starlight/styles"],
|
|
42
|
+
components: {
|
|
43
|
+
// Including any user components *after* our own.
|
|
44
|
+
...components,
|
|
45
|
+
...config.components,
|
|
46
|
+
},
|
|
47
|
+
});
|
|
48
|
+
|
|
49
|
+
addIntegration({
|
|
50
|
+
name: "hc-starlight-integration",
|
|
51
|
+
hooks: {
|
|
52
|
+
"astro:config:setup": ({
|
|
53
|
+
updateConfig: updateAstroConfig,
|
|
54
|
+
config: astroConfig,
|
|
55
|
+
}) => {
|
|
56
|
+
updateAstroConfig({
|
|
57
|
+
vite: {
|
|
58
|
+
plugins: [
|
|
59
|
+
vitePluginUserConfig({
|
|
60
|
+
hcSocial: options?.hcSocial ?? [],
|
|
61
|
+
withClientRouting: options?.withClientRouting ?? true,
|
|
62
|
+
rootHref: astroConfig.root.toString(),
|
|
63
|
+
} as ConfigSerialized),
|
|
64
|
+
],
|
|
65
|
+
},
|
|
66
|
+
});
|
|
67
|
+
},
|
|
68
|
+
},
|
|
69
|
+
});
|
|
70
|
+
},
|
|
71
|
+
},
|
|
72
|
+
};
|
|
73
|
+
}
|
package/package.json
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "hc-starlight",
|
|
3
|
+
"version": "0.0.7",
|
|
4
|
+
"license": "MIT",
|
|
5
|
+
"description": "Astro Starlight theme with Hack Club branding — for building beautiful docs and playgrounds",
|
|
6
|
+
"author": "saif-abdelrazek",
|
|
7
|
+
"type": "module",
|
|
8
|
+
"exports": {
|
|
9
|
+
".": "./index.ts",
|
|
10
|
+
"./styles": "./styles.css",
|
|
11
|
+
"./components": "./components.ts",
|
|
12
|
+
"./components/*.astro": "./components/*.astro"
|
|
13
|
+
},
|
|
14
|
+
"dependencies": {
|
|
15
|
+
"astro-theme-toggle": "^0.8.0"
|
|
16
|
+
},
|
|
17
|
+
"devDependencies": {
|
|
18
|
+
"@astrojs/starlight": "^0.37.2",
|
|
19
|
+
"astro": "^5.16.7",
|
|
20
|
+
"astro-vtbot": "^2.1.10"
|
|
21
|
+
},
|
|
22
|
+
"peerDependencies": {
|
|
23
|
+
"@astrojs/starlight": ">=0.37"
|
|
24
|
+
},
|
|
25
|
+
"engines": {
|
|
26
|
+
"node": "^18.17.1 || ^20.3.0 || >=21.0.0"
|
|
27
|
+
},
|
|
28
|
+
"publishConfig": {
|
|
29
|
+
"access": "public"
|
|
30
|
+
},
|
|
31
|
+
"homepage": "https://github.com/saif-abdelrazek/hc-starlight",
|
|
32
|
+
"repository": {
|
|
33
|
+
"type": "git",
|
|
34
|
+
"url": "https://github.com/saif-abdelrazek/hc-starlight.git",
|
|
35
|
+
"directory": "packages/hc-starlight"
|
|
36
|
+
},
|
|
37
|
+
"bugs": "https://github.com/saif-abdelrazek/hc-starlight/issues"
|
|
38
|
+
}
|
package/styles/theme.css
ADDED
|
@@ -0,0 +1,330 @@
|
|
|
1
|
+
@layer hc {
|
|
2
|
+
/**
|
|
3
|
+
* Hack Club Design Tokens
|
|
4
|
+
*/
|
|
5
|
+
:root,
|
|
6
|
+
::backdrop {
|
|
7
|
+
/* Hack Club Colors */
|
|
8
|
+
--hc-darker: #121217;
|
|
9
|
+
--hc-dark: #17171d;
|
|
10
|
+
--hc-darkless: #252429;
|
|
11
|
+
--hc-black: #1f2d3d;
|
|
12
|
+
--hc-steel: #273444;
|
|
13
|
+
--hc-slate: #3c4858;
|
|
14
|
+
--hc-muted: #8492a6;
|
|
15
|
+
--hc-smoke: #e0e6ed;
|
|
16
|
+
--hc-snow: #f9fafc;
|
|
17
|
+
--hc-white: #ffffff;
|
|
18
|
+
--hc-red: #ec3750;
|
|
19
|
+
--hc-orange: #ff8c37;
|
|
20
|
+
--hc-yellow: #f1c40f;
|
|
21
|
+
--hc-green: #33d6a6;
|
|
22
|
+
--hc-cyan: #5bc0de;
|
|
23
|
+
--hc-blue: #338eda;
|
|
24
|
+
--hc-purple: #a633d6;
|
|
25
|
+
|
|
26
|
+
/* Hack Club Spacing */
|
|
27
|
+
--hc-spacing-0: 0px;
|
|
28
|
+
--hc-spacing-1: 4px;
|
|
29
|
+
--hc-spacing-2: 8px;
|
|
30
|
+
--hc-spacing-3: 16px;
|
|
31
|
+
--hc-spacing-4: 32px;
|
|
32
|
+
--hc-spacing-5: 64px;
|
|
33
|
+
--hc-spacing-6: 128px;
|
|
34
|
+
|
|
35
|
+
/* Hack Club Font Sizes */
|
|
36
|
+
--hc-font-1: 12px;
|
|
37
|
+
--hc-font-2: 16px;
|
|
38
|
+
--hc-font-3: 20px;
|
|
39
|
+
--hc-font-4: 24px;
|
|
40
|
+
--hc-font-5: 32px;
|
|
41
|
+
--hc-font-6: 48px;
|
|
42
|
+
--hc-font-7: 64px;
|
|
43
|
+
|
|
44
|
+
/* Hack Club Line Heights */
|
|
45
|
+
--hc-line-height-limit: 0.875;
|
|
46
|
+
--hc-line-height-title: 1;
|
|
47
|
+
--hc-line-height-heading: 1.125;
|
|
48
|
+
--hc-line-height-subheading: 1.25;
|
|
49
|
+
--hc-line-height-caption: 1.375;
|
|
50
|
+
--hc-line-height-body: 1.5;
|
|
51
|
+
|
|
52
|
+
/* Hack Club Font Weights */
|
|
53
|
+
--hc-font-weight-body: 400;
|
|
54
|
+
--hc-font-weight-bold: 700;
|
|
55
|
+
|
|
56
|
+
/* Hack Club Letter Spacing */
|
|
57
|
+
--hc-letter-spacing-title: -0.009em;
|
|
58
|
+
--hc-letter-spacing-headline: 0.009em;
|
|
59
|
+
|
|
60
|
+
/* Hack Club Border Radii */
|
|
61
|
+
--hc-radii-small: 4px;
|
|
62
|
+
--hc-radii-default: 8px;
|
|
63
|
+
--hc-radii-extra: 12px;
|
|
64
|
+
--hc-radii-ultra: 16px;
|
|
65
|
+
--hc-radii-circle: 99999px;
|
|
66
|
+
|
|
67
|
+
/* Hack Club Shadows */
|
|
68
|
+
--hc-shadow-text: 0 1px 2px rgba(0, 0, 0, 0.25),
|
|
69
|
+
0 2px 4px rgba(0, 0, 0, 0.125);
|
|
70
|
+
--hc-shadow-small: 0 1px 2px rgba(0, 0, 0, 0.0625),
|
|
71
|
+
0 2px 4px rgba(0, 0, 0, 0.0625);
|
|
72
|
+
--hc-shadow-card: 0 4px 8px rgba(0, 0, 0, 0.125);
|
|
73
|
+
--hc-shadow-elevated: 0 1px 2px rgba(0, 0, 0, 0.0625),
|
|
74
|
+
0 8px 12px rgba(0, 0, 0, 0.125);
|
|
75
|
+
|
|
76
|
+
/* Map Hack Club tokens to Starlight tokens for dark mode */
|
|
77
|
+
--sl-color-accent-low: #3d1220;
|
|
78
|
+
--sl-color-accent: var(--hc-red);
|
|
79
|
+
--sl-color-accent-high: #ffb3c0;
|
|
80
|
+
--sl-color-white: var(--hc-white);
|
|
81
|
+
--sl-color-gray-1: #eceef2;
|
|
82
|
+
--sl-color-gray-2: #c0c4cc;
|
|
83
|
+
--sl-color-gray-3: #8b8f98;
|
|
84
|
+
--sl-color-gray-4: #585c66;
|
|
85
|
+
--sl-color-gray-5: #3a3d44;
|
|
86
|
+
--sl-color-gray-6: var(--hc-darkless);
|
|
87
|
+
--sl-color-black: var(--hc-darker);
|
|
88
|
+
|
|
89
|
+
/* Hue values for semantic colors */
|
|
90
|
+
--sl-hue-orange: 25;
|
|
91
|
+
--sl-hue-green: 163;
|
|
92
|
+
--sl-hue-blue: 207;
|
|
93
|
+
--sl-hue-purple: 288;
|
|
94
|
+
--sl-hue-red: 351;
|
|
95
|
+
|
|
96
|
+
/* Semantic color variables */
|
|
97
|
+
--sl-color-text: var(--sl-color-gray-2);
|
|
98
|
+
--sl-color-text-accent: var(--hc-red);
|
|
99
|
+
--sl-color-text-invert: var(--sl-color-accent-low);
|
|
100
|
+
--sl-color-bg: var(--sl-color-black);
|
|
101
|
+
--sl-color-bg-nav: color-mix(
|
|
102
|
+
in srgb,
|
|
103
|
+
var(--hc-darker, #030712) 50%,
|
|
104
|
+
transparent
|
|
105
|
+
);
|
|
106
|
+
--sl-color-bg-sidebar: var(--sl-color-bg);
|
|
107
|
+
--sl-color-bg-inline-code: var(--hc-darkless, #1f2937);
|
|
108
|
+
--sl-color-bg-accent: var(--sl-color-accent-high);
|
|
109
|
+
--sl-color-hairline-light: var(--sl-color-gray-5);
|
|
110
|
+
--sl-color-hairline: var(--sl-color-gray-6);
|
|
111
|
+
--sl-color-hairline-shade: var(--sl-color-black);
|
|
112
|
+
--sl-color-backdrop-overlay: hsla(223, 13%, 10%, 0.66);
|
|
113
|
+
--sl-border-radius: var(--hc-radii-default);
|
|
114
|
+
|
|
115
|
+
/* Shadows (dark mode) */
|
|
116
|
+
--sl-shadow-sm: var(--hc-shadow-small);
|
|
117
|
+
--sl-shadow-md: 0px 8px 4px hsla(0, 0%, 0%, 0.08),
|
|
118
|
+
0px 5px 2px hsla(0, 0%, 0%, 0.08), 0px 3px 2px hsla(0, 0%, 0%, 0.12),
|
|
119
|
+
0px 1px 1px hsla(0, 0%, 0%, 0.15);
|
|
120
|
+
--sl-shadow-lg: var(--hc-shadow-elevated);
|
|
121
|
+
|
|
122
|
+
/* Text size and line height */
|
|
123
|
+
--sl-text-2xs: 0.75rem;
|
|
124
|
+
--sl-text-xs: 0.8125rem;
|
|
125
|
+
--sl-text-sm: 0.875rem;
|
|
126
|
+
--sl-text-base: 1rem;
|
|
127
|
+
--sl-text-lg: 1.125rem;
|
|
128
|
+
--sl-text-xl: 1.25rem;
|
|
129
|
+
--sl-text-2xl: 1.5rem;
|
|
130
|
+
--sl-text-3xl: 1.8125rem;
|
|
131
|
+
--sl-text-4xl: 2.1875rem;
|
|
132
|
+
--sl-text-5xl: 2.625rem;
|
|
133
|
+
--sl-text-6xl: 4rem;
|
|
134
|
+
|
|
135
|
+
--sl-text-body: var(--sl-text-base);
|
|
136
|
+
--sl-text-body-sm: var(--sl-text-xs);
|
|
137
|
+
--sl-text-code: var(--sl-text-sm);
|
|
138
|
+
--sl-text-code-sm: var(--sl-text-xs);
|
|
139
|
+
--sl-text-h1: var(--sl-text-4xl);
|
|
140
|
+
--sl-text-h2: var(--sl-text-3xl);
|
|
141
|
+
--sl-text-h3: var(--sl-text-2xl);
|
|
142
|
+
--sl-text-h4: var(--sl-text-xl);
|
|
143
|
+
--sl-text-h5: var(--sl-text-lg);
|
|
144
|
+
|
|
145
|
+
--sl-line-height: 1.75;
|
|
146
|
+
--sl-line-height-headings: 1.2;
|
|
147
|
+
|
|
148
|
+
/* Font stacks */
|
|
149
|
+
--sl-font-system: ui-sans-serif, system-ui, "Segoe UI", Roboto,
|
|
150
|
+
"Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji",
|
|
151
|
+
"Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
|
|
152
|
+
--sl-font-system-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
|
|
153
|
+
"Liberation Mono", "Courier New", monospace;
|
|
154
|
+
--sl-font: "Phantom Sans", system-ui, -apple-system, BlinkMacSystemFont,
|
|
155
|
+
"Segoe UI", Roboto, sans-serif;
|
|
156
|
+
--sl-font-mono: "SF Mono", "Roboto Mono", Menlo, Consolas, monospace;
|
|
157
|
+
--__sl-font: var(--sl-font, var(--sl-font-system)), var(--sl-font-system);
|
|
158
|
+
--__sl-font-mono: var(--sl-font-mono, var(--sl-font-system-mono)),
|
|
159
|
+
var(--sl-font-system-mono);
|
|
160
|
+
|
|
161
|
+
/* Layout values */
|
|
162
|
+
--sl-nav-height: 3.5rem;
|
|
163
|
+
--sl-nav-pad-x: 1rem;
|
|
164
|
+
--sl-nav-pad-y: 0.75rem;
|
|
165
|
+
--sl-mobile-toc-height: 3rem;
|
|
166
|
+
--sl-sidebar-width: 18.75rem;
|
|
167
|
+
--sl-sidebar-pad-x: 1rem;
|
|
168
|
+
--sl-content-width: 45rem;
|
|
169
|
+
--sl-content-pad-x: 1rem;
|
|
170
|
+
--sl-content-gap-y: 1rem;
|
|
171
|
+
--sl-main-pad: 0 0 3vh 0;
|
|
172
|
+
--sl-menu-button-size: 2rem;
|
|
173
|
+
--sl-nav-gap: var(--sl-content-pad-x);
|
|
174
|
+
--sl-outline-offset-inside: -0.1875rem;
|
|
175
|
+
|
|
176
|
+
/* Global z-index values */
|
|
177
|
+
--sl-z-index-toc: 4;
|
|
178
|
+
--sl-z-index-menu: 5;
|
|
179
|
+
--sl-z-index-navbar: 10;
|
|
180
|
+
--sl-z-index-skiplink: 20;
|
|
181
|
+
|
|
182
|
+
/* Asides defaults */
|
|
183
|
+
--sl-color-asides-border: var(--hc-steel);
|
|
184
|
+
--sl-color-asides-text-accent: var(--hc-blue);
|
|
185
|
+
|
|
186
|
+
/* hc UI mappings (replaces Rapide-specific tokens) */
|
|
187
|
+
--sl-hc-ui-bg-color: var(--sl-rapide-ui-bg-color, var(--sl-color-black));
|
|
188
|
+
--sl-hc-ui-header-bg-color: var(
|
|
189
|
+
--sl-rapide-ui-header-bg-color,
|
|
190
|
+
var(--sl-color-gray-6)
|
|
191
|
+
);
|
|
192
|
+
--sl-hc-ui-border-color: var(
|
|
193
|
+
--sl-rapide-ui-border-color,
|
|
194
|
+
var(--sl-color-gray-5)
|
|
195
|
+
);
|
|
196
|
+
--sl-hc-ec-marker-bg-color: var(
|
|
197
|
+
--sl-rapide-ec-marker-bg-color,
|
|
198
|
+
var(--sl-color-gray-5)
|
|
199
|
+
);
|
|
200
|
+
--sl-hc-ec-marker-border-color: var(
|
|
201
|
+
--sl-rapide-ec-marker-border-color,
|
|
202
|
+
var(--sl-color-gray-4)
|
|
203
|
+
);
|
|
204
|
+
--sl-hc-lang-select-width: 8ch;
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
/* Light mode mappings */
|
|
208
|
+
:root[data-theme="light"],
|
|
209
|
+
[data-theme="light"] ::backdrop {
|
|
210
|
+
--sl-color-accent-low: #ffe6ec;
|
|
211
|
+
--sl-color-accent: #d42c45;
|
|
212
|
+
--sl-color-accent-high: #8a1d2f;
|
|
213
|
+
--sl-color-white: var(--hc-black);
|
|
214
|
+
--sl-color-gray-1: var(--hc-slate);
|
|
215
|
+
--sl-color-gray-2: var(--hc-steel);
|
|
216
|
+
--sl-color-gray-3: var(--hc-muted);
|
|
217
|
+
--sl-color-gray-4: #b4bcc8;
|
|
218
|
+
--sl-color-gray-5: var(--hc-smoke);
|
|
219
|
+
--sl-color-gray-6: var(--hc-snow);
|
|
220
|
+
--sl-color-gray-7: var(--hc-white);
|
|
221
|
+
--sl-color-black: var(--hc-white);
|
|
222
|
+
|
|
223
|
+
/* Semantic color overrides (light mode) */
|
|
224
|
+
--sl-color-text-accent: var(--sl-color-accent);
|
|
225
|
+
--sl-color-text-invert: var(--sl-color-black);
|
|
226
|
+
--sl-color-bg-nav: var(--sl-color-gray-7);
|
|
227
|
+
--sl-color-bg-sidebar: var(--sl-color-bg);
|
|
228
|
+
--sl-color-bg-inline-code: var(--hc-snow, #f3f4f6);
|
|
229
|
+
--sl-color-bg-accent: var(--sl-color-accent);
|
|
230
|
+
--sl-color-hairline-light: var(--sl-color-gray-6);
|
|
231
|
+
--sl-color-hairline-shade: var(--sl-color-gray-6);
|
|
232
|
+
--sl-color-backdrop-overlay: hsla(225, 9%, 36%, 0.66);
|
|
233
|
+
|
|
234
|
+
/* Shadows (light mode) */
|
|
235
|
+
--sl-shadow-sm: 0px 1px 1px hsla(0, 0%, 0%, 0.06),
|
|
236
|
+
0px 2px 1px hsla(0, 0%, 0%, 0.06);
|
|
237
|
+
--sl-shadow-md: 0px 8px 4px hsla(0, 0%, 0%, 0.03),
|
|
238
|
+
0px 5px 2px hsla(0, 0%, 0%, 0.03), 0px 3px 2px hsla(0, 0%, 0%, 0.06),
|
|
239
|
+
0px 1px 1px hsla(0, 0%, 0%, 0.06);
|
|
240
|
+
--sl-shadow-lg: 0px 25px 7px rgba(0, 0, 0, 0.01),
|
|
241
|
+
0px 16px 6px hsla(0, 0%, 0%, 0.03), 0px 9px 5px hsla(223, 13%, 10%, 0.08),
|
|
242
|
+
0px 4px 4px hsla(0, 0%, 0%, 0.16), 0px 4px 2px hsla(0, 0%, 0%, 0.04);
|
|
243
|
+
|
|
244
|
+
/* Asides defaults for light */
|
|
245
|
+
--sl-color-asides-border: var(--hc-smoke);
|
|
246
|
+
--sl-color-asides-text-accent: var(--hc-blue);
|
|
247
|
+
|
|
248
|
+
/* hc UI mappings (light) */
|
|
249
|
+
--sl-hc-ui-bg-color: var(--sl-color-white);
|
|
250
|
+
--sl-hc-ui-header-bg-color: var(
|
|
251
|
+
--sl-rapide-ui-header-bg-color,
|
|
252
|
+
var(--sl-color-gray-6)
|
|
253
|
+
);
|
|
254
|
+
--sl-hc-ui-border-color: var(
|
|
255
|
+
--sl-rapide-ui-border-color,
|
|
256
|
+
var(--sl-color-gray-5)
|
|
257
|
+
);
|
|
258
|
+
--sl-hc-ec-marker-bg-color: var(
|
|
259
|
+
--sl-rapide-ec-marker-bg-color,
|
|
260
|
+
var(--sl-color-gray-5)
|
|
261
|
+
);
|
|
262
|
+
--sl-hc-ec-marker-border-color: var(
|
|
263
|
+
--sl-rapide-ec-marker-border-color,
|
|
264
|
+
var(--sl-color-gray-4)
|
|
265
|
+
);
|
|
266
|
+
--sl-hc-lang-select-width: 8ch;
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
/* Media query overrides for larger screens */
|
|
270
|
+
@media (min-width: 50em) {
|
|
271
|
+
:root {
|
|
272
|
+
--sl-nav-height: 4rem;
|
|
273
|
+
--sl-nav-pad-x: 1.5rem;
|
|
274
|
+
--sl-text-h1: var(--sl-text-5xl);
|
|
275
|
+
--sl-text-h2: var(--sl-text-4xl);
|
|
276
|
+
--sl-text-h3: var(--sl-text-3xl);
|
|
277
|
+
--sl-text-h4: var(--sl-text-2xl);
|
|
278
|
+
}
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
@media (min-width: 72rem) {
|
|
282
|
+
:root {
|
|
283
|
+
--sl-content-pad-x: 1.5rem;
|
|
284
|
+
--sl-mobile-toc-height: 0rem;
|
|
285
|
+
}
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
.hc-icon-button {
|
|
289
|
+
width: 2rem;
|
|
290
|
+
height: 2rem;
|
|
291
|
+
display: flex;
|
|
292
|
+
border-radius: 0.375rem;
|
|
293
|
+
padding: 0.5rem;
|
|
294
|
+
color: var(--sl-color-text);
|
|
295
|
+
transition-property: color, background-color, border-color,
|
|
296
|
+
text-decoration-color, fill, stroke, opacity, box-shadow, transform,
|
|
297
|
+
filter, backdrop-filter;
|
|
298
|
+
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
299
|
+
transition-duration: 150ms;
|
|
300
|
+
}
|
|
301
|
+
|
|
302
|
+
/* ThemeSelect icon masks (hc namespace) */
|
|
303
|
+
.hc-theme-select {
|
|
304
|
+
width: 2rem;
|
|
305
|
+
height: 2rem;
|
|
306
|
+
overflow: visible;
|
|
307
|
+
}
|
|
308
|
+
.hc-theme-select-icon-dark {
|
|
309
|
+
--hc-icon: url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M12 1.992a10 10 0 1 0 9.236 13.838c.341-.82-.476-1.644-1.298-1.31a6.5 6.5 0 0 1-6.864-10.787l.077-.08c.551-.63.113-1.653-.758-1.653h-.266l-.068-.006z'/%3E%3C/svg%3E");
|
|
310
|
+
-webkit-mask: var(--hc-icon) no-repeat;
|
|
311
|
+
mask: var(--hc-icon) no-repeat;
|
|
312
|
+
-webkit-mask-size: 100% 100%;
|
|
313
|
+
mask-size: 100% 100%;
|
|
314
|
+
background-color: currentColor;
|
|
315
|
+
color: inherit;
|
|
316
|
+
width: 1em;
|
|
317
|
+
height: 1em;
|
|
318
|
+
}
|
|
319
|
+
.hc-theme-select-icon-light {
|
|
320
|
+
--hc-icon: url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' width='1em' height='1em' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M12 19a1 1 0 0 1 1 1v2a1 1 0 0 1-2 0v-2a1 1 0 0 1 1-1m-4.95-2.05a1 1 0 0 1 0 1.414l-1.414 1.414a1 1 0 1 1-1.414-1.414l1.414-1.414a1 1 0 0 1 1.414 0m11.314 0l1.414 1.414a1 1 0 0 1-1.414 1.414l-1.414-1.414a1 1 0 0 1 1.414-1.414m-5.049-9.836a5 5 0 1 1-2.532 9.674a5 5 0 0 1 2.532-9.674M4 11a1 1 0 0 1 0 2H2a1 1 0 0 1 0-2zm18 0a1 1 0 0 1 0 2h-2a1 1 0 0 1 0-2zM5.636 4.222L7.05 5.636A1 1 0 0 1 5.636 7.05L4.222 5.636a1 1 0 0 1 1.414-1.414m14.142 0a1 1 0 0 1 0 1.414L18.364 7.05a1 1 0 0 1-1.414-1.414l1.414-1.414a1 1 0 0 1 1.414 0M12 1a1 1 0 0 1 1 1v2a1 1 0 0 1-2 0V2a1 1 0 0 1 1-1'/%3E%3C/svg%3E");
|
|
321
|
+
-webkit-mask: var(--hc-icon) no-repeat;
|
|
322
|
+
mask: var(--hc-icon) no-repeat;
|
|
323
|
+
-webkit-mask-size: 100% 100%;
|
|
324
|
+
mask-size: 100% 100%;
|
|
325
|
+
background-color: currentColor;
|
|
326
|
+
color: inherit;
|
|
327
|
+
width: 1em;
|
|
328
|
+
height: 1em;
|
|
329
|
+
}
|
|
330
|
+
}
|
package/styles.css
ADDED
package/user-options.ts
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { type HCIcons } from "./data/icons.ts";
|
|
2
|
+
|
|
3
|
+
type hcSocialIcons = Array<{
|
|
4
|
+
icon: HCIcons;
|
|
5
|
+
href: string;
|
|
6
|
+
label?: string;
|
|
7
|
+
}>;
|
|
8
|
+
|
|
9
|
+
type WithClientRouting =
|
|
10
|
+
| {
|
|
11
|
+
active?: boolean;
|
|
12
|
+
animate?: "fade" | "slide" | "initial" | "none";
|
|
13
|
+
fallback?: "animate" | "swap" | "none";
|
|
14
|
+
}
|
|
15
|
+
| boolean;
|
|
16
|
+
|
|
17
|
+
export interface HCStarlightOptions {
|
|
18
|
+
hcSocial?: hcSocialIcons;
|
|
19
|
+
withClientRouting?: WithClientRouting;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* @internal
|
|
24
|
+
*/
|
|
25
|
+
export interface ConfigSerialized {
|
|
26
|
+
hcSocial?: hcSocialIcons;
|
|
27
|
+
withClientRouting?: WithClientRouting;
|
|
28
|
+
rootHref?: string;
|
|
29
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import type { ViteUserConfig } from "astro";
|
|
2
|
+
|
|
3
|
+
import type { ConfigSerialized } from "./user-options";
|
|
4
|
+
|
|
5
|
+
function resolveVirtualModuleId<T extends string>(id: T): `\0${T}` {
|
|
6
|
+
return `\0${id}`;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
/** Vite plugin that exposes user config via virtual modules. */
|
|
10
|
+
export function vitePluginUserConfig(
|
|
11
|
+
config: ConfigSerialized
|
|
12
|
+
): NonNullable<ViteUserConfig["plugins"]>[number] {
|
|
13
|
+
/** Map of virtual module names to their code contents as strings. */
|
|
14
|
+
const modules = {
|
|
15
|
+
"virtual:hc-starlight/user-config": `export default ${JSON.stringify(
|
|
16
|
+
config
|
|
17
|
+
)}`,
|
|
18
|
+
} satisfies Record<string, string>;
|
|
19
|
+
|
|
20
|
+
/** Mapping names prefixed with `\0` to their original form. */
|
|
21
|
+
const resolutionMap = Object.fromEntries(
|
|
22
|
+
(Object.keys(modules) as (keyof typeof modules)[]).map((key) => [
|
|
23
|
+
resolveVirtualModuleId(key),
|
|
24
|
+
key,
|
|
25
|
+
])
|
|
26
|
+
);
|
|
27
|
+
|
|
28
|
+
return {
|
|
29
|
+
name: "vite-plugin-hc-starlight-user-config",
|
|
30
|
+
resolveId(id): string | void {
|
|
31
|
+
if (id in modules) return resolveVirtualModuleId(id);
|
|
32
|
+
},
|
|
33
|
+
load(id): string | void {
|
|
34
|
+
const resolution = resolutionMap[id];
|
|
35
|
+
if (resolution) return modules[resolution];
|
|
36
|
+
},
|
|
37
|
+
};
|
|
38
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
declare module "virtual:starlight/user-config" {
|
|
2
|
+
const Config: import("@astrojs/starlight/types").StarlightConfig;
|
|
3
|
+
export default Config;
|
|
4
|
+
}
|
|
5
|
+
declare module "virtual:hc-starlight/user-config" {
|
|
6
|
+
const config: import("./user-options").ConfigSerialized;
|
|
7
|
+
export default config;
|
|
8
|
+
}
|