Skip to content
This repository was archived by the owner on Jun 26, 2020. It is now read-only.

Commit ff98211

Browse files
authored
Merge pull request #364 from ckeditor/t/ckeditor5-theme-lark/124
Docs: All colors should be in the HSLa format (see ckeditor/ckeditor5-theme-lark#124).
2 parents 623d536 + c077bfb commit ff98211

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

docs/_snippets/examples/bootstrap-ui-inner.html

+3-3
Original file line numberDiff line numberDiff line change
@@ -52,15 +52,15 @@ <h2>Custom UI</h2>
5252
/* Let's give the editor some space and limits using a border. */
5353
.ck-editor {
5454
margin: 0 0 1em;
55-
border: 1px solid rgba( 0, 0, 0, .1 );
55+
border: 1px solid hsla(0, 0%, 0%, 0.1);
5656
border-radius: 4px;
5757
}
5858

5959
/* Adding internal spacing, border and background to the toolbar. */
6060
.ck-editor .btn-toolbar {
6161
padding: .5rem;
6262
background: #f7f7f9;
63-
border-bottom: 1px solid rgba( 0, 0, 0, .1 );
63+
border-bottom: 1px solid hsla(0, 0%, 0%, 0.1);
6464
}
6565

6666
/* Tweaking the editable area for better readability. */
@@ -73,7 +73,7 @@ <h2>Custom UI</h2>
7373
/* When in read–only mode, the editable should fade out. */
7474
.ck-editor .ck-editor__editable:not([contenteditable]) {
7575
background: #fafafa;
76-
color: #777;
76+
color: hsl(0, 0%, 47%);
7777
}
7878

7979
/* Make sure the headings dropdown button does not change its size

docs/framework/guides/external-ui.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -188,15 +188,15 @@ Although Bootstrap provides most of the CSS, it does not come with styles dedica
188188
/* Give the editor some space and limits using a border. */
189189
.ck-editor {
190190
margin: 1em 0;
191-
border: 1px solid rgba( 0, 0, 0, .1 );
191+
border: 1px solid hsla(0, 0%, 0%, 0.1);
192192
border-radius: 4px;
193193
}
194194

195195
/* Adding internal spacing, border and background to the toolbar. */
196196
.ck-editor .btn-toolbar {
197197
padding: .5rem;
198-
background: #f7f7f9;
199-
border-bottom: 1px solid rgba( 0, 0, 0, .1 );
198+
background: hsl(240, 14%, 97%);
199+
border-bottom: 1px solid hsla(0, 0%, 0%, 0.1);
200200
}
201201

202202
/* Tweaking the editable area for better readability. */
@@ -207,8 +207,8 @@ Although Bootstrap provides most of the CSS, it does not come with styles dedica
207207

208208
/* When in read–only mode, the editable should fade out. */
209209
.ck-editor .ck-editor__editable:not([contenteditable]) {
210-
background: #fafafa;
211-
color: #777;
210+
background: hsl(0, 0%, 98%);
211+
color: hsl(0, 0%, 47%);
212212
}
213213

214214
/* Make sure the headings drop-down button does not change its size

0 commit comments

Comments
 (0)