Settings
Here’s a list of settings available in Metronic Laravel core and their default values. The default config file is located in starterkit/config/settings.php
Name |
Type |
Description |
KT_THEME_LAYOUT_DIR | mandatory | A property used for a layout partials directory location. Default value: layout . |
KT_THEME_MODE_DEFAULT | mandatory | Default theme mode value. The supported values are light , dark and system . |
KT_THEME_MODE_SWITCH_ENABLED | mandatory | Enable theme mode switch toggle. The default value: true . |
KT_THEME_DIRECTION | mandatory | Set the text writing direction. The supported values are rtl and ltr .
RTL is the writing starts from the
right of the page and continues to the left (Right-to-Left).
Default value: ltr . |
KT_THEME_ASSETS | mandatory | A set of configuration array for assets included in the application. Eg. favicon, fonts, css, js, etc. |
favicon | mandatory | Display an icon as a visual reminder of the Web site identity in the address bar or in tabs. |
fonts | mandatory | The fonts settings for this application. |
css | mandatory | CSS files included globally for all pages. |
js | mandatory | JS files included globally for all pages. |
KT_THEME_VENDORS | optional | A list of vendors available in the package. The vendor can be added using an APi function. Eg. helpers.addVendor('datatable') . Refer to the Theme API page. |