#see https://gitlab.bgm-gmbh.de/nov/templates/azh/-/blob/main/elements/components/c-jumpmarks/c-jumpmarks.template.twig?ref_type=heads
#see https://6634ea6cb86b9825df5cb7bb-ktyiefbntg.chromatic.com/?path=/docs/elements-components-c-jumpmarks--docs


lib.jumpmarks = TWIGTEMPLATE
lib.jumpmarks {
  templateName = elements/bricks/b-jumpmarks/b-jumpmarks.template.twig
  namespaces {
    src {
      10 = EXT:bgm_theme_azh/Resources/Public/Templates/azh/
    }

    base {
      10 = EXT:bgm_theme_azh/Resources/Public/Templates/azh/base/
    }

    elements {
      10 = EXT:bgm_theme_azh/Resources/Public/Templates/azh/elements/
    }

    global {
      10 = EXT:bgm_theme_azh/Resources/Public/Templates/azh/global/
    }
  }

  templateRootPaths {
    10 = EXT:cvc_twig/Resources/Private/TwigTemplates
    20 = EXT:bgm_theme_azh/Resources/Public/Templates/azh/
  }
  dataProcessing {
    10 = Bgm\BgmThemeAzh\DataProcessing\JumpmarksDataProcessor
    10 {
      brickContainer {
        theme = theme-light
        bgColor = b-container--style-default
        spacingBottom = b-container--spacing-smaller-bottom
        spacingTop = b-container--spacing-medium-top
        variant =
      }

      jumpmarks {
        heading {
          headline {
            text = Inhaltsverzeichnis
            style = 4
            markup = span
            solid = true
          }
        }
        svg {
          name = outline-menu-alt-2
        }
        sticky = relative-to-brick
      }
    }
  }
  #variables are set in dataProcessing / see above
  variables {
    brickContainer {
      theme = theme-light
      bgColor = b-container--style-default
      spacingBottom = b-container--spacing-smaller-bottom
      spacingTop = b-container--spacing-medium-top
      variant =
    }

    jumpmarks {
      heading {
        headline {
          text = Inhaltsverzeichnis
          style = 4
          markup = span
          solid = true
        }
      }
      svg {
        name = outline-menu-alt-2
      }
      sticky = relative-to-brick
    }
  }
  }

}
