import React from 'react'
import { H1, H2, H3, H4, Button, Row, Column, Layout } from 'atomic-styled-components'
import {ThemeProvider} from 'styled-components';
const lightTheme = {
main: 'light'
};
const darkTheme = {
main: 'dark'
};
const App = () =>
<Layout>
<Row>
<Column>
<ThemeProvider theme={lightTheme}>
<div>
<H1>Hello world</H1>
<H2>Hello world</H2>
<H3>Hello world</H3>
<H4>Hello world</H4>
<Button>Hello world</Button>
</div>
</ThemeProvider>
</Column>
<Column>
<ThemeProvider theme={darkTheme}>
<div>
<H1>Hello world</H1>
<H2>Hello world</H2>
<H3>Hello world</H3>
<H4>Hello world</H4>
<Button>Hello world</Button>
</div>
</ThemeProvider>
</Column>
</Row>
</Layout>
export default App;
-
Notifications
You must be signed in to change notification settings - Fork 0
sabha/atomic-styled-components
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Desing system using Styled component Typography, Layout & Button with theming
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published