1.1.9 • Published 10 months ago

mini-ground v1.1.9

Weekly downloads
-
License
ISC
Repository
-
Last release
10 months ago

Installation

npm install mini-ground (-g)

Usage

  • npmreg 更换npm源
  • gradient 生成渐变颜色

npmreg

// npmreg 更换npm源
current         Get current registry | 获取当前镜像
list            View current registries | 查看当前镜像
set <name>      Set registry | 设置镜像
use             Select registry | 更换镜像
add             Add registry | 添加自定义镜像
del             Delete registry | 删除自定义镜像
rename          Rename registry | 重命名自定义镜像
edit            Edit registry | 编辑自定义镜像路径
ping            测试镜像地址速度

gradient

//  gradient 生成渐变颜色
import { createGradientClass } from 'mini-ground';

const linearGradient = createGradientClass('45deg', '#16c8c8', '#40a440')

export default () => {
  return <ConfigProvider
          button={{
            className: linearGradient,
          }}
          >
            <Button>Login</Button>
        </ConfigProvider>
}

Contributing

Contributions are welcome! Please read the contribution guidelines first.

License

This project is licensed under the MIT License - see the LICENSE file for details.

PATH:LICENSE

MIT License

Copyright (c) 2024 LukeMatch

1.1.9

10 months ago

1.1.8

10 months ago

1.1.7

10 months ago

1.1.6

10 months ago

1.1.5

10 months ago

1.1.4

10 months ago

1.1.3

10 months ago

1.1.2

10 months ago

1.1.1

10 months ago

1.1.0

10 months ago

1.0.0

10 months ago