@vuepress/theme-default 2.0.0-rc.104 → 2.0.0-rc.106

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.
@@ -28,7 +28,7 @@ const features = computed(() => frontmatter.value.features ?? [])
28
28
 
29
29
  margin-top: 2.5rem;
30
30
  padding: 1.2rem 0;
31
- border-top: 1px solid var(--vp-c-gutter);
31
+ border-top: 1px solid var(--vp-c-divider);
32
32
 
33
33
  transition: border-color var(--vp-t-color);
34
34
 
@@ -171,7 +171,7 @@ onContentUpdated(() => {
171
171
  max-height: calc(100vh - 2.7rem);
172
172
  margin: 0;
173
173
  padding: 0.6rem 0;
174
- border: 1px solid var(--vp-c-gutter);
174
+ border: 1px solid var(--vp-c-divider);
175
175
  border-radius: 0.5rem;
176
176
 
177
177
  background-color: var(--vp-c-bg-elv);
@@ -245,7 +245,6 @@ onContentUpdated(() => {
245
245
  border-bottom: none;
246
246
 
247
247
  font-weight: 400;
248
- line-height: 1.7rem;
249
248
 
250
249
  &:hover {
251
250
  color: var(--vp-c-accent);
@@ -270,7 +269,11 @@ onContentUpdated(() => {
270
269
  }
271
270
  }
272
271
 
273
- .vp-navbar-dropdown-wrapper.mobile & > a {
272
+ .vp-navbar-items & .auto-link {
273
+ line-height: 1.7rem;
274
+ }
275
+
276
+ .vp-navbar-dropdown-wrapper.mobile & > .auto-link {
274
277
  line-height: 2rem;
275
278
  }
276
279
  }
@@ -278,7 +281,7 @@ onContentUpdated(() => {
278
281
  .vp-navbar-dropdown-subtitle {
279
282
  margin: 0.45rem 0 0;
280
283
  padding: 1rem 0 0.45rem;
281
- border-top: 1px solid var(--vp-c-gutter);
284
+ border-top: 1px solid var(--vp-c-divider);
282
285
  font-size: 0.9rem;
283
286
 
284
287
  .vp-navbar-dropdown-wrapper.mobile & {
@@ -72,7 +72,7 @@ useEventListener('keydown', (event): void => {
72
72
  margin-inline: auto;
73
73
  margin-top: 0;
74
74
  padding: 1rem 2rem 0;
75
- border-top: 1px solid var(--vp-c-gutter);
75
+ border-top: 1px solid var(--vp-c-divider);
76
76
 
77
77
  transition: border-top var(--vp-t-color);
78
78
 
@@ -90,7 +90,7 @@ useEventListener('keydown', (event): void => {
90
90
 
91
91
  margin: 0.25rem;
92
92
  padding: 0.25rem 0.5rem;
93
- border: 1px solid var(--vp-c-gutter);
93
+ border: 1px solid var(--vp-c-divider);
94
94
  border-radius: 0.25rem;
95
95
 
96
96
  &:hover {
@@ -46,7 +46,7 @@ defineSlots<{
46
46
  background-color var(--vp-t-color),
47
47
  border-color var(--vp-t-color);
48
48
 
49
- scrollbar-color: var(--vp-c-accent-bg) var(--vp-c-gutter);
49
+ scrollbar-color: var(--vp-c-accent-bg) var(--vp-c-divider);
50
50
  scrollbar-width: thin;
51
51
 
52
52
  // narrow desktop / iPad
@@ -73,7 +73,7 @@ defineSlots<{
73
73
  }
74
74
 
75
75
  &::-webkit-scrollbar-track {
76
- background-color: var(--vp-c-gutter);
76
+ background-color: var(--vp-c-divider);
77
77
  }
78
78
 
79
79
  &::-webkit-scrollbar-thumb {
@@ -84,7 +84,7 @@ defineSlots<{
84
84
  .vp-navbar-items {
85
85
  display: none;
86
86
  padding: 0.5rem 0 0.75rem;
87
- border-bottom: 1px solid var(--vp-c-gutter);
87
+ border-bottom: 1px solid var(--vp-c-divider);
88
88
  transition: border-color var(--vp-t-color);
89
89
 
90
90
  @media (max-width: $MQMobile) {
@@ -16,7 +16,7 @@
16
16
  --vp-c-text-subtle: rgb(235 235 245 / 38%);
17
17
 
18
18
  // border colors
19
- --vp-c-gutter: #000;
19
+ --vp-c-divider: #2e2e32;
20
20
  --vp-c-border: #3c3f44;
21
21
  --vp-c-border-hard: #45484e;
22
22
 
@@ -18,7 +18,7 @@
18
18
  --vp-c-text-subtle: rgb(60 60 67 / 56%);
19
19
 
20
20
  // border colors
21
- --vp-c-gutter: #e2e2e3;
21
+ --vp-c-divider: #e2e2e3;
22
22
  --vp-c-border: #c2c2c4;
23
23
  --vp-c-border-hard: #b8b8ba;
24
24
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vuepress/theme-default",
3
- "version": "2.0.0-rc.104",
3
+ "version": "2.0.0-rc.106",
4
4
  "description": "Default theme of VuePress",
5
5
  "keywords": [
6
6
  "vuepress-theme",
@@ -42,27 +42,27 @@
42
42
  "templates"
43
43
  ],
44
44
  "dependencies": {
45
- "@vuepress/helper": "2.0.0-rc.104",
46
- "@vuepress/plugin-active-header-links": "2.0.0-rc.103",
47
- "@vuepress/plugin-back-to-top": "2.0.0-rc.104",
48
- "@vuepress/plugin-copy-code": "2.0.0-rc.104",
49
- "@vuepress/plugin-git": "2.0.0-rc.104",
50
- "@vuepress/plugin-links-check": "2.0.0-rc.104",
51
- "@vuepress/plugin-markdown-hint": "2.0.0-rc.104",
52
- "@vuepress/plugin-markdown-tab": "2.0.0-rc.104",
53
- "@vuepress/plugin-medium-zoom": "2.0.0-rc.104",
54
- "@vuepress/plugin-nprogress": "2.0.0-rc.104",
55
- "@vuepress/plugin-palette": "2.0.0-rc.104",
56
- "@vuepress/plugin-prismjs": "2.0.0-rc.104",
57
- "@vuepress/plugin-seo": "2.0.0-rc.104",
58
- "@vuepress/plugin-sitemap": "2.0.0-rc.104",
59
- "@vuepress/plugin-theme-data": "2.0.0-rc.103",
60
- "@vueuse/core": "^13.1.0",
61
- "vue": "^3.5.13"
45
+ "@vuepress/helper": "2.0.0-rc.106",
46
+ "@vuepress/plugin-active-header-links": "2.0.0-rc.106",
47
+ "@vuepress/plugin-back-to-top": "2.0.0-rc.106",
48
+ "@vuepress/plugin-copy-code": "2.0.0-rc.106",
49
+ "@vuepress/plugin-git": "2.0.0-rc.106",
50
+ "@vuepress/plugin-links-check": "2.0.0-rc.106",
51
+ "@vuepress/plugin-markdown-hint": "2.0.0-rc.106",
52
+ "@vuepress/plugin-markdown-tab": "2.0.0-rc.106",
53
+ "@vuepress/plugin-medium-zoom": "2.0.0-rc.106",
54
+ "@vuepress/plugin-nprogress": "2.0.0-rc.106",
55
+ "@vuepress/plugin-palette": "2.0.0-rc.106",
56
+ "@vuepress/plugin-prismjs": "2.0.0-rc.106",
57
+ "@vuepress/plugin-seo": "2.0.0-rc.106",
58
+ "@vuepress/plugin-sitemap": "2.0.0-rc.106",
59
+ "@vuepress/plugin-theme-data": "2.0.0-rc.105",
60
+ "@vueuse/core": "^13.2.0",
61
+ "vue": "^3.5.14"
62
62
  },
63
63
  "peerDependencies": {
64
- "sass": "^1.86.3",
65
- "sass-embedded": "^1.86.3",
64
+ "sass": "^1.89.0",
65
+ "sass-embedded": "^1.89.0",
66
66
  "sass-loader": "^16.0.5",
67
67
  "vuepress": "2.0.0-rc.23"
68
68
  },
@@ -80,5 +80,5 @@
80
80
  "publishConfig": {
81
81
  "access": "public"
82
82
  },
83
- "gitHead": "34f6cf13f83e5c0bd758f44c0a1b372413c6ded9"
83
+ "gitHead": "fecc1ed177a2294e8dfe3c24f949073a638a6e90"
84
84
  }