{"id":9395,"date":"2022-12-09T11:50:00","date_gmt":"2022-12-09T04:50:00","guid":{"rendered":"https:\/\/asia.wordcamp.org\/2023\/?post_type=wcb_session&#038;p=9395"},"modified":"2023-02-15T14:46:50","modified_gmt":"2023-02-15T07:46:50","slug":"mastering-in-theme-json","status":"publish","type":"wcb_session","link":"https:\/\/asia.wordcamp.org\/2023\/session\/mastering-in-theme-json\/","title":{"rendered":"Mastering in Theme.json"},"content":{"rendered":"\n<p>Do you know theme.json is the heart of the Block Based (FSE) Theme? If you want to develop a functional and powerful block (FSE) theme then you have to be a master in theme.json<\/p>\n\n\n\n<p>Theme.json is a configuration file for theme styles and block settings. This session will go through the in-depth parts of the theme.json and how it may help you to develop an outstanding block theme.<\/p>\n\n\n\n<p>Some of the things you can do with theme.json are:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Enable or disable features like drop cap, padding, margin, and custom line height.<\/li>\n\n\n\n<li>Add multiple color palettes, gradients, and duotones<\/li>\n\n\n\n<li>Add typography like font family, sizes, etc.<\/li>\n\n\n\n<li>Add default widths for content and wide content<\/li>\n\n\n\n<li>Add custom CSS properties<\/li>\n\n\n\n<li>Assign template parts to template part areas<\/li>\n<\/ul>\n\n\n\n<p>Introduction to theme.json:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>What is theme.json?<\/li>\n\n\n\n<li>How to create a theme.json file?<\/li>\n\n\n\n<li>Is theme.json can be added to any theme?<\/li>\n<\/ul>\n\n\n\n<p>Settings for define:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>What exactly does Settings in theme.json?<\/li>\n\n\n\n<li>How do Settings affect the block editor and individual blocks?<\/li>\n\n\n\n<li>Discussion in detail about Settings properties.<\/li>\n<\/ul>\n\n\n\n<p>Styles for apply:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>What exactly does Styles in theme.json?<\/li>\n\n\n\n<li>How do Styles affect the website and block style?<\/li>\n\n\n\n<li>Discussion in detail about Styles properties.<\/li>\n<\/ul>\n\n\n\n<p>This session will cover each element of theme.json in more detail. After completing this session, you will be able to make a block theme more efficiently and also can convert your classic theme into a hybrid theme by adding theme.json<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Do you know theme.json is the heart of the Block Based (FSE) Theme? If you want to develop a functional and powerful block (FSE) theme then you have to be a master in theme.json Theme.json is a configuration file for theme styles and block settings. This session will go through the in-depth parts of the &hellip; <a href=\"https:\/\/asia.wordcamp.org\/2023\/session\/mastering-in-theme-json\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Mastering in Theme.json&#8221;<\/span><\/a><\/p>\n","protected":false},"author":15697547,"featured_media":0,"template":"","meta":{"advanced_seo_description":"","jetpack_seo_html_title":"","jetpack_seo_noindex":false,"jetpack_post_was_ever_published":false,"_wcpt_session_time":1676790000,"_wcpt_session_duration":900,"_wcpt_session_type":"session","_wcpt_session_slides":"","_wcpt_session_video":"","_wcpt_speaker_id":[9777],"footnotes":""},"session_track":[106],"session_category":[57],"class_list":["post-9395","wcb_session","type-wcb_session","status-publish","hentry","wcb_track-track-2","wcb_session_category-fse"],"jetpack_sharing_enabled":true,"session_date_time":{"date":"19 February 2023","time":"2:00 pm"},"session_speakers":[{"id":"9777","slug":"tanvirul-haque","name":"Tanvirul Haque","link":"https:\/\/asia.wordcamp.org\/2023\/speaker\/tanvirul-haque\/"}],"session_cats_rendered":"Full Site Editing (FSE)","_links":{"self":[{"href":"https:\/\/asia.wordcamp.org\/2023\/wp-json\/wp\/v2\/sessions\/9395","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/asia.wordcamp.org\/2023\/wp-json\/wp\/v2\/sessions"}],"about":[{"href":"https:\/\/asia.wordcamp.org\/2023\/wp-json\/wp\/v2\/types\/wcb_session"}],"version-history":[{"count":4,"href":"https:\/\/asia.wordcamp.org\/2023\/wp-json\/wp\/v2\/sessions\/9395\/revisions"}],"predecessor-version":[{"id":13416,"href":"https:\/\/asia.wordcamp.org\/2023\/wp-json\/wp\/v2\/sessions\/9395\/revisions\/13416"}],"speakers":[{"embeddable":true,"href":"https:\/\/asia.wordcamp.org\/2023\/wp-json\/wp\/v2\/speakers\/9777"}],"author":[{"embeddable":true,"href":"https:\/\/asia.wordcamp.org\/2023\/wp-json\/wporg\/v1\/users\/tanvirul"}],"wp:attachment":[{"href":"https:\/\/asia.wordcamp.org\/2023\/wp-json\/wp\/v2\/media?parent=9395"}],"wp:term":[{"taxonomy":"wcb_track","embeddable":true,"href":"https:\/\/asia.wordcamp.org\/2023\/wp-json\/wp\/v2\/session_track?post=9395"},{"taxonomy":"wcb_session_category","embeddable":true,"href":"https:\/\/asia.wordcamp.org\/2023\/wp-json\/wp\/v2\/session_category?post=9395"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}