@primer/doctocat-nextjs 0.0.0-20260121101739 → 0.0.0-20260121104552

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-20260121101739
3
+ ## 0.0.0-20260121104552
4
4
 
5
5
  ### Patch Changes
6
6
 
7
7
  - Fake entry to force publishing
8
8
 
9
- ## 0.0.0-20260121101737
9
+ ## 0.0.0-20260121104550
10
10
 
11
11
  ### Patch Changes
12
12
 
13
- - [`3b5fd59`](https://github.com/primer/doctocat-nextjs/commit/3b5fd59c47a1c86030457daa92b557f65e2e13ff) Thanks [@danielguillan](https://github.com/danielguillan)! - Remove underlines from header links
13
+ - [#83](https://github.com/primer/doctocat-nextjs/pull/83) [`3b5fd59`](https://github.com/primer/doctocat-nextjs/commit/3b5fd59c47a1c86030457daa92b557f65e2e13ff) Thanks [@danielguillan](https://github.com/danielguillan)! - Remove underlines from header links
14
14
 
15
15
  - [#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
16
16
 
@@ -96,13 +96,12 @@
96
96
  }
97
97
  }
98
98
 
99
- .Header a.Header__siteTitle,
100
- .Header a.Header__siteTitle:hover {
99
+ .Header__siteTitle {
101
100
  display: flex;
102
101
  gap: var(--base-size-8);
103
102
  align-items: center;
104
103
  margin-inline-end: auto;
105
- text-decoration: none;
104
+ text-decoration: none !important; /* Override @primer/react link styles */
106
105
  }
107
106
 
108
107
  .Header__siteTitle svg {
@@ -124,16 +123,15 @@
124
123
  gap: var(--base-size-2);
125
124
  }
126
125
 
127
- .Header a.Header__link,
128
- .Header a.Header__link:hover {
129
- text-decoration: none;
126
+ .Header__link {
127
+ text-decoration: none !important; /* Override @primer/react link styles */
130
128
  font-size: var(--base-font-size-16);
131
129
  font-weight: var(--base-font-weight-500);
132
130
  padding: var(--base-size-6) var(--base-size-12);
133
131
  border-radius: var(--brand-borderRadius-small);
134
132
  }
135
133
 
136
- .Header a.Header__link:hover {
134
+ .Header__link:hover {
137
135
  background-color: var(--brand-color-canvas-subtle);
138
136
  }
139
137
 
@@ -92,23 +92,22 @@
92
92
  border-radius: var(--brand-borderRadius-medium);
93
93
  }
94
94
 
95
- .dropdown a.link:focus-visible {
95
+ .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
- .dropdown a.link,
103
- .dropdown a.link:hover {
102
+ .link {
104
103
  display: block;
105
104
  padding: var(--base-size-6) var(--base-size-8);
106
- text-decoration: none;
105
+ text-decoration: none !important; /* Override @primer/react link styles */
107
106
  color: var(--brand-color-text-default);
108
107
  cursor: pointer;
109
108
  }
110
109
 
111
- .dropdown a.link:hover {
110
+ .link:hover {
112
111
  background-color: var(--brand-color-canvas-subtle);
113
112
  }
114
113
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@primer/doctocat-nextjs",
3
- "version": "0.0.0-20260121101739",
3
+ "version": "0.0.0-20260121104552",
4
4
  "description": "A Next.js theme for building Primer documentation sites",
5
5
  "main": "index.js",
6
6
  "type": "module",