You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
block.json: set color property individually #24927
[Feature] Design ToolsTools that impact the appearance of blocks both to expand the number of tools and improve the experi[Status] In ProgressTracking issues with work in progress
Hi @nosolosw, the API's are experimental I guess we can simply change to have two separate properties __experimentalColor.color for color and __experimentalColor.background for "background-color" right?
I'd think we want to consolidate __experimentalColors with the same subkeys that they have in the style attribute and theme.json: link, gradient, background, text (updated issue description for clarity).
For context, a related PR where I tried to do this (but was held off due to other things) #24320
@jorgefilipecosta I am a little confused with the naming convention of these colors and some properties like __experimentalColors. Is it only for experimental purpose and may deprecated in future releases? Thanks 🙂
@jorgefilipecosta I am a little confused with the naming convention of these colors and some properties like __experimentalColors. Is it only for experimental purpose and may deprecated in future releases? Thanks 🙂
Hi @kishanjasani, it is experimental because we are still developing and improving it so its shape and name could change in the future.
[Feature] Design ToolsTools that impact the appearance of blocks both to expand the number of tools and improve the experi[Status] In ProgressTracking issues with work in progress
Activity
[-]Set color property individually[/-][+]block.json: set color property individually[/+]jorgefilipecosta commentedon Aug 31, 2020
Hi @nosolosw, the API's are experimental I guess we can simply change to have two separate properties __experimentalColor.color for color and __experimentalColor.background for "background-color" right?
oandregal commentedon Aug 31, 2020
I'd think we want to consolidate
__experimentalColorswith the same subkeys that they have in the style attribute and theme.json: link, gradient, background, text (updated issue description for clarity).For context, a related PR where I tried to do this (but was held off due to other things) #24320
kishanjasani commentedon Aug 31, 2020
@jorgefilipecosta I am a little confused with the naming convention of these colors and some properties like
__experimentalColors. Is it only for experimental purpose and may deprecated in future releases? Thanks 🙂jorgefilipecosta commentedon Sep 3, 2020
Hi @kishanjasani, it is experimental because we are still developing and improving it so its shape and name could change in the future.