Hi Keenthemes team, I'm currently using your template and implementing icons in my navigation configuration like this:
export const MENU_ROOT: TMenuConfig = [
{
title: 'Profile',
icon: 'abstract-27',
path: 'https://www.aman.com/zh-cn/resorts/aman-kyoto',
},
{
title: 'Account',
icon: 'setting-2',
rootPath: '/account/',
path: '/',
},
{
title: 'Network',
icon: 'users',
rootPath: '/network/',
path: 'network/get-started',
},
{
title: 'Authentication',
icon: 'security-user',
rootPath: '/authentication/',
path: 'authentication/get-started',
}
];
I notice that the template provides icons in three different styles: Duotone, Solid, and Outline. However, I'm unable to figure out how to specify which style I want to use for a particular icon. Could you please provide guidance on:
Thank you for your help! Best regards
Hi,
The default icon style you can change here: "src/config/settings.config.ts"
To change the icon style programmitcally please use
// refer: src/components/keenicons/types.d.ts
const { settings, updateSettings } = useSettings();
updateSettings({ keeniconsStyle: "outline" });