Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save AllieRays/9ab5843bee89d601bb2c8e92f0a3529a to your computer and use it in GitHub Desktop.
Save AllieRays/9ab5843bee89d601bb2c8e92f0a3529a to your computer and use it in GitHub Desktop.
-
type: cohesion_sync_package
export:
uuid: 1eea4b40-c808-4cb5-aa18-ecfce382c273
langcode: en
status: true
dependencies: { }
id: pack_studio_base_button_style
label: 'Studio Base Button Style'
description: 'This is an example of a Site Studio base button style example.'
excluded_entity_types: '[]'
settings: '{"788471cf-8e30-40e5-bd23-804608b5bc24":{"type":"cohesion_base_styles","items":{"788471cf-8e30-40e5-bd23-804608b5bc24":{"type":"cohesion_base_styles"},"fe22b9ba-2bf7-4cc4-808a-56ca1fcf177f":{"type":"cohesion_color"},"75556ff1-c6f0-48c8-b2a6-37a3a1cff6b4":{"type":"cohesion_color"},"c8a40c8f-849c-4d40-830a-cc574ff5f92c":{"type":"cohesion_color"}},"checked":true}}'
-
type: cohesion_base_styles
export:
uuid: 788471cf-8e30-40e5-bd23-804608b5bc24
langcode: en
status: true
dependencies: { }
id: base_studio_button
label: 'studio button'
json_values: '{"preview":{"text":"<p><button type=\"studio-button\">Default content for Studio Example Button<\/button><\/p>\n","textFormat":"cohesion"},"styles":{"settings":{"element":"button"},"6d941a99-f002-4ae5-b4c0-36c461415a39":{"settings":{"element":"","class":"","combinator":"","pseudo":":hover"},"styles":{"xl":{"background-color":{"value":{"value":{"hex":"#036093","rgba":"rgba(3, 96, 147, 1)"},"name":"Color 3","uid":"color-3","class":".coh-color-color-3","variable":"$coh-color-color-3","wysiwyg":true,"inuse":true,"link":true}},"transitions":[{"transitionDuration":{"value":600},"transitionTimingFunction":{"value":"ease"},"transitionProperty":{"value":"background-color"},"transitionDelay":{"value":null}}]}}},"styles":{"xl":{"color":{"value":{"name":"White","uid":"white","value":{"hex":"#ffffff","rgba":"rgba(255, 255, 255, 1)"},"wysiwyg":true,"class":".coh-color-white","variable":"$coh-color-white","inuse":true,"link":true}},"background-color":{"value":{"value":{"hex":"#28a9e0","rgba":"rgba(40, 169, 224, 1)"},"name":"Color 1","uid":"color-1","class":".coh-color-color-1","variable":"$coh-color-color-1","wysiwyg":true,"inuse":true,"link":true}},"padding":{"padding-top":{"value":"20px"},"padding-bottom":{"value":"20px"},"padding-left":{"value":"15px"},"padding-right":{"value":"15px"}},"transitions":[{"transitionProperty":{"value":"background-color"},"transitionDuration":{"value":600},"transitionTimingFunction":{"value":"ease"}}]}}},"sBackgroundColour":"#FFFFFF","variableFields":[]}'
json_mapper: '{"styles":{"title":null,"selectorType":"topLevel","formDefinition":[{"formKey":"font","children":[{"formKey":"font-and-color","breakpoints":[{"name":"xl"}],"activeFields":[{"name":"font-family","active":true},{"name":"font-weight","active":true},{"name":"color","active":true}]},{"formKey":"font-sizing-and-alignment","breakpoints":[{"name":"xl"}],"activeFields":[{"name":"font-size","active":true},{"name":"line-height","active":true},{"name":"text-align","active":true},{"name":"letter-spacing","active":false},{"name":"word-spacing","active":false},{"name":"text-indent","active":false}]}]},{"formKey":"layout","children":[{"formKey":"margin","breakpoints":[{"name":"xl"}],"activeFields":[{"name":"margin-equal","active":false},{"name":"margin-top","active":true},{"name":"margin-bottom","active":true},{"name":"margin-left","active":true},{"name":"margin-right","active":true},{"name":"margin-block-start","active":false},{"name":"margin-block-end","active":false},{"name":"margin-inline-start","active":false},{"name":"margin-inline-end","active":false}]},{"formKey":"padding","breakpoints":[{"name":"xl"}],"activeFields":[{"name":"padding-equal","active":false},{"name":"padding-top","active":true},{"name":"padding-bottom","active":true},{"name":"padding-left","active":true},{"name":"padding-right","active":true},{"name":"padding-block-start","active":false},{"name":"padding-block-end","active":false},{"name":"padding-inline-start","active":false},{"name":"padding-inline-end","active":false}]}]},{"formKey":"background","children":[{"formKey":"background-color","breakpoints":[{"name":"xl"}],"activeFields":[{"name":"background-color","active":true}]}]},{"formKey":"transform-and-transition","children":[{"formKey":"transition","breakpoints":[{"name":"xl"}],"activeFields":[{"name":"transitions","active":true},{"name":"transitionProperty","active":true},{"name":"transitionCustomProperty","active":true},{"name":"transitionDuration","active":true},{"name":"transitionTimingFunction","active":true},{"name":"transitionDelay","active":true}]}]}],"items":[{"title":":hover","type":"container","items":[],"form":null,"selectorType":"pseudo","uuid":"6d941a99-f002-4ae5-b4c0-36c461415a39","allowedTypes":["child","pseudo"],"formDefinition":[{"formKey":"background","children":[{"formKey":"background-color","breakpoints":[{"name":"xl"}],"activeFields":[{"name":"background-color","active":true}]}]},{"formKey":"transform-and-transition","children":[{"formKey":"transition","breakpoints":[{"name":"xl"}],"activeFields":[{"name":"transitions","active":true},{"name":"transitionProperty","active":true},{"name":"transitionCustomProperty","active":true},{"name":"transitionDuration","active":true},{"name":"transitionTimingFunction","active":true},{"name":"transitionDelay","active":true}]}]}]}],"form":null}}'
last_entity_update: entityupdate_0027
locked: false
modified: true
selectable: true
custom: null
-
type: cohesion_color
export:
uuid: fe22b9ba-2bf7-4cc4-808a-56ca1fcf177f
langcode: en
status: true
dependencies: { }
id: color-3
label: 'Color 3'
json_values: '{"value":{"value":{"hex":"#036093","rgba":"rgba(3, 96, 147, 1)"}},"name":"Color 3","uid":"color-3","class":".coh-color-color-3","variable":"$coh-color-color-3","wysiwyg":true,"inuse":true,"link":true}'
json_mapper: '{}'
last_entity_update: entityupdate_0027
locked: false
modified: true
selectable: true
weight: 1
-
type: cohesion_color
export:
uuid: 75556ff1-c6f0-48c8-b2a6-37a3a1cff6b4
langcode: en
status: true
dependencies: { }
id: white
label: White
json_values: '{"name":"White","uid":"white","value":{"value":{"hex":"#ffffff","rgba":"rgba(255, 255, 255, 1)"}},"wysiwyg":true,"class":".coh-color-white","variable":"$coh-color-white","inuse":true,"link":true}'
json_mapper: '{}'
last_entity_update: entityupdate_0027
locked: false
modified: false
selectable: true
weight: 3
-
type: cohesion_color
export:
uuid: c8a40c8f-849c-4d40-830a-cc574ff5f92c
langcode: en
status: true
dependencies: { }
id: color-1
label: 'Color 1'
json_values: '{"value":{"value":{"hex":"#28a9e0","rgba":"rgba(40, 169, 224, 1)"}},"name":"Color 1","uid":"color-1","class":".coh-color-color-1","variable":"$coh-color-color-1","wysiwyg":true,"inuse":true,"link":true}'
json_mapper: '{}'
last_entity_update: entityupdate_0027
locked: false
modified: true
selectable: true
weight: 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment