prettier indents
This commit is contained in:
parent
5bb4560c82
commit
3da970186a
2 changed files with 19 additions and 17 deletions
|
@ -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,
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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({
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue