14. Change Homepage Colour for Polaris theme
Import
·
May 24, 2024
·
article
Difficulty in changing the color of homepage with new UI?
Follow below steps:
- Create a new record in sys_ux_style table with type ‘Core’
- Add style like below. You can copy as many property as you like from OOB style and change the colour codes
Note: This sample style should change the homepage to RED colour
{
“properties”: {
“ — now-unified-nav_header — background-color”:”160,0,0",
“ — now-unified-nav_menu — background-color”:”160,0,0",
“ — now-unified-nav_menu-filter — background-color”:”160,0,0",
“ — now-unified-nav_menu-filter — border-color”:”255,255,255",
“-now-unified-nav_contextual-app-pill — background-color”:”255,255,255"
}
}
- Create one more record in m2m_theme_style with theme selected as Polaris and Style selected as the newly created one
View original source
https://medium.com/@LearnITbyPrashant/14-change-homepage-colour-for-polaris-theme-db92cd0074c1?source=rss-d005fc598f0a------2