mirror of
https://github.com/c8r/x0.git
synced 2024-11-12 18:47:35 +03:00
24 lines
399 B
JavaScript
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
|