@conduction/docusaurus-preset 3.27.0 → 3.27.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@conduction/docusaurus-preset",
3
- "version": "3.27.0",
3
+ "version": "3.27.1",
4
4
  "scripts": {
5
5
  "prepack": "node scripts/prepack-bundle-css.js"
6
6
  },
@@ -39,6 +39,12 @@ export default function AppGlyph({app, className, title, ...rest}) {
39
39
  viewBox={glyph.viewBox}
40
40
  className={className}
41
41
  fill="currentColor"
42
+ // These are FILLED brand glyphs. Force stroke off inline so a
43
+ // container's line-icon rule (e.g. .iconWrap svg { stroke: currentColor;
44
+ // stroke-width: 2 }) can't paint a 2px outline over the fill and bloat
45
+ // the mark. Inline style beats module CSS, so this fixes every consumer
46
+ // (apps grid, detail hero, cross-links, connext) in one place.
47
+ style={{fill: 'currentColor', stroke: 'none'}}
42
48
  role={title ? 'img' : undefined}
43
49
  aria-hidden={title ? undefined : 'true'}
44
50
  aria-label={title}