Setup Sass for Bootstrap and Darkly theme
Genre graph stopped showing up for whatever reason.
This commit is contained in:
@@ -42,6 +42,7 @@ INSTALLED_APPS = [
|
||||
'graphs.apps.GraphsConfig',
|
||||
'django_tables2',
|
||||
'django_filters',
|
||||
'sass_processor',
|
||||
]
|
||||
|
||||
MIDDLEWARE = [
|
||||
@@ -125,10 +126,20 @@ USE_TZ = True
|
||||
|
||||
# Static files (CSS, JavaScript, Images)
|
||||
# https://docs.djangoproject.com/en/2.0/howto/static-files/
|
||||
|
||||
STATIC_URL = '/static/'
|
||||
STATIC_ROOT = os.path.join(BASE_DIR, "spotifyvis/static")
|
||||
STATICFILES_DIRS = [
|
||||
os.path.join(BASE_DIR, "static"),
|
||||
os.path.join(BASE_DIR, "static/"),
|
||||
]
|
||||
STATICFILES_FINDERS = [
|
||||
'django.contrib.staticfiles.finders.FileSystemFinder',
|
||||
'django.contrib.staticfiles.finders.AppDirectoriesFinder',
|
||||
'sass_processor.finders.CssFinder',
|
||||
]
|
||||
|
||||
SASS_PROCESSOR_ROOT = STATIC_ROOT
|
||||
SASS_PROCESSOR_INCLUDE_DIRS = [
|
||||
os.path.join(STATICFILES_DIRS[0], "scss/bootstrap"),
|
||||
]
|
||||
|
||||
MEDIA_URL = '/media/'
|
||||
|
||||
6463
spotifyvis/static/scss/custom.css
Normal file
6463
spotifyvis/static/scss/custom.css
Normal file
File diff suppressed because it is too large
Load Diff
92
spotifyvis/static/scss/custom.css.map
Normal file
92
spotifyvis/static/scss/custom.css.map
Normal file
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user