zhangxudong a2144287ae 1 3 年之前
..
build a2144287ae 1 3 年之前
dist a2144287ae 1 3 年之前
templates a2144287ae 1 3 年之前
README.md a2144287ae 1 3 年之前
gulpfile.js a2144287ae 1 3 年之前
hardwood.info a2144287ae 1 3 年之前
mix-manifest.json a2144287ae 1 3 年之前
package-lock.json a2144287ae 1 3 年之前
package.json a2144287ae 1 3 年之前
screenshot.png a2144287ae 1 3 年之前
template.php a2144287ae 1 3 年之前
webpack.mix.js a2144287ae 1 3 年之前

README.md

🚨WARNING: Although open source, this theme has been developed for the hardwood genomics website only! Attempting to use it elsewhere may result in unpredictible issues.

Installation

  • Download the file to your drupal installation sites/all/theme.
  • Enable and set as default from the admin control panel.

Development

This theme utilizes multiple technologies to be fully customizable. This is a list of tools that we used:

  • Bootstrap 4 - Front end css framework.
  • NPM - Node Package Management to manage all dependencies.
  • SASS - css preprocessor that allows the use of variables, conditionals, etc.
  • Gulp - to automate the workflow.
  • For a list of dependencies, review the package.json file.

Gulp Commands

  • gulp sass Compile sass files that are located in build/scss to css files dist/css. - gulp watch Watch file changes and compile everything upon save. - gulp copy Copy js and css files of other libraries from node_modules to the dist folder.