1.10.2 • Published 10 days ago
@ultraviolet/themes v1.10.2
Ultraviolet Themes
Ultraviolet Themes is a set of themes for the Ultraviolet UI library.
Note
@ultraviolet/ui
is using@ultraviolet/theme
under the hood, therefore you don't need to install it if you want to use the default theme (consoleLightTheme
andconsoleDarkTheme
are the default themes).
Installation
$ pnpm add @ultraviolet/ui @ultraviolet/themes @emotion/react @emotion/styled
Usage
import { normalize, Button } from '@ultraviolet/ui'
import { consoleDarkTheme } from '@ultraviolet/themes' // << Here we import the theme we want to use
import { Global, css, ThemeProvider } from '@emotion/react'
const App = () => (
<ThemeProvider theme={consoleDarkTheme}>
<Global
styles={css`
${normalize()}
`}
/>
<Button variant="primary" onClick={() => console.log('clicked')}>
Click Me
</Button>
</ThemeProvider>
)
Documentation
Checkout our documentation website.
1.10.2
10 days ago
1.10.1
11 days ago
1.10.0
1 month ago
1.9.0
3 months ago
1.8.0
3 months ago
1.7.0
4 months ago
1.6.0
5 months ago
1.2.0
10 months ago
1.1.1
10 months ago
1.1.0
10 months ago
1.1.5
10 months ago
1.5.0
6 months ago
1.1.4
10 months ago
1.4.0
6 months ago
1.1.3
10 months ago
1.3.0
7 months ago
1.2.1
10 months ago
1.1.2
10 months ago
1.0.0
11 months ago