Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: dynamic storefront configuration #1427

Merged
merged 5 commits into from
Jun 1, 2023

Commits on Jun 1, 2023

  1. chore: cleanup unused styling definitions

    * mostly identified by purgeCSS
    * preparation for making the 'b2c' theme dynamically customizable with CSS custom properties
    shauke committed Jun 1, 2023
    Configuration menu
    Copy the full SHA
    c6b62d7 View commit details
    Browse the repository at this point in the history
  2. feat: make the 'b2c' theme a configurable theme dynamically customiza…

    …ble with CSS custom properties (#1427)
    
    * removed 'darken' and 'lighten'
    * added Bootstrap overrides that are necessary when working with var color values and the '$primary' and '$secondary' SCSS variable are not necessarily fitting colors
    * changed 'b2c' theme to a configurable theme with CSS custom properties that can be dynamically configured via ICM CMS Configuration component
    shauke committed Jun 1, 2023
    Configuration menu
    Copy the full SHA
    c87c2fb View commit details
    Browse the repository at this point in the history
  3. feat: load extra configuration from Configuration CMS component for d…

    …ynamic storefront configuration (#1427)
    
    * configure application and locale specific logos, styling, features, generic JSON (e.g. service token)
    * support feature toggle configuration in extra server configuration
    * file reference configuration parameter mapper documentation + JSON parsing
    * DOMService rename 'setCssVariable' to 'setCssCustomProperty'
    * configure additional style definitions or style file reference
    * optimization to not redo the extra configuration changes on the client side if they were already done in SSR
    * add a feature toggle for 'extraConfiguration'
    
    Co-authored-by: Silke <s.grueber@intershop.de>
    Co-authored-by: Stefan Hauke <s.hauke@intershop.de>
    3 people committed Jun 1, 2023
    Configuration menu
    Copy the full SHA
    df788d8 View commit details
    Browse the repository at this point in the history
  4. docs: add Configurable Theme documentation (#1427)

    * provide example CMS configuration mock data
    * renamed 'Multiple Themes' guide to 'Themes' guide
    * feature toggle documentation + migration note
    shauke committed Jun 1, 2023
    Configuration menu
    Copy the full SHA
    891ec90 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    a60d8f3 View commit details
    Browse the repository at this point in the history