* MM-10160 - support interactive button styles * MM-10160 - update action button styles - move status colors to constants * MM-10160 - add unit tests - add button border opacity - fix color accuracy * MM-10160 - change action button padding - edit hardcoded color status * MM-10160 - update styles * MM-10160 - center action button text * MM-10160 - change action button line height again * MM-10160 - improve variable names * MM-10160 - split up tests to be more descriptive
13 lines
481 B
JavaScript
13 lines
481 B
JavaScript
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
|
|
// See LICENSE.txt for license information.
|
|
|
|
import Preferences from 'mattermost-redux/constants/preferences';
|
|
|
|
export const STATUS_COLORS = {
|
|
good: '#00c100',
|
|
warning: '#dede01',
|
|
danger: Preferences.THEMES.default.errorTextColor,
|
|
default: Preferences.THEMES.default.centerChannelColor,
|
|
primary: Preferences.THEMES.default.buttonBg,
|
|
success: Preferences.THEMES.default.onlineIndicator,
|
|
};
|