/*
 * Copyright (c) 2003-2026, CKSource Holding sp. z o.o. All rights reserved.
 * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
 */

/* The values should be synchronized with the "FONT_SIZE_PRESET_UNITS" object in the "/src/fontsize/utils.js" file. */

:root {
	--ck-content-font-size-tiny: 0.7em;
	--ck-content-font-size-small: 0.85em;
	--ck-content-font-size-big: 1.4em;
	--ck-content-font-size-huge: 1.8em;
}

/* Styles should be prefixed with the `.ck-content` class.
See https://github.com/ckeditor/ckeditor5/issues/6636 */
.ck-content {
	& .text-tiny {
		font-size: var(--ck-content-font-size-tiny);
	}

	& .text-small {
		font-size: var(--ck-content-font-size-small);
	}

	& .text-big {
		font-size: var(--ck-content-font-size-big);
	}

	& .text-huge {
		font-size: var(--ck-content-font-size-huge);
	}
}
