{"action":"created","issue":{"url":"https://api.github.com/repos/WordPress/gutenberg/issues/7768","repository_url":"https://api.github.com/repos/WordPress/gutenberg","labels_url":"https://api.github.com/repos/WordPress/gutenberg/issues/7768/labels{/name}","comments_url":"https://api.github.com/repos/WordPress/gutenberg/issues/7768/comments","events_url":"https://api.github.com/repos/WordPress/gutenberg/issues/7768/events","html_url":"https://github.com/WordPress/gutenberg/issues/7768","id":339136676,"node_id":"MDU6SXNzdWUzMzkxMzY2NzY=","number":7768,"title":"Block style variant labels","user":{"login":"samikeijonen","id":1820415,"node_id":"MDQ6VXNlcjE4MjA0MTU=","avatar_url":"https://avatars3.githubusercontent.com/u/1820415?v=4","gravatar_id":"","url":"https://api.github.com/users/samikeijonen","html_url":"https://github.com/samikeijonen","followers_url":"https://api.github.com/users/samikeijonen/followers","following_url":"https://api.github.com/users/samikeijonen/following{/other_user}","gists_url":"https://api.github.com/users/samikeijonen/gists{/gist_id}","starred_url":"https://api.github.com/users/samikeijonen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samikeijonen/subscriptions","organizations_url":"https://api.github.com/users/samikeijonen/orgs","repos_url":"https://api.github.com/users/samikeijonen/repos","events_url":"https://api.github.com/users/samikeijonen/events{/privacy}","received_events_url":"https://api.github.com/users/samikeijonen/received_events","type":"User","site_admin":false},"labels":[{"id":570263070,"node_id":"MDU6TGFiZWw1NzAyNjMwNzA=","url":"https://api.github.com/repos/WordPress/gutenberg/labels/Blocks","name":"Blocks","color":"fbca04","default":false},{"id":587918873,"node_id":"MDU6TGFiZWw1ODc5MTg4NzM=","url":"https://api.github.com/repos/WordPress/gutenberg/labels/Customization","name":"Customization","color":"655104","default":false},{"id":808238501,"node_id":"MDU6TGFiZWw4MDgyMzg1MDE=","url":"https://api.github.com/repos/WordPress/gutenberg/labels/[Type]%20Help%20Request","name":"[Type] Help Request","color":"cc317c","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-07-07T10:50:10Z","updated_at":"2018-09-26T09:35:58Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"Style variant for blocks is a great feature. For example Button block have 3 style variations with these labels:\r\n\r\n- Rounded\r\n- Outlined\r\n- Squared\r\n\r\nHowever how these labels can be changed? For example theme might not have `Rounded` button style at all.\r\n"},"comment":{"url":"https://api.github.com/repos/WordPress/gutenberg/issues/comments/424651011","html_url":"https://github.com/WordPress/gutenberg/issues/7768#issuecomment-424651011","issue_url":"https://api.github.com/repos/WordPress/gutenberg/issues/7768","id":424651011,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNDY1MTAxMQ==","user":{"login":"benoitchantre","id":1521015,"node_id":"MDQ6VXNlcjE1MjEwMTU=","avatar_url":"https://avatars2.githubusercontent.com/u/1521015?v=4","gravatar_id":"","url":"https://api.github.com/users/benoitchantre","html_url":"https://github.com/benoitchantre","followers_url":"https://api.github.com/users/benoitchantre/followers","following_url":"https://api.github.com/users/benoitchantre/following{/other_user}","gists_url":"https://api.github.com/users/benoitchantre/gists{/gist_id}","starred_url":"https://api.github.com/users/benoitchantre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benoitchantre/subscriptions","organizations_url":"https://api.github.com/users/benoitchantre/orgs","repos_url":"https://api.github.com/users/benoitchantre/repos","events_url":"https://api.github.com/users/benoitchantre/events{/privacy}","received_events_url":"https://api.github.com/users/benoitchantre/received_events","type":"User","site_admin":false},"created_at":"2018-09-26T09:35:58Z","updated_at":"2018-09-26T09:35:58Z","author_association":"NONE","body":"I would not use labels related to a specific style. I think is the responsability of the theme to define the appeareance of the buttons.\r\n\r\nI would rename the labels to:\r\n\r\n- Primary (default)\r\n- Secondary\r\n\r\nSecondary could be opt-in with `add_theme_support`."}}
{"actor":{"display_login":"benoitchantre"}}