0.0.8 • Published 8 months ago

@linker-design-plus/linker-style v0.0.8

Weekly downloads
-
License
MIT
Repository
-
Last release
8 months ago

linker-style

This project is a package for @linker-design/linker-style, designed to provide a set of styles and components for use in various applications.

Installation

To install the package, use the following command:

pnpm install @linker-design/linker-style

Usage

方式一:使用编译后的CSS文件(推荐)

直接在项目中引入编译好的CSS文件:

// 在JavaScript/TypeScript中导入
import '@linker-design/linker-style/style/index.css';

或在HTML中直接引入:

<link rel="stylesheet" href="path/to/node_modules/@linker-design/linker-style/style/index.css">

方式二:使用Less文件(需要Less支持)

如果您的项目使用Less预处理器,可以直接导入源文件:

// 在Less文件中导入
@import '@linker-design/linker-style/index.less';

// 或者只导入特定组件样式
@import '@linker-design/linker-style/components/Button/index.less';

构建

如果需要修改样式并重新构建,请运行:

npm run build

Contributing

If you would like to contribute to this project, please fork the repository and submit a pull request.

License

This project is licensed under the MIT License. See the LICENSE file for more details.

0.0.8

8 months ago

0.0.7

8 months ago

0.0.1

9 months ago