@aliwind/theme

Theme of Wind Components

Usage no npm install needed!

<script type="module">
  import aliwindTheme from 'https://cdn.skypack.dev/@aliwind/theme';
</script>

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>