Files
threshold-ui/ui/desktop/app/components/settings-card/application/index.js
T

35 lines
548 B
JavaScript

/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: BUSL-1.1
*/
import Component from '@glimmer/component';
import { inject as service } from '@ember/service';
const THEMES = [
{
label: 'system',
value: 'system-default-theme',
},
{
label: 'light',
value: 'light',
},
{
label: 'dark',
value: 'dark',
},
];
export default class SettingsApplicationComponent extends Component {
// =services
@service session;
/**
* Returns available themes
*/
get themes() {
return THEMES;
}
}