2.2.0 • Published 2 months ago

@hixme-ui/theme v2.2.0

Weekly downloads
11
License
MIT
Repository
-
Last release
2 months ago

Theme

npm i --save @hixme-ui/theme

Theme

HUI theme colors and defaults

import theme from '@hixme-ui/theme'

const primary = theme.colors.primary

ThemeProvider

HUI theme provider, which is just an implementation of styled-components ThemeProvider with the HUI theme as the default

import { ThemeProvider } from '@hixme-ui/theme'

const App = ({ children }) => (
  <ThemeProvider>
    {children}
  </ThemeProvider>
)

withGlobal prop

The HUI was built with some global settings, including the normalize CSS. These global styles are not set by default and are enabled by adding the withGlobal property on the ThemeProvider.

const App = ({ children }) => (
  <ThemeProvider withGlobal>
    {children}
  </ThemeProvider>
)
2.2.0

2 months ago

2.0.0-alpha.13

2 years ago

2.0.0

2 years ago

2.1.0

2 years ago

3.0.2

3 years ago

2.0.0-alpha.12

4 years ago

2.0.0-alpha.7

4 years ago

2.0.0-alpha.8

4 years ago

2.0.0-alpha.9

4 years ago

2.0.0-alpha.11

4 years ago

2.0.0-alpha.3

4 years ago

2.0.0-alpha.10

4 years ago

2.0.0-alpha.4

4 years ago

2.0.0-alpha.5

4 years ago

2.0.0-alpha.6

4 years ago

2.0.0-alpha.1

4 years ago

2.0.0-alpha.2

4 years ago

1.20.5

4 years ago

1.20.7

4 years ago

1.20.4

6 years ago

1.20.2

6 years ago

1.20.1

6 years ago

2.0.0-alpha.0

6 years ago

1.20.0

7 years ago

1.19.2

7 years ago

1.17.2

7 years ago

1.17.1

7 years ago

1.15.0

7 years ago

1.14.3

7 years ago

1.14.1

7 years ago

1.14.0

7 years ago

1.11.0

7 years ago

1.10.0

7 years ago

1.9.1

7 years ago

1.8.1

7 years ago

1.9.0

7 years ago

1.8.0

7 years ago

1.7.0

7 years ago

1.6.0

7 years ago

1.5.0

7 years ago

1.3.0

7 years ago

1.1.13

7 years ago

1.1.12

7 years ago

1.1.10

7 years ago

1.1.9

7 years ago

1.1.5

7 years ago

1.1.1

7 years ago

1.0.12

7 years ago

1.0.11

7 years ago

1.0.4

7 years ago