lib/lookbook/theme.rb in lookbook-2.2.1 vs lib/lookbook/theme.rb in lookbook-2.2.2

- old
+ new

@@ -28,22 +28,18 @@ @overrides = overrides @css = nil end def favicon_light_mode - ( - @overrides[:favicon_light_mode].presence || + @overrides[:favicon_light_mode].presence || @overrides[:favicon].presence || BASE_THEMES[@base_theme.to_sym][:favicon_light_mode] - ) end def favicon_dark_mode - ( - @overrides[:favicon_dark_mode].presence || + @overrides[:favicon_dark_mode].presence || @overrides[:favicon].presence || BASE_THEMES[@base_theme.to_sym][:favicon_dark_mode] - ) end def to_css return @css unless @css.nil? @css ||= if @overrides.present?