UNPKG

@accordproject/markdown-editor

Version:

A rich text editor that can read and write markdown text. Based on Slate.js.

33 lines (20 loc) 925 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.tooltipColor = exports.tooltipBg = exports.buttonSymbolActive = exports.buttonSymbolInactive = exports.buttonBgActive = exports.buttonBgInactiveInactive = void 0; /** * Methods to determine styling with a standard fallback. */ const buttonBgInactiveInactive = input => input || '#FFFFFF'; exports.buttonBgInactiveInactive = buttonBgInactiveInactive; const buttonBgActive = input => input || '#F0F0F0'; exports.buttonBgActive = buttonBgActive; const buttonSymbolInactive = input => input || '#949CA2'; exports.buttonSymbolInactive = buttonSymbolInactive; const buttonSymbolActive = input => input || '#414F58'; exports.buttonSymbolActive = buttonSymbolActive; const tooltipBg = input => input || '#FFFFFF'; exports.tooltipBg = tooltipBg; const tooltipColor = input => input || '#000000'; exports.tooltipColor = tooltipColor;