@primer/doctocat-nextjs 0.8.1-rc.3df5642 → 0.8.1

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
@@ -4,6 +4,8 @@
4
4
 
5
5
  ### Patch Changes
6
6
 
7
+ - [#83](https://github.com/primer/doctocat-nextjs/pull/83) [`3c3b1a9`](https://github.com/primer/doctocat-nextjs/commit/3c3b1a95ff8a301ea81b67f393aad7a0d4ab52f9) Thanks [@danielguillan](https://github.com/danielguillan)! - Remove underlines from header links
8
+
7
9
  - [#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
8
10
 
9
11
  ## 0.8.0
@@ -101,7 +101,7 @@
101
101
  gap: var(--base-size-8);
102
102
  align-items: center;
103
103
  margin-inline-end: auto;
104
- text-decoration: none;
104
+ text-decoration: none !important; /* Override @primer/react link styles */
105
105
  }
106
106
 
107
107
  .Header__siteTitle svg {
@@ -124,7 +124,7 @@
124
124
  }
125
125
 
126
126
  .Header__link {
127
- text-decoration: none;
127
+ text-decoration: none !important; /* Override @primer/react link styles */
128
128
  font-size: var(--base-font-size-16);
129
129
  font-weight: var(--base-font-weight-500);
130
130
  padding: var(--base-size-6) var(--base-size-12);
@@ -102,7 +102,7 @@
102
102
  .link {
103
103
  display: block;
104
104
  padding: var(--base-size-6) var(--base-size-8);
105
- text-decoration: none;
105
+ text-decoration: none !important; /* Override @primer/react link styles */
106
106
  color: var(--brand-color-text-default);
107
107
  cursor: pointer;
108
108
  }
@@ -173,11 +173,8 @@
173
173
  .Prose a:not(:global(.custom-component) a),
174
174
  .Prose a:-webkit-any-link:not(:global(.custom-component) a:-webkit-any-link) {
175
175
  color: var(--brand-InlineLink-color-rest);
176
- position: relative;
177
- }
178
-
179
- .Prose a:hover:not(:global(.custom-component) a:hover) {
180
176
  text-decoration: underline;
177
+ position: relative;
181
178
  }
182
179
 
183
180
  .Prose a::after:not(:global(.custom-component) a::after) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@primer/doctocat-nextjs",
3
- "version": "0.8.1-rc.3df5642",
3
+ "version": "0.8.1",
4
4
  "description": "A Next.js theme for building Primer documentation sites",
5
5
  "main": "index.js",
6
6
  "type": "module",