UNPKG

@ckeditor/ckeditor5-theme-lark

Version:

A bright theme for CKEditor 5.

30 lines (25 loc) 736 B
/* * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved. * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options */ /** * Implements a button of given background color. * * @param {String} $background - Background color of the button. * @param {String} $border - Border color of the button. */ @define-mixin ck-button-colors $prefix { background: var($(prefix)-background); &:not(.ck-disabled) { &:hover { background: var($(prefix)-hover-background); } &:active { background: var($(prefix)-active-background); } } /* https://github.com/ckeditor/ckeditor5-theme-lark/issues/98 */ &.ck-disabled { background: var($(prefix)-disabled-background); } }