Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: Update website UI to latest #15944

Merged
merged 14 commits into from Jun 3, 2022
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 2 additions & 1 deletion .gitignore
Expand Up @@ -28,5 +28,6 @@ yarn.lock
package-lock.json
pnpm-lock.yaml

# Docs site output
# Docs site
_site
/docs/src/assets/css
33 changes: 6 additions & 27 deletions docs/src/_includes/components/alert.macro.html
@@ -1,5 +1,5 @@
{%- macro warning(params) -%}
<div role="note" class="alert alert--warning">
<aside role="note" class="alert alert--warning">
<svg class="alert__icon" aria-hidden="true" focusable="false" width="19" height="20" viewBox="0 0 19 20" fill="none">
<path d="M9.49999 6.66667V10M9.49999 13.3333H9.50832M17.8333 10C17.8333 14.6024 14.1024 18.3333 9.49999 18.3333C4.89762 18.3333 1.16666 14.6024 1.16666 10C1.16666 5.39763 4.89762 1.66667 9.49999 1.66667C14.1024 1.66667 17.8333 5.39763 17.8333 10Z" stroke="currentColor" stroke-width="1.66667" stroke-linecap="round" stroke-linejoin="round" />
</svg>
Expand All @@ -8,18 +8,11 @@
<div class="alert__text">{{ params.text }}</div>
<a href="{{ params.url }}" class="alert__learn-more">Learn more</a>
</div>

<!-- <button class="alert__remove-btn" hidden>
<span class="visually-hidden">Remove</span>
<svg width="13" height="12" viewBox="0 0 13 12" fill="none" aria-hidden="true" focusable="false">
<path d="M11.5 1L1.5 11M1.5 1L11.5 11" stroke="currentColor" stroke-width="1.66667" stroke-linecap="round" stroke-linejoin="round" />
</svg>
</button> -->
</div>
</aside>
{%- endmacro -%}

{%- macro important(params) -%}
<div role="note" class="alert alert--important">
<aside role="note" class="alert alert--important">
<svg class="alert__icon" aria-hidden="true" focusable="false" width="21" height="18" viewBox="0 0 21 18" fill="none">
<path d="M10.4998 6.66666V9.99999M10.4998 13.3333H10.5081M9.0748 2.38333L2.01647 14.1667C1.87094 14.4187 1.79394 14.7044 1.79313 14.9954C1.79231 15.2864 1.86771 15.5726 2.01183 15.8254C2.15594 16.0783 2.36374 16.2889 2.61456 16.4365C2.86538 16.5841 3.15047 16.6635 3.44147 16.6667H17.5581C17.8491 16.6635 18.1342 16.5841 18.385 16.4365C18.6359 16.2889 18.8437 16.0783 18.9878 15.8254C19.1319 15.5726 19.2073 15.2864 19.2065 14.9954C19.2057 14.7044 19.1287 14.4187 18.9831 14.1667L11.9248 2.38333C11.7762 2.13841 11.5671 1.93593 11.3175 1.7954C11.0679 1.65487 10.7862 1.58104 10.4998 1.58104C10.2134 1.58104 9.93175 1.65487 9.68214 1.7954C9.43254 1.93593 9.22336 2.13841 9.0748 2.38333Z" stroke="currentColor" stroke-width="1.66667" stroke-linecap="round" stroke-linejoin="round" />
</svg>
Expand All @@ -28,18 +21,11 @@
<div class="alert__text">{{ params.text }}</div>
<a href="{{ params.url }}" class="alert__learn-more">Learn more</a>
</div>

<!-- <button class="alert__remove-btn" hidden>
<span class="visually-hidden">Remove</span>
<svg width="13" height="12" viewBox="0 0 13 12" fill="none" aria-hidden="true" focusable="false">
<path d="M11.5 1L1.5 11M1.5 1L11.5 11" stroke="currentColor" stroke-width="1.66667" stroke-linecap="round" stroke-linejoin="round" />
</svg>
</button> -->
</div>
</aside>
{%- endmacro -%}

{%- macro tip(params) -%}
<div role="note" class="alert alert--tip">
<aside role="note" class="alert alert--tip">
<svg class="alert__icon" aria-hidden="true" focusable="false" width="19" height="20" viewBox="0 0 19 20" fill="none">
<path d="M17.8333 9.23333V10C17.8323 11.797 17.2504 13.5456 16.1744 14.9849C15.0985 16.4241 13.5861 17.4771 11.8628 17.9866C10.1395 18.4961 8.29771 18.4349 6.61205 17.8122C4.92639 17.1894 3.4872 16.0384 2.50912 14.5309C1.53105 13.0234 1.06648 11.2401 1.18472 9.44693C1.30296 7.6538 1.99766 5.94694 3.16522 4.58089C4.33278 3.21485 5.91064 2.26282 7.66348 1.86679C9.41632 1.47076 11.2502 1.65195 12.8917 2.38333M17.8333 3.33333L9.49999 11.675L6.99999 9.175" stroke="currentColor" stroke-width="1.66667" stroke-linecap="round" stroke-linejoin="round" />
</svg>
Expand All @@ -48,12 +34,5 @@
<div class="alert__text">{{ params.text }}</div>
<a href="{{ params.url }}" class="alert__learn-more">Learn more</a>
</div>

<!-- <button class="alert__remove-btn" hidden>
<span class="visually-hidden">Remove</span>
<svg width="13" height="12" viewBox="0 0 13 12" fill="none" aria-hidden="true" focusable="false">
<path d="M11.5 1L1.5 11M1.5 1L11.5 11" stroke="currentColor" stroke-width="1.66667" stroke-linecap="round" stroke-linejoin="round" />
</svg>
</button> -->
</div>
</aside>
{%- endmacro -%}
14 changes: 9 additions & 5 deletions docs/src/_includes/components/docs-index.html
Expand Up @@ -11,15 +11,19 @@
{%- endmacro %}

<nav class="docs-index" id="docs-index">
<button class="docs-index-toggle" aria-label="Index" id="js-docs-index-toggle" hidden>
<button class="docs-index-toggle" id="js-docs-index-toggle" hidden>
Index
<svg width="20" height="20" viewBox="20 20 60 60">
<svg width="20" height="20" viewBox="20 20 60 60" aria-hidden="true" focusable="false">
<path id="ham-top" d="M30,37 L70,37 Z" stroke="currentColor"></path>
<path id="ham-middle" d="M30,50 L70,50 Z" stroke="currentColor"></path>
<path id="ham-bottom" d="M30,63 L70,63 Z" stroke="currentColor"></path>
</svg>
</button>
<ul class="docs-index__list" id="js-docs-index-list">
{%- for entry in navPages %}{{ renderNavListItem(entry) }}{%- endfor -%}
</ul>
<div class="docs__index__panel" id="js-docs-index-panel">
{% include 'components/search.html' %}

<ul class="docs-index__list" id="js-docs-list">
{%- for entry in navPages %}{{ renderNavListItem(entry) }}{%- endfor -%}
</ul>
</div>
</nav>
2 changes: 1 addition & 1 deletion docs/src/_includes/components/docs-toc.html
@@ -1,5 +1,5 @@
<nav class="docs-toc c-toc" aria-labelledby="js-toc-label">
{%- if all_content | toc | safe -%}
{%- if content | toc | safe -%}
nzakas marked this conversation as resolved.
Show resolved Hide resolved
<h2 class="c-toc__label" id="js-toc-label">Table of Contents</h2>
<div class="c-toc__panel" id="js-toc-panel">
{{ all_content | toc | safe }}
Expand Down
16 changes: 7 additions & 9 deletions docs/src/_includes/components/nav-version-switcher.html
@@ -1,23 +1,21 @@
<!-- only displayed in mobile; be sure to update version-switcher.html too -->
<div class="version-switcher">
<a href="/versions/" class="switcher-fallback">Versions</a>

<div hidden role="region" class="switcher switcher--version" aria-labelledby="nav-version-switcher-label" id="nav-version-switcher">
<span id="nav-version-switcher-label" hidden>Language Switcher</span>
<div class="infobox visually-hidden" id="nav-version-infobox">
Selecting a language will take you to the ESLint Web site in that language.
<span id="version-switcher-label" hidden>Version Switcher</span>
nzakas marked this conversation as resolved.
Show resolved Hide resolved
<div class="infobox visually-hidden" id="version-infobox">
nzakas marked this conversation as resolved.
Show resolved Hide resolved
Selecting a version will take you to the chosen version of the ESLint docs.
</div>

<label class="switcher__label label--block" for="version-select">
Version
<span class="label__text">Version</span>
</label>
<select name="version selector" id="nav-version-select" aria-describedby="version-infobox" class="c-custom-select switcher__select auto-switcher">
nzakas marked this conversation as resolved.
Show resolved Hide resolved
<option value="{{ eslintVersion }}" selected>
v{{ eslintVersion }}
</option>
<option value="{{ eslintVersion }}" selected>v{{ eslintVersion }}</option>
{% for version in versions.items %}
<option value="{{ version.number }}"
data-url="{{ version.url }}"
{% if config.version == version.number %} selected {% endif %}>
data-url="{{ version.url }}">
v{{ version.number }}
</option>
{% endfor %}
Expand Down
3 changes: 1 addition & 2 deletions docs/src/_includes/components/navigation.html
@@ -1,6 +1,6 @@
<nav class="docs-site-nav" aria-label="Main">
<div class="flexer">
<a href="https://eslint.org/donate" class="c-btn c-btn--primary donate-link">Donate</a>
<a href="/" class="c-btn c-btn--primary donate-link">Donate</a>
nzakas marked this conversation as resolved.
Show resolved Hide resolved
<button class="docs-site-nav-toggle" aria-label="Menu" id="nav-toggle" hidden>
<svg width="20" height="20" viewBox="20 20 60 60">
<path id="ham-top" d="M30,37 L70,37 Z" stroke="currentColor"></path>
Expand All @@ -19,7 +19,6 @@
</ul>
<div class="mobile-only">
{% include 'components/nav-version-switcher.html' %}
{% include 'components/nav-search.html' %}
</div>
</div>
</nav>
6 changes: 3 additions & 3 deletions docs/src/_includes/components/rule.macro.html
Expand Up @@ -7,7 +7,7 @@
<span class="rule__status">deprecated</span>
</p>
{%- if params.replacedBy|length -%}
<p class="rule__description">Replaced by <a href="{{ '/rules' | url }}/{{ params.replacedBy }}"><code>{{ params.replacedBy }}</code></a></p>
<p class="rule__description">Replaced by <a href="{{ ['/rules/', params.replacedBy] | join | url }}"><code>{{ params.replacedBy }}</code></a></p>
{%- else -%}<p class="rule__description">{{ params.description }}</p>
{%- endif -%}
{%- elseif params.removed == true -%}
Expand All @@ -16,11 +16,11 @@
<span class="rule__status">removed</span>
</p>
{%- if params.replacedBy -%}
<p class="rule__description">Replaced by <a href="{{ '/rules' | url }}/{{ params.replacedBy }}"><code>{{ params.replacedBy }}</code></a></p>
<p class="rule__description">Replaced by <a href="{{ ['/rules/', params.replacedBy] | join | url }}"><code>{{ params.replacedBy }}</code></a></p>
{%- else -%}<p class="rule__description">{{ params.description }}</p>
{%- endif -%}
{%- else -%}
<a href="{{ '/rules' | url }}/{{ params.name }}" class="rule__name">{{ params.name }}</a>
<a href="{{ ['/rules/', params.name] | join | url }}" class="rule__name">{{ params.name }}</a>
<p class="rule__description">{{ params.description }}</p>
{%- endif -%}
</div>
Expand Down
24 changes: 17 additions & 7 deletions docs/src/_includes/components/search.html
@@ -1,12 +1,22 @@
<div role="region" aria-labelledby="search-label" class="search">
<label for="search" class="label--block">
<span class="label__text" id="search-label">Search</span>
<div class="search__input-wrapper">
<svg class="search__icon" width="20" height="20" viewBox="0 0 20 20" fill="none" aria-hidden="true" focusable="false">
<path d="M17.5 17.5L13.875 13.875M15.8333 9.16667C15.8333 12.8486 12.8486 15.8333 9.16667 15.8333C5.48477 15.8333 2.5 12.8486 2.5 9.16667C2.5 5.48477 5.48477 2.5 9.16667 2.5C12.8486 2.5 15.8333 5.48477 15.8333 9.16667Z" stroke="currentColor" stroke-width="1.66667" stroke-linecap="round" stroke-linejoin="round" />
</svg>
<input type="search" id="search" class="search__input" autocomplete="off">
</div>
</label>
<div id="search-results"></div>
<div class="search__input-wrapper">
<svg class="search__icon" width="20" height="20" viewBox="0 0 20 20" fill="none" aria-hidden="true" focusable="false">
<path d="M17.5 17.5L13.875 13.875M15.8333 9.16667C15.8333 12.8486 12.8486 15.8333 9.16667 15.8333C5.48477 15.8333 2.5 12.8486 2.5 9.16667C2.5 5.48477 5.48477 2.5 9.16667 2.5C12.8486 2.5 15.8333 5.48477 15.8333 9.16667Z" stroke="currentColor" stroke-width="1.66667" stroke-linecap="round" stroke-linejoin="round" />
</svg>
<p class="visually-hidden" id="search-hint">Results will be shown and updated as you type.</p>
<div class="search__inner-input-wrapper">
<input type="search" id="search" class="search__input" autocomplete="off" aria-describedby="search-hint" pattern="\S+">
<button class="search__clear-btn" id="search__clear-btn" hidden>
<span class="visually-hidden">Clear search</span>
<svg width="12" height="12" viewBox="0 0 12 12" fill="none" aria-hidden="true" focusable="false">
<path d="M9 3L3 9M3 3L9 9" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" />
</svg>
</button>
</div>
</div>
<div id="search-results-announcement" class="visually-hidden" aria-live="polite" aria-atomic="true"></div>
<div id="search-results" class="search-results"></div>
</div>
10 changes: 5 additions & 5 deletions docs/src/_includes/components/theme-switcher.html
@@ -1,13 +1,13 @@
<div role="region" class="theme-switcher" aria-labelledby="theme-switcher-label" id="js-theme-switcher" hidden>
<h2 class="theme-switcher-label" id="theme-switcher-label">Theme <span class="visually-hidden">Switcher</span></h2>
<h2 class="theme-switcher-label visually-hidden" id="theme-switcher-label">Theme <span class="visually-hidden">Switcher</span></h2>
<div class="theme-switcher__buttons">
<button class="theme-switcher__button js-toggle-button" id="light-theme-toggle" data-theme="light">
<span class="visually-hidden">Light</span>
<svg class="theme-switcher__icon" focusable="false" width="22" height="22" role="img" aria-label="Sun" viewBox="0 0 100 100" aria-hidden="true"><g transform="translate(0,-952.36218)"><path d="m 50,955.36218 c 1.6568,0 3,1.3431 3,3 l 0,16 c 0,1.6569 -1.3432,3 -3,3 -1.6569,0 -3,-1.3431 -3,-3 l 0,-16 c 0,-1.6569 1.3431,-3 3,-3 z m 31.125,12.875 c 0.76777,0 1.50798,0.3205 2.09375,0.9062 1.17159,1.1717 1.17157,3.0472 0,4.2188 l -11.3125,11.3125 c -1.17157,1.1716 -3.04714,1.1716 -4.21875,0 -1.17153,-1.1715 -1.17158,-3.0472 0,-4.2187 L 79,969.14338 c 0.58579,-0.5857 1.35723,-0.9062 2.125,-0.9062 z m -62.25,0 c 0.76777,0 1.53921,0.3205 2.125,0.9062 l 11.3125,11.3126 c 1.17158,1.1715 1.17153,3.0472 0,4.2187 -1.17161,1.1716 -3.04718,1.1716 -4.21875,0 l -11.3125,-11.3125 c -1.17157,-1.1716 -1.17159,-3.0471 0,-4.2188 0.58577,-0.5857 1.32598,-0.9062 2.09375,-0.9062 z M 50,983.36218 c 10.45786,0 19,8.5422 19,19.00002 0,10.4579 -8.54214,19 -19,19 -10.45784,0 -19,-8.5421 -19,-19 0,-10.45792 8.54216,-19.00002 19,-19.00002 z m 0,6 c -7.21516,0 -13,5.7848 -13,13.00002 0,7.2152 5.78484,13 13,13 7.21518,0 13,-5.7848 13,-13 0,-7.21522 -5.78482,-13.00002 -13,-13.00002 z m 44,10 c 1.65686,0 2.99999,1.34322 3,3.00002 -1e-5,1.6569 -1.34315,3 -3,3 l -16,0 c -1.65685,0 -3,-1.3431 -3,-3 0,-1.6568 1.34316,-3.00002 3,-3.00002 l 16,0 z m -72,0 c 1.65684,0 3,1.34322 3,3.00002 0,1.6569 -1.34315,3 -3,3 l -16,0 c -1.65685,0 -2.99999,-1.3431 -3,-3 1e-5,-1.6568 1.34314,-3.00002 3,-3.00002 l 16,0 z m 47.8125,19.81252 c 0.76777,0 1.50797,0.2892 2.09375,0.875 l 11.3125,11.3125 c 1.17158,1.1716 1.17152,3.0472 0,4.2188 -1.1716,1.1715 -3.04718,1.1715 -4.21875,0 l -11.3125,-11.3126 c -1.17157,-1.1715 -1.1716,-3.0471 0,-4.2187 0.58577,-0.5858 1.35723,-0.875 2.125,-0.875 z m -39.625,0 c 0.76777,0 1.53923,0.2892 2.125,0.875 1.1716,1.1716 1.17157,3.0472 0,4.2187 L 21,1035.581 c -1.17157,1.1715 -3.04715,1.1715 -4.21875,0 -1.17152,-1.1716 -1.17158,-3.0472 0,-4.2188 l 11.3125,-11.3125 c 0.58578,-0.5858 1.32598,-0.875 2.09375,-0.875 z M 50,1027.3622 c 1.6568,0 3,1.3431 3,3 l 0,16 c 0,1.6569 -1.3432,3 -3,3 -1.6569,0 -3,-1.3431 -3,-3 l 0,-16 c 0,-1.6569 1.3431,-3 3,-3 z" fill="currentColor" fill-opacity="1" stroke="none"></path></g></svg>
<svg class="theme-switcher__icon" focusable="false" width="22" height="22" viewBox="0 0 100 100" aria-hidden="true" focusable="false"><g transform="translate(0,-952.36218)"><path d="m 50,955.36218 c 1.6568,0 3,1.3431 3,3 l 0,16 c 0,1.6569 -1.3432,3 -3,3 -1.6569,0 -3,-1.3431 -3,-3 l 0,-16 c 0,-1.6569 1.3431,-3 3,-3 z m 31.125,12.875 c 0.76777,0 1.50798,0.3205 2.09375,0.9062 1.17159,1.1717 1.17157,3.0472 0,4.2188 l -11.3125,11.3125 c -1.17157,1.1716 -3.04714,1.1716 -4.21875,0 -1.17153,-1.1715 -1.17158,-3.0472 0,-4.2187 L 79,969.14338 c 0.58579,-0.5857 1.35723,-0.9062 2.125,-0.9062 z m -62.25,0 c 0.76777,0 1.53921,0.3205 2.125,0.9062 l 11.3125,11.3126 c 1.17158,1.1715 1.17153,3.0472 0,4.2187 -1.17161,1.1716 -3.04718,1.1716 -4.21875,0 l -11.3125,-11.3125 c -1.17157,-1.1716 -1.17159,-3.0471 0,-4.2188 0.58577,-0.5857 1.32598,-0.9062 2.09375,-0.9062 z M 50,983.36218 c 10.45786,0 19,8.5422 19,19.00002 0,10.4579 -8.54214,19 -19,19 -10.45784,0 -19,-8.5421 -19,-19 0,-10.45792 8.54216,-19.00002 19,-19.00002 z m 0,6 c -7.21516,0 -13,5.7848 -13,13.00002 0,7.2152 5.78484,13 13,13 7.21518,0 13,-5.7848 13,-13 0,-7.21522 -5.78482,-13.00002 -13,-13.00002 z m 44,10 c 1.65686,0 2.99999,1.34322 3,3.00002 -1e-5,1.6569 -1.34315,3 -3,3 l -16,0 c -1.65685,0 -3,-1.3431 -3,-3 0,-1.6568 1.34316,-3.00002 3,-3.00002 l 16,0 z m -72,0 c 1.65684,0 3,1.34322 3,3.00002 0,1.6569 -1.34315,3 -3,3 l -16,0 c -1.65685,0 -2.99999,-1.3431 -3,-3 1e-5,-1.6568 1.34314,-3.00002 3,-3.00002 l 16,0 z m 47.8125,19.81252 c 0.76777,0 1.50797,0.2892 2.09375,0.875 l 11.3125,11.3125 c 1.17158,1.1716 1.17152,3.0472 0,4.2188 -1.1716,1.1715 -3.04718,1.1715 -4.21875,0 l -11.3125,-11.3126 c -1.17157,-1.1715 -1.1716,-3.0471 0,-4.2187 0.58577,-0.5858 1.35723,-0.875 2.125,-0.875 z m -39.625,0 c 0.76777,0 1.53923,0.2892 2.125,0.875 1.1716,1.1716 1.17157,3.0472 0,4.2187 L 21,1035.581 c -1.17157,1.1715 -3.04715,1.1715 -4.21875,0 -1.17152,-1.1716 -1.17158,-3.0472 0,-4.2188 l 11.3125,-11.3125 c 0.58578,-0.5858 1.32598,-0.875 2.09375,-0.875 z M 50,1027.3622 c 1.6568,0 3,1.3431 3,3 l 0,16 c 0,1.6569 -1.3432,3 -3,3 -1.6569,0 -3,-1.3431 -3,-3 l 0,-16 c 0,-1.6569 1.3431,-3 3,-3 z" fill="currentColor" fill-opacity="1" stroke="none"></path></g></svg>
nzakas marked this conversation as resolved.
Show resolved Hide resolved
<span>Light</span>
</button>
<button class="theme-switcher__button js-toggle-button" id="dark-theme-toggle" data-theme="dark">
<span class="visually-hidden">Dark</span>
<svg class="theme-switcher__icon" focusable="false" width="22" height="22" role="img" aria-label="Moon" viewBox="0 0 100 100" aria-hidden="true"><g transform="translate(0,-952.36218)"><path d="m 35.377874,961.36325 a 3.0003,3.0003 0 0 0 -0.9063,0.1875 c -16.1759,5.9947 -25.4686997,21.7109 -25.4686997,39.59375 0,23.2769 18.9104997,42.2187 42.1873997,42.2187 17.8829,0 33.6304,-9.324 39.625,-25.5 a 3.0003,3.0003 0 0 0 -3.9374,-3.8125 c -4.0936,1.6462 -8.5949,2.5 -13.3438,2.5 -19.5969,0 -37.7188,-18.15315 -37.7188,-37.74995 0,-4.7489 0.8226,-9.2504 2.4688,-13.3437 a 3.0003,3.0003 0 0 0 -2.9062,-4.0938 z m -4.6563,8.7188 c -0.5822,2.8241 -0.9063,5.7363 -0.9063,8.7187 0,23.21085 20.5079,43.74995 43.7188,43.74995 2.9824,0 5.8946,-0.3553 8.7188,-0.9375 -6.2657,10.0487 -17.6431,15.75 -31.0626,15.75 -20.0342,0 -36.1874,-16.1844 -36.1874,-36.2187 0,-13.42105 5.6679,-24.79725 15.7187,-31.06245 z" fill="currentColor" fill-opacity="1" stroke="none"></path></g></svg>
<svg class="theme-switcher__icon" focusable="false" width="22" height="22" viewBox="0 0 100 100" aria-hidden="true" focusable="false"><g transform="translate(0,-952.36218)"><path d="m 35.377874,961.36325 a 3.0003,3.0003 0 0 0 -0.9063,0.1875 c -16.1759,5.9947 -25.4686997,21.7109 -25.4686997,39.59375 0,23.2769 18.9104997,42.2187 42.1873997,42.2187 17.8829,0 33.6304,-9.324 39.625,-25.5 a 3.0003,3.0003 0 0 0 -3.9374,-3.8125 c -4.0936,1.6462 -8.5949,2.5 -13.3438,2.5 -19.5969,0 -37.7188,-18.15315 -37.7188,-37.74995 0,-4.7489 0.8226,-9.2504 2.4688,-13.3437 a 3.0003,3.0003 0 0 0 -2.9062,-4.0938 z m -4.6563,8.7188 c -0.5822,2.8241 -0.9063,5.7363 -0.9063,8.7187 0,23.21085 20.5079,43.74995 43.7188,43.74995 2.9824,0 5.8946,-0.3553 8.7188,-0.9375 -6.2657,10.0487 -17.6431,15.75 -31.0626,15.75 -20.0342,0 -36.1874,-16.1844 -36.1874,-36.2187 0,-13.42105 5.6679,-24.79725 15.7187,-31.06245 z" fill="currentColor" fill-opacity="1" stroke="none"></path></g></svg>
nzakas marked this conversation as resolved.
Show resolved Hide resolved
<span>Dark</span>
</button>
</div>
</div>