1
1
mirror of https://github.com/c8r/x0.git synced 2024-11-12 18:47:35 +03:00
x0/docs/Style.js
2017-10-07 21:01:25 -04:00

24 lines
399 B
JavaScript

import React from 'react'
const Style = ({ css = '' }) => (
<style
dangerouslySetInnerHTML={{
__html: base + css
}}
/>
)
const base = `
*{box-sizing:border-box}
body {
font-family: -apple-system, BlinkMacSystemFont, sans-serif;
line-height: 1.5;
min-height: 100vh;
color: white;
background-color: black;
-webkit-font-smoothing: antialiased;
}
`
export default Style