@absolunet/brand-guidelines 中文文档教程
@absolunet/brand-guidelines
Absolunet Brand Guidelines
Install
$ npm install @absolunet/brand-guidelines
Usage
via SCSS
@import '@absolunet/brand-guidelines/dist/styleguide';
a {
color: absolunet-styleguide('color.primary.coral');
}
via JavaScript
import { styleguide } from '@absolunet/brand-guidelines';
console.log(styleguide.color.primary.coral); // #ff5252
Files
样式指南也可作为 JSON 文件在 dist/styleguide.json
下获得 徽标可在 ressources/logos< 下获得/code>
字体在 ressources/fonts
Documentation
查看 文档
License
麻省理工学院 © Absolunet
@absolunet/brand-guidelines
Absolunet Brand Guidelines
Install
$ npm install @absolunet/brand-guidelines
Usage
via SCSS
@import '@absolunet/brand-guidelines/dist/styleguide';
a {
color: absolunet-styleguide('color.primary.coral');
}
via JavaScript
import { styleguide } from '@absolunet/brand-guidelines';
console.log(styleguide.color.primary.coral); // #ff5252
Files
The styleguide is also available as a JSON file under dist/styleguide.json
The logos are available under ressources/logos
The fonts are available under ressources/fonts
Documentation
View documentation
License
MIT © Absolunet