mirror of
https://github.com/codex-team/editor.js
synced 2024-05-06 16:36:47 +02:00
63eeec0f3b
Co-authored-by: George Berezhnoy <gohabereg@users.noreply.github.com> Co-authored-by: Georgy Berezhnoy <gohabereg@gmail.com> Co-authored-by: tasuku-s <tasuku@freemind.co.jp> Co-authored-by: Athul Anil Kumar <athul7744@outlook.com> Co-authored-by: Taly <vitalik7tv@yandex.ru> Co-authored-by: flaming-cl <51183663+flaming-cl@users.noreply.github.com> Co-authored-by: Nguyen Ngoc Son <sonnn.se@gmail.com> Co-authored-by: Sisir Das K <37764463+sis-dk@users.noreply.github.com> Co-authored-by: Sisir <sisir@hellosivi.com>
39 lines
733 B
TypeScript
39 lines
733 B
TypeScript
import Module from '../../__module';
|
|
import { Styles } from '../../../../types/api';
|
|
|
|
/**
|
|
*
|
|
*/
|
|
export default class StylesAPI extends Module {
|
|
/**
|
|
* Exported classes
|
|
*/
|
|
public get classes(): Styles {
|
|
return {
|
|
/**
|
|
* Base Block styles
|
|
*/
|
|
block: 'cdx-block',
|
|
|
|
/**
|
|
* Inline Tools styles
|
|
*/
|
|
inlineToolButton: 'ce-inline-tool',
|
|
inlineToolButtonActive: 'ce-inline-tool--active',
|
|
|
|
/**
|
|
* UI elements
|
|
*/
|
|
input: 'cdx-input',
|
|
loader: 'cdx-loader',
|
|
button: 'cdx-button',
|
|
|
|
/**
|
|
* Settings styles
|
|
*/
|
|
settingsButton: 'cdx-settings-button',
|
|
settingsButtonActive: 'cdx-settings-button--active',
|
|
};
|
|
}
|
|
}
|