@aliwind/theme
v0.0.1-alpha.0
Published
Theme of Wind Components
Downloads
4
Readme
@aliwind/theme
Theme of Wind Components
Install
npm install @aliwind/theme --save
Usage
By default, components of @aliwind/component
uses a fixed prefix next-
in class name. In this case, you can use the .css
module in your project:
import '@aliwind/theme/index.css';
In the other side, you may want to specify a custom css prefix that to avoid style's conflict in class names:
index.scss
$css-prefix: "my-app-";
@import "@aliwind/theme/index.scss";
index.js
import './index.scss';
import { ConfigProvider } from '@aliwind/component';
<ConfigProvider prefix="my-app-">
<MyApp />
</ConfigProvider>