Change default UI font
Comments
-
Hi,
I want to use a custom font my Decisions UI. Is there any way I can change the default font which Decisions uses?
-
We can change the default font on the UI by following the below steps:
[color=rgb(34, 34, 34)]1. Add the desired fonts .ttf file at C:Program FilesDecisionsDecisions Web HostHUIContent[color=#ff0000]CustomFolder[/color].[/color]
[color=rgb(34, 34, 34)][img]att4[/img][/color]
[color=rgb(34, 34, 34)]
[/color][color=rgb(34, 34, 34)]2. Add reference for this file in[b] fonts.less [/b]found at C:Program FilesDecisionsDecisions Web HostHUIstyleslessportal.[/color]
[color=rgb(34, 34, 34)]
[img]att3[/img]
[/color]
[color=rgb(34, 34, 34)]3. Add reference for the font to @font-family-default in [b]theme.portal.less[/b] found at C:Program FilesDecisionsDecisions Web HostHUIstylesless hemes.[/color]
[color=rgb(34, 34, 34)]
[img]att2[/img][/color][color=rgb(34, 34, 34)]4. Check and confirm the LESS files compiled and modified all the CSS files found at C:Program FilesDecisionsDecisions Web HostHUIstyles. This can be confirmed by checking the Modified Date for the CSS files changes to the current DateTime.[/color]
[color=#222222]
[/color][color=rgb(34, 34, 34)]5. Clear cache in the browser. [/color][color=rgb(34, 34, 34)]This would ensure the default font is changed on the UI.[/color]
[img]att1[/img]
[i]edited by kshitij@decisions.com on 9/23/2020[/i]