How to color custom Theme

Nisha30
Kilo Sage

Hi community,

Can you assist how do I make color on our custom theme 

1. Created Custom Theme in 'sys_ux_theme' table 

2. We have a sys_property defined as string glide.ui.polaris.theme.new = SYS ID of sys_ux_theme record in step1

3. Created color record in 'sys_ux_style' and associated the theme (step 1)

 

it displays our brand at top 

what we now looking for different color for instances. I tried copy the themes for color but the preferences option in profile is not showing theme 

ANy guidance to proceed in right direction please

Thanks

2 REPLIES 2

M Ismail
Tera Guru

Hi @Nisha30,

To add a different color for instances in your custom theme, you can follow these steps:

1. **Create a new custom theme in `sys_ux_theme` table**:
- Navigate to `sys_ux_theme` table.
- Click on **New** to create a new record.
- Configure the new theme with the desired color scheme and other customizations.
- Save the record and note down the SYS ID of this new theme.

2. **Update the `glide.ui.polaris.theme.new` sys_property**:
- Navigate to the `sys_properties.list` table.
- Search for the property `glide.ui.polaris.theme.new`.
- Update the value of this property to the SYS ID of the new theme you created in step 1.

3. **Associate the color record with the new theme**:
- Navigate to the `sys_ux_style` table.
- Create a new record for the color scheme you want to add.
- In the `Theme` field, select the new theme you created in step 1.

4. **Ensure that the theme is available in the user's profile**:
- Navigate to the user's profile.
- Click on the user's name in the top right corner, then click on **User Profile**.
- In the left menu, under **Theme**, ensure that the new theme is selected.

5. **Check the theme in the instance**:
- After completing the above steps, check if the new theme with the different color scheme is applied in the instance.
- If the theme is not applied, try clearing the browser cache and refreshing the page.

If the preferences option in the profile is not showing the theme, ensure that the theme is correctly associated with the user's profile and that the user has the necessary permissions to view and select the theme.
Please hit helpful and accept this as a solution if it solved your problem.
Thank you!

Anirudh Pathak
Mega Sage