Skip to content

Instantly share code, notes, and snippets.

@shanehoey
Last active May 14, 2022 03:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shanehoey/fe62d18cacff93776e503251041a7f14 to your computer and use it in GitHub Desktop.
Save shanehoey/fe62d18cacff93776e503251041a7f14 to your computer and use it in GitHub Desktop.
Snooey Theme syntax files

brands.yml syntax

brand:
  title:          # string
  subtitle:       # string
  heading:        # string
  description:    # string
  copyright:      # string
  guid:           # string 
  author:         # string
  link:        
    url:          # default url 
    text:         # string
  assets: 
    icon:         # icon
    background:   # image
    horizontal:   # image
    vertical:     # image
    header:       # image
    square:       # image
    profile:      # image
    header:       # image
    teaser:       # image

brand[x].Yaml Syntax

layout: &layout
  body:
    class:   # class
    style:   # style
  header:
    class:   # class
    style:   # style
  content:
    class:   # class
    style:   # style
  footer:
    class:   # class
    style:   # style

navbar: &navbar
  - url:    # url
    text:   # text
    icon:   # class
    children:   # optional
      - url:    # url
        text:   # string
        icon:   # class

footer: &footer
    - url:    # url
      text:   # string
      icon:   # class

Collections

brand:
  title:          # string
  subtitle:       # string
  heading:        # string
  description:    # string
  copyright:      # string
  guid:           # string 
  author:         # string
  link:        
    url:          # default url 
    text:         # string
  assets: 
    icon:         # icon
    background:   # image
    horizontal:   # image
    vertical:     # image
    header:       # image
    square:       # image
    profile:      # image
    header:       # image
    teaser:       # image

Page

      title:
      subtitle:
      heading:
      description:
      guid:
      author: 
      link: &link
        icon: 
        text: 
        url:
      assets: &assets
        icon:
        header:
        square:
        vertical:
        horizontal:
        teaser:
        background:
      categories: []
      layout:
      navbar:
      breadcrumb:
      carousel:
      footer:
      brand:
      theme:
      schema:

Schema

FLEX

schema: &schema
  id: flex
  layout: &layout
    section:
      class:
      style:
    background:
      class:
      style:
    text:
      class:
      style:

  flex: &flex
    row: 
      parent:
      row1:
      row2:
      row3:
      row4:
    column: 
      parent:
      col1:                    
      col2:
      col3:
      col4:
      col5:
  
  content: &content
    image:  &image
      class:
      style:
      imagetype:
    icon: display-1
      class:
      style:
    title: h3 text-dark text-decoration-none
      class:
      style:
    subtitle: h4 text-dark
      class:
      style:
    heading: h4 text-dark
      class:
      style:
    description: text-muted
      class:
      style:
    link: btn btn-sm btn-block theme-bg-dark theme-text-light stretched-link text-decoration-none
      class:
      style:

Flexcard

Flexcard-horizontal

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