prettier indents

This commit is contained in:
Laura Klünder 2018-11-26 01:44:05 +01:00
parent 5bb4560c82
commit 3da970186a
2 changed files with 19 additions and 17 deletions

View file

@ -31,11 +31,13 @@ def user_data_json(request):
def colors(request):
return {'colors': {
'primary_color': settings.PRIMARY_COLOR,
'header_background_color': settings.HEADER_BACKGROUND_COLOR,
'header_text_color': settings.HEADER_TEXT_COLOR,
'header_text_hover_color': settings.HEADER_TEXT_HOVER_COLOR,
'safari_mask_icon_color': settings.SAFARI_MASK_ICON_COLOR,
'msapplication_tile_color': settings.MSAPPLICATION_TILE_COLOR,
}}
return {
'colors': {
'primary_color': settings.PRIMARY_COLOR,
'header_background_color': settings.HEADER_BACKGROUND_COLOR,
'header_text_color': settings.HEADER_TEXT_COLOR,
'header_text_hover_color': settings.HEADER_TEXT_HOVER_COLOR,
'safari_mask_icon_color': settings.SAFARI_MASK_ICON_COLOR,
'msapplication_tile_color': settings.MSAPPLICATION_TILE_COLOR,
}
}

View file

@ -16,15 +16,15 @@ logofinder_results = {
}
favicon_package_files = {
'android-chrome-192x192.png',
'android-chrome-512x512.png',
'apple-touch-icon.png',
'browserconfig.xml',
'mstile-150x150.png',
'mstile-310x310.png',
'safari-pinned-tab.svg',
'site.webmanifest',
}
'android-chrome-192x192.png',
'android-chrome-512x512.png',
'apple-touch-icon.png',
'browserconfig.xml',
'mstile-150x150.png',
'mstile-310x310.png',
'safari-pinned-tab.svg',
'site.webmanifest',
}
if settings.FAVICON_PACKAGE and os.path.isdir(settings.FAVICON_PACKAGE):
logofinder_results.update({