@ckeditor/ckeditor5-theme-lark 46.1.1 → 47.0.0-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -183,9 +183,11 @@
183
183
  }
184
184
  :root{
185
185
  --ck-spacing-unit:0.6em;
186
+ --ck-spacing-extra-large:calc(var(--ck-spacing-unit) * 2);
186
187
  --ck-spacing-large:calc(var(--ck-spacing-unit) * 1.5);
187
188
  --ck-spacing-standard:var(--ck-spacing-unit);
188
189
  --ck-spacing-medium:calc(var(--ck-spacing-unit) * 0.8);
190
+ --ck-spacing-medium-small:calc(var(--ck-spacing-unit) * 0.667);
189
191
  --ck-spacing-small:calc(var(--ck-spacing-unit) * 0.5);
190
192
  --ck-spacing-tiny:calc(var(--ck-spacing-unit) * 0.3);
191
193
  --ck-spacing-extra-tiny:calc(var(--ck-spacing-unit) * 0.16);
@@ -1061,22 +1063,22 @@ a.ck.ck-button-bold{
1061
1063
  border-top-color:var(--ck-color-panel-background);
1062
1064
  }
1063
1065
  :root{
1064
- --ck-form-header-height:44px;
1066
+ --ck-form-header-height:3.384em;
1065
1067
  }
1066
1068
  .ck.ck-form__header{
1067
1069
  padding:var(--ck-spacing-small) var(--ck-spacing-large);
1068
1070
  height:var(--ck-form-header-height);
1069
1071
  line-height:var(--ck-form-header-height);
1070
1072
  border-bottom:1px solid var(--ck-color-base-border);
1073
+ flex-shrink:0;
1071
1074
  }
1072
- [dir="ltr"] .ck.ck-form__header > .ck-icon{
1073
- margin-right:var(--ck-spacing-medium);
1074
- }
1075
- [dir="rtl"] .ck.ck-form__header > .ck-icon{
1076
- margin-left:var(--ck-spacing-medium);
1075
+ .ck.ck-form__header > .ck-icon{
1076
+ margin-inline-end:var(--ck-spacing-medium);
1077
+ flex-shrink:0;
1077
1078
  }
1078
1079
  .ck.ck-form__header .ck-form__header__label{
1079
- --ck-font-size-base:15px;
1080
+ --ck-font-size-base:1.153em;
1081
+
1080
1082
  font-weight:bold;
1081
1083
  }
1082
1084
  .ck.ck-form__header:has(.ck-button-back.ck-hidden){
@@ -1088,6 +1090,9 @@ a.ck.ck-button-bold{
1088
1090
  .ck.ck-form__header > .ck-button-back{
1089
1091
  margin-inline-end:var(--ck-spacing-small);
1090
1092
  }
1093
+ .ck.ck-form__header > .ck.ck-button{
1094
+ flex-shrink:0;
1095
+ }
1091
1096
  :root{
1092
1097
  --ck-icon-size:calc(var(--ck-line-height-base) * var(--ck-font-size-normal));
1093
1098
  --ck-icon-font-size:.8333350694em;
package/dist/index.css CHANGED
@@ -309,9 +309,11 @@
309
309
  */
310
310
  :root {
311
311
  --ck-spacing-unit: 0.6em;
312
+ --ck-spacing-extra-large: calc(var(--ck-spacing-unit) * 2);
312
313
  --ck-spacing-large: calc(var(--ck-spacing-unit) * 1.5);
313
314
  --ck-spacing-standard: var(--ck-spacing-unit);
314
315
  --ck-spacing-medium: calc(var(--ck-spacing-unit) * 0.8);
316
+ --ck-spacing-medium-small: calc(var(--ck-spacing-unit) * 0.667);
315
317
  --ck-spacing-small: calc(var(--ck-spacing-unit) * 0.5);
316
318
  --ck-spacing-tiny: calc(var(--ck-spacing-unit) * 0.3);
317
319
  --ck-spacing-extra-tiny: calc(var(--ck-spacing-unit) * 0.16);
@@ -1695,27 +1697,25 @@ of the component, floating–point numbers have been used which, for the default
1695
1697
  * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
1696
1698
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
1697
1699
  */
1698
- /*
1699
- * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
1700
- * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options
1701
- */
1702
1700
  :root {
1703
- --ck-form-header-height: 44px;
1701
+ --ck-form-header-height: 3.384em;
1704
1702
  }
1705
1703
  .ck.ck-form__header {
1706
1704
  padding: var(--ck-spacing-small) var(--ck-spacing-large);
1707
1705
  height: var(--ck-form-header-height);
1708
1706
  line-height: var(--ck-form-header-height);
1709
1707
  border-bottom: 1px solid var(--ck-color-base-border);
1708
+ /* To prevent shrinking when placed in flexbox. */
1709
+ flex-shrink: 0;
1710
1710
  }
1711
- [dir="ltr"] .ck.ck-form__header > .ck-icon {
1712
- margin-right: var(--ck-spacing-medium);
1713
- }
1714
- [dir="rtl"] .ck.ck-form__header > .ck-icon {
1715
- margin-left: var(--ck-spacing-medium);
1711
+ .ck.ck-form__header > .ck-icon {
1712
+ margin-inline-end: var(--ck-spacing-medium);
1713
+ flex-shrink: 0;
1716
1714
  }
1717
1715
  .ck.ck-form__header .ck-form__header__label {
1718
- --ck-font-size-base: 15px;
1716
+ /* Defaults to 15px. */
1717
+ --ck-font-size-base: 1.153em;
1718
+
1719
1719
  font-weight: bold;
1720
1720
  }
1721
1721
  /* Padding when back button is hidden */
@@ -1729,6 +1729,9 @@ of the component, floating–point numbers have been used which, for the default
1729
1729
  .ck.ck-form__header > .ck-button-back {
1730
1730
  margin-inline-end: var(--ck-spacing-small);
1731
1731
  }
1732
+ .ck.ck-form__header > .ck.ck-button {
1733
+ flex-shrink: 0;
1734
+ }
1732
1735
  /*
1733
1736
  * Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
1734
1737
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-licensing-options