This repository has been archived by the owner on Apr 19, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 73
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b30d7c0
commit bcf8ce6
Showing
13 changed files
with
129 additions
and
203 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,5 @@ | ||
import React from 'react'; | ||
|
||
import tw from "twin.macro"; | ||
|
||
const Button = tw.button` | ||
bg-blue-500 | ||
hover:bg-blue-800 | ||
text-white | ||
p-2 | ||
rounded | ||
` | ||
|
||
const IndexPage = () => ( | ||
<> | ||
<Button>A Nice Button</Button> | ||
</> | ||
) | ||
|
||
export default IndexPage | ||
export default () => { | ||
return <div> | ||
<h1>In the name of God.</h1> | ||
</div> | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
import { Global, css } from '@emotion/core' | ||
|
||
export const BaseStyles = () => ( | ||
<Global | ||
styles={css` | ||
/* -------------------------------------- */ | ||
/* --- Base Setup --- */ | ||
/* -------------------------------------- */ | ||
:root { | ||
--font: 'ABCDiatype', sans-serif; | ||
} | ||
html { | ||
font-size: 62.5%; | ||
} | ||
body { | ||
font-family: var(--font); | ||
color: red; | ||
} | ||
`} | ||
/> | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.