@byzanteam/brick

universal ui lib for byzanteam

Usage no npm install needed!

<script type="module">
  import byzanteamBrick from 'https://cdn.skypack.dev/@byzanteam/brick';
</script>

README

Aircrew (Jet frontend)

CircleCI Maintainability

开发

环境需要

yarn

install

yarn install

start

yarn run dev:server

test

yarn run dev:test

作为库使用

安装
yarn add https://github.com/Byzanteam/brick.git

或者

yarn add @byzanteam/brick
脚本引用

import { BrickButton } from '@byzanteam/brick'

主题定制
@import '~@byzanteam/brick/src/theme/default.scss';

// overwrite variables write here
可以选用暗黑主题
@import '~@byzanteam/brick/src/theme/dark.scss';

// overwrite variables write here
调色板(算法使用的是 anti)
@import '~@byzanteam/brick/src/theme/default.scss';

$custom-color: colorpalette($color, $index);