This file contains hidden or 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
* { | |
box-sizing: inherit; | |
} | |
body, | |
h1, h2, h3, h4, h5, h6, | |
dl, dd, ol, ul, | |
form, fieldset, legend { | |
margin: 0; | |
padding: 0; |
This file contains hidden or 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
@import 'settings'; | |
html { | |
font-family: var(--font-primary); | |
} | |
ol, ul { | |
list-style: none; | |
} |
This file contains hidden or 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
import { StyleSheet, css } from 'aphrodite' | |
const styles = StyleSheet.create({ | |
base: { | |
border: 'none', | |
outline: 'none' | |
} | |
}) | |
const Button = ({children, className, ...rest}) => |
This file contains hidden or 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
import { StyleSheet, css } from 'aphrodite' | |
import { colors, spacing, viewport } from 'App/style/settings' | |
const styles = StyleSheet.create({ | |
container: { | |
border: `solid 1px ${colors.primary}`, | |
[viewport.narrow]: { | |
padding: spacing.tiny | |
} | |
} |
This file contains hidden or 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
import { colors } from 'App/style/settings' | |
import { StyleSheet, css } from 'aphrodite' | |
import BtnBase from 'App/shared/el.Btn' | |
const styles = StyleSheet.create({ | |
common: { | |
fontSize: '1.2em', | |
textTransform: 'uppercase' | |
}, | |
main: { |
This file contains hidden or 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
import { StyleSheet, css } from 'aphrodite' | |
const styles = StyleSheet.create({ | |
base: { | |
display: 'flex', | |
':hover': { | |
opacity: 0.5 | |
} | |
} | |
}) |
This file contains hidden or 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
const InlineStyled = () => | |
<div style={{display: 'flex', padding: '2em', backgroundColor: 'cyan'}}> | |
<h1 style={{color: 'white', fontFamily: 'monospace'}}> | |
Gotta Catch Em All | |
</h1> | |
</div> |
This file contains hidden or 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
import { StyleSheet, css } from 'aphrodite' | |
import { colors, spacing } from 'App/style/settings' | |
import Btn from 'App/shared/atm.Btn' | |
import Input from 'App/shared/atm.Input' | |
const styles = StyleSheet.create({ | |
container: { | |
display: 'flex', | |
align: 'center', | |
padding: spacing.default |
This file contains hidden or 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
@import "generic.reset"; | |
@import "generic.normalize"; | |
@import "generic.box-sizing"; | |
@import "elements.page"; | |
@import "elements.link"; | |
@import "elements.typography"; | |
html, | |
#app { |
This file contains hidden or 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
import './style/css' | |
import React from 'react' | |
const Root = ({children}) => | |
<div> | |
{ children } | |
</div> | |
export default Root |