Socket
Socket
Sign inDemoInstall

ubuntu-vanilla-theme

Package Overview
Dependencies
1
Maintainers
5
Versions
31
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    ubuntu-vanilla-theme

A Ubuntu flavoured theme for the wonderfully simple, extendable CSS framework.


Version published
Weekly downloads
2
increased by100%
Maintainers
5
Install size
243 kB
Created
Weekly downloads
 

Readme

Source

Ubuntu vanilla theme for Vanilla framework

A extension of Vanilla framework, written in Sass.

Local usage

Install the Node package into your project:

npm install ubuntu-vanilla-theme  # Installs the theme with the framework within

Configure Sass import paths.

Composer:

add_import_path "node_modules"

Gulp:

gulp.task('sass', function() {
    return gulp.src('[your-sass-directory]/**/*.scss')
      .pipe(sass({
        includePaths: ['node_modules']
      }))
});

Then reference it from your own Sass file that is built to generate your sites CSS:

// Import the theme
@import "ubuntu-vanilla-theme/scss/theme";
// Run the theme
@include ubuntu-vanilla-theme;

You can override any of the settings in _global-settings.scss.

Notes

You may find that after upgrading Node you get an error message like;

throw new Error('"libsass" bindings not found. Try reinstalling "node-sass"?');

This can be resolved by installing then reinstalling node-sass;

  npm uninstall --save-dev gulp-sass
  npm install --save-dev gulp-sass@2

Code licensed LGPLv3 by Canonical Ltd..

Keywords

FAQs

Last updated on 06 Mar 2017

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc