1.0.8 • Published 6 years ago

honey-theme v1.0.8

Weekly downloads
-
License
ISC
Repository
-
Last release
6 years ago

目录

使用库:

yarn add honey-theme

页面中:

import {Button} frome 'antd';

import {buttonStyle} from 'honey-theme/common/button/style/index.less';

更新库:

yarn add honey-theme@latest

发布库: 在样式库目录 /honeyTheme 下执行:

npm link;

在项目目录下执行:

npm link honey-theme;

在项目中修改测试样式; 测试通过后修改版本号、加入更新说明后,执行:

npm publish

样式库代码地址,请从前端组长处获取

功能: icon样式支持扩展

icon扩展方法: 1.在public/icons/目录下增加扩展图标文件 (.ttf, .eot, .woff,.svg )

2.在添加文件src/iconfonts/index.less,在其中写入图标样式

注:webpack.config.js下的config.resolve.modules配置有误,应改为['node_modules', '../src']

功能:mes样式,menu和button的样式

使用 honey-theme/mes/.../style/index.less引用

功能:mes样式,form, grid, input, pagination, table, tab的样式

使用 honey-theme/mes/.../style/index.less引用

功能:mes样式中复制所有原有样式,图标改为本地部署

使用 antd图标路径icons/iconfont, 扩展图标路径icons/e-iconfont

修复:扩展图标在 firefox 下不显示问题

1.0.8

6 years ago

1.0.7

6 years ago

1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago