Skip to content

armgit / spree

Public Imported from GitHub
0

Open Source Platform for DTC, B2B Commerce, Marketplaces & Omnichannel. REST APIs, TypeScript SDKs, and production-ready Next.js storefront. Self-host it. Own your data. No vendor lock-in. Zero platform fees.

Typography fixes

Damian Legawiecdb9076e0606c
diff --git a/guides/src/components/MarkdownPageFooter.js b/guides/src/components/MarkdownPageFooter.js
index 9e1f4c7c5b..dbfa38a61d 100644
--- a/guides/src/components/MarkdownPageFooter.js
+++ b/guides/src/components/MarkdownPageFooter.js
@@ -25,11 +25,11 @@ export default function MarkdownPageFooter({ group, isIndex, section, title }) {
return (
<a
href={url}
- className="dib mv2 mv0-l link mr0 f5 nowrap pv2 ph2 bg-light-gray fw6 br2"
+ className="dib mt4 mb0 mr0 f5 nowrap fw6 br2"
target="_blank"
>
<IconEdit className="pointer dark-gray v-btm mr2 w1" />
- <span className="dark-gray">Edit this page on GitHub</span>
+ <span className="dark-gray">Propose changes to this page</span>
</a>
)
}
diff --git a/guides/src/components/base/H1.js b/guides/src/components/base/H1.js
index 26dc5d3c73..c9131740fd 100644
--- a/guides/src/components/base/H1.js
+++ b/guides/src/components/base/H1.js
@@ -7,7 +7,7 @@ import HeaderLink from './HeaderLink'
const H1 = ({ children }) => (
<h1
id={kebabCase(children)}
- className="flex w-100 relative overflow-visible items-center hide-child f2 fw4"
+ className="flex w-100 relative overflow-visible items-center hide-child f2 b"
>
<HeaderLink text={children}>{children}</HeaderLink>
</h1>
diff --git a/guides/src/components/base/H2.js b/guides/src/components/base/H2.js
index 71f98a6414..74d6537be0 100644
--- a/guides/src/components/base/H2.js
+++ b/guides/src/components/base/H2.js
@@ -7,7 +7,7 @@ import HeaderLink from './HeaderLink'
const H2 = ({ children }) => (
<h2
id={kebabCase(children)}
- className="mt0 flex w-100 relative overflow-visible items-center hide-child f3 fw4"
+ className="mb2 mt4 flex w-100 relative overflow-visible items-center hide-child f3 b"
>
<HeaderLink text={children}>{children}</HeaderLink>
</h2>
diff --git a/guides/src/components/base/H3.js b/guides/src/components/base/H3.js
index f3773f546f..99fcf5203e 100644
--- a/guides/src/components/base/H3.js
+++ b/guides/src/components/base/H3.js
@@ -7,7 +7,7 @@ import HeaderLink from './HeaderLink'
const H3 = ({ children }) => (
<h3
id={kebabCase(children)}
- className="flex fw4 w-100 relative overflow-visible items-center hide-child f4"
+ className="flex w-100 relative overflow-visible items-center hide-child b mb2 mt3"
>
<HeaderLink text={children}>{children}</HeaderLink>
</h3>
diff --git a/guides/src/components/base/H4.js b/guides/src/components/base/H4.js
index 070f4b1e4d..1884a8bd2a 100644
--- a/guides/src/components/base/H4.js
+++ b/guides/src/components/base/H4.js
@@ -13,7 +13,7 @@ import HeaderLink from './HeaderLink'
const H4 = ({ children }) => (
<h4
id={kebabCase(children)}
- className="flex fw4 w-100 relative overflow-visible items-center hide-child f5"
+ className="flex w-100 relative overflow-visible items-center hide-child f5 b mb2 mt2"
>
<HeaderLink text={children}>{children}</HeaderLink>
</h4>
diff --git a/guides/src/components/base/P.js b/guides/src/components/base/P.js
index 05ad8ea484..660ebcfbf2 100644
--- a/guides/src/components/base/P.js
+++ b/guides/src/components/base/P.js
@@ -7,7 +7,7 @@ import PropTypes from 'prop-types'
*/
const P = ({ children }) => (
- <p className="f5 dark-gray mv3 relative z-1">{children}</p>
+ <p className="f5 dark-gray mb2 mt0 relative z-1">{children}</p>
)
P.propTypes = {
diff --git a/guides/src/styles/app.css b/guides/src/styles/app.css
index 0e45aab195..730f04ac90 100644
--- a/guides/src/styles/app.css
+++ b/guides/src/styles/app.css
@@ -30,7 +30,6 @@ h1 {
margin-top: 0;
}
-main p,
main li {
line-height: 1.9;
}
diff --git a/guides/src/styles/spree.css b/guides/src/styles/spree.css
index c7e04449a9..1643c834c2 100644
--- a/guides/src/styles/spree.css
+++ b/guides/src/styles/spree.css
@@ -183,3 +183,7 @@ pre > code.highlight {
rgba(45, 32, 6, 0)
);
}
+
+.nested-links a {
+ text-decoration: none;
+}