@atlaskit/editor-plugin-text-color
Version:
Text color plugin for @atlaskit/editor-core
17 lines (16 loc) • 875 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.overrideMarks = exports.TRANSPARENT_HIGHLIGHT_COLOR = exports.DIFFICULT_CONTRAST_RATIO = exports.DEFAULT_COLOR = exports.DEFAULT_BACKGROUND_COLOR = exports.ACCESSIBLE_CONTRAST_RATIO = void 0;
var overrideMarks = exports.overrideMarks = ['backgroundColor'];
var ACCESSIBLE_CONTRAST_RATIO = exports.ACCESSIBLE_CONTRAST_RATIO = 4.5;
var DIFFICULT_CONTRAST_RATIO = exports.DIFFICULT_CONTRAST_RATIO = 3;
var DEFAULT_BACKGROUND_COLOR = exports.DEFAULT_BACKGROUND_COLOR = '#FFFFFF';
var TRANSPARENT_HIGHLIGHT_COLOR = exports.TRANSPARENT_HIGHLIGHT_COLOR = '#00000000';
var DEFAULT_COLOR = exports.DEFAULT_COLOR = {
// TODO: DSP-4137 - Remove usage of hardcoded color
/* eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage */
color: '#172b4d',
label: 'Dark gray'
};