shuup.themes.classic_gray package

Submodules

shuup.themes.classic_gray.apps module

class shuup.themes.classic_gray.apps.AppConfig(*args, **kwargs)[source]

Bases: shuup.apps.AppConfig

name = 'shuup.themes.classic_gray'
label = 'shuup.themes.classic_gray'
provides = {'xtheme': 'shuup.themes.classic_gray.theme:ClassicGrayTheme'}

shuup.themes.classic_gray.theme module

class shuup.themes.classic_gray.theme.ClassicGrayTheme(theme_settings=None, shop=None)[source]

Bases: shuup.front.themes.BaseThemeFieldsMixin, shuup.xtheme.Theme

Initialize this theme, with an optional ThemeSettings or Shop object. Only one should be passed.

Parameters:
  • theme_settings (ThemeSettings|None) – A theme settings object for this theme.
  • shop (Shop|None) – The shop for this theme.
identifier = 'shuup.themes.classic_gray'
name = 'Shuup Classic Gray Theme'
author = 'Shuup Team'
template_dir = 'classic_gray'
guide_template = 'classic_gray/admin/guide.jinja'
stylesheets = [{'identifier': 'default', 'stylesheet': 'shuup/front/css/style.css', 'name': 'Default', 'images': ['shuup/front/img/no_image.png']}, {'identifier': 'midnight_blue', 'stylesheet': 'shuup/classic_gray/blue/style.css', 'name': 'Midnight Blue', 'images': ['shuup/front/img/no_image.png']}, {'identifier': 'candy_pink', 'stylesheet': 'shuup/classic_gray/pink/style.css', 'name': 'Candy Pink', 'images': ['shuup/front/img/no_image.png']}]
fields
get_view(view_name)[source]

Module contents