2
0
mirror of https://github.com/tenrok/vue2-datepicker.git synced 2026-06-19 23:30:35 +03:00

feat: export the scss for custom style

This commit is contained in:
mengxiong10
2019-11-21 14:25:39 +08:00
parent ba35c021e4
commit 09a4d8f8bf
8 changed files with 168 additions and 89 deletions
+13
View File
@@ -57,6 +57,19 @@ $ npm install vue2-datepicker --save
</template>
```
## Theme
If your project uses SCSS, you can change the default style variables.
To create a scss file. e.g. `datepicker.scss`:
```scss
$default-color: #555;
$primary-color: #1284e7;
@import '~vue2-datepicker/scss/index.scss';
```
## Internationalization
The default language of v3.x is English. If you need other locales.