{"id":898,"date":"2024-01-16T17:36:41","date_gmt":"2024-01-16T20:36:41","guid":{"rendered":"https:\/\/ricaun.com\/?p=898"},"modified":"2024-01-16T17:53:00","modified_gmt":"2024-01-16T20:53:00","slug":"icons-theme","status":"publish","type":"post","link":"https:\/\/ricaun.com\/br\/icons-theme\/","title":{"rendered":"Icons Theme"},"content":{"rendered":"<p>I designed some icons using the <a href=\"https:\/\/github.com\/ricaun-io\/Autodesk.Icon.Example#Autodesk-Icon-Guidelines\">Autodesk Icon Guidelines<\/a> to create some Cube and Box icons based on the guidelines, each icon has a light and dark theme for each color and shape.<\/p>\n\n\n\n<p>Here is an example of each icon inside Revit 2024, all the images are available in <a href=\"https:\/\/github.com\/ricaun-io\/Autodesk.Icon.Example\" target=\"_blank\" rel=\"noopener\" title=\"\">Autodesk.Icon.Example<\/a>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"620\" src=\"https:\/\/ricaun.com\/wp-content\/uploads\/2024\/01\/image-1024x620.png\" alt=\"\" class=\"wp-image-903\" srcset=\"https:\/\/ricaun.com\/wp-content\/uploads\/2024\/01\/image-1024x620.png 1024w, https:\/\/ricaun.com\/wp-content\/uploads\/2024\/01\/image-300x182.png 300w, https:\/\/ricaun.com\/wp-content\/uploads\/2024\/01\/image-768x465.png 768w, https:\/\/ricaun.com\/wp-content\/uploads\/2024\/01\/image-18x12.png 18w, https:\/\/ricaun.com\/wp-content\/uploads\/2024\/01\/image.png 1354w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\">Update icons<\/h4>\n\n\n\n<p>In the video below I created the project <strong>RevitAddin.Icon.Example<\/strong> to swap the icon depending of the theme in Revit, the code is designed to work with Revit 2024+ using the event ThemeChanged.<\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<div class=\"nv-iframe-embed\"><iframe loading=\"lazy\" title=\"Update icons when Revit theme change to dark.\" width=\"1200\" height=\"675\" src=\"https:\/\/www.youtube.com\/embed\/Ggtz4-pVVYw?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" allowfullscreen><\/iframe><\/div>\n<\/div><\/figure>\n\n\n\n<p>Also, update the project to work with NET Core using the preview version that runs in NET 7.0.<\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<div class=\"nv-iframe-embed\"><iframe loading=\"lazy\" title=\"Update RevitAddin.Icon.Example to .NET Core\" width=\"1200\" height=\"675\" src=\"https:\/\/www.youtube.com\/embed\/q14EKVZaeqE?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" allowfullscreen><\/iframe><\/div>\n<\/div><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\">References<\/h4>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/github.com\/ricaun-io\/Autodesk.Icon.Example#Autodesk-Icon-Guidelines\">Autodesk Icon Guidelines<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/github.com\/ricaun-io\/Autodesk.Icon.Example\" target=\"_blank\" rel=\"noopener\" title=\"\">Autodesk.Icon.Example<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/github.com\/ricaun-io\/RevitAddin.Icon.Example\" target=\"_blank\" rel=\"noopener\" title=\"\">RevitAddin.Icon.Example<\/a><\/li>\n<\/ul>","protected":false},"excerpt":{"rendered":"<p>I designed some icons using the Autodesk Icon Guidelines to create some Cube and Box icons based on the guidelines, each icon has a light and dark theme for each color and shape. Here is an example of each icon inside Revit 2024, all the images are available in Autodesk.Icon.Example. Update icons In the video&hellip;&nbsp;<a href=\"https:\/\/ricaun.com\/br\/icons-theme\/\" class=\"\" rel=\"bookmark\">Continue a ler &raquo;<span class=\"screen-reader-text\">Icons Theme<\/span><\/a><\/p>","protected":false},"author":1,"featured_media":905,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"neve_meta_sidebar":"","neve_meta_container":"","neve_meta_enable_content_width":"","neve_meta_content_width":0,"neve_meta_title_alignment":"","neve_meta_author_avatar":"","neve_post_elements_order":"","neve_meta_disable_header":"","neve_meta_disable_footer":"","neve_meta_disable_title":"","_ti_tpc_template_sync":false,"_ti_tpc_template_id":"","footnotes":""},"categories":[1],"tags":[],"class_list":["post-898","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-revit-api"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/ricaun.com\/br\/wp-json\/wp\/v2\/posts\/898","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ricaun.com\/br\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ricaun.com\/br\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ricaun.com\/br\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ricaun.com\/br\/wp-json\/wp\/v2\/comments?post=898"}],"version-history":[{"count":3,"href":"https:\/\/ricaun.com\/br\/wp-json\/wp\/v2\/posts\/898\/revisions"}],"predecessor-version":[{"id":904,"href":"https:\/\/ricaun.com\/br\/wp-json\/wp\/v2\/posts\/898\/revisions\/904"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ricaun.com\/br\/wp-json\/wp\/v2\/media\/905"}],"wp:attachment":[{"href":"https:\/\/ricaun.com\/br\/wp-json\/wp\/v2\/media?parent=898"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ricaun.com\/br\/wp-json\/wp\/v2\/categories?post=898"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ricaun.com\/br\/wp-json\/wp\/v2\/tags?post=898"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}