{
"text-styles": [
{
"name": "smallscreen-small-headline-hardtone",
"typeface": "@cheltenham",
"weight": "700",
"font-size": "22",
"line-height": "27",
"letterspacing": "0.1",
"color": "@gray-10",
"align": "left"
},
{
"name": "smallscreen-small-headline-hardtone",
"typeface": "@cheltenham",
"weight": "500",
"font-size": "22",
"line-height": "27",
"letterspacing": "0.1",
"color": "@gray-10",
"align": "left"
},
…
]
}
Last active
June 30, 2017 16:09
-
-
Save tealtan/69c1005f0ed97f31751c6bbb01534003 to your computer and use it in GitHub Desktop.
Rules for Text Style Mapping
{
"text-styles-mapping": [
{
"card-type": "standard",
"screen-size": "small",
"rendition": "whole",
"tone": "hard",
"status": "regular",
"element": "headline",
"text-style": "smallscreen-small-headline-hardtone"
},
{
"card-type": "standard",
"screen-size": "small",
"rendition": "whole",
"tone": "soft",
"status": "regular",
"element": "headline",
"text-style": "smallscreen-small-headline-hardtone"
},
…
]
}
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm thinking of something more cascading. should be less verbose & less duplication, but may be more complicated too.
Here's the idea: