Skip to content

pankshiks/nuboot_radix

 
 

Repository files navigation

Nuboot Radix theme

DEPRECATED: This theme has been moved into DKAN core for release 7.x-1.13. To maintain backward compatibility with DKAN 7.x-1.12 and subsequent patch releases this project will remain on Github but new features will be applied directly to the DKAN core folder themes/nuboot_radix.

This is the default theme for DKAN 1.0 -> https://github.com/NuCivic/dkan

Installation and Use

Your theme will use Gulp to compile Sass. Gulp needs Node.

Step 1

Make sure you have Node and npm installed. You can read a guide on how to install node here: https://docs.npmjs.com/getting-started/installing-node

Step 2

Install bower: npm install -g bower.

Step 3

Go to the root of your theme and run the following commands: npm run setup.

Step 4

Update browserSyncProxy in config.json.

Step 5

Edit the files under the scss and js directory, these will be compiled into the assets directory. Run the following command to compile Sass and watch for changes: gulp.

Using Drush to Create a New Subtheme

When you need more control over the theme or prefer to keep customizations in code without using overrides, creating a subtheme of NuBoot Radix is an easy win. The subtheme will pick up all styles from the chain in cascading order: Radix > NuBoot Radix > Your Subtheme

So you only need to add styles where you want to override the upstream css, and add custom templates if you need specific changes to the layout.

To create a Nuboot Radix subtheme, run these command

drush vset theme_default radix

drush radix "MyThemeName" --kit=https://github.com/NuCivic/radix-kit-nuboot/archive/master.zip

drush vset theme_default MyThemeName

The new subtheme will be placed in to the /sites/all/themes/ directory, it will contain the proper directory structure to get you started.

Updating subthemes that were based on Radix 7.x-rc4

To upgrade an older NuBoot Radix subtheme to use the new Radix 7.x-3.3 compiling process, it will need to be done manually, follow the steps outlined here: http://www.radixtheme.org/articles/update-rc4-to-3/

Contributing

We are accepting issues in the dkan issue thread only -> https://github.com/NuCivic/dkan/issues -> Please label your issue as "component: nuboot_radix" after submitting so we can identify problems and feature requests faster.

If you can, please cross reference commits in this repo to the corresponding issue in the dkan issue thread. You can do that easily adding this text:

NuCivic/dkan#issue_id

to any commit message or comment replacing issue_id with the corresponding issue id.

Credits for icon assets used in this project

Streamline Icons http://www.streamlineicons.com/index.html

Flaticons designed by Freepik http://www.flaticon.com/packs/file-formats-icons

About

DEPRECATED (see README) Bootstrap based theme for DKAN

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • CSS 84.8%
  • PHP 13.8%
  • JavaScript 1.1%
  • Other 0.3%