Skip to content

Latest commit

 

History

History
33 lines (24 loc) · 671 Bytes

File metadata and controls

33 lines (24 loc) · 671 Bytes
title theme service

ThemeService

ThemeService provides utilities for managing application themes.

API

Member Description
Theme.LIGHT Light theme mode
Theme.DARK Dark theme mode
Theme.SYSTEM System theme mode (follows OS preferences)

Theme Enum

export enum Theme {
	LIGHT = 'light',
	DARK = 'dark',
	SYSTEM = 'system',
}

Usage

import { ThemeService, Theme } from '@mrksbnc/bamboo/services';

const themeService = new ThemeService();