focalboard/webapp/src/constants.ts

26 lines
997 B
TypeScript
Raw Normal View History

2020-10-20 21:50:53 +02:00
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
// See LICENSE.txt for license information.
2020-10-08 18:21:27 +02:00
class Constants {
2020-11-03 00:47:45 +01:00
static readonly menuColors = [
2020-10-20 22:26:06 +02:00
{id: 'propColorDefault', name: 'Default', type: 'color'},
2020-10-20 21:50:53 +02:00
{id: 'propColorGray', name: 'Gray', type: 'color'},
{id: 'propColorBrown', name: 'Brown', type: 'color'},
2020-10-20 22:26:06 +02:00
{id: 'propColorOrange', name: 'Orange', type: 'color'},
2020-10-20 21:50:53 +02:00
{id: 'propColorYellow', name: 'Yellow', type: 'color'},
{id: 'propColorGreen', name: 'Green', type: 'color'},
{id: 'propColorBlue', name: 'Blue', type: 'color'},
{id: 'propColorPurple', name: 'Purple', type: 'color'},
2020-10-20 22:26:06 +02:00
{id: 'propColorPink', name: 'Pink', type: 'color'},
2020-10-20 21:50:53 +02:00
{id: 'propColorRed', name: 'Red', type: 'color'},
]
2020-11-03 00:47:45 +01:00
static readonly minColumnWidth = 100
static readonly defaultTitleColumnWidth = 280
static readonly titleColumnId = '__title'
2021-02-17 23:51:39 +01:00
2021-04-13 20:04:22 +02:00
static readonly versionString = '0.6.5'
2020-10-08 18:21:27 +02:00
}
2020-10-20 21:50:53 +02:00
export {Constants}