Skip to content

Instantly share code, notes, and snippets.

@mattly
Last active July 4, 2018 13:04
Show Gist options
  • Save mattly/75fe7aa92aa29d5d649ca6db0f2ead70 to your computer and use it in GitHub Desktop.
Save mattly/75fe7aa92aa29d5d649ca6db0f2ead70 to your computer and use it in GitHub Desktop.
Swatches
Swatches
New Document
bang -> Paste Into New Palette
Paste Into New Palette
change text -> Paste Into New Palette
import -> Inspect Palette
Inspect Palette
back -> List Entities
pick swatch -> Inspect Swatch
add swatch -> Seeking Swatch
List Entities
pick palette -> Inspect Palette
pick swatch -> Inspect Swatch
pick info -> System Info
Inspect Swatch
back -> List Entities
edit swatch -> Inspect Swatch
Seeking Swatch
pick available swatch -> Inspect Palette
Export Palette
System Info
function render(model){
let current_state_name = model.active_states[0].name;
return $("h1",
{style: {color: "darkBlue"}},
`The current state is: ${current_state_name}`);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment