1.15.0 • Published 9 months ago

@ultraviolet/themes v1.15.0

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
9 months ago

Ultraviolet Themes

npm version

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 and consoleDarkTheme are the default themes).

Get Started

$ 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 { consoleLightTheme } from "@ultraviolet/themes/console/light" // Alternatively you can directly import the light theme if your bundler doesn't have tree-shaking capabilities
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.15.0

9 months ago

1.14.1

10 months ago

1.14.2

10 months ago

1.14.0

11 months ago

1.13.0

11 months ago

1.12.3

1 year ago

1.12.4

1 year ago

1.12.2

1 year ago

1.12.1

1 year ago

1.12.0

1 year ago

1.11.0

1 year ago

1.10.2

1 year ago

1.10.1

1 year ago

1.10.0

1 year ago

1.9.0

1 year ago

1.8.0

2 years ago

1.7.0

2 years ago

1.6.0

2 years ago

1.2.0

2 years ago

1.1.1

2 years ago

1.1.0

2 years ago

1.1.5

2 years ago

1.5.0

2 years ago

1.1.4

2 years ago

1.4.0

2 years ago

1.1.3

2 years ago

1.3.0

2 years ago

1.2.1

2 years ago

1.1.2

2 years ago

1.0.0

2 years ago