π¨Color Presets
How to change available color presets
Able Pro comes up with 6+ theme color presets. You can now change the available color presets by doing the following steps:
Color Preset files are available in src\themes\theme\ directory.
...
βββ default.ts
βββ theme1.ts
βββ ..
βββ ..
βββ ..
βββ theme8.ts...
βββ default.js
βββ theme1.js
βββ ..
βββ ..
βββ ..
βββ theme8.jsEdit & Choose your desired preset color setting in src\config file. Change the presetColor value to theme1, theme2 to theme6
// types
import { DefaultConfigProps } from 'types/config';
// ==============================|| THEME CONSTANT ||============================== //
...
...
// ==============================|| THEME CONFIG ||============================== //
const config: DefaultConfigProps = {
...
presetColor: 'default',
...
};
export default config;// ==============================|| THEME CONSTANT ||============================== //
...
...
// ==============================|| THEME CONFIG ||============================== //
const config = {
...
presetColor: 'default',
...
};
export default config;Last updated