Skip to content

Commit

Permalink
refactor(0.7.0): change default branch to 0.7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
执衡 committed Mar 15, 2018
1 parent 7fc90ce commit 9822bb8
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 15 deletions.
8 changes: 4 additions & 4 deletions README-zh_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
</p>

# NG-ZORRO
[![Travis branch](https://img.shields.io/travis/NG-ZORRO/ng-zorro-antd/0.7.0.svg?style=flat-square)](https://travis-ci.org/NG-ZORRO/ng-zorro-antd)
[![Codecov](https://img.shields.io/codecov/c/github/NG-ZORRO/ng-zorro-antd/0.7.0.svg?style=flat-square)](https://codecov.io/gh/NG-ZORRO/ng-zorro-antd)
[![Travis branch](https://img.shields.io/travis/NG-ZORRO/ng-zorro-antd/master.svg?style=flat-square)](https://travis-ci.org/NG-ZORRO/ng-zorro-antd)
[![Codecov](https://img.shields.io/codecov/c/github/NG-ZORRO/ng-zorro-antd/master.svg?style=flat-square)](https://codecov.io/gh/NG-ZORRO/ng-zorro-antd)
[![Gemnasium](https://img.shields.io/gemnasium/NG-ZORRO/ng-zorro-antd.svg?style=flat-square)](https://gemnasium.com/github.com/NG-ZORRO/ng-zorro-antd)
[![npm package](https://img.shields.io/npm/v/ng-zorro-antd.svg?style=flat-square)](https://www.npmjs.org/package/ng-zorro-antd)
[![npm package](https://img.shields.io/npm/v/ng-zorro-antd/next.svg?style=flat-square)](https://www.npmjs.org/package/ng-zorro-antd)
[![GitHub Release Date](https://img.shields.io/github/release-date/NG-ZORRO/ng-zorro-antd.svg?style=flat-square)](https://github.com/NG-ZORRO/ng-zorro-antd/releases)
[![Issue Stats](https://img.shields.io/issuestats/i/github/NG-ZORRO/ng-zorro-antd.svg?style=flat-square)](https://github.com/NG-ZORRO/ng-zorro-antd/issues)
[![NPM downloads](http://img.shields.io/npm/dm/ng-zorro-antd.svg?style=flat-square)](https://npmjs.org/package/ng-zorro-antd)
Expand All @@ -30,7 +30,7 @@

## 版本

- [![npm package](https://img.shields.io/npm/v/ng-zorro-antd.svg?style=flat-square)](https://www.npmjs.org/package/ng-zorro-antd)
- [![npm package](https://img.shields.io/npm/v/ng-zorro-antd/next.svg?style=flat-square)](https://www.npmjs.org/package/ng-zorro-antd)


## 安装
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
</p>

# NG-ZORRO
[![Travis branch](https://img.shields.io/travis/NG-ZORRO/ng-zorro-antd/0.7.0.svg?style=flat-square)](https://travis-ci.org/NG-ZORRO/ng-zorro-antd)
[![Codecov](https://img.shields.io/codecov/c/github/NG-ZORRO/ng-zorro-antd/0.7.0.svg?style=flat-square)](https://codecov.io/gh/NG-ZORRO/ng-zorro-antd)
[![Travis branch](https://img.shields.io/travis/NG-ZORRO/ng-zorro-antd/master.svg?style=flat-square)](https://travis-ci.org/NG-ZORRO/ng-zorro-antd)
[![Codecov](https://img.shields.io/codecov/c/github/NG-ZORRO/ng-zorro-antd/master.svg?style=flat-square)](https://codecov.io/gh/NG-ZORRO/ng-zorro-antd)
[![Gemnasium](https://img.shields.io/gemnasium/NG-ZORRO/ng-zorro-antd.svg?style=flat-square)](https://gemnasium.com/github.com/NG-ZORRO/ng-zorro-antd)
[![npm package](https://img.shields.io/npm/v/ng-zorro-antd.svg?style=flat-square)](https://www.npmjs.org/package/ng-zorro-antd)
[![npm package](https://img.shields.io/npm/v/ng-zorro-antd/next.svg?style=flat-square)](https://www.npmjs.org/package/ng-zorro-antd)
[![GitHub Release Date](https://img.shields.io/github/release-date/NG-ZORRO/ng-zorro-antd.svg?style=flat-square)](https://github.com/NG-ZORRO/ng-zorro-antd/releases)
[![Issue Stats](https://img.shields.io/issuestats/i/github/NG-ZORRO/ng-zorro-antd.svg?style=flat-square)](https://github.com/NG-ZORRO/ng-zorro-antd/issues)
[![NPM downloads](http://img.shields.io/npm/dm/ng-zorro-antd.svg?style=flat-square)](https://npmjs.org/package/ng-zorro-antd)
Expand All @@ -31,7 +31,7 @@ An enterprise-class UI components based on Ant Design and Angular.

## Version

- [![npm package](https://img.shields.io/npm/v/ng-zorro-antd.svg?style=flat-square)](https://www.npmjs.org/package/ng-zorro-antd)
- [![npm package](https://img.shields.io/npm/v/ng-zorro-antd/next.svg?style=flat-square)](https://www.npmjs.org/package/ng-zorro-antd)

## Installation

Expand Down
2 changes: 1 addition & 1 deletion docs/customize-theme.en-US.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Create a standalone less file like the one below, and add the path of it to the
@import "your-theme-file.less"; // override variables here
```

[Here](https://github.com/NG-ZORRO/ng-zorro-antd/blob/0.7.0/site_scripts/_site/src/theme.less) is a sample of theme define file.
[Here](https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/site_scripts/_site/src/theme.less) is a sample of theme define file.


## Local deployment fonts
Expand Down
4 changes: 2 additions & 2 deletions docs/customize-theme.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Ant Design 设计规范上支持一定程度的样式定制,以满足业务和

## 样式变量

Ant Design 的样式使用了 [Less](http://lesscss.org/) 作为开发语言,并定义了一系列全局/组件的样式变量,你可以根据需求进行相应调整,[默认样式变量](https://github.com/NG-ZORRO/ng-zorro-antd/blob/0.7.0/components/style/themes/default.less)
Ant Design 的样式使用了 [Less](http://lesscss.org/) 作为开发语言,并定义了一系列全局/组件的样式变量,你可以根据需求进行相应调整,[默认样式变量](https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/components/style/themes/default.less)

> Ant Design React 的主题定制文件在 `ng-zorro-antd` 中同样可以使用。
Expand All @@ -24,7 +24,7 @@ Ant Design 的样式使用了 [Less](http://lesscss.org/) 作为开发语言,
@import "your-theme-file.less"; // 用于覆盖上面定义的变量
```

自定义 less 变量的文件可以参考 [这里](https://github.com/NG-ZORRO/ng-zorro-antd/blob/0.7.0/site_scripts/_site/src/theme.less)。
自定义 less 变量的文件可以参考 [这里](https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/site_scripts/_site/src/theme.less)。

## 本地部署字体

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -129,10 +129,10 @@ export class NzCodeBoxComponent implements OnInit {
/** bug here https://github.com/stackblitz/core/issues/311 **/
openOnStackBlitz() {
sdk.openProject({
files : {
files: {
'.angular-cli.json' : `{
"apps": [{
"styles": ["styles.css"]
"styles": ["styles.less"]
}]
}`,
'index.html' : `<${this.nzSelector}>loading</${this.nzSelector}>`,
Expand Down Expand Up @@ -235,8 +235,9 @@ import { ${this.nzComponentName} } from './app.component';
})
export class AppModule { }
`,
'styles.css' : `/* Add application styles & imports to this file! */`
'styles.less' : `@import "~ng-zorro-antd/src/ng-zorro-antd.less";`
},

title : 'Dynamically Generated Project',
description : 'Created with <3 by the StackBlitz SDK!',
template : 'angular-cli',
Expand All @@ -251,7 +252,8 @@ export class AppModule { }
'@angular/common' : '^5.0.0',
'@angular/router' : '^5.0.0',
'@angular/animations' : '^5.0.0',
'ng-zorro-antd' : 'latest'
'date-fns' : '^1.29.0',
'ng-zorro-antd' : 'next'
},
tags : [ 'stackblitz', 'sdk' ]
});
Expand Down

0 comments on commit 9822bb8

Please sign in to comment.