| 12345678910111213141516171819202122232425262728293031323334353637383940 |
- // Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
- // For licensing, see LICENSE.md or http://ckeditor.com/license
- /**
- * Base font size.
- *
- * @see $ck-font-sizes
- */
- $ck-font-size-base: 12px !default;
- /**
- * Base font face.
- *
- */
- $ck-font-face: Helvetica, Arial, Tahoma, Verdana, Sans-Serif !default;
- /**
- * Base font sizes for scaling.
- *
- * @see ck-font-size
- */
- $ck-font-sizes: (
- -2: 0.7rem,
- -1: 0.75rem,
- 0: 1rem,
- 1: 1.4rem,
- 2: 1.8rem
- );
- /**
- * Returns font-size in units for given level.
- *
- * @param {Number} $level [ 0 ] - Size of the font.
- * @return {String}
- * @see $ck-font-sizes
- * @see $ck-font-size-base
- */
- @function ck-font-size( $level: 0 ) {
- @return map-get( $ck-font-sizes, $level );
- }
|