1.0.4 • Published 6 months ago
@someui/someui v1.0.4
SomeUI
TailwindCSS component library
Installation
- Install the package
npm add @someui/someui
- Add SomeUI to your
tailwind.config.js
:
import someui from '@someui/someui'
export default {
...
plugins: [
someui()
],
}
- Head to SomeUI and configure your theme. Copy the generated output and use it in your
tailwind.config.js
:
export default {
...
plugins: [
someui({
"colors": {
"primary": "#4f48e5",
"secondary": "#005A9C",
"danger": "#D9534F",
"warning": "#FFC107",
"success": "#5CB85C",
"text": "#343A40"
},
"rounding": 10.5,
"shadow": 0
})
],
}