feat: checkbox label color

This commit is contained in:
07akioni 2019-06-25 17:07:54 +08:00
parent 56e028ec77
commit 1fe4eee121
4 changed files with 10 additions and 3 deletions

View File

@ -49,6 +49,11 @@
disabled
style="width: 120px;"
/>
<n-checkbox
v-model="isChecked"
disabled
style="width: 120px;"
/>
<div style="width: 120px;">
isChecked: {{ isChecked }}
</div></textarea>

View File

@ -2,7 +2,7 @@
<div class="demo">
<n-nimbus-service-layout
icon="md-contacts"
name="NAIVE UI (0.1.56)"
name="NAIVE UI (0.1.59)"
:padding-body="false"
:items="items"
>

View File

@ -1,9 +1,10 @@
{
"name": "naive-ui",
"version": "0.1.56",
"version": "0.1.60",
"description": "",
"main": "index.js",
"scripts": {
"pub": "npm run build; npm publish",
"build": "cross-env NODE_ENV=development & gulp --gulpfile build/gulpfile.js build",
"demo": "cross-env NODE_ENV=development & gulp --gulpfile build/gulpfile.js build & webpack-dev-server --config build/webpack.demo.js",
"dev": "cross-env NODE_ENV=development webpack-dev-server --config build/webpack.dev.js",

View File

@ -1,4 +1,5 @@
@import './mixins/mixins.scss';
@import './theme/default.scss';
@include b(checkbox) {
& {
@ -9,7 +10,7 @@
}
.n-checkbox__label {
font-size: 13px;
color: #63E2B7;
color: #fff;
margin-left: 6px;
}
.n-checkbox__checkbox {