1
1
mirror of https://github.com/jxnblk/mdx-deck.git synced 2024-11-29 13:58:02 +03:00

Adjust Slide styles

This commit is contained in:
Brent Jackson 2018-07-29 17:09:25 -04:00
parent 2e2f5439cb
commit 242cd9e906
3 changed files with 13 additions and 5 deletions

View File

@ -4,9 +4,17 @@ import Box from 'superbox'
export default ({ children }) =>
<Box
p={4}
bg='magenta'
bg='link'
css={{
width: '100vw'
display: 'flex',
alignItems: 'center',
justifyContent: 'center',
width: '100vw',
height: '100vh',
'& a': {
fontWeight: 'bold',
color: 'inherit'
}
}}>
{children}
</Box>

View File

@ -1,4 +1,5 @@
export { future as theme } from '../src/themes'
import Layout from './Layout'
# mdx-deck
@ -40,6 +41,7 @@ import Box from 'superbox'
Anonymous
---
export default Layout
# Get started
[GitHub](https://github.com/jxnblk/mdx-deck)

View File

@ -55,9 +55,7 @@ export const Slide = styled.div([], {
}, space, color)
Slide.defaultProps = {
px: [ 4, 5, 6 ],
pt: [ 3, 4 ],
pb: [ 4, 5 ],
px: [ 4, 5, 6 ]
}
const Dot = styled.button([], {