
Security News
TypeScript is Porting Its Compiler to Go for 10x Faster Builds
TypeScript is porting its compiler to Go, delivering 10x faster builds, lower memory usage, and improved editor performance for a smoother developer experience.
arctic_admin
Advanced tools
Simple theme for ActiveAdmin :ok_hand:
Complete demo here : https://arctic-admin.herokuapp.com/
admin user : admin@example.com / password
gem 'arctic_admin'
Run bundle install
.
Add this line to the file config/initializers/active_admin.rb
meta_tags_options = { viewport: 'width=device-width, initial-scale=1' }
config.meta_tags = meta_tags_options
config.meta_tags_for_logged_out_pages = meta_tags_options
Install the needed assets with npm or yarn:
yarn add arctic_admin @fortawesome/fontawesome-free
In your active_admin.css
, include the css file:
/*
*= require arctic_admin/base
*/
Remove the line *= require active_admin/base
Then restart your webserver if it was previously running.
:exclamation: Remove the line @import "active_admin/base"
If you prefer SCSS, add this to your
active_admin.scss
file:
@import "arctic_admin/base";
If you use the
Sass indented syntax,
add this to your active_admin.sass
file:
@import arctic_admin/base
In your active_admin.js
, include the js file:
//= require arctic_admin/base
:exclamation: Remove the line //= require active_admin/base
In your app/javascript/stylesheets/active_admin.scss
, add the line:
@import '~arctic_admin/src/scss/main';
Remove:
@import "~@activeadmin/activeadmin/src/scss/mixins";
@import "~@activeadmin/activeadmin/src/scss/base";
Search for app/javascript/packs/active_admin.js
in your rails project and add the following lines:
import "@fortawesome/fontawesome-free/css/all.css";
import 'arctic_admin'
For this, you need to use SASS to customize the theming.
Right now you can change the primary color of the theme by placing the following variable in your active_admin.scss
file:
$primary-color: #2dbb43;
@import "~arctic_admin/src/scss/main";
If you use the
Sass indented syntax,
add this to your active_admin.sass
file:
$primary-color: #2dbb43
@import ~arctic_admin/src/scss/main
Then restart your webserver if it was previously running.
git checkout -b my-new-feature
)git commit -am 'Add some feature'
)git push origin my-new-feature
)FAQs
Responsive Theme for ActiveAdmin
The npm package arctic_admin receives a total of 5,073 weekly downloads. As such, arctic_admin popularity was classified as popular.
We found that arctic_admin demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
TypeScript is porting its compiler to Go, delivering 10x faster builds, lower memory usage, and improved editor performance for a smoother developer experience.
Research
Security News
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
Security News
Socket CEO Feross Aboukhadijeh discusses the open web, open source security, and how Socket tackles software supply chain attacks on The Pair Program podcast.