Load the Material colour scheme directly from the source YAML, rather than hardcoding it into Stylus format

This commit is contained in:
Danielle McLean 2017-10-27 11:33:01 +11:00
parent 9d91cec6f9
commit 0419a844ce
Signed by: 00dani
GPG key ID: 5A5D2D1AFF12EEC5
8 changed files with 45 additions and 20 deletions

View file

@ -192,7 +192,7 @@ STATICFILES_FINDERS = (
)
COMPRESS_PRECOMPILERS = (
('text/stylus', os.path.join(BASE_DIR, 'node_modules', '.bin', 'stylus') + ' {infile} -o {outfile}'),
('text/stylus', './node_modules/.bin/stylus {infile} -u ./lemoncurry/static/lemoncurry/css/theme -o {outfile}'),
)
MEDIA_URL = STATIC_URL + 'media/'