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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user