Skip to content

Instantly share code, notes, and snippets.

@pigeonfresh
Last active March 5, 2021 10:20
Show Gist options
  • Save pigeonfresh/9a3607f11274a345019ec8c2a957b386 to your computer and use it in GitHub Desktop.
Save pigeonfresh/9a3607f11274a345019ec8c2a957b386 to your computer and use it in GitHub Desktop.

Atoms:

Type related:

All copy related items to build up a page are managed with this collection of items. Options with an * are mandatory/require configuration by the author or developer

Heading

Authorable options:

  • type* (h1 to h6)
  • copy* (string|html)

Configuration options:

  • style* (heading-1 to -6)
  • className (string)

Eyebrow

Authorable option:

  • copy* string

Mustache

Authorable option:

  • copy* string

Text

Text is a simple atom that replaces a paragraph text and uses styles to create variations.

Configuration options:

  • styles* styleguide dependent variations

Richtext

Provides a wrapping option to style elements/options provided by the CMS' wysiwyg-editor.

Authorable option:

  • content* (html)

Anchor/CTA

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment