Project

active_s95

0.0
No release in over 3 years
A responsive theme for Active Admin build special for S95
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
 Dependencies

Development

~> 1.5
>= 0

Runtime

>= 1.1.0, < 4.0
 Project Readme

Active S95

Gem Version

Installation

Add this line to your application's Gemfile:

gem 'active_s95'

Then execute:

bundle install

Or install it yourself:

gem install active_s95

Usage

Basic Setup

In your ActiveAdmin stylesheet (app/assets/stylesheets/active_admin.scss), replace the default import with:

@import "active_s95";

JavaScript Setup

In your ActiveAdmin JavaScript file (app/assets/javascripts/active_admin.js), add:

//= require active_s95/main

That's it! Your ActiveAdmin interface will now use the Active S95 theme.

Overriding Styles

You can customize the theme by adding your own styles after the import:

@import "active_s95";

// Your custom overrides
.active_admin {
  // Custom styles here
}

Color Scheme

The theme uses a carefully crafted color palette. You can override variables before importing:

// Define your custom colors
$primary-color: #your-color;
$secondary-color: #your-color;

@import "active_s95";

Development

Prerequisites

  • Ruby 2.5+
  • Bundler ~> 1.5
  • ActiveAdmin >= 1.1.0

Setup

Clone the repository:

git clone https://github.com/SomeoneUnlicensed/active_s95.git
cd active_s95

Install dependencies:

bundle install
yarn install  # or npm install

Building

To prepare the package for publishing:

yarn prepublishOnly

This will copy assets to the src directory for distribution.

Requirements

  • ActiveAdmin: 1.1.0 - 3.x
  • Font Awesome Sass: ~> 6.0
  • Ruby: 2.5+

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/AmazingFeature)
  3. Commit your changes (git commit -m 'Add some AmazingFeature')
  4. Push to the branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request