@trimble-oss/modus-docs-hugo-theme 1.0.0-alpha1 → 1.0.0-alpha10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (88) hide show
  1. package/README.md +2 -6
  2. package/assets/{styles → css}/_article.scss +13 -0
  3. package/assets/css/_navbar-search.scss +54 -0
  4. package/assets/{styles → css}/_navbar.scss +4 -0
  5. package/assets/{styles → css}/_skippy.scss +1 -1
  6. package/assets/css/_tables.scss +34 -0
  7. package/assets/{styles → css}/_was-this-page-helpful.scss +1 -1
  8. package/assets/js/theme-toggle.js +1 -0
  9. package/data/navbar_apps.yml +8 -4
  10. package/layouts/_default/_markup/render-link.html +3 -3
  11. package/layouts/_default/baseof.html +6 -3
  12. package/layouts/_default/redirect.html +1 -1
  13. package/layouts/_default/single.html +3 -3
  14. package/layouts/index.json +1 -1
  15. package/layouts/partials/analytics.html +6 -3
  16. package/layouts/partials/blog-brief.html +4 -4
  17. package/layouts/partials/blog-share.html +6 -6
  18. package/layouts/partials/btn-theme-toggle.html +3 -2
  19. package/layouts/partials/col-sidebar-menu.html +1 -1
  20. package/layouts/partials/col-sidebar.html +13 -10
  21. package/layouts/partials/icons/brands/codepen.svg +1 -1
  22. package/layouts/partials/icons/brands/facebook-square.svg +1 -1
  23. package/layouts/partials/icons/brands/github-alt.svg +1 -1
  24. package/layouts/partials/icons/brands/github.svg +1 -1
  25. package/layouts/partials/icons/brands/linkedin.svg +1 -1
  26. package/layouts/partials/icons/brands/vimeo-square.svg +1 -1
  27. package/layouts/partials/icons/modus-outlined/accessibility-circle.svg +1 -1
  28. package/layouts/partials/icons/modus-outlined/arrow-up.svg +1 -1
  29. package/layouts/partials/icons/modus-outlined/bar-graph-square.svg +1 -1
  30. package/layouts/partials/icons/modus-outlined/code.svg +3 -0
  31. package/layouts/partials/icons/modus-outlined/launch.svg +1 -1
  32. package/layouts/partials/icons/modus-outlined/menu.svg +1 -1
  33. package/layouts/partials/icons/modus-outlined/more-vertical.svg +1 -1
  34. package/layouts/partials/icons/modus-outlined/person-account.svg +1 -1
  35. package/layouts/partials/icons/modus-outlined/search.svg +1 -1
  36. package/layouts/partials/icons/modus-outlined/sync.svg +1 -1
  37. package/layouts/partials/icons/modus-outlined/thumbs-down.svg +1 -1
  38. package/layouts/partials/icons/modus-outlined/thumbs-up.svg +1 -1
  39. package/layouts/partials/icons/modus-outlined/web.svg +1 -1
  40. package/layouts/partials/icons/modus-solid/code.svg +3 -0
  41. package/layouts/partials/icons/modus-solid/email.svg +1 -1
  42. package/layouts/partials/icons/modus-solid/menu.svg +3 -0
  43. package/layouts/partials/icons/modus-solid/palette.svg +1 -1
  44. package/layouts/partials/icons/modus-solid/trimble-logo.svg +3 -0
  45. package/layouts/partials/icons/modus-solid/user-guide.svg +3 -0
  46. package/layouts/partials/icons/transportation/truck.svg +1 -1
  47. package/layouts/partials/logos/trimble.svg +1 -1
  48. package/layouts/partials/meta.html +19 -9
  49. package/layouts/partials/navbar-dropdown.html +4 -2
  50. package/layouts/partials/navbar-search.html +3 -3
  51. package/layouts/partials/navbar.html +14 -10
  52. package/layouts/partials/skippy.html +4 -4
  53. package/layouts/partials/was-this-page-helpful.html +5 -3
  54. package/layouts/shortcodes/example.html +2 -2
  55. package/package.json +20 -14
  56. package/static/img/icons/check-circle-outlined.svg +1 -0
  57. package/static/img/icons/code.svg +1 -0
  58. package/static/img/icons/github.svg +1 -0
  59. package/static/img/icons/trimble.svg +1 -0
  60. package/static/img/icons/web-components.svg +1 -0
  61. package/assets/styles/_navbar-search.scss +0 -53
  62. package/assets/styles/_tables.scss +0 -5
  63. package/layouts/index.rss.xml +0 -49
  64. package/layouts/partials/icons/trimble-logo.svg +0 -1
  65. package/static/js/theme-toggle.js +0 -48
  66. /package/assets/{styles → css}/_autocomplete.scss +0 -0
  67. /package/assets/{styles → css}/_cards.scss +0 -0
  68. /package/assets/{styles → css}/_codefences-dark.scss +0 -0
  69. /package/assets/{styles → css}/_codefences.scss +0 -0
  70. /package/assets/{styles → css}/_col-sidebar.scss +0 -0
  71. /package/assets/{styles → css}/_font-open-sans.scss +0 -0
  72. /package/assets/{styles → css}/_footer.scss +0 -0
  73. /package/assets/{styles → css}/_javascript-disabled.scss +0 -0
  74. /package/assets/{styles → css}/_list-js.scss +0 -0
  75. /package/assets/{styles → css}/_menu-right.scss +0 -0
  76. /package/assets/{styles → css}/_mobile.scss +0 -0
  77. /package/assets/{styles → css}/_news.scss +0 -0
  78. /package/assets/{styles → css}/_onetrust-cookie-banner.scss +0 -0
  79. /package/assets/{styles → css}/_posts.scss +0 -0
  80. /package/assets/{styles → css}/_print.scss +0 -0
  81. /package/assets/{styles → css}/_scroll-to-top-btn.scss +0 -0
  82. /package/assets/{styles → css}/_sidebar.scss +0 -0
  83. /package/assets/{styles → css}/_theme-dark.scss +0 -0
  84. /package/assets/{styles → css}/_theme-light.scss +0 -0
  85. /package/assets/{styles → css}/_theme-toggle.scss +0 -0
  86. /package/assets/{styles → css}/_utilities.scss +0 -0
  87. /package/assets/{styles → css}/_xxl.scss +0 -0
  88. /package/assets/{styles/styles.scss → css/modus-docs.scss} +0 -0
package/README.md CHANGED
@@ -8,12 +8,8 @@ Status: Alpha. This theme is currently under development and is not yet ready fo
8
8
 
9
9
  1. Add this repo to your package.json as follows:
10
10
 
11
- ```json
12
- {
13
- "dependencies": {
14
- "modus-docs-hugo-theme": "git+github.com:trimble-oss/modus-docs-hugo-theme.git"
15
- }
16
- }
11
+ ```bash
12
+ npm i @trimble-oss/modus-docs-hugo-theme --save-dev
17
13
  ```
18
14
 
19
15
  2. Add the following mounts to your Hugo config:
@@ -14,6 +14,11 @@ h5:hover .header-link {
14
14
  transition: 0.3s all;
15
15
  }
16
16
 
17
+ .header-link:focus-visible {
18
+ opacity: 1;
19
+ pointer-events: visible;
20
+ }
21
+
17
22
  // title of article shouldn't have margin-top
18
23
  main article h2.h1:first-of-type {
19
24
  margin-top: 0 !important;
@@ -76,6 +81,10 @@ a.header-link::after {
76
81
  display: inline-block;
77
82
  }
78
83
 
84
+ #main {
85
+ max-width: 1090px;
86
+ }
87
+
79
88
  .docs-callout {
80
89
  margin-top: 1.25rem;
81
90
  margin-bottom: 1.25rem;
@@ -108,3 +117,7 @@ article .nav-tabs .nav-link::after {
108
117
  background-image: none !important;
109
118
  width: 0 !important;
110
119
  }
120
+
121
+ article table {
122
+ width: 100%;
123
+ }
@@ -0,0 +1,54 @@
1
+ .search-container {
2
+ width: 40px;
3
+ left: -12px;
4
+ }
5
+
6
+ .form-control-search {
7
+ background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m16.38 14.92-.66.05-.41-.41c2.44-2.81 2.28-7.1-.5-9.7S7.8 2.4 5.17 4.94a6.988 6.988 0 0 0-.08 9.98c2.61 2.61 6.77 2.72 9.52.34l.41.41-.05.65 3.89 3.89a.996.996 0 1 0 1.41-1.41l-3.88-3.88Zm-2.81-1.41a5.016 5.016 0 0 1-7.08 0c-1.95-1.95-1.95-5.13 0-7.08s5.13-1.95 7.08 0 1.95 5.13 0 7.08Z'/%3E%3C/svg%3E");
8
+ background-position: 5px center;
9
+ background-repeat: no-repeat;
10
+ background-size: 20px;
11
+ border-left: 0;
12
+ border-right: 0;
13
+ padding: 0;
14
+ width: 0 !important;
15
+ z-index: 1210;
16
+ transition: all 0.2s;
17
+ left: auto;
18
+ top: 10px;
19
+ right: 5px;
20
+ }
21
+
22
+ .form-control-search:focus {
23
+ width: 363px !important;
24
+ max-width: calc(100vw - 200px);
25
+ text-indent: 18px;
26
+ padding: 0 4px 4px 16px;
27
+ visibility: visible;
28
+ }
29
+
30
+ .form-control-search:focus + .btn-search {
31
+ transition: all 1s;
32
+ background-color: transparent;
33
+ pointer-events: none !important;
34
+ }
35
+
36
+ .form-control-search:focus + .btn-search img {
37
+ opacity: 0;
38
+ }
39
+
40
+ .btn-search {
41
+ top: 0;
42
+ }
43
+
44
+ .btn-search i {
45
+ margin-top: 18px;
46
+ }
47
+
48
+ [data-bs-theme="dark"] .form-control-search {
49
+ background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 24 24'%3E%3Cpath d='m16.38 14.92-.66.05-.41-.41c2.44-2.81 2.28-7.1-.5-9.7S7.8 2.4 5.17 4.94a6.988 6.988 0 0 0-.08 9.98c2.61 2.61 6.77 2.72 9.52.34l.41.41-.05.65 3.89 3.89a.996.996 0 1 0 1.41-1.41l-3.88-3.88Zm-2.81-1.41a5.016 5.016 0 0 1-7.08 0c-1.95-1.95-1.95-5.13 0-7.08s5.13-1.95 7.08 0 1.95 5.13 0 7.08Z'/%3E%3C/svg%3E") !important;
50
+ }
51
+
52
+ [data-bs-theme="dark"] .btn-search img {
53
+ filter: invert(1);
54
+ }
@@ -3,3 +3,7 @@ html[data-bs-theme="dark"] {
3
3
  filter: invert(1);
4
4
  }
5
5
  }
6
+
7
+ .navbar-site-title {
8
+ margin-top: 12px;
9
+ }
@@ -8,7 +8,7 @@
8
8
  outline: 1px dotted;
9
9
  }
10
10
 
11
- .sr-only-focusable:focus {
11
+ .visually-hidden-focusable:focus {
12
12
  top: 0 !important;
13
13
  margin-bottom: 30px;
14
14
  z-index: 22222;
@@ -0,0 +1,34 @@
1
+ main table {
2
+ width: 100%;
3
+ margin-bottom: 1rem;
4
+ border: 1px solid rgba(133, 133, 133, 0.1);
5
+ vertical-align: top;
6
+
7
+ // border-color: var(--bs-table-border-color);
8
+ }
9
+
10
+ main table thead th {
11
+ vertical-align: middle;
12
+ line-height: 1.25;
13
+ border-bottom-width: 1px;
14
+ }
15
+
16
+ main table thead tr {
17
+ background-color: rgba(133, 133, 133, 0.1);
18
+ }
19
+
20
+ main table td {
21
+ font-size: 0.875rem;
22
+ vertical-align: middle;
23
+ }
24
+
25
+ .table-bordered > :not(caption) > * > * {
26
+ border-width: 0 var(--bs-border-width);
27
+ }
28
+
29
+ table > :not(caption) > * > * {
30
+ padding: 0.25rem 1rem;
31
+ background-color: var(--bs-table-bg);
32
+ border-bottom-width: var(--bs-border-width);
33
+ box-shadow: inset 0 0 0 9999px var(--bs-table-accent-bg);
34
+ }
@@ -1,5 +1,5 @@
1
1
  .feedback {
2
- border-color: #90939f !important;
2
+ border-color: #90939f;
3
3
  }
4
4
 
5
5
  .btn-feedback {
@@ -1,3 +1,4 @@
1
+ // script adapted from Adam Argyle's tutorial: https://web.dev/building-a-theme-switch-component/
1
2
  (() => {
2
3
  'use strict';
3
4
 
@@ -1,15 +1,19 @@
1
+ - title: Modus Style Guide
2
+ icon: "/img/icons/trimble.svg"
3
+ url: "https://modus.trimble.com/"
4
+
1
5
  - title: Modus Web Components
2
- icon: ""
6
+ icon: "/img/icons/web-components.svg"
3
7
  url: "https://modus-web-components.trimble.com/"
4
8
 
5
9
  - title: Modus Icons
6
- icon: ""
10
+ icon: "/img/icons/check-circle-outlined.svg"
7
11
  url: "https://modus-icons.trimble.com"
8
12
 
9
13
  - title: Modus Bootstrap
10
- icon: ""
14
+ icon: "/img/icons/code.svg"
11
15
  url: "https://modus-bootstrap.trimble.com/"
12
16
 
13
17
  - title: Modus on GitHub
14
- icon: ""
18
+ icon: "/img/icons/github.svg"
15
19
  url: "https://github.com/trimble-oss/?q=modus&type=all&language=&sort=stargazers"
@@ -1,4 +1,4 @@
1
- <a href="{{ .Destination | safeURL }}" {{ with .Title}} title="{{ . }}"
2
- {{- end -}}{{ if strings.HasPrefix .Destination "http" }} target="_blank" rel="noopener" {{ end }}>
1
+ <a href="{{ .Destination | safeURL }}" {{ with .Title}} title="{{- . -}}"
2
+ {{- end -}}{{ if strings.HasPrefix .Destination "http" }} target="_blank" rel="noopener" {{- end -}}>
3
3
  {{- .Text | safeHTML -}}
4
- </a>
4
+ </a>
@@ -1,5 +1,6 @@
1
1
  <!doctype html>
2
- <html lang="en-US" class="h-100 no-js {{ with .Page.Params.html_class }}{{ . -}}{{- end -}}">
2
+ <html lang="{{ with .Site.LanguageCode }}{{- . -}}{{ else }}en-US{{- end -}}"
3
+ class="h-100 no-js {{ with .Page.Params.html_class }}{{ . -}}{{- end -}}">
3
4
 
4
5
  <head>
5
6
  {{ partial "meta" . }}
@@ -7,6 +8,7 @@
7
8
 
8
9
  <body data-url="{{ .RelPermalink }}" class="overflow-x-hidden {{ with .Page.Params.body_class -}}{{ . -}}{{- end -}}"
9
10
  {{ if not .Params.disableScrollSpy }}{{- end -}}>
11
+ {{ partial "skippy" . }}
10
12
  {{ if not .Params.NavbarFalse }}{{ partial "navbar" . }}{{ end }}
11
13
  {{ block "body" . }}{{ block "main" . }}
12
14
  {{- end -}}
@@ -36,6 +38,8 @@
36
38
  const popoverTriggerList = document.querySelectorAll('[data-bs-toggle="popover"]')
37
39
  const popoverList = [...popoverTriggerList].map(popoverTriggerEl => new bootstrap.Popover(popoverTriggerEl))
38
40
  </script>
41
+
42
+ {{- if not .IsHome -}}
39
43
  <script>
40
44
  // Disable all links with #
41
45
  var links = document.querySelectorAll('a[href="#"]');
@@ -47,7 +51,6 @@
47
51
  });
48
52
  });
49
53
  </script>
50
- {{- if not .IsHome -}}
51
54
  <script>
52
55
  // Change Submit buttons within docs examples to type=button
53
56
  var article = document.querySelector('article');
@@ -62,4 +65,4 @@
62
65
  {{- end -}}
63
66
  </body>
64
67
 
65
- </html>
68
+ </html>
@@ -1,5 +1,5 @@
1
1
  <!doctype html>
2
- <html lang="en">
2
+ <html lang="{{ with .Site.LanguageCode }}{{- . -}}{{ else }}en-US{{- end -}}">
3
3
 
4
4
  <head>
5
5
  <meta charset="utf-8">
@@ -17,7 +17,7 @@
17
17
 
18
18
  {{ partial "header" . }}
19
19
 
20
- <main class="container mx-auto mt-5" style="max-width: 1090px;">
20
+ <main class="container mx-auto mt-5" id="main">
21
21
  <div class="row">
22
22
  <div class="col-12 col-xl-9">
23
23
  {{ if .Params.blog }}
@@ -28,7 +28,7 @@
28
28
  <div class="mx-3">
29
29
  <img src="/img/author/{{ .Params.author | urlize }}.jpg"
30
30
  class="bg-light rounded-circle mx-auto text-center border" height="44" width="44"
31
- alt="{{ .Params.author }}">
31
+ alt="{{- .Params.author -}}">
32
32
  </div>
33
33
  <div>
34
34
  <div class="text-body fw-bold">
@@ -110,4 +110,4 @@
110
110
 
111
111
  </div>
112
112
  </div>
113
- {{ end }}
113
+ {{ end }}
@@ -6,7 +6,7 @@
6
6
  {{- if and $index (gt $index 0) -}},{{- end }}
7
7
  {
8
8
  "uri": "{{- $page.Permalink -}}",
9
- "title": "{{- htmlEscape $page.Title }} {{ if in .Params.tags "in-field" }}(In-Field){{end}}{{ if .Params.componentsWeb }}(Web){{end}}{{ if in .Params.tags "xr" }}(XR){{end}}{{ if in .Params.tags "mobile" }}(Mobile){{end}}",
9
+ "title": "{{- htmlEscape $page.Title -}}",
10
10
  "tags": [{{ range $tindex, $tag := $page.Params.tags }}{{ if $tindex }}, {{ end }}"{{ $tag| htmlEscape }}"{{ end }}],
11
11
  "description": "{{- htmlEscape .Description -}}",
12
12
  "content": {{- $page.Plain | jsonify -}}
@@ -1,9 +1,12 @@
1
1
  {{- if not .Site.IsServer -}}
2
2
 
3
- <!--
4
- <script defer data-domain="yourdomain.com" src="https://plausible.io/js/script.js"></script>
3
+ {{ template "_internal/google_analytics.html" . }}
4
+
5
+ {{- with .Site.Params.PlausibleAnalyticsDomain -}}
6
+ <script defer data-domain="{{- . -}}" src="https://plausible.io/js/script.outbound-links.js"></script>
5
7
  <script>
6
8
  window.plausible = window.plausible || function () { (window.plausible.q = window.plausible.q || []).push(arguments) }
7
9
  </script>
8
- -->
10
+ {{- end -}}
11
+
9
12
  {{- end -}}
@@ -2,7 +2,7 @@
2
2
  <div class="col-12 col-lg-6 col-xl-4 my-3">
3
3
  <div class="card card-blog-brief h-100">
4
4
  <div class="card-header top-rounded mb-0 pb-0 border-0"
5
- style="background-image: url({{ .Params.Image | relURL }}); background-color: {{ .Params.headerBgColor }}">
5
+ style="background-image: url({{- .Params.Image | relURL -}}); background-color: {{- .Params.headerBgColor -}}">
6
6
  </div>
7
7
  <div class="card-body border-0 pb-0">
8
8
  <h3 class="card-title text-body px-2 ms-n2 name" {{ if .Params.TitleNoTranslate }}translate="no" {{- end -}}>
@@ -19,12 +19,12 @@
19
19
  <div class="card-footer bg-transparent border-0 py-0">
20
20
  <div class="d-flex mb-1">
21
21
  <div class="me-2">
22
- <img src="/img/author/{{ .Params.author | urlize }}.jpg"
22
+ <img src="/img/author/{{- .Params.author | urlize -}}.jpg"
23
23
  class="bg-light rounded-circle mx-auto text-center img-fluid ms-2" height="40" width="40"
24
- alt="{{ .Params.author }}">
24
+ alt="{{- .Params.author -}}">
25
25
  </div>
26
26
  <div>
27
- <p class="text-muted small mb-0">{{ .Params.author }}</p>
27
+ <p class="text-muted small mb-0">{{- .Params.author -}}</p>
28
28
  <p class="text-muted small">{{- .Date.Format "Jan 2, 2006" }}</p>
29
29
  </div>
30
30
  </div>
@@ -4,34 +4,34 @@
4
4
  <a href="https://twitter.com/intent/tweet?via=TrimbleCorpNews&text={{- .Title -}}&url={{- .Permalink -}}"
5
5
  class="opacity-75" title="Share on X" data-bs-toggle="tooltip"
6
6
  onclick="window.open(this.href, 'window', 'left=20,top=20,width=500,height=500,toolbar=1,resizable=0'); return false;">
7
- {{ partial "icons/brands/twitter-square.svg" (dict "class" "text-body" "width" "28" "height" "28") }}
8
- <span class="sr-only visually-hidden">X</span></a>
7
+ {{ partial "icons/brands/square-x-twitter.svg" (dict "class" "text-body" "width" "28" "height" "28") }}
8
+ <span class="visually-hidden">X</span></a>
9
9
  </div> -->
10
10
  <div class="d-inline-block me-2">
11
11
  <a href="https://www.facebook.com/sharer.php?u={{- .Permalink -}}" class="opacity-75" title="Share on Facebook"
12
12
  data-bs-toggle="tooltip" data-bs-placement="top"
13
13
  onclick="window.open(this.href, 'window', 'left=20,top=20,width=500,height=500,toolbar=1,resizable=0'); return false;">
14
14
  {{- partial "icons/brands/facebook-square.svg" (dict "class" "text-body" "width" "28" "height" "28") -}}
15
- <span class="sr-only visually-hidden">Facebook</span></a>
15
+ <span class="visually-hidden">Facebook</span></a>
16
16
  </div>
17
17
  <div class="d-inline-block me-2">
18
18
  <a href="https://www.linkedin.com/shareArticle?mini=true&url={{- .Permalink -}}&title={{- .Title -}}&summary={{- .Summary -}}"
19
19
  class="opacity-75" title="Share on LinkedIn" data-bs-toggle="tooltip" data-bs-placement="top"
20
20
  onclick="window.open(this.href, 'window', 'left=20,top=20,width=500,height=500,toolbar=1,resizable=0'); return false;">
21
21
  {{ partial "icons/brands/linkedin.svg" (dict "class" "text-body" "width" "28" "height" "28") }}
22
- <span class="sr-only visually-hidden">LinkedIn</span></a>
22
+ <span class="visually-hidden">LinkedIn</span></a>
23
23
  </div>
24
24
  <!-- <div class="d-inline-block me-2">
25
25
  <a href="mailto:?subject={{- .Title -}}%20-%20Modus%20Style%20Guide&body=Check out this site: {{ .Permalink }}"
26
26
  class="opacity-75 bg-light" title="Share via Email" data-bs-toggle="tooltip" data-bs-placement="top"
27
27
  onclick="window.open(this.href, 'window', 'left=20,top=20,width=500,height=500,toolbar=1,resizable=0'); return false;">
28
28
  {{ partial "icons/modus-solid/email.svg" (dict "class" "text-body" "width" "28" "height" "28") }}
29
- <span class="sr-only visually-hidden">Email</span></a>
29
+ <span class="visually-hidden">Email</span></a>
30
30
  </div> -->
31
31
  <div class="d-inline-block me-2">
32
32
  <button class="opacity-75 border-0 bg-transparent btn-share-web-api p-0 d-none" title="Share"
33
33
  data-bs-toggle="tooltip" data-bs-placement="top">
34
- <span class="sr-only visually-hidden">Share</span></button>
34
+ <span class="visually-hidden">Share</span></button>
35
35
  </div>
36
36
  </div>
37
37
  </div>
@@ -1,5 +1,6 @@
1
- <button class="btn btn-lg btn-icon-only theme-toggle pt-0 border-0 mx-1" id="theme-toggle" title="Toggles light & dark"
2
- aria-label="auto" aria-live="polite" type="button" data-bs-toggle="tooltip" data-bs-placement="right">
1
+ <button class="btn btn-lg btn-icon-only btn-outline-secondary bg-transparent theme-toggle pt-0 border-0 mx-1"
2
+ id="theme-toggle" title="Toggles light & dark" aria-label="auto" aria-live="polite" type="button"
3
+ data-bs-toggle="tooltip" data-bs-placement="right">
3
4
  <svg class="sun-and-moon" aria-hidden="true" width="22" height="22" viewBox="0 0 24 24">
4
5
  <mask class="moon" id="moon-mask">
5
6
  <rect x="0" y="0" width="100%" height="100%" fill="#fff" />
@@ -12,7 +12,7 @@
12
12
  }
13
13
  </script>
14
14
 
15
- <!-- https://github.com/twbs/bootstrap/blob/v5.3.0/site/layouts/partials/docs-sidebar.html -->
15
+ <!-- https://github.com/twbs/bootstrap/blob/v5.3.2/site/layouts/partials/docs-sidebar.html -->
16
16
  <div class="">
17
17
  {{- $url := split .Permalink "/" -}}
18
18
  {{- $page_slug := index $url (sub (len $url) 2) -}}
@@ -2,24 +2,27 @@
2
2
  class="list-group d-block border-0 text-center sticky-top sticky-offset d-flex flex-column align-items-start justify-content-between"
3
3
  style="height: calc(100dvh - 66px)">
4
4
 
5
- <button class="list-group-item border-0 mt-2" type="button" data-bs-target="#sidebar" data-bs-toggle="collapse"
6
- aria-label="Expand Menu">
7
- <div class="ms-1 text-body">
8
- <svg width="24" height="24" fill="currentColor">
9
- <use xlink:href="/modus-icons.svg#user-guide" />
10
- </svg>
11
- </div>
12
- </button>
5
+ <div class="text-center mx-auto w-100">
6
+ <button class="btn btn-lg btn-outline-secondary bg-transparent list-group-item border-0 mt-1" type="button"
7
+ data-bs-target="#sidebar" data-bs-toggle="collapse" aria-label="Expand Menu"
8
+ style="width:48px; margin-left: 6px;">
9
+ <div class="text-body text-center">
10
+ {{ partial "icons/modus-solid/user-guide.svg" (dict "class" "" "width" "24" "height" "24") }}
11
+ </div>
12
+ </button>
13
+ </div>
13
14
 
14
15
  <div>
15
16
  {{- with .Site.Params.GitHubRepo -}}
16
- <a href="{{- . -}}" class="btn btn-lg btn-icon-only border-0 mx-1" target="_blank" rel="noopener"
17
- data-bs-toggle="tooltip" title="GitHub">
17
+ <a href="{{- . -}}" class="btn btn-lg btn-outline-secondary text-body bg-transparent btn-icon-only border-0 mx-1"
18
+ target="_blank" rel="noopener" data-bs-toggle="tooltip" title="GitHub">
18
19
  {{ partial "icons/brands/github.svg" (dict "class" "mt-2" "width" "22" "height" "22") }}
19
20
  </a>
20
21
  {{ end }}
21
22
 
23
+ {{- if not .Site.Params.disableThemeToggle -}}
22
24
  {{ partial "btn-theme-toggle" . }}
25
+ {{ end }}
23
26
  </div>
24
27
 
25
28
  </div>
@@ -1,2 +1,2 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" {{ with .width }} width="{{ . }}"{{ end }}{{ with .height }} height="{{ . }}"{{ end }}{{ with .class }} class="{{- . -}}"{{ end }} viewBox="0 0 26 26">
1
+ <svg xmlns="http://www.w3.org/2000/svg" {{ with .width }} width="{{- . -}}"{{ end }}{{ with .height }} height="{{- . -}}"{{ end }}{{ with .class }} class="{{- . -}}"{{ end }} viewBox="0 0 26 26">
2
2
  <path fill="currentColor" d="M13 25.2c-.2 0-.5-.1-.6-.2l-11-7.3-.3-.3v-.1c-.1-.2-.2-.4-.2-.6V9.3c0-.2.1-.4.2-.6l.3-.3 11-7.3c.4-.3.9-.3 1.3 0l11 7.3.3.3c.1.2.2.4.2.6v7.4c0 .2-.1.4-.2.6v.1l-.3.3-11 7.3c-.2.1-.5.2-.7.2zm1.2-8v4.6l7.8-5.2-3.5-2.3-4.3 2.9zm-10.1-.5l7.8 5.2v-4.6l-4.3-2.9-3.5 2.3zM9.6 13l3.4 2.3 3.4-2.3-3.4-2.3L9.6 13zm10.9 0l2.3 1.6v-3.1L20.5 13zM3.1 11.4v3.1L5.5 13l-2.4-1.6zm11.1-2.7l4.3 2.9L22 9.3l-7.8-5.2v4.6zm-10.1.6l3.5 2.3 4.3-2.9V4.1L4.1 9.3z"></path></svg>
@@ -1,2 +1,2 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" {{ with .width }} width="{{ . }}"{{ end }}{{ with .height }} height="{{ . }}"{{ end }}{{ with .class }} class="{{- . -}}"{{ end }} viewBox="0 0 448 512">
1
+ <svg xmlns="http://www.w3.org/2000/svg" {{ with .width }} width="{{- . -}}"{{ end }}{{ with .height }} height="{{- . -}}"{{ end }}{{ with .class }} class="{{- . -}}"{{ end }} viewBox="0 0 448 512">
2
2
  <path fill="currentColor" d="M400 32H48A48 48 0 0 0 0 80v352a48 48 0 0 0 48 48h137.25V327.69h-63V256h63v-54.64c0-62.15 37-96.48 93.67-96.48 27.14 0 55.52 4.84 55.52 4.84v61h-31.27c-30.81 0-40.42 19.12-40.42 38.73V256h68.78l-11 71.69h-57.78V480H400a48 48 0 0 0 48-48V80a48 48 0 0 0-48-48z"/></svg>
@@ -1 +1 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" {{ with .width }} width="{{ . }}"{{ end }}{{ with .height }} height="{{ . }}"{{ end }}{{ with .class }} class="{{- . -}}"{{ end }} viewBox="0 0 448 512"><path d="M186.1 328.7c0 20.9-10.9 55.1-36.7 55.1s-36.7-34.2-36.7-55.1 10.9-55.1 36.7-55.1 36.7 34.2 36.7 55.1zM480 278.2c0 31.9-3.2 65.7-17.5 95-37.9 76.6-142.1 74.8-216.7 74.8-75.8 0-186.2 2.7-225.6-74.8-14.6-29-20.2-63.1-20.2-95 0-41.9 13.9-81.5 41.5-113.6-5.2-15.8-7.7-32.4-7.7-48.8 0-21.5 4.9-32.3 14.6-51.8 45.3 0 74.3 9 108.8 36 29-6.9 58.8-10 88.7-10 27 0 54.2 2.9 80.4 9.2 34-26.7 63-35.2 107.8-35.2 9.8 19.5 14.6 30.3 14.6 51.8 0 16.4-2.6 32.7-7.7 48.2 27.5 32.4 39 72.3 39 114.2zm-64.3 50.5c0-43.9-26.7-82.6-73.5-82.6-18.9 0-37 3.4-56 6-14.9 2.3-29.8 3.2-45.1 3.2-15.2 0-30.1-.9-45.1-3.2-18.7-2.6-37-6-56-6-46.8 0-73.5 38.7-73.5 82.6 0 87.8 80.4 101.3 150.4 101.3h48.2c70.3 0 150.6-13.4 150.6-101.3zm-82.6-55.1c-25.8 0-36.7 34.2-36.7 55.1s10.9 55.1 36.7 55.1 36.7-34.2 36.7-55.1-10.9-55.1-36.7-55.1z"/></svg>
1
+ <svg xmlns="http://www.w3.org/2000/svg" {{ with .width }} width="{{- . -}}"{{ end }}{{ with .height }} height="{{- . -}}"{{ end }}{{ with .class }} class="{{- . -}}"{{ end }} viewBox="0 0 448 512"><path d="M186.1 328.7c0 20.9-10.9 55.1-36.7 55.1s-36.7-34.2-36.7-55.1 10.9-55.1 36.7-55.1 36.7 34.2 36.7 55.1zM480 278.2c0 31.9-3.2 65.7-17.5 95-37.9 76.6-142.1 74.8-216.7 74.8-75.8 0-186.2 2.7-225.6-74.8-14.6-29-20.2-63.1-20.2-95 0-41.9 13.9-81.5 41.5-113.6-5.2-15.8-7.7-32.4-7.7-48.8 0-21.5 4.9-32.3 14.6-51.8 45.3 0 74.3 9 108.8 36 29-6.9 58.8-10 88.7-10 27 0 54.2 2.9 80.4 9.2 34-26.7 63-35.2 107.8-35.2 9.8 19.5 14.6 30.3 14.6 51.8 0 16.4-2.6 32.7-7.7 48.2 27.5 32.4 39 72.3 39 114.2zm-64.3 50.5c0-43.9-26.7-82.6-73.5-82.6-18.9 0-37 3.4-56 6-14.9 2.3-29.8 3.2-45.1 3.2-15.2 0-30.1-.9-45.1-3.2-18.7-2.6-37-6-56-6-46.8 0-73.5 38.7-73.5 82.6 0 87.8 80.4 101.3 150.4 101.3h48.2c70.3 0 150.6-13.4 150.6-101.3zm-82.6-55.1c-25.8 0-36.7 34.2-36.7 55.1s10.9 55.1 36.7 55.1 36.7-34.2 36.7-55.1-10.9-55.1-36.7-55.1z"/></svg>
@@ -1,2 +1,2 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" {{ with .width }} width="{{ . }}"{{ end }}{{ with .height }} height="{{ . }}"{{ end }}{{ with .class }} class="{{- . -}}"{{ end }} viewBox="0 0 448 512">
1
+ <svg xmlns="http://www.w3.org/2000/svg" {{ with .width }} width="{{- . -}}"{{ end }}{{ with .height }} height="{{- . -}}"{{ end }}{{ with .class }} class="{{- . -}}"{{ end }} viewBox="0 0 448 512">
2
2
  <path fill="currentColor" d="M165.9 397.4c0 2-2.3 3.6-5.2 3.6-3.3.3-5.6-1.3-5.6-3.6 0-2 2.3-3.6 5.2-3.6 3-.3 5.6 1.3 5.6 3.6zm-31.1-4.5c-.7 2 1.3 4.3 4.3 4.9 2.6 1 5.6 0 6.2-2s-1.3-4.3-4.3-5.2c-2.6-.7-5.5.3-6.2 2.3zm44.2-1.7c-2.9.7-4.9 2.6-4.6 4.9.3 2 2.9 3.3 5.9 2.6 2.9-.7 4.9-2.6 4.6-4.6-.3-1.9-3-3.2-5.9-2.9zM244.8 8C106.1 8 0 113.3 0 252c0 110.9 69.8 205.8 169.5 239.2 12.8 2.3 17.3-5.6 17.3-12.1 0-6.2-.3-40.4-.3-61.4 0 0-70 15-84.7-29.8 0 0-11.4-29.1-27.8-36.6 0 0-22.9-15.7 1.6-15.4 0 0 24.9 2 38.6 25.8 21.9 38.6 58.6 27.5 72.9 20.9 2.3-16 8.8-27.1 16-33.7-55.9-6.2-112.3-14.3-112.3-110.5 0-27.5 7.6-41.3 23.6-58.9-2.6-6.5-11.1-33.3 2.6-67.9 20.9-6.5 69 27 69 27 20-5.6 41.5-8.5 62.8-8.5s42.8 2.9 62.8 8.5c0 0 48.1-33.6 69-27 13.7 34.7 5.2 61.4 2.6 67.9 16 17.7 25.8 31.5 25.8 58.9 0 96.5-58.9 104.2-114.8 110.5 9.2 7.9 17 22.9 17 46.4 0 33.7-.3 75.4-.3 83.6 0 6.5 4.6 14.4 17.3 12.1C428.2 457.8 496 362.9 496 252 496 113.3 383.5 8 244.8 8zM97.2 352.9c-1.3 1-1 3.3.7 5.2 1.6 1.6 3.9 2.3 5.2 1 1.3-1 1-3.3-.7-5.2-1.6-1.6-3.9-2.3-5.2-1zm-10.8-8.1c-.7 1.3.3 2.9 2.3 3.9 1.6 1 3.6.7 4.3-.7.7-1.3-.3-2.9-2.3-3.9-2-.6-3.6-.3-4.3.7zm32.4 35.6c-1.6 1.3-1 4.3 1.3 6.2 2.3 2.3 5.2 2.6 6.5 1 1.3-1.3.7-4.3-1.3-6.2-2.2-2.3-5.2-2.6-6.5-1zm-11.4-14.7c-1.6 1-1.6 3.6 0 5.9 1.6 2.3 4.3 3.3 5.6 2.3 1.6-1.3 1.6-3.9 0-6.2-1.4-2.3-4-3.3-5.6-2z"/></svg>
@@ -1 +1 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" {{ with .width }} width="{{ . }}"{{ end }}{{ with .height }} height="{{ . }}"{{ end }}{{ with .class }} class="{{- . -}}"{{ end }} viewBox="0 0 448 512"><path fill="currentColor" d="M416 32H31.9C14.3 32 0 46.5 0 64.3v383.4C0 465.5 14.3 480 31.9 480H416c17.6 0 32-14.5 32-32.3V64.3c0-17.8-14.4-32.3-32-32.3zM135.4 416H69V202.2h66.5V416zm-33.2-243c-21.3 0-38.5-17.3-38.5-38.5S80.9 96 102.2 96c21.2 0 38.5 17.3 38.5 38.5 0 21.3-17.2 38.5-38.5 38.5zm282.1 243h-66.4V312c0-24.8-.5-56.7-34.5-56.7-34.6 0-39.9 27-39.9 54.9V416h-66.4V202.2h63.7v29.2h.9c8.9-16.8 30.6-34.5 62.9-34.5 67.2 0 79.7 44.3 79.7 101.9V416z"/></svg>
1
+ <svg xmlns="http://www.w3.org/2000/svg" {{ with .width }} width="{{- . -}}"{{ end }}{{ with .height }} height="{{- . -}}"{{ end }}{{ with .class }} class="{{- . -}}"{{ end }} viewBox="0 0 448 512"><path fill="currentColor" d="M416 32H31.9C14.3 32 0 46.5 0 64.3v383.4C0 465.5 14.3 480 31.9 480H416c17.6 0 32-14.5 32-32.3V64.3c0-17.8-14.4-32.3-32-32.3zM135.4 416H69V202.2h66.5V416zm-33.2-243c-21.3 0-38.5-17.3-38.5-38.5S80.9 96 102.2 96c21.2 0 38.5 17.3 38.5 38.5 0 21.3-17.2 38.5-38.5 38.5zm282.1 243h-66.4V312c0-24.8-.5-56.7-34.5-56.7-34.6 0-39.9 27-39.9 54.9V416h-66.4V202.2h63.7v29.2h.9c8.9-16.8 30.6-34.5 62.9-34.5 67.2 0 79.7 44.3 79.7 101.9V416z"/></svg>
@@ -1,2 +1,2 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" {{ with .width }} width="{{ . }}"{{ end }}{{ with .height }} height="{{ . }}"{{ end }}{{ with .class }} class="{{- . -}}"{{ end }} viewBox="0 0 448 512">
1
+ <svg xmlns="http://www.w3.org/2000/svg" {{ with .width }} width="{{- . -}}"{{ end }}{{ with .height }} height="{{- . -}}"{{ end }}{{ with .class }} class="{{- . -}}"{{ end }} viewBox="0 0 448 512">
2
2
  <path fill="currentColor" d="M400 32H48C21.5 32 0 53.5 0 80v352c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V80c0-26.5-21.5-48-48-48zm-16.2 149.6c-1.4 31.1-23.2 73.8-65.3 127.9-43.5 56.5-80.3 84.8-110.4 84.8-18.7 0-34.4-17.2-47.3-51.6-25.2-92.3-35.9-146.4-56.7-146.4-2.4 0-10.8 5-25.1 15.1L64 192c36.9-32.4 72.1-68.4 94.1-70.4 24.9-2.4 40.2 14.6 46 51.1 20.5 129.6 29.6 149.2 66.8 90.5 13.4-21.2 20.6-37.2 21.5-48.3 3.4-32.8-25.6-30.6-45.2-22.2 15.7-51.5 45.8-76.5 90.1-75.1 32.9 1 48.4 22.4 46.5 64z"/></svg>
@@ -1,3 +1,3 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" {{ with .width }} width="{{ . }}"{{ end }}{{ with .height }} height="{{ . }}"{{ end }}{{ with .class }} class="{{- . -}}"{{ end }} fill="currentColor" viewBox="0 0 24 24">
1
+ <svg xmlns="http://www.w3.org/2000/svg" {{ with .width }} width="{{- . -}}"{{ end }}{{ with .height }} height="{{- . -}}"{{ end }}{{ with .class }} class="{{- . -}}"{{ end }} fill="currentColor" viewBox="0 0 24 24">
2
2
  <path d="M12 8.25c.83 0 1.5-.67 1.5-1.5s-.67-1.5-1.5-1.5-1.5.67-1.5 1.5.67 1.5 1.5 1.5Zm4.75.75h-9.5c-.41 0-.75.34-.75.75s.34.75.75.75H10V18c0 .41.34.75.75.75s.75-.34.75-.75v-3.75h1V18c0 .41.34.75.75.75s.75-.34.75-.75v-7.5h2.75c.41 0 .75-.34.75-.75S17.16 9 16.75 9ZM12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.53 2 12 2Zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8Z"/>
3
3
  </svg>
@@ -1,3 +1,3 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" {{ with .width }} width="{{ . }}"{{ end }}{{ with .height }} height="{{ . }}"{{ end }}{{ with .class }} class="{{- . -}}"{{ end }} fill="currentColor" viewBox="0 0 24 24">
1
+ <svg xmlns="http://www.w3.org/2000/svg" {{ with .width }} width="{{- . -}}"{{ end }}{{ with .height }} height="{{- . -}}"{{ end }}{{ with .class }} class="{{- . -}}"{{ end }} fill="currentColor" viewBox="0 0 24 24">
2
2
  <path d="m13.06 3.65 6.79 6.79A1.497 1.497 0 0 1 18.79 13H16v6.5c0 .83-.67 1.5-1.5 1.5h-5c-.83 0-1.5-.67-1.5-1.5V13H5.21c-.61 0-1.15-.36-1.39-.93s-.11-1.2.33-1.63l6.79-6.79c.29-.29.68-.44 1.06-.44s.77.15 1.06.44ZM10 11v8h4v-8h3.59L12 5.41 6.41 11H10Z"/>
3
3
  </svg>
@@ -1,3 +1,3 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" {{ with .width }} width="{{ . }}"{{ end }}{{ with .height }} height="{{ . }}"{{ end }}{{ with .class }} class="{{- . -}}"{{ end }} fill="currentColor" viewBox="0 0 24 24">
1
+ <svg xmlns="http://www.w3.org/2000/svg" {{ with .width }} width="{{- . -}}"{{ end }}{{ with .height }} height="{{- . -}}"{{ end }}{{ with .class }} class="{{- . -}}"{{ end }} fill="currentColor" viewBox="0 0 24 24">
2
2
  <path d="M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2Zm0 16H5V5h14v14Zm-3-1c.55 0 1-.45 1-1v-6.25c0-.55-.45-1-1-1s-1 .45-1 1V17c0 .55.45 1 1 1Zm-4 0c.55 0 1-.45 1-1V7c0-.55-.45-1-1-1s-1 .45-1 1v10c0 .55.45 1 1 1Zm-4 0c.55 0 1-.45 1-1v-3.25c0-.55-.45-1-1-1s-1 .45-1 1V17c0 .55.45 1 1 1Z"/>
3
3
  </svg>
@@ -0,0 +1,3 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" {{ with .width }} width="{{- . -}}"{{ end }}{{ with .height }} height="{{- . -}}"{{ end }}{{ with .class }} class="{{- . -}}"{{ end }} fill="currentColor" viewBox="0 0 24 24">
2
+ <path d="M17.12 8.12a.996.996 0 0 1 1.41 0l3.18 3.18c.39.39.39 1.02 0 1.41l-3.18 3.18c-.38.38-1.02.38-1.41-.01a.996.996 0 0 1 0-1.41S19.59 12 19.59 12l-2.47-2.47a.996.996 0 0 1 0-1.41Zm-10.24 0a.996.996 0 0 0-1.41 0L2.29 11.3a.996.996 0 0 0 0 1.41s3.18 3.18 3.18 3.18c.38.38 1.02.38 1.41-.01a.996.996 0 0 0 0-1.41S4.41 12 4.41 12l2.47-2.47a.996.996 0 0 0 0-1.41Zm3.07 10.64 5.92-12.69c.23-.5.02-1.1-.48-1.33-.5-.23-1.1-.02-1.33.48L8.14 17.91c-.23.5-.02 1.1.48 1.33.14.06.28.09.42.09.38 0 .74-.21.91-.58Z"/>
3
+ </svg>
@@ -1,3 +1,3 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" {{ with .width }} width="{{ . }}"{{ end }}{{ with .height }} height="{{ . }}"{{ end }}{{ with .class }} class="{{- . -}}"{{ end }} fill="currentColor" viewBox="0 0 24 24">
1
+ <svg xmlns="http://www.w3.org/2000/svg" {{ with .width }} width="{{- . -}}"{{ end }}{{ with .height }} height="{{- . -}}"{{ end }}{{ with .class }} class="{{- . -}}"{{ end }} fill="currentColor" viewBox="0 0 24 24">
2
2
  <path d="M19.78 19.78H4.22V4.22h6.67c.61 0 1.11-.5 1.11-1.11C12 2.5 11.5 2 10.89 2H3c-.55 0-1 .45-1 1v18c0 .55.45 1 1 1h18c.55 0 1-.45 1-1v-7.89c0-.61-.5-1.11-1.11-1.11-.61 0-1.11.5-1.11 1.11v6.67ZM14.22 3.11c0 .61.5 1.11 1.11 1.11h2.88L8.07 14.36c-.43.43-.43 1.13 0 1.57.43.43 1.13.43 1.57 0L19.78 5.79v2.88c0 .61.5 1.11 1.11 1.11.61 0 1.11-.5 1.11-1.11V3c0-.55-.45-1-1-1h-5.67c-.61 0-1.11.5-1.11 1.11Z"/>
3
3
  </svg>
@@ -1,3 +1,3 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" {{ with .width }} width="{{ . }}"{{ end }}{{ with .height }} height="{{ . }}"{{ end }}{{ with .class }} class="{{- . -}}"{{ end }} fill="currentColor" viewBox="0 0 24 24">
1
+ <svg xmlns="http://www.w3.org/2000/svg" {{ with .width }} width="{{- . -}}"{{ end }}{{ with .height }} height="{{- . -}}"{{ end }}{{ with .class }} class="{{- . -}}"{{ end }} fill="currentColor" viewBox="0 0 24 24">
2
2
  <path d="M4 18h16c.55 0 1-.45 1-1s-.45-1-1-1H4c-.55 0-1 .45-1 1s.45 1 1 1Zm0-5h16c.55 0 1-.45 1-1s-.45-1-1-1H4c-.55 0-1 .45-1 1s.45 1 1 1ZM3 7c0 .55.45 1 1 1h16c.55 0 1-.45 1-1s-.45-1-1-1H4c-.55 0-1 .45-1 1Z"/>
3
3
  </svg>
@@ -1,3 +1,3 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" {{ with .width }} width="{{ . }}"{{ end }}{{ with .height }} height="{{ . }}"{{ end }}{{ with .class }} class="{{- . -}}"{{ end }} fill="currentColor" viewBox="0 0 24 24">
1
+ <svg xmlns="http://www.w3.org/2000/svg" {{ with .width }} width="{{- . -}}"{{ end }}{{ with .height }} height="{{- . -}}"{{ end }}{{ with .class }} class="{{- . -}}"{{ end }} fill="currentColor" viewBox="0 0 24 24">
2
2
  <path d="M10.59 10.59c-.78.78-.78 2.05 0 2.83s2.05.78 2.83 0 .78-2.05 0-2.83-2.05-.78-2.83 0Zm0-7c-.78.78-.78 2.05 0 2.83s2.05.78 2.83 0 .78-2.05 0-2.83-2.05-.78-2.83 0Zm0 14c-.78.78-.78 2.05 0 2.83s2.05.78 2.83 0 .78-2.05 0-2.83-2.05-.78-2.83 0Z"/>
3
3
  </svg>
@@ -1,3 +1,3 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" {{ with .width }} width="{{ . }}"{{ end }}{{ with .height }} height="{{ . }}"{{ end }}{{ with .class }} class="{{- . -}}"{{ end }} fill="currentColor" viewBox="0 0 24 24">
1
+ <svg xmlns="http://www.w3.org/2000/svg" {{ with .width }} width="{{- . -}}"{{ end }}{{ with .height }} height="{{- . -}}"{{ end }}{{ with .class }} class="{{- . -}}"{{ end }} fill="currentColor" viewBox="0 0 24 24">
2
2
  <path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2Zm0 18c-2.14 0-4.09-.85-5.53-2.23 1.5-.64 3.38-1.06 5.53-1.06s4.01.43 5.51 1.07A7.98 7.98 0 0 1 12 20Zm6.82-3.84c-1.89-.91-4.25-1.46-6.82-1.46s-4.93.55-6.82 1.45A7.972 7.972 0 0 1 4 11.99c0-4.41 3.59-8 8-8s8 3.59 8 8c0 1.53-.44 2.95-1.18 4.16ZM12 5.72c-2.21 0-4 1.79-4 4s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4Zm0 6c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2Z"/>
3
3
  </svg>
@@ -1,3 +1,3 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" {{ with .width }} width="{{ . }}"{{ end }}{{ with .height }} height="{{ . }}"{{ end }}{{ with .class }} class="{{- . -}}"{{ end }} fill="currentColor" viewBox="0 0 24 24">
1
+ <svg xmlns="http://www.w3.org/2000/svg" {{ with .width }} width="{{- . -}}"{{ end }}{{ with .height }} height="{{- . -}}"{{ end }}{{ with .class }} class="{{- . -}}"{{ end }} fill="currentColor" viewBox="0 0 24 24">
2
2
  <path d="m16.38 14.92-.66.05-.41-.41c2.44-2.81 2.28-7.1-.5-9.7S7.8 2.4 5.17 4.94a6.988 6.988 0 0 0-.08 9.98c2.61 2.61 6.77 2.72 9.52.34l.41.41-.05.65 3.89 3.89a.996.996 0 1 0 1.41-1.41l-3.88-3.88Zm-2.81-1.41a5.016 5.016 0 0 1-7.08 0c-1.95-1.95-1.95-5.13 0-7.08s5.13-1.95 7.08 0 1.95 5.13 0 7.08Z"/>
3
3
  </svg>
@@ -1,3 +1,3 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" {{ with .width }} width="{{ . }}"{{ end }}{{ with .height }} height="{{ . }}"{{ end }}{{ with .class }} class="{{- . -}}"{{ end }} fill="currentColor" viewBox="0 0 24 24">
1
+ <svg xmlns="http://www.w3.org/2000/svg" {{ with .width }} width="{{- . -}}"{{ end }}{{ with .height }} height="{{- . -}}"{{ end }}{{ with .class }} class="{{- . -}}"{{ end }} fill="currentColor" viewBox="0 0 24 24">
2
2
  <path d="M11.99 4V2.21c0-.45-.54-.67-.85-.35l-2.8 2.79c-.2.2-.2.51 0 .71l2.79 2.79c.32.31.86.09.86-.36V6c3.31 0 6 2.69 6 6 0 .79-.15 1.56-.44 2.25-.15.36-.04.77.23 1.04.51.51 1.37.33 1.64-.34.37-.91.57-1.91.57-2.95 0-4.42-3.58-8-8-8Zm0 14c-3.31 0-6-2.69-6-6 0-.79.15-1.56.44-2.25.15-.36.04-.77-.23-1.04-.51-.51-1.37-.33-1.64.34-.37.91-.57 1.91-.57 2.95 0 4.42 3.58 8 8 8v1.79c0 .45.54.67.85.35l2.79-2.79c.2-.2.2-.51 0-.71l-2.79-2.79a.5.5 0 0 0-.85.36V18Z"/>
3
3
  </svg>
@@ -1,3 +1,3 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" {{ with .width }} width="{{ . }}"{{ end }}{{ with .height }} height="{{ . }}"{{ end }}{{ with .class }} class="{{- . -}}"{{ end }} viewBox="0 0 24 24">
1
+ <svg xmlns="http://www.w3.org/2000/svg" {{ with .width }} width="{{- . -}}"{{ end }}{{ with .height }} height="{{- . -}}"{{ end }}{{ with .class }} class="{{- . -}}"{{ end }} viewBox="0 0 24 24">
2
2
  <path fill="currentColor" d="M21.99 12.15c0 1.85-1.5 3.35-3.35 3.35h-3.69c.21 1.88.16 4.52-2.64 5.65-.38.15-.76.23-1.13.23-.76 0-1.44-.32-1.93-.9-.92-1.1-.73-2.61-.65-3 .09-.56-.31-1.06-1.16-2.01-.16-.18-.32-.35-.47-.53-.44.38-1.01.6-1.63.6h-.83a2.5 2.5 0 0 1-2.5-2.5V5.53a2.5 2.5 0 0 1 2.5-2.5h.83c.76 0 1.45.34 1.91.88.6-.56 1.4-.9 2.28-.9h7.06c1.99 0 2.8 1.08 3.49 2.91.6 1.44 1.59 3.81 1.69 4.03.1.22.28.62.22 2.21ZM6.17 5.52c0-.46-.38-.83-.83-.83h-.83c-.46 0-.83.37-.83.83v7.51c0 .46.37.83.83.83h.83c.46 0 .83-.38.83-.83V5.52Zm14.07 5.11c-.12-.26-1.71-4.08-1.71-4.08-.63-1.65-1.02-1.88-1.95-1.88H9.52c-.93 0-1.68.75-1.68 1.68v6.53s-.01.45.1.61c.99 1.27 2.59 2.42 2.31 4.23-.18.99.14 2.38 1.45 1.87 2.29-.93 1.64-3.46 1.39-5.35.03-.22.32-.33.72-.38h.04c.18-.02.37-.03.58-.03h4.2c.93 0 1.68-.75 1.68-1.68 0 0 .05-1.26-.07-1.52Z"/>
3
3
  </svg>
@@ -1,3 +1,3 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" {{ with .width }} width="{{ . }}"{{ end }}{{ with .height }} height="{{ . }}"{{ end }}{{ with .class }} class="{{- . -}}"{{ end }} viewBox="0 0 24 24">
1
+ <svg xmlns="http://www.w3.org/2000/svg" {{ with .width }} width="{{- . -}}"{{ end }}{{ with .height }} height="{{- . -}}"{{ end }}{{ with .class }} class="{{- . -}}"{{ end }} viewBox="0 0 24 24">
2
2
  <path fill="currentColor" d="M21.99 12.23c0-1.85-1.5-3.35-3.35-3.35h-3.69c.21-1.88.16-4.52-2.64-5.65-.38-.15-.76-.23-1.13-.23-.76 0-1.44.32-1.93.9-.92 1.1-.73 2.61-.65 3 .09.56-.31 1.06-1.16 2.01-.16.18-.32.35-.47.53a2.48 2.48 0 0 0-1.63-.6h-.83a2.5 2.5 0 0 0-2.5 2.5v7.51a2.5 2.5 0 0 0 2.5 2.5h.83c.76 0 1.45-.34 1.91-.88.6.56 1.4.9 2.28.9h7.06c1.99 0 2.8-1.08 3.49-2.91.6-1.44 1.59-3.81 1.69-4.03.1-.22.28-.62.22-2.21ZM6.17 18.86c0 .46-.38.83-.83.83h-.83c-.46 0-.83-.37-.83-.83v-7.51c0-.46.37-.83.83-.83h.83c.46 0 .83.38.83.83v7.51Zm14.07-5.11c-.12.26-1.71 4.08-1.71 4.08-.63 1.65-1.02 1.88-1.95 1.88H9.52c-.93 0-1.68-.75-1.68-1.68V11.5s-.01-.45.1-.61c.99-1.27 2.59-2.42 2.31-4.23-.18-.99.14-2.38 1.45-1.87 2.29.93 1.64 3.46 1.39 5.35.03.22.32.33.72.38h.04c.18.02.37.03.58.03h4.2c.93 0 1.68.75 1.68 1.68 0 0 .05 1.26-.07 1.52Z"/>
3
3
  </svg>
@@ -1,3 +1,3 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" {{ with .width }} width="{{ . }}"{{ end }}{{ with .height }} height="{{ . }}"{{ end }}{{ with .class }} class="{{- . -}}"{{ end }} fill="currentColor" viewBox="0 0 24 24">
1
+ <svg xmlns="http://www.w3.org/2000/svg" {{ with .width }} width="{{- . -}}"{{ end }}{{ with .height }} height="{{- . -}}"{{ end }}{{ with .class }} class="{{- . -}}"{{ end }} fill="currentColor" viewBox="0 0 24 24">
2
2
  <path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10A10.03 10.03 0 0 0 12 2Zm6.9 6H16c-.32-1.25-.79-2.46-1.4-3.6 1.82.65 3.34 1.92 4.3 3.6ZM12 4c.85 1.22 1.49 2.57 1.9 4h-3.8c.43-1.42 1.07-2.77 1.9-4ZM4.3 14c-.4-1.3-.4-2.7 0-4h3.4c-.08.66-.12 1.33-.1 2 0 .7.1 1.3.1 2H4.3Zm.8 2h3c.3 1.26.77 2.47 1.4 3.6A7.92 7.92 0 0 1 5.1 16ZM8 8H5c.98-1.66 2.5-2.93 4.3-3.6C8.8 5.6 8.4 6.8 8 8Zm4 12c-.85-1.22-1.49-2.57-1.9-4h3.8c-.43 1.42-1.07 2.77-1.9 4Zm2.3-6H9.7c-.12-.66-.18-1.33-.2-2 .01-.67.08-1.34.2-2h4.7c.12.66.19 1.33.2 2a13.6 13.6 0 0 1-.3 2Zm.3 5.6c.63-1.13 1.1-2.34 1.4-3.6h2.9a8.492 8.492 0 0 1-4.3 3.6Zm1.8-5.6c.08-.66.12-1.33.1-2 0-.7-.1-1.3-.1-2h3.4c.4 1.3.4 2.7 0 4h-3.4Z"/>
3
3
  </svg>
@@ -0,0 +1,3 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" {{ with .width }} width="{{- . -}}"{{ end }}{{ with .height }} height="{{- . -}}"{{ end }}{{ with .class }} class="{{- . -}}"{{ end }} fill="currentColor" viewBox="0 0 24 24">
2
+ <path d="M17.12 8.12a.996.996 0 0 1 1.41 0l3.18 3.18c.39.39.39 1.02 0 1.41l-3.18 3.18c-.38.38-1.02.38-1.41-.01a.996.996 0 0 1 0-1.41S19.59 12 19.59 12l-2.47-2.47a.996.996 0 0 1 0-1.41Zm-10.24 0a.996.996 0 0 0-1.41 0L2.29 11.3a.996.996 0 0 0 0 1.41s3.18 3.18 3.18 3.18c.38.38 1.02.38 1.41-.01a.996.996 0 0 0 0-1.41S4.41 12 4.41 12l2.47-2.47a.996.996 0 0 0 0-1.41Zm3.07 10.64 5.92-12.69c.23-.5.02-1.1-.48-1.33-.5-.23-1.1-.02-1.33.48L8.14 17.91c-.23.5-.02 1.1.48 1.33.14.06.28.09.42.09.38 0 .74-.21.91-.58Z"/>
3
+ </svg>
@@ -1,3 +1,3 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" {{ with .width }} width="{{ . }}"{{ end }}{{ with .height }} height="{{ . }}"{{ end }}{{ with .class }} class="{{- . -}}"{{ end }} fill="currentColor" viewBox="0 0 24 24">
1
+ <svg xmlns="http://www.w3.org/2000/svg" {{ with .width }} width="{{- . -}}"{{ end }}{{ with .height }} height="{{- . -}}"{{ end }}{{ with .class }} class="{{- . -}}"{{ end }} fill="currentColor" viewBox="0 0 24 24">
2
2
  <path d="M20 5H4c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2Zm-.11 3.64-7.5 4.5c-.12.07-.25.11-.39.11s-.27-.04-.39-.11l-7.5-4.5c-.36-.21-.47-.67-.26-1.03s.67-.47 1.03-.26l7.11 4.27 7.11-4.27a.751.751 0 1 1 .77 1.29Z"/>
3
3
  </svg>
@@ -0,0 +1,3 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" {{ with .width }} width="{{- . -}}"{{ end }}{{ with .height }} height="{{- . -}}"{{ end }}{{ with .class }} class="{{- . -}}"{{ end }} fill="currentColor" viewBox="0 0 24 24">
2
+ <path d="M4 18h16c.55 0 1-.45 1-1s-.45-1-1-1H4c-.55 0-1 .45-1 1s.45 1 1 1Zm0-5h16c.55 0 1-.45 1-1s-.45-1-1-1H4c-.55 0-1 .45-1 1s.45 1 1 1ZM3 7c0 .55.45 1 1 1h16c.55 0 1-.45 1-1s-.45-1-1-1H4c-.55 0-1 .45-1 1Z"/>
3
+ </svg>
@@ -1,3 +1,3 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" {{ with .width }} width="{{ . }}"{{ end }}{{ with .height }} height="{{ . }}"{{ end }}{{ with .class }} class="{{- . -}}"{{ end }} fill="currentColor" viewBox="0 0 24 24">
1
+ <svg xmlns="http://www.w3.org/2000/svg" {{ with .width }} width="{{- . -}}"{{ end }}{{ with .height }} height="{{- . -}}"{{ end }}{{ with .class }} class="{{- . -}}"{{ end }} fill="currentColor" viewBox="0 0 24 24">
2
2
  <path d="M11.93 2C6.41 2 1.92 6.46 1.92 11.98c0 5.52 4.46 10.01 9.98 10.02.93 0 1.69-.74 1.7-1.67v-.03c.02-.41-.12-.8-.4-1.1-.23-.32-.37-.7-.4-1.1 0-.93.74-1.69 1.67-1.7h1.93c2.97 0 5.42-2.32 5.6-5.28.14-5.02-4.46-9.16-10.07-9.12ZM5.5 12c-.83 0-1.5-.67-1.5-1.5S4.67 9 5.5 9 7 9.67 7 10.5 6.33 12 5.5 12Zm4-5C8.67 7 8 6.33 8 5.5S8.67 4 9.5 4s1.5.67 1.5 1.5S10.33 7 9.5 7Zm5 0c-.83 0-1.5-.67-1.5-1.5S13.67 4 14.5 4s1.5.67 1.5 1.5S15.33 7 14.5 7Zm4 5c-.83 0-1.5-.67-1.5-1.5S17.67 9 18.5 9s1.5.67 1.5 1.5-.67 1.5-1.5 1.5Z"/>
3
3
  </svg>
@@ -0,0 +1,3 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" {{ with .width }} width="{{- . -}}"{{ end }}{{ with .height }} height="{{- . -}}"{{ end }}{{ with .class }} class="{{- . -}}"{{ end }} fill="currentColor" viewBox="0 0 24 24">
2
+ <path d="M14.41 14.14c-.1-.87-.3-1.73-.62-2.54a4.03 4.03 0 0 1-4.18-.76c-.83.86-1.57 1.81-2.22 2.81 1.91 1.56 5.05 1.97 7.02.49M9.63 9.53c.59-.55 1.23-1.06 1.9-1.51a6.19 6.19 0 0 0-2.1-1.27c-.56.87-.48 2.01.2 2.79m2.59-2.02c.46-.34.95-.61 1.48-.82a3.16 3.16 0 0 0-3.56-.59c.77.34 1.48.82 2.09 1.41m-6.26-.97c-1.34 1.9-.71 4.67.84 6.41a19.84 19.84 0 0 1 2.26-2.84c-.86-1-1.03-2.42-.4-3.59-.89-.22-1.82-.21-2.7.02m2.7-.02 5.49 3.71c.66-.84.67-2.02.03-2.87-.5.2-.96.48-1.38.81.53.63.99 1.32 1.35 2.06M9.23 5.67c.59-.42 1.29-.65 2.01-.67-1.48-.25-3-.08-4.39.5.8-.09 1.61-.03 2.38.17m4.27 5.09c-.36-.76-.82-1.46-1.36-2.09-.68.45-1.32.96-1.92 1.51.9.79 2.17 1.02 3.28.58m1.95-2.11c.13.92-.23 1.84-.94 2.45.29.74.51 1.5.64 2.28a4.69 4.69 0 0 0 .3-4.73m-.17 5.91c.02.57 0 1.15-.08 1.72a6.823 6.823 0 0 0 1.42-4.75c-.1 1.13-.57 2.19-1.34 3.03m5.75-2.54-3.97-2.3c.47 1.5.46 3.1-.02 4.6l3.99-2.3ZM6.99 14.51c-.58.95-1.01 1.99-1.26 3.08a6.803 6.803 0 0 0 8.38-.15c.27-.7.4-1.45.38-2.2a6.941 6.941 0 0 1-7.5-.73m-.62-.72a6.651 6.651 0 0 1-1.73-6.18 6.787 6.787 0 0 0 .4 9.21c.31-1.07.76-2.09 1.34-3.03M8.19 4.3 4.24 2.03v4.55a7.563 7.563 0 0 1 3.95-2.27ZM4.24 22.01l3.98-2.3a7.597 7.597 0 0 1-3.98-2.28v4.58Z"/>
3
+ </svg>