@primer/doctocat-nextjs 0.0.0-20251219161209 → 0.0.0-20260121101618

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/CHANGELOG.md CHANGED
@@ -1,16 +1,16 @@
1
1
  # @primer/doctocat-nextjs
2
2
 
3
- ## 0.0.0-20251219161209
3
+ ## 0.0.0-20260121101618
4
4
 
5
5
  ### Patch Changes
6
6
 
7
7
  - Fake entry to force publishing
8
8
 
9
- ## 0.0.0-20251219161207
9
+ ## 0.0.0-20260121101616
10
10
 
11
11
  ### Patch Changes
12
12
 
13
- - [#80](https://github.com/primer/doctocat-nextjs/pull/80) [`58b234f`](https://github.com/primer/doctocat-nextjs/commit/58b234fc348a9261ad73781e031cf2cd40e2abdb) Thanks [@danielguillan](https://github.com/danielguillan)! - Improves accessibility of anchor links by adding an underline
13
+ - [#80](https://github.com/primer/doctocat-nextjs/pull/80) [`772d8de`](https://github.com/primer/doctocat-nextjs/commit/772d8de1b580f7158262f313952227e282035003) Thanks [@danielguillan](https://github.com/danielguillan)! - Improves accessibility of anchor links by adding an underline
14
14
 
15
15
  ## 0.8.0
16
16
 
@@ -96,7 +96,8 @@
96
96
  }
97
97
  }
98
98
 
99
- .Header__siteTitle {
99
+ .Header a.Header__siteTitle,
100
+ .Header a.Header__siteTitle:hover {
100
101
  display: flex;
101
102
  gap: var(--base-size-8);
102
103
  align-items: center;
@@ -123,7 +124,8 @@
123
124
  gap: var(--base-size-2);
124
125
  }
125
126
 
126
- .Header__link {
127
+ .Header a.Header__link,
128
+ .Header a.Header__link:hover {
127
129
  text-decoration: none;
128
130
  font-size: var(--base-font-size-16);
129
131
  font-weight: var(--base-font-weight-500);
@@ -131,7 +133,7 @@
131
133
  border-radius: var(--brand-borderRadius-small);
132
134
  }
133
135
 
134
- .Header__link:hover {
136
+ .Header a.Header__link:hover {
135
137
  background-color: var(--brand-color-canvas-subtle);
136
138
  }
137
139
 
@@ -92,14 +92,15 @@
92
92
  border-radius: var(--brand-borderRadius-medium);
93
93
  }
94
94
 
95
- .link:focus-visible {
95
+ .dropdown a.link:focus-visible {
96
96
  position: relative;
97
97
  outline: var(--base-size-4) solid var(--brand-color-focus);
98
98
  border-radius: var(--brand-borderRadius-small);
99
99
  z-index: 1;
100
100
  }
101
101
 
102
- .link {
102
+ .dropdown a.link,
103
+ .dropdown a.link:hover {
103
104
  display: block;
104
105
  padding: var(--base-size-6) var(--base-size-8);
105
106
  text-decoration: none;
@@ -107,7 +108,7 @@
107
108
  cursor: pointer;
108
109
  }
109
110
 
110
- .link:hover {
111
+ .dropdown a.link:hover {
111
112
  background-color: var(--brand-color-canvas-subtle);
112
113
  }
113
114
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@primer/doctocat-nextjs",
3
- "version": "0.0.0-20251219161209",
3
+ "version": "0.0.0-20260121101618",
4
4
  "description": "A Next.js theme for building Primer documentation sites",
5
5
  "main": "index.js",
6
6
  "type": "module",