diff --git a/.nvmrc b/.nvmrc index f0387ac..28ebe8b 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -14.13.1 +16.5.0 diff --git a/.vscode/settings.json b/.vscode/settings.json index 4417a4c..0864afc 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -15,12 +15,10 @@ "titleBar.activeForeground": "#e7e7e7", "titleBar.inactiveBackground": "#ba3e4899", "titleBar.inactiveForeground": "#e7e7e799", - "editorGroup.border": "#ca6169", - "panel.border": "#ca6169", "sash.hoverBorder": "#ca6169", - "sideBar.border": "#ca6169", "statusBarItem.remoteBackground": "#ba3e48", - "statusBarItem.remoteForeground": "#e7e7e7" + "statusBarItem.remoteForeground": "#e7e7e7", + "commandCenter.border": "#e7e7e799" }, "peacock.color": "#ba3e48" } diff --git a/src/components/Footer/Footer.tsx b/src/components/Footer/Footer.tsx index 8a68d7f..ce62b12 100644 --- a/src/components/Footer/Footer.tsx +++ b/src/components/Footer/Footer.tsx @@ -136,7 +136,7 @@ export const Footer: FC = () => { - Web Vitals + Web Vitals diff --git a/src/components/Typography/Headline.tsx b/src/components/Typography/Headline.tsx index 5449912..31b6339 100644 --- a/src/components/Typography/Headline.tsx +++ b/src/components/Typography/Headline.tsx @@ -3,12 +3,16 @@ import styled from '@emotion/styled' import { upFromBreakpoint } from '../../utils/mixins' -export const h1Styles = css` +const baseStyles = css` font-family: var(--Typography-headlineFontFamily); - font-size: 2rem; font-weight: var(--Typography-headlineWeight); - line-height: 1.1; color: var(--Typography-headlineColor, inherit); +` + +export const h1Styles = css` + ${baseStyles} + font-size: 2rem; + line-height: 1.1; ${upFromBreakpoint('small')} { font-size: 2.75rem; @@ -20,11 +24,9 @@ export const Headline1 = styled.h1` ` export const h2Styles = css` - font-family: var(--Typography-headlineFontFamily); + ${baseStyles} font-size: 1.75rem; - font-weight: var(--Typography-headlineWeight); line-height: 1.2; - color: var(--Typography-headlineColor, inherit); ${upFromBreakpoint('small')} { font-size: 2.25rem; @@ -36,11 +38,9 @@ export const Headline2 = styled.h2` ` export const h3Styles = css` - font-family: var(--Typography-headlineFontFamily); + ${baseStyles} font-size: 1.5rem; - font-weight: var(--Typography-headlineWeight); line-height: 1.3; - color: var(--Typography-headlineColor, inherit); ${upFromBreakpoint('small')} { font-size: 1.75rem; @@ -52,11 +52,9 @@ export const Headline3 = styled.h3` ` export const h4Styles = css` - font-family: var(--Typography-headlineFontFamily); + ${baseStyles} font-size: 1.25rem; - font-weight: var(--Typography-headlineWeight); line-height: 1.2; - color: var(--Typography-headlineColor, inherit); ${upFromBreakpoint('small')} { font-size: 1.5rem; @@ -68,12 +66,10 @@ export const Headline4 = styled.h4` ` export const sublineStyles = css` - font-family: var(--Typography-headlineFontFamily); + ${baseStyles} font-size: 0.75rem; - font-weight: var(--Typography-headlineWeight); line-height: 1.4; letter-spacing: 0.15em; - color: var(--Typography-headlineColor, inherit); text-transform: uppercase; `