@vuepress/theme-default 2.0.0-rc.32 → 2.0.0-rc.34

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 (111) hide show
  1. package/lib/client/components/VPDarkIcon.vue +8 -0
  2. package/lib/client/components/{DropdownTransition.vue → VPDropdownTransition.vue} +10 -1
  3. package/lib/client/components/VPEditIcon.vue +12 -0
  4. package/lib/client/components/VPHome.vue +38 -0
  5. package/lib/client/components/VPHomeFeatures.vue +68 -0
  6. package/lib/client/components/{HomeFooter.vue → VPHomeFooter.vue} +16 -2
  7. package/lib/client/components/{HomeHero.vue → VPHomeHero.vue} +107 -5
  8. package/lib/client/components/VPLightIcon.vue +28 -0
  9. package/lib/client/components/VPNavbar.vue +127 -0
  10. package/lib/client/components/{NavbarBrand.vue → VPNavbarBrand.vue} +36 -4
  11. package/lib/client/components/VPNavbarDropdown.vue +319 -0
  12. package/lib/client/components/VPNavbarItems.vue +110 -0
  13. package/lib/client/components/VPPage.vue +66 -0
  14. package/lib/client/components/VPPageMeta.vue +132 -0
  15. package/lib/client/components/VPPageNav.vue +118 -0
  16. package/lib/client/components/VPSidebar.vue +112 -0
  17. package/lib/client/components/VPSidebarItem.vue +169 -0
  18. package/lib/client/components/{SidebarItems.vue → VPSidebarItems.vue} +30 -6
  19. package/lib/client/components/VPToggleColorModeButton.vue +54 -0
  20. package/lib/client/components/VPToggleSidebarButton.vue +92 -0
  21. package/lib/client/components/global/Badge.vue +60 -18
  22. package/lib/client/components/global/CodeGroup.d.ts +1 -0
  23. package/lib/client/components/global/CodeGroup.js +4 -3
  24. package/lib/client/components/global/CodeGroupItem.vue +5 -16
  25. package/lib/client/composables/index.d.ts +7 -0
  26. package/lib/client/composables/index.js +7 -0
  27. package/lib/client/composables/useContributors.d.ts +3 -0
  28. package/lib/client/composables/useContributors.js +14 -0
  29. package/lib/client/composables/useDarkMode.js +1 -1
  30. package/lib/client/composables/useEditLink.d.ts +3 -0
  31. package/lib/client/composables/useEditLink.js +31 -0
  32. package/lib/client/composables/useLastUpdated.d.ts +2 -0
  33. package/lib/client/composables/useLastUpdated.js +17 -0
  34. package/lib/client/composables/useNavbarConfig.d.ts +3 -0
  35. package/lib/client/composables/useNavbarConfig.js +25 -0
  36. package/lib/client/composables/useNavbarRepo.d.ts +6 -0
  37. package/lib/client/composables/useNavbarRepo.js +38 -0
  38. package/lib/client/composables/useNavbarSelectLanguage.d.ts +6 -0
  39. package/lib/client/composables/useNavbarSelectLanguage.js +58 -0
  40. package/lib/client/composables/useNavigate.js +4 -7
  41. package/lib/client/composables/useRelatedLinks.d.ts +8 -0
  42. package/lib/client/composables/useRelatedLinks.js +73 -0
  43. package/lib/client/composables/useSidebarItems.d.ts +10 -9
  44. package/lib/client/composables/useSidebarItems.js +58 -47
  45. package/lib/client/config.d.ts +1 -0
  46. package/lib/client/config.js +2 -1
  47. package/lib/client/index.d.ts +1 -0
  48. package/lib/client/index.js +1 -0
  49. package/lib/client/layouts/Layout.vue +111 -18
  50. package/lib/client/layouts/NotFound.vue +1 -1
  51. package/lib/client/styles/_mixins.scss +4 -4
  52. package/lib/client/styles/_variables.module.scss +1 -1
  53. package/lib/client/styles/_variables.scss +1 -0
  54. package/lib/client/styles/code-group.scss +32 -29
  55. package/lib/client/styles/{code.scss → content/code.scss} +81 -99
  56. package/lib/client/styles/{custom-container.scss → content/custom-container.scss} +9 -5
  57. package/lib/client/styles/content/index.scss +4 -0
  58. package/lib/client/styles/content/normalize.scss +39 -0
  59. package/lib/client/styles/{toc.scss → content/toc.scss} +1 -1
  60. package/lib/client/styles/external-link-icon.scss +7 -3
  61. package/lib/client/styles/index.scss +2 -13
  62. package/lib/client/styles/layout.scss +3 -203
  63. package/lib/client/styles/normalize.scss +18 -149
  64. package/lib/client/styles/plugins.scss +20 -0
  65. package/lib/client/styles/vars-dark.scss +17 -16
  66. package/lib/client/styles/vars.scss +19 -23
  67. package/lib/client/typings.d.ts +13 -0
  68. package/lib/client/typings.js +1 -0
  69. package/lib/client/utils/{getNavLink.d.ts → getAutoLink.d.ts} +2 -2
  70. package/lib/client/utils/index.d.ts +3 -1
  71. package/lib/client/utils/index.js +3 -1
  72. package/lib/client/utils/isActiveSidebarItem.d.ts +2 -2
  73. package/lib/client/utils/isActiveSidebarItem.js +3 -3
  74. package/lib/client/utils/isLinkInternal.d.ts +1 -0
  75. package/lib/client/utils/isLinkInternal.js +2 -0
  76. package/lib/client/utils/resolvePrefix.d.ts +1 -0
  77. package/lib/client/utils/resolvePrefix.js +4 -0
  78. package/lib/node/defaultTheme.js +9 -1
  79. package/lib/node/utils/assignDefaultLocaleOptions.js +1 -1
  80. package/lib/shared/index.d.ts +2 -0
  81. package/lib/shared/index.js +2 -0
  82. package/lib/shared/nav.d.ts +23 -26
  83. package/lib/shared/navbar.d.ts +21 -0
  84. package/lib/shared/navbar.js +1 -0
  85. package/lib/shared/options.d.ts +4 -3
  86. package/lib/shared/page.d.ts +2 -2
  87. package/lib/shared/sidebar.d.ts +26 -0
  88. package/lib/shared/sidebar.js +1 -0
  89. package/package.json +19 -19
  90. package/templates/build.html +2 -0
  91. package/lib/client/components/Home.vue +0 -15
  92. package/lib/client/components/HomeContent.vue +0 -5
  93. package/lib/client/components/HomeFeatures.vue +0 -22
  94. package/lib/client/components/Navbar.vue +0 -80
  95. package/lib/client/components/NavbarDropdown.vue +0 -125
  96. package/lib/client/components/NavbarItems.vue +0 -198
  97. package/lib/client/components/Page.vue +0 -31
  98. package/lib/client/components/PageMeta.vue +0 -220
  99. package/lib/client/components/PageNav.vue +0 -228
  100. package/lib/client/components/Sidebar.vue +0 -18
  101. package/lib/client/components/SidebarItem.vue +0 -86
  102. package/lib/client/components/ToggleColorModeButton.vue +0 -57
  103. package/lib/client/components/ToggleSidebarButton.vue +0 -24
  104. package/lib/client/styles/badge.scss +0 -36
  105. package/lib/client/styles/home.scss +0 -168
  106. package/lib/client/styles/navbar-dropdown.scss +0 -183
  107. package/lib/client/styles/navbar.scss +0 -197
  108. package/lib/client/styles/page.scss +0 -11
  109. package/lib/client/styles/sidebar.scss +0 -134
  110. package/lib/client/styles/transitions.scss +0 -22
  111. /package/lib/client/utils/{getNavLink.js → getAutoLink.js} +0 -0
@@ -6,6 +6,7 @@
6
6
 
7
7
  .custom-container-title {
8
8
  font-weight: 600;
9
+
9
10
  &:not(:only-child) {
10
11
  margin-bottom: -0.4rem;
11
12
  }
@@ -14,10 +15,10 @@
14
15
  &.tip,
15
16
  &.warning,
16
17
  &.danger {
18
+ margin: 1rem 0;
17
19
  padding: 0.1rem 1.5rem;
18
20
  border-left-width: 0.5rem;
19
21
  border-left-style: solid;
20
- margin: 1rem 0;
21
22
  }
22
23
 
23
24
  &.tip {
@@ -59,8 +60,8 @@
59
60
  }
60
61
 
61
62
  code {
62
- color: var(--c-warning-text-light);
63
63
  background-color: var(--c-warning-bg-light);
64
+ color: var(--c-warning-text-light);
64
65
  }
65
66
 
66
67
  details {
@@ -93,8 +94,8 @@
93
94
  }
94
95
 
95
96
  code {
96
- color: var(--c-danger-text-light);
97
97
  background-color: var(--c-danger-bg-light);
98
+ color: var(--c-danger-text-light);
98
99
  }
99
100
 
100
101
  details {
@@ -107,11 +108,14 @@
107
108
  }
108
109
 
109
110
  &.details {
110
- display: block;
111
111
  position: relative;
112
- border-radius: 2px;
112
+
113
+ display: block;
114
+
113
115
  margin: 1.6em 0;
114
116
  padding: 1.6em;
117
+ border-radius: 2px;
118
+
115
119
  background-color: var(--c-details-bg);
116
120
 
117
121
  code {
@@ -0,0 +1,4 @@
1
+ @use 'normalize';
2
+ @use 'code';
3
+ @use 'custom-container';
4
+ @use 'toc';
@@ -0,0 +1,39 @@
1
+ @import '../variables';
2
+
3
+ .theme-default-content {
4
+ h1,
5
+ h2,
6
+ h3,
7
+ h4,
8
+ h5,
9
+ h6 {
10
+ margin-top: calc(0.5rem - var(--navbar-height));
11
+ margin-bottom: 0;
12
+ padding-top: calc(1rem + var(--navbar-height));
13
+
14
+ &:first-child {
15
+ margin-bottom: 1rem;
16
+
17
+ + p,
18
+ + pre,
19
+ + .custom-container {
20
+ margin-top: 2rem;
21
+ }
22
+ }
23
+ }
24
+
25
+ h1 {
26
+ // narrow mobile
27
+ @media (max-width: $MQMobileNarrow) {
28
+ font-size: 1.9rem;
29
+ }
30
+ }
31
+
32
+ a:not(.header-anchor) {
33
+ text-decoration: underline;
34
+ }
35
+
36
+ img {
37
+ max-width: 100%;
38
+ }
39
+ }
@@ -1,5 +1,5 @@
1
1
  .table-of-contents {
2
- .badge {
2
+ .vp-badge {
3
3
  vertical-align: middle;
4
4
  }
5
5
  }
@@ -1,13 +1,17 @@
1
1
  @mixin external-link-icon {
2
2
  &::after {
3
3
  content: '';
4
+
4
5
  display: inline-block;
5
- margin-top: -1px;
6
- margin-left: 4px;
6
+ flex-shrink: 0;
7
+
7
8
  width: 11px;
8
9
  height: 11px;
10
+ margin-top: -1px;
11
+ margin-left: 4px;
12
+
9
13
  background: var(--external-link-icon-color);
10
- flex-shrink: 0;
14
+
11
15
  -webkit-mask-image: var(--external-link-icon);
12
16
  mask-image: var(--external-link-icon);
13
17
  }
@@ -1,20 +1,9 @@
1
1
  @use 'vars';
2
2
  @use 'vars-dark';
3
3
  @use 'normalize';
4
-
4
+ @use 'content';
5
5
  @use 'arrow';
6
- @use 'badge';
7
- @use 'code';
8
- @use 'code-group';
9
- @use 'custom-container';
10
6
  @use 'external-link-icon';
11
- @use 'home';
12
7
  @use 'layout';
13
- @use 'navbar';
14
- @use 'navbar-dropdown';
15
- @use 'page';
16
- @use 'sidebar';
17
- @use 'toc';
18
- @use 'transitions';
19
-
8
+ @use 'plugins';
20
9
  @use '@vuepress/plugin-palette/style';
@@ -1,207 +1,7 @@
1
- @import '_mixins';
2
- @import '_variables';
1
+ @import 'variables';
3
2
 
4
- .page {
5
- padding-top: var(--navbar-height);
6
- padding-left: var(--sidebar-width);
7
- }
8
-
9
- .navbar {
10
- position: fixed;
11
- z-index: 20;
12
- top: 0;
13
- left: 0;
14
- right: 0;
15
- height: var(--navbar-height);
16
- box-sizing: border-box;
17
- border-bottom: 1px solid var(--c-border);
18
- background-color: var(--c-bg-navbar);
19
- transition:
20
- background-color var(--t-color),
21
- border-color var(--t-color);
22
- }
23
-
24
- .sidebar {
25
- font-size: 16px;
26
- width: var(--sidebar-width);
27
- position: fixed;
28
- z-index: 10;
29
- margin: 0;
30
- top: var(--navbar-height);
31
- left: 0;
32
- bottom: 0;
33
- box-sizing: border-box;
34
- border-right: 1px solid var(--c-border);
35
- overflow-y: auto;
36
- scrollbar-width: thin;
37
- scrollbar-color: var(--c-brand) var(--c-border);
38
- background-color: var(--c-bg-sidebar);
39
- transition:
40
- transform var(--t-transform),
41
- background-color var(--t-color),
42
- border-color var(--t-color);
43
- &::-webkit-scrollbar {
44
- width: 7px;
45
- }
46
- &::-webkit-scrollbar-track {
47
- background-color: var(--c-border);
48
- }
49
- &::-webkit-scrollbar-thumb {
50
- background-color: var(--c-brand);
51
- }
52
- }
53
-
54
- .sidebar-mask {
55
- position: fixed;
56
- z-index: 9;
57
- top: 0;
58
- left: 0;
59
- width: 100vw;
60
- height: 100vh;
61
- display: none;
62
- }
63
-
64
- .theme-container {
65
- &.sidebar-open {
66
- .sidebar-mask {
67
- display: block;
68
- }
69
-
70
- .navbar > .toggle-sidebar-button .icon {
71
- span {
72
- &:nth-child(1) {
73
- transform: rotate(45deg) translate3d(5.5px, 5.5px, 0);
74
- }
75
-
76
- &:nth-child(2) {
77
- transform: scale3d(0, 1, 1);
78
- }
79
-
80
- &:nth-child(3) {
81
- transform: rotate(-45deg) translate3d(6px, -6px, 0);
82
- }
83
-
84
- &:nth-child(1),
85
- &:nth-child(3) {
86
- transform-origin: center;
87
- }
88
- }
89
- }
90
- }
91
-
92
- &.no-navbar {
93
- .theme-default-content {
94
- h1,
95
- h2,
96
- h3,
97
- h4,
98
- h5,
99
- h6 {
100
- margin-top: 1.5rem;
101
- padding-top: 0;
102
- }
103
- }
104
-
105
- .page {
106
- padding-top: 0;
107
- }
108
-
109
- .sidebar {
110
- top: 0;
111
- }
112
- }
113
- }
114
- .theme-container.no-sidebar {
115
- .sidebar {
3
+ .vp-hide-mobile {
4
+ @media screen and (max-width: $MQMobile) {
116
5
  display: none;
117
-
118
- @media (max-width: $MQMobile) {
119
- display: block;
120
- }
121
- }
122
-
123
- .page {
124
- padding-left: 0;
125
6
  }
126
7
  }
127
-
128
- .theme-default-content {
129
- a:not(.header-anchor):hover {
130
- text-decoration: underline;
131
- }
132
-
133
- img {
134
- max-width: 100%;
135
- }
136
-
137
- h1,
138
- h2,
139
- h3,
140
- h4,
141
- h5,
142
- h6 {
143
- margin-top: calc(0.5rem - var(--navbar-height));
144
- padding-top: calc(1rem + var(--navbar-height));
145
- margin-bottom: 0;
146
-
147
- &:first-child {
148
- margin-bottom: 1rem;
149
-
150
- + p,
151
- + pre,
152
- + .custom-container {
153
- margin-top: 2rem;
154
- }
155
- }
156
- }
157
- }
158
-
159
- // narrow desktop / iPad
160
- @media (max-width: $MQNarrow) {
161
- .sidebar {
162
- font-size: 15px;
163
- width: var(--sidebar-width-mobile);
164
- }
165
-
166
- .page {
167
- padding-left: var(--sidebar-width-mobile);
168
- }
169
- }
170
-
171
- // wide mobile
172
- @media (max-width: $MQMobile) {
173
- .sidebar {
174
- top: 0;
175
- padding-top: var(--navbar-height);
176
- transform: translateX(-100%);
177
- }
178
-
179
- .page {
180
- padding-left: 0;
181
- }
182
-
183
- .theme-container {
184
- &.sidebar-open {
185
- .sidebar {
186
- transform: translateX(0);
187
- }
188
- }
189
-
190
- &.no-navbar {
191
- .sidebar {
192
- padding-top: 0;
193
- }
194
- }
195
- }
196
- }
197
-
198
- // narrow mobile
199
- @media (max-width: $MQMobileNarrow) {
200
- h1 {
201
- font-size: 1.9rem;
202
- }
203
- }
204
-
205
- #vp-comment {
206
- @include content_wrapper;
207
- }
@@ -1,7 +1,5 @@
1
1
  html,
2
2
  body {
3
- padding: 0;
4
- margin: 0;
5
3
  background-color: var(--c-bg);
6
4
  transition: background-color var(--t-color);
7
5
  }
@@ -10,179 +8,51 @@ html.dark {
10
8
  color-scheme: dark;
11
9
  }
12
10
 
13
- html {
14
- font-size: 16px;
15
- }
16
-
17
11
  body {
18
- font-family: var(--font-family);
19
- -webkit-font-smoothing: antialiased;
20
- -moz-osx-font-smoothing: grayscale;
21
- font-size: 1rem;
22
12
  color: var(--c-text);
13
+ font-size: 1rem;
14
+ font-family: var(--font-family);
23
15
  }
24
16
 
25
- a {
26
- font-weight: 500;
27
- color: var(--c-text-accent);
28
- text-decoration: none;
29
- overflow-wrap: break-word;
17
+ h2 {
18
+ border-color: var(--c-border);
19
+ transition: border-color var(--t-color);
30
20
  }
31
21
 
32
- p a code {
33
- font-weight: 400;
22
+ a {
34
23
  color: var(--c-text-accent);
35
24
  }
36
25
 
37
- kbd {
38
- font-family: var(--font-family-code);
39
- color: var(--c-text);
40
- background: var(--c-bg-lighter);
41
- border: solid 0.15rem var(--c-border-dark);
42
- border-bottom: solid 0.25rem var(--c-border-dark);
43
- border-radius: 0.15rem;
44
- padding: 0 0.15em;
45
- }
46
-
47
26
  code {
48
- font-family: var(--font-family-code);
49
- color: var(--c-text-lighter);
50
- padding: 0.25rem 0.5rem;
51
- margin: 0;
52
- font-size: 0.875em;
53
27
  background-color: var(--c-bg-light);
54
- border-radius: 3px;
55
- overflow-wrap: break-word;
28
+ color: var(--c-text-lighter);
29
+ font-family: var(--font-family-code);
56
30
  transition: background-color var(--t-color);
57
- }
58
-
59
- blockquote {
60
- font-size: 1rem;
61
- color: var(--c-text-quote);
62
- border-left: 0.2rem solid var(--c-border-dark);
63
- margin: 1rem 0;
64
- padding: 0.25rem 0 0.25rem 1rem;
65
- overflow-wrap: break-word;
66
31
 
67
- & > p {
68
- margin: 0;
32
+ p a & {
33
+ color: var(--c-text-accent);
69
34
  }
70
35
  }
71
36
 
72
- ul,
73
- ol {
74
- padding-left: 1.2em;
75
- }
76
-
77
- strong {
78
- font-weight: 600;
79
- }
80
-
81
- h1,
82
- h2,
83
- h3,
84
- h4,
85
- h5,
86
- h6 {
87
- font-weight: 600;
88
- line-height: 1.25;
89
- overflow-wrap: break-word;
90
-
91
- &:focus-visible {
92
- outline: none;
93
- }
94
-
95
- .header-anchor {
96
- color: inherit;
97
- text-decoration: none;
98
- position: relative;
99
-
100
- &:hover::before {
101
- font-size: 0.8em;
102
- content: '¶';
103
- position: absolute;
104
- left: -0.75em;
105
- color: var(--c-brand);
106
- }
107
-
108
- &:focus-visible {
109
- outline: none;
110
-
111
- &::before {
112
- content: '¶';
113
- position: absolute;
114
- left: -0.75em;
115
- color: var(--c-brand);
116
- outline: auto;
117
- }
118
- }
119
- }
120
- }
121
-
122
- h1 {
123
- font-size: 2.2rem;
124
- }
125
-
126
- h2 {
127
- font-size: 1.65rem;
128
- padding-bottom: 0.3rem;
129
- border-bottom: 1px solid var(--c-border);
130
- transition: border-color var(--t-color);
131
- }
132
-
133
- h3 {
134
- font-size: 1.35rem;
135
- }
136
-
137
- h4 {
138
- font-size: 1.15rem;
139
- }
140
-
141
- h5 {
142
- font-size: 1.05rem;
143
- }
144
-
145
- h6 {
146
- font-size: 1rem;
147
- }
148
-
149
- a {
150
- @media print {
151
- &[href^="http://"],
152
- &[href^="https://"]
153
- {
154
- &::after {
155
- content: ' (' attr(href) ') ';
156
- }
157
- }
158
- }
37
+ kbd {
38
+ border-color: var(--c-border-dark);
159
39
  }
160
40
 
161
- p,
162
- ul,
163
- ol {
164
- line-height: 1.7;
165
- overflow-wrap: break-word;
41
+ blockquote {
42
+ border-color: var(--c-border-dark);
43
+ color: var(--c-text-quote);
166
44
  }
167
45
 
168
46
  hr {
169
- border: 0;
170
- border-top: 1px solid var(--c-border);
47
+ border-color: var(--c-border);
171
48
  }
172
49
 
173
50
  table {
174
- border-collapse: collapse;
175
- margin: 1rem 0;
176
- display: block;
177
- overflow-x: auto;
178
51
  transition: border-color var(--t-color);
179
52
  }
180
53
 
181
54
  tr {
182
- border-top: 1px solid var(--c-border-dark);
183
- transition: border-color var(--t-color);
184
-
185
- &:nth-child(2n) {
55
+ &:nth-child(odd) {
186
56
  background-color: var(--c-bg-light);
187
57
  transition: background-color var(--t-color);
188
58
 
@@ -194,7 +64,6 @@ tr {
194
64
 
195
65
  th,
196
66
  td {
197
- padding: 0.6em 1em;
198
- border: 1px solid var(--c-border-dark);
67
+ border-color: var(--c-border-dark);
199
68
  transition: border-color var(--t-color);
200
69
  }
@@ -0,0 +1,20 @@
1
+ @use 'mixins';
2
+
3
+ // plugin-comment
4
+ #vp-comment {
5
+ @include mixins.content-wrapper;
6
+ }
7
+
8
+ .vp-navbar {
9
+ // plugin-docsearch
10
+ /* stylelint-disable-next-line selector-class-pattern */
11
+ .DocSearch {
12
+ transition: background-color var(--t-color);
13
+ }
14
+
15
+ // plugin-search
16
+ .search-box {
17
+ vertical-align: top;
18
+ flex: 0 0 auto;
19
+ }
20
+ }
@@ -54,22 +54,23 @@ html.dark {
54
54
 
55
55
  // code blocks vars
56
56
  --code-hl-bg-color: #363b46;
57
- }
58
57
 
59
- // plugin-docsearch
60
- html.dark .DocSearch {
61
- --docsearch-logo-color: var(--c-text);
62
- --docsearch-modal-shadow: inset 1px 1px 0 0 #2c2e40, 0 3px 8px 0 #000309;
63
- --docsearch-key-shadow: inset 0 -2px 0 0 #282d55, inset 0 0 1px 1px #51577d,
64
- 0 2px 2px 0 rgba(3, 4, 9, 0.3);
65
- --docsearch-key-gradient: linear-gradient(-225deg, #444950, #1c1e21);
66
- --docsearch-footer-shadow: inset 0 1px 0 0 rgba(73, 76, 106, 0.5),
67
- 0 -4px 8px 0 rgba(0, 0, 0, 0.2);
68
- }
58
+ // plugin-docsearch
59
+ /* stylelint-disable-next-line selector-class-pattern */
60
+ .DocSearch {
61
+ --docsearch-logo-color: var(--c-text);
62
+ --docsearch-modal-shadow: inset 1px 1px 0 0 #2c2e40, 0 3px 8px 0 #000309;
63
+ --docsearch-key-shadow: inset 0 -2px 0 0 #282d55, inset 0 0 1px 1px #51577d,
64
+ 0 2px 2px 0 rgb(3 4 9 / 30%);
65
+ --docsearch-key-gradient: linear-gradient(-225deg, #444950, #1c1e21);
66
+ --docsearch-footer-shadow: inset 0 1px 0 0 rgb(73 76 106 / 50%),
67
+ 0 -4px 8px 0 rgb(0 0 0 / 20%);
68
+ }
69
69
 
70
- // plugin-pwa
71
- html.dark body {
72
- --pwa-shadow-color: rgb(0 0 0 / 30%);
73
- --pwa-content-color: #ccc;
74
- --pwa-content-light-color: #999;
70
+ // plugin-pwa
71
+ body {
72
+ --pwa-shadow-color: rgb(0 0 0 / 30%);
73
+ --pwa-content-color: #ccc;
74
+ --pwa-content-light-color: #999;
75
+ }
75
76
  }