@fsegurai/codemirror-theme-tokyo-night-day
Version:
Tokyo Night Day theme for the CodeMirror editor
29 lines (25 loc) • 925 B
TypeScript
import { Extension } from '@codemirror/state';
interface IMergeRevertStyles {
backgroundColor: string;
borderColor: string;
buttonColor: string;
buttonHoverColor: string;
}
/**
* Function to apply merge revert styles for a theme
* @param styles Styles for the merge revert buttons
* @param styles.backgroundColor Background color of the revert area
* @param styles.borderColor Border color of the revert area
* @param styles.buttonColor Color of the revert buttons
* @param styles.buttonHoverColor Hover color of the revert buttons
*/
declare function applyMergeRevertStyles(styles: IMergeRevertStyles): void;
/**
* Combined Tokyo Night Day theme extension
*/
declare const tokyoNightDay: Extension;
/**
* Tokyo Night Day merge revert styles configuration
*/
declare const tokyoNightDayMergeStyles: IMergeRevertStyles;
export { applyMergeRevertStyles, tokyoNightDay, tokyoNightDayMergeStyles };