Skip to content

Commit

Permalink
Adds new Prop for Global Styles Settings
Browse files Browse the repository at this point in the history
  • Loading branch information
antonis committed May 5, 2021
1 parent 8a67215 commit 7102a51
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ data class GutenbergProps @JvmOverloads constructor(
editorTheme?.also { theme ->
theme.getSerializable(PROP_COLORS)?.let { putSerializable(PROP_COLORS, it) }
theme.getSerializable(PROP_GRADIENTS)?.let { putSerializable(PROP_GRADIENTS, it) }
theme.getSerializable(PROP_GLOBAL_STYLES)
?.let { putSerializable(PROP_GLOBAL_STYLES, it) }
}
}

Expand Down Expand Up @@ -63,6 +65,7 @@ data class GutenbergProps @JvmOverloads constructor(
private const val PROP_TRANSLATIONS = "translations"
private const val PROP_COLORS = "colors"
private const val PROP_GRADIENTS = "gradients"
private const val PROP_GLOBAL_STYLES = "rawGlobalStylesBaseStyles"

const val PROP_CAPABILITIES = "capabilities"
const val PROP_CAPABILITIES_CONTACT_INFO_BLOCK = "contactInfoBlock"
Expand Down

0 comments on commit 7102a51

Please sign in to comment.