@ckeditor/ckeditor5-theme-lark 38.2.0-alpha.0 → 39.0.0
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.
- package/README.md +0 -1
- package/package.json +2 -2
- package/theme/ckeditor5-table/tableediting.css +2 -2
- package/theme/ckeditor5-ui/components/colorgrid/colorgrid.css +1 -1
- package/theme/ckeditor5-ui/components/colorselector/colorselector.css +70 -0
- package/theme/ckeditor5-ui/components/dropdown/dropdown.css +5 -1
- package/theme/ckeditor5-ui/components/editorui/editorui.css +2 -2
- package/theme/ckeditor5-font/fontcolor.css +0 -27
package/README.md
CHANGED
@@ -4,7 +4,6 @@ CKEditor 5 lark theme
|
|
4
4
|
[](https://www.npmjs.com/package/@ckeditor/ckeditor5-theme-lark)
|
5
5
|
[](https://coveralls.io/github/ckeditor/ckeditor5?branch=master)
|
6
6
|
[](https://app.travis-ci.com/github/ckeditor/ckeditor5)
|
7
|
-

|
8
7
|
|
9
8
|
This package implements lark theme — the default CKEditor 5 theme.
|
10
9
|
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@ckeditor/ckeditor5-theme-lark",
|
3
|
-
"version": "
|
3
|
+
"version": "39.0.0",
|
4
4
|
"description": "A bright theme for CKEditor 5.",
|
5
5
|
"keywords": [
|
6
6
|
"ckeditor",
|
@@ -9,7 +9,7 @@
|
|
9
9
|
"ckeditor5-theme"
|
10
10
|
],
|
11
11
|
"dependencies": {
|
12
|
-
"@ckeditor/ckeditor5-ui": "
|
12
|
+
"@ckeditor/ckeditor5-ui": "39.0.0"
|
13
13
|
},
|
14
14
|
"engines": {
|
15
15
|
"node": ">=16.0.0",
|
@@ -4,7 +4,7 @@
|
|
4
4
|
*/
|
5
5
|
|
6
6
|
:root {
|
7
|
-
--ck-color-
|
7
|
+
--ck-color-selector-focused-cell-background: hsla(212, 90%, 80%, .3);
|
8
8
|
}
|
9
9
|
|
10
10
|
.ck-widget.table {
|
@@ -13,7 +13,7 @@
|
|
13
13
|
&.ck-editor__nested-editable.ck-editor__nested-editable_focused,
|
14
14
|
&.ck-editor__nested-editable:focus {
|
15
15
|
/* A very slight background to highlight the focused cell */
|
16
|
-
background: var(--ck-color-
|
16
|
+
background: var(--ck-color-selector-focused-cell-background);
|
17
17
|
|
18
18
|
/* Fixes the problem where surrounding cells cover the focused cell's border.
|
19
19
|
It does not fix the problem in all places but the UX is improved.
|
@@ -0,0 +1,70 @@
|
|
1
|
+
/*
|
2
|
+
* Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
3
|
+
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
4
|
+
*/
|
5
|
+
|
6
|
+
@import "@ckeditor/ckeditor5-ui/theme/mixins/_dir.css";
|
7
|
+
|
8
|
+
.ck.ck-color-selector {
|
9
|
+
/* View fragment with color grids. */
|
10
|
+
& .ck-color-grids-fragment {
|
11
|
+
& .ck-button.ck-color-selector__remove-color,
|
12
|
+
& .ck-button.ck-color-selector__color-picker {
|
13
|
+
width: 100%;
|
14
|
+
}
|
15
|
+
|
16
|
+
& .ck-button.ck-color-selector__color-picker {
|
17
|
+
padding: calc(var(--ck-spacing-standard) / 2) var(--ck-spacing-standard);
|
18
|
+
border-bottom-left-radius: 0;
|
19
|
+
border-bottom-right-radius: 0;
|
20
|
+
|
21
|
+
&:not(:focus) {
|
22
|
+
border-top: 1px solid var(--ck-color-base-border);
|
23
|
+
}
|
24
|
+
|
25
|
+
& .ck.ck-icon {
|
26
|
+
@mixin ck-dir ltr {
|
27
|
+
margin-right: var(--ck-spacing-standard);
|
28
|
+
}
|
29
|
+
|
30
|
+
@mixin ck-dir rtl {
|
31
|
+
margin-left: var(--ck-spacing-standard);
|
32
|
+
}
|
33
|
+
}
|
34
|
+
}
|
35
|
+
|
36
|
+
& label.ck.ck-color-grid__label {
|
37
|
+
font-weight: unset;
|
38
|
+
}
|
39
|
+
}
|
40
|
+
|
41
|
+
/* View fragment with a color picker. */
|
42
|
+
& .ck-color-picker-fragment {
|
43
|
+
& .ck.ck-color-picker {
|
44
|
+
padding: 8px;
|
45
|
+
|
46
|
+
& .hex-color-picker {
|
47
|
+
height: 100px;
|
48
|
+
min-width: 180px;
|
49
|
+
|
50
|
+
&::part(saturation) {
|
51
|
+
border-radius: var(--ck-border-radius) var(--ck-border-radius) 0 0;
|
52
|
+
}
|
53
|
+
|
54
|
+
&::part(hue) {
|
55
|
+
border-radius: 0 0 var(--ck-border-radius) var(--ck-border-radius);
|
56
|
+
}
|
57
|
+
|
58
|
+
&::part(saturation-pointer),
|
59
|
+
&::part(hue-pointer) {
|
60
|
+
width: 15px;
|
61
|
+
height: 15px;
|
62
|
+
}
|
63
|
+
}
|
64
|
+
}
|
65
|
+
|
66
|
+
& .ck.ck-color-selector_action-bar {
|
67
|
+
padding: 0 8px 8px;
|
68
|
+
}
|
69
|
+
}
|
70
|
+
}
|
@@ -83,7 +83,7 @@
|
|
83
83
|
&.ck-off:active,
|
84
84
|
&.ck-on:active {
|
85
85
|
box-shadow: none;
|
86
|
-
|
86
|
+
|
87
87
|
&:focus {
|
88
88
|
@mixin ck-box-shadow var(--ck-focus-outer-shadow);
|
89
89
|
}
|
@@ -119,4 +119,8 @@
|
|
119
119
|
&.ck-dropdown__panel_nw {
|
120
120
|
border-bottom-right-radius: 0;
|
121
121
|
}
|
122
|
+
|
123
|
+
&:focus {
|
124
|
+
outline: none;
|
125
|
+
}
|
122
126
|
}
|
@@ -58,12 +58,12 @@
|
|
58
58
|
/* https://github.com/ckeditor/ckeditor5-theme-lark/issues/111 */
|
59
59
|
.ck.ck-balloon-panel.ck-toolbar-container[class*="arrow_n"] {
|
60
60
|
&::after {
|
61
|
-
border-bottom-color: var(--ck-color-
|
61
|
+
border-bottom-color: var(--ck-color-panel-background);
|
62
62
|
}
|
63
63
|
}
|
64
64
|
|
65
65
|
.ck.ck-balloon-panel.ck-toolbar-container[class*="arrow_s"] {
|
66
66
|
&::after {
|
67
|
-
border-top-color: var(--ck-color-
|
67
|
+
border-top-color: var(--ck-color-panel-background);
|
68
68
|
}
|
69
69
|
}
|
@@ -1,27 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
* Copyright (c) 2003-2023, CKSource Holding sp. z o.o. All rights reserved.
|
3
|
-
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
|
4
|
-
*/
|
5
|
-
|
6
|
-
@import "@ckeditor/ckeditor5-ui/theme/mixins/_dir.css";
|
7
|
-
|
8
|
-
.ck .ck-button.ck-color-table__remove-color {
|
9
|
-
padding: calc(var(--ck-spacing-standard) / 2 ) var(--ck-spacing-standard);
|
10
|
-
border-bottom-left-radius: 0;
|
11
|
-
border-bottom-right-radius: 0;
|
12
|
-
|
13
|
-
&:not(:focus) {
|
14
|
-
border-bottom: 1px solid var(--ck-color-base-border);
|
15
|
-
}
|
16
|
-
|
17
|
-
& .ck.ck-icon {
|
18
|
-
@mixin ck-dir ltr {
|
19
|
-
margin-right: var(--ck-spacing-standard);
|
20
|
-
}
|
21
|
-
|
22
|
-
@mixin ck-dir rtl {
|
23
|
-
margin-left: var(--ck-spacing-standard);
|
24
|
-
}
|
25
|
-
}
|
26
|
-
}
|
27
|
-
|