0.0.1-alpha.0 • Published 6 years ago
@aliwind/theme v0.0.1-alpha.0
@aliwind/theme
Theme of Wind Components
Install
npm install @aliwind/theme --saveUsage
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>0.0.1-alpha.0
6 years ago