# -*- coding: utf-8 -*- """The base Lyte Theme.""" from theme_builder.theme import Theme, theme_dir, icons_dir, basic_theme_templates from theme_builder.color_scheme import ColorScheme, basic_color_scheme_templates, color_scheme_dir from theme_builder.color import Color from theme_builder.compilation import Compilation # Initialize our theme - see the Theme class for details theme = Theme("Lyte-Monokai", icons_dir("Lyte"), theme_dir("Lyte"), basic_theme_templates("Lyte", "Lyte-Monokai")) # Initialize our color scheme - see the ColorScheme class for details color_scheme = ColorScheme( "Lyte-Monokai", color_scheme_dir("Lyte"), basic_color_scheme_templates("Lyte", "Lyte-Monokai")) # Create our compilation using the new theme and color scheme comp = Compilation("Lyte-Monokai", theme, color_scheme) # Load our options from options.py, this file is huge enough as-is from .options import options comp.options = options # Define our options preprocessor - we have a lot of options # that need to be built on top of the expected base options for this theme and # the used templates def preprocessor(opts): """The preprocessor for the Lyte-Dark theme compilation."""
# -*- coding: utf-8 -*- """The base Lyte Theme.""" from theme_builder.theme import Theme, theme_dir, icons_dir, basic_theme_templates from theme_builder.color_scheme import ColorScheme, basic_color_scheme_templates, color_scheme_dir from theme_builder.color import Color from theme_builder.compilation import Compilation # Initialize our theme - see the Theme class for details theme = Theme("Lyte-Dark", icons_dir("Lyte"), theme_dir("Lyte"), basic_theme_templates("Lyte", "Lyte-Dark")) # Initialize our color scheme - see the ColorScheme class for details color_scheme = ColorScheme( "Lyte-Dark", color_scheme_dir("Lyte-Old"), basic_color_scheme_templates("Lyte-Old", "Lyte-Dark")) # Create our compilation using the new theme and color scheme comp = Compilation("Lyte-Dark", theme, color_scheme) # Load our options from options.py, this file is huge enough as-is from .options import options comp.options = options # Define our options preprocessor - we have a lot of options # that need to be built on top of the expected base options for this theme and # the used templates def preprocessor(opts): """The preprocessor for the Lyte-Dark theme compilation."""