Custom ActiveAdmin templates
As active_skin is the css theme for the activeadmin administration framework - you have to install if first.
Having active admin installed add the following line to your application's Gemfile:
gem 'active_admin_theme'
And then execute:
$ bundle
Or install it yourself as:
$ gem install active_admin_theme
Execute:
$ npm i @activeadmin-plugins/active_admin_theme
Or
$ yarn add @activeadmin-plugins/active_admin_theme
Or add manually to package.json
:
"dependencies": {
"@activeadmin-plugins/active_admin_theme": "1.1.4"
}
and execute:
$ yarn
In your base stylesheet entry point active_admin.scss
(as example), add line:
@import 'wigu/active_admin_theme';
@import '@activeadmin-plugins/active_admin_theme';
You can change basic colors of the theme by setting some variable above active_admin_theme import line in active_admin.css.scss
...
$skinMainFirstColor: #A5A7AA!default;
$skinMainSecondColor: #0066CC!default;
$skinBorderWindowColor: #B8BABE!default;
@import 'wigu/active_admin_theme';
...
- Fork it ( https://github.com/activeadmin-plugins/active_admin_theme/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request