Stylistic font changes and config

This commit is contained in:
Moris Zen
2018-09-05 21:51:30 +02:00
parent 290f3e4080
commit d65899a6ad
6 changed files with 42 additions and 19 deletions

View File

@@ -3,7 +3,9 @@ import Link from 'gatsby-link'
const InfoBox = ({ ...props }) => ( const InfoBox = ({ ...props }) => (
<div className={`${props.classes}`}> <div className={`${props.classes}`}>
<h2 className={`${props.h2Classes} text-black my-2`}>{props.headline}</h2> <h2 className={`${props.h2Classes} py-2 text-black my-2`}>
{props.headline}
</h2>
<p className="text-black-light leading-normal text-lg font-light"> <p className="text-black-light leading-normal text-lg font-light">
{props.text} {props.text}
</p> </p>

View File

@@ -11,7 +11,7 @@ const IntroDefault = ({ ...props }) => (
className={` className={`
${ ${
props.light ? headlineDark : headlineLight props.light ? headlineDark : headlineLight
} opacity-50 text-sm font-light text-black uppercase pt-2 pb-1`} } opacity-50 text-sm font-light text-black uppercase py-2 pb-1`}
> >
{props.intro} {props.intro}
</h3> </h3>
@@ -19,7 +19,7 @@ const IntroDefault = ({ ...props }) => (
{props.headline && ( {props.headline && (
<h2 <h2
className={`${props.light ? headlineDark : ''} ${props.h2Classes} className={`${props.light ? headlineDark : ''} ${props.h2Classes}
text-black pt-1 pb-2`} text-black py-4`}
> >
{props.headline} {props.headline}
</h2> </h2>

View File

@@ -28,8 +28,8 @@ const Layout = ({ children, data }) => (
link={[{ rel: 'shortcut icon', type: 'image/png', href: `${favicon32}` }]} link={[{ rel: 'shortcut icon', type: 'image/png', href: `${favicon32}` }]}
/> />
<MessengerCustomerChat <MessengerCustomerChat
pageId="<PAGE_ID>" pageId="715686642152482"
appId="<APP_ID>" appId="1896398823783343"
htmlRef="<REF_STRING>" htmlRef="<REF_STRING>"
/> />
<div className="side-panel panel"> <div className="side-panel panel">

View File

@@ -171,7 +171,7 @@ const IndexPage = ({ ...props }) => (
<section className="text-center p-4 relative"> <section className="text-center p-4 relative">
<Fade> <Fade>
<SectionIntro <SectionIntro
h2Classes="text-2xl md:text-4xl" h2Classes="py-8 text-2xl md:text-4xl"
headline="Yet sometimes we have fun & publish" headline="Yet sometimes we have fun & publish"
/> />
</Fade> </Fade>

View File

@@ -2909,14 +2909,18 @@ table {
} }
.leading-normal { .leading-normal {
line-height: 1.5; line-height: 1.7;
} }
.leading-loose { .leading-loose {
line-height: 1.75; line-height: 1.8;
} }
.leading-looser { .leading-looser {
line-height: 1.9;
}
.leading-loosest {
line-height: 2; line-height: 2;
} }
@@ -8067,14 +8071,18 @@ table {
} }
.sm\:leading-normal { .sm\:leading-normal {
line-height: 1.5; line-height: 1.7;
} }
.sm\:leading-loose { .sm\:leading-loose {
line-height: 1.75; line-height: 1.8;
} }
.sm\:leading-looser { .sm\:leading-looser {
line-height: 1.9;
}
.sm\:leading-loosest {
line-height: 2; line-height: 2;
} }
@@ -13210,14 +13218,18 @@ table {
} }
.md\:leading-normal { .md\:leading-normal {
line-height: 1.5; line-height: 1.7;
} }
.md\:leading-loose { .md\:leading-loose {
line-height: 1.75; line-height: 1.8;
} }
.md\:leading-looser { .md\:leading-looser {
line-height: 1.9;
}
.md\:leading-loosest {
line-height: 2; line-height: 2;
} }
@@ -18353,14 +18365,18 @@ table {
} }
.lg\:leading-normal { .lg\:leading-normal {
line-height: 1.5; line-height: 1.7;
} }
.lg\:leading-loose { .lg\:leading-loose {
line-height: 1.75; line-height: 1.8;
} }
.lg\:leading-looser { .lg\:leading-looser {
line-height: 1.9;
}
.lg\:leading-loosest {
line-height: 2; line-height: 2;
} }
@@ -23496,14 +23512,18 @@ table {
} }
.xl\:leading-normal { .xl\:leading-normal {
line-height: 1.5; line-height: 1.7;
} }
.xl\:leading-loose { .xl\:leading-loose {
line-height: 1.75; line-height: 1.8;
} }
.xl\:leading-looser { .xl\:leading-looser {
line-height: 1.9;
}
.xl\:leading-loosest {
line-height: 2; line-height: 2;
} }

View File

@@ -314,9 +314,10 @@ module.exports = {
leading: { leading: {
none: 1, none: 1,
tight: 1.25, tight: 1.25,
normal: 1.5, normal: 1.7,
loose: 1.75, loose: 1.8,
looser: 2, looser: 1.9,
loosest: 2,
}, },
/* /*