You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
scrutiny/webapp/frontend/src/app/core/config/app.config.ts

40 lines
883 B

import { Layout } from "app/layout/layout.types";
// Theme type
export type Theme = "light" | "dark" | "system";
/**
* AppConfig interface. Update this interface to strictly type your config
* object.
*/
export interface AppConfig
{
theme: Theme;
layout: Layout;
// Dashboard options
dashboardDisplay: string;
dashboardSort: string;
temperatureUnit: string;
}
/**
* Default configuration for the entire application. This object is used by
* "ConfigService" to set the default configuration.
*
* If you need to store global configuration for your app, you can use this
* object to set the defaults. To access, update and reset the config, use
* "ConfigService".
*/
export const appConfig: AppConfig = {
theme : "light",
layout: "material",
dashboardDisplay: "name",
dashboardSort: "status",
temperatureUnit: "celsius",
};