Skip to content

Commit

Permalink
Add inheritance from brand settings
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonnrosa committed Nov 22, 2021
1 parent 4027e88 commit 44d40b3
Showing 1 changed file with 20 additions and 2 deletions.
22 changes: 20 additions & 2 deletions src/fields.json
Expand Up @@ -13,6 +13,11 @@
"opacity": true
}
},
"inherited_value": {
"property_value_paths": {
"color": "brandSettings.primaryColor"
}
},
"default": {
"color": "#494A52"
}
Expand All @@ -26,6 +31,11 @@
"opacity": true
}
},
"inherited_value": {
"property_value_paths": {
"color": "brandSettings.colors[1]"
}
},
"default": {
"color": "#F8FAFC"
}
Expand Down Expand Up @@ -1211,8 +1221,12 @@
"label": "Color",
"name": "color",
"type": "color",
"inherited_value": {
"property_value_paths": {
"color": "theme.global_colors.secondary.color"
}
},
"default": {
"color": "#F8FAFC",
"opacity": 100
}
}
Expand Down Expand Up @@ -1256,8 +1270,12 @@
"label": "Color",
"name": "color",
"type": "color",
"inherited_value": {
"property_value_paths": {
"color": "theme.global_colors.secondary.color"
}
},
"default": {
"color": "#F8FAFC",
"opacity": 100
}
}
Expand Down

0 comments on commit 44d40b3

Please sign in to comment.