mattermost-redux
Version:
Common code (API client, Redux stores, logic, utility functions) for building a Mattermost client
43 lines (39 loc) • 1.06 kB
text/typescript
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
// See LICENSE.txt for license information.
export type PreferenceType = {
category: string;
name: string;
user_id: string;
value?: string;
};
export type PreferencesType = {
[x: string]: PreferenceType;
};
export type Theme = {
[key: string]: string | undefined;
type?: string;
sidebarBg: string;
sidebarText: string;
sidebarUnreadText: string;
sidebarTextHoverBg: string;
sidebarTextActiveBorder: string;
sidebarTextActiveColor: string;
sidebarHeaderBg: string;
sidebarHeaderTextColor: string;
onlineIndicator: string;
awayIndicator: string;
dndIndicator: string;
mentionBg: string;
mentionBj: string;
mentionColor: string;
centerChannelBg: string;
centerChannelColor: string;
newMessageSeparator: string;
linkColor: string;
buttonBg: string;
buttonColor: string;
errorTextColor: string;
mentionHighlightBg: string;
mentionHighlightLink: string;
codeTheme: string;
};