UNPKG

@atlaskit/adf-schema

Version:

Shared package that contains the ADF-schema (json) and ProseMirror node/mark specs

298 lines (297 loc) 7.11 kB
export type EditorBorderPalette = typeof editorBorderPalette; export type EditorBorderPaletteKey = keyof EditorBorderPalette; export declare const editorBorderPalette: { /** gray - subtle */ '#091E4224': string; /** gray */ '#758195': string; /** gray - bold */ '#172B4D': string; }; export type EditorTextPalette = typeof editorTextPalette; export type EditorTextPaletteKey = keyof EditorTextPalette; export declare const editorTextPalette: { /** blue - light */ '#B3D4FF': string; /** blue - medium */ '#4C9AFF': string; /** blue - strong */ '#0747A6': string; /** teal - light */ '#B3F5FF': string; /** teal - medium */ '#00B8D9': string; /** teal - strong */ '#008DA6': string; /** green - light */ '#ABF5D1': string; /** green - medium */ '#36B37E': string; /** green - strong */ '#006644': string; /** yellowOrange - light */ '#FFF0B3': string; /** yellowOrange - medium */ '#FFC400': string; /** yellowOrange - strong */ '#FF991F': string; /** red - light */ '#FFBDAD': string; /** red - medium */ '#FF5630': string; /** red - strong */ '#BF2600': string; /** purple - light */ '#EAE6FF': string; /** purple - medium */ '#6554C0': string; /** purple - strong */ '#403294': string; /** whiteGray - light */ '#FFFFFF': string; /** whiteGray - medium */ '#97A0AF': string; /** whiteGray - strong */ '#172B4D': string; /** lime - light */ '#D3F1A7': string; /** lime - medium */ '#6A9A23': string; /** lime - strong */ '#4C6B1F': string; /** orange - light */ '#FCE4A6': string; /** orange - medium */ '#E06C00': string; /** orange - strong */ '#9E4C00': string; /** magenta - light */ '#FDD0EC': string; /** magenta - medium */ '#CD519D': string; /** magenta - strong */ '#943D73': string; /** yellow - medium */ readonly "#B38600": 'var(--ds-border-accent-yellow, #B38600)' | 'var(--ds-icon-accent-yellow, #B38600)'; /** yellow - strong */ '#7F5F01': string; }; export declare const textBackgroundColorPalette: { /** Gray - light */ '#DCDFE4': string; /** Teal - light */ '#C6EDFB': string; /** Lime - light */ '#D3F1A7': string; /** Yellow - light */ '#F8E6A0': string; /** Orange - light */ '#FEDEC8': string; /** Red - light */ '#FFD5D2': string; /** Magenta - light */ '#FDD0EC': string; /** Purple - light */ '#DFD8FD': string; /** Blue - light */ '#B3D4FF': string; /** Green - light */ '#ABF5D1': string; }; export type TextBackgroundColorPalette = typeof textBackgroundColorPalette; export type TextBackgroundColorPaletteKey = keyof TextBackgroundColorPalette; type EditorBackgroundPalette = typeof editorBackgroundPalette; export type EditorBackgroundPaletteKey = keyof EditorBackgroundPalette; /** * Values are asserted to improve generated type declarations * Using object structure as getValue() function needed for table values, and other * properties may be needed in the future. */ export declare const editorBackgroundPalette: { /** blue - light */ '#DEEBFF': { getValue: () => string; token: string; }; /** blue - medium */ '#B3D4FF': { getValue: () => string; token: string; }; /** blue - strong */ '#4C9AFF': { getValue: () => string; token: string; }; /** teal - light */ '#E6FCFF': { getValue: () => string; token: string; }; /** teal - medium */ '#B3F5FF': { getValue: () => string; token: string; }; /** teal - strong */ '#79E2F2': { getValue: () => string; token: string; }; /** green - light */ '#E3FCEF': { getValue: () => string; token: string; }; /** green - medium */ '#ABF5D1': { getValue: () => string; token: string; }; /** green - strong */ '#57D9A3': { getValue: () => string; token: string; }; /** yellowOrange - light */ '#FFFAE6': { getValue: () => string; token: string; }; /** yellowOrange - medium */ '#FFF0B3': { getValue: () => string; token: string; }; /** yellowOrange - strong */ '#FFC400': { getValue: () => string; token: string; }; /** red - light */ '#FFEBE6': { getValue: () => string; token: string; }; /** red - medium */ '#FFBDAD': { getValue: () => string; token: string; }; /** red - strong */ '#FF8F73': { getValue: () => string; token: string; }; /** purple - light */ '#EAE6FF': { getValue: () => string; token: string; }; /** purple - medium */ '#C0B6F2': { getValue: () => string; token: string; }; /** purple - strong */ '#998DD9': { getValue: () => string; token: string; }; /** whiteGray - light */ '#FFFFFF': { getValue: () => string; token: string; }; /** whiteGray - medium */ '#F4F5F7': { getValue: () => string; token: string; }; /** whiteGray - strong */ '#B3BAC5': { getValue: () => string; token: string; }; /** lime - light */ '#EFFFD6': { getValue: () => string; token: string; }; /** lime - medium */ '#D3F1A7': { getValue: () => string; token: string; }; /** lime - bold */ '#BDE97C': { getValue: () => string; token: string; }; /** orange - light */ '#FFF5DB': { getValue: () => string; token: string; }; /** orange - medium */ '#FCE4A6': { getValue: () => string; token: string; }; /** orange - bold */ '#FBD779': { getValue: () => string; token: string; }; /** magenta - light */ '#FFECF8': { getValue: () => string; token: string; }; /** magenta - medium */ '#FDD0EC': { getValue: () => string; token: string; }; /** magenta - bold */ '#FCB6E1': { getValue: () => string; token: string; }; /** blue - bold */ '#ADCBFB': { getValue: () => string; token: string; }; /** teal - bold */ '#B1E4F7': { getValue: () => string; token: string; }; /** green - bold */ '#97EDC9': { getValue: () => string; token: string; }; /** yellow - bold */ '#EFDD4E': { getValue: () => string; token: string; }; /** red - bold */ '#FFB8B2': { getValue: () => string; token: string; }; /** purple - bold */ '#E3BDFA': { getValue: () => string; token: string; }; /** gray - bold */ '#B7B9BE': { getValue: () => string; token: string; }; }; export {};