forked from akveo/blur-admin
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs(colorScheme): update color scheme changing guides
- Loading branch information
1 parent
ba38387
commit eb83ac6
Showing
2 changed files
with
57 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
--- | ||
title: Switching to Blur Theme | ||
author: kd | ||
sort: 1000 | ||
group: Customization | ||
template: article.jade | ||
--- | ||
|
||
If you want to switch theme to the blur, you need to do 2 simple steps: | ||
|
||
1) Override theme and colors in config (`src/app/theme/theme.config.js`): | ||
```javascript | ||
baConfigProvider.changeTheme({blur: true}); | ||
|
||
baConfigProvider.changeColors({ | ||
default: 'rgba(#000000, 0.2)', | ||
defaultText: '#ffffff', | ||
dashboard: { | ||
white: '#ffffff', | ||
}, | ||
}); | ||
``` | ||
|
||
2) Replace theme in `src/sass/theme/common.scss` file: | ||
|
||
```scss | ||
@import 'theme/conf/colorScheme/mint'; | ||
``` | ||
|
||
to | ||
|
||
```scss | ||
@import 'theme/conf/colorScheme/blur'; | ||
``` |