@atlaskit/editor-common
Version:
A package that contains common classes and components for editor and renderer
10 lines (9 loc) • 447 B
JavaScript
import { mapBackgroundColors } from './tableCell';
/**
* Pre-built CSS string with `background-color` rules for every named table cell
* color (e.g. `td[colorname='red' i]`, `th[colorname='red' i]`).
*
* Intended for Compiled CSS consumers — render inside a `<style>` tag, since
* these rules are dynamically derived and cannot be expressed in a `cssMap`.
*/
export var tableCellBackgroundStyleOverrideForCompiled = mapBackgroundColors();