/new-melancholy

A theme for cinnamon 2.6

Primary LanguageCSSGNU Affero General Public License v3.0AGPL-3.0

###A theme for cinnamon 2.6


####Installation

You can install this theme from within your theme settings.


####Contributing

In case you want to contribute code, don't edit the css file! Instead, edit the relevant sass files(s) and compile to css.

This is a very opinionated project, so try to avoid suggesting visual changes. 😀


####Development

This theme is written using the css preprocessor sass.

You should use the provided gulpfile.js for improved workflow and speed!


In order to use gulp:

  • Install nodejs and npm. (NOTE: If you want to contribute, make sure you run the nodejs version from the .nvmrc file! Use Nvm!)

  • Install gulp globally:

    $ npm install --global gulp
  • In the directory where the gulpfile.js file is, run:

    $ npm install
  • In the same dir, run the following to use gulp:

    $ gulp

Gulp will:

  • Make a symlink of the New-Minty folder inside the ~/.themes dir.

    • It will create a ~/.themes dir if it doesn't exist already.

    • Even if you change the location of your working directory, running gulp will update the link.

    • NOTE: Make sure you don't have a folder named New-Minty in this dir when you first run gulp.

  • Compile sass whenever certain files change. (Open gulpfile.js to see what files/folders are being watched.)

  • Autoreload the theme. (NOTE: Under cinnamon, this will only work for changes in the (s)css files. When modifying images, you will have to restart cinnamon ('alt+f2' -> 'r') in order to see a change.)