snowman-repos/age-gate-js

Configuration: Styles

Closed this issue · 0 comments

Parent: #36

As a I want to In order to
developer be able to add classes to every element on the age gate be able to customize the style & appearance of all elements

Acceptance Criteria

  • List all age gate elements inside the elements object, against each element, have an object with various other properties, such as:
    • classes [array]
    • content [object]
    • isShown [boolean]
  • For each age gate element, any and all specified classes should be applied according to the property on the configuration element
  • Style declarations specified in a separate style sheet should always be applied to the age gate elements where the selectors for those declarations have been specified in the configuration object