702b4b1061
* Only allowing valid color classes * Simplifying the menuColors map and addressing some PR review comments * Fixing type problems * Fixing color * Fixing snapshots
26 lines
732 B
TypeScript
26 lines
732 B
TypeScript
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
|
|
// See LICENSE.txt for license information.
|
|
|
|
class Constants {
|
|
static readonly menuColors: {[key: string]: string} = {
|
|
propColorDefault: 'Default',
|
|
propColorGray: 'Gray',
|
|
propColorBrown: 'Brown',
|
|
propColorOrange: 'Orange',
|
|
propColorYellow: 'Yellow',
|
|
propColorGreen: 'Green',
|
|
propColorBlue: 'Blue',
|
|
propColorPurple: 'Purple',
|
|
propColorPink: 'Pink',
|
|
propColorRed: 'Red',
|
|
}
|
|
|
|
static readonly minColumnWidth = 100
|
|
static readonly defaultTitleColumnWidth = 280
|
|
static readonly titleColumnId = '__title'
|
|
|
|
static readonly versionString = '0.6.7'
|
|
}
|
|
|
|
export {Constants}
|