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

Commit

Permalink
Merge pull request #364 from ckeditor/t/ckeditor5-theme-lark/124
Browse files Browse the repository at this point in the history
Docs: All colors should be in the HSLa format (see ckeditor/ckeditor5-theme-lark#124).
  • Loading branch information
oleq authored Feb 6, 2018
2 parents 623d536 + c077bfb commit ff98211
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions docs/_snippets/examples/bootstrap-ui-inner.html
Original file line number Diff line number Diff line change
Expand Up @@ -52,15 +52,15 @@ <h2>Custom UI</h2>
/* Let's give the editor some space and limits using a border. */
.ck-editor {
margin: 0 0 1em;
border: 1px solid rgba( 0, 0, 0, .1 );
border: 1px solid hsla(0, 0%, 0%, 0.1);
border-radius: 4px;
}

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

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

/* Make sure the headings dropdown button does not change its size
Expand Down
10 changes: 5 additions & 5 deletions docs/framework/guides/external-ui.md
Original file line number Diff line number Diff line change
Expand Up @@ -188,15 +188,15 @@ Although Bootstrap provides most of the CSS, it does not come with styles dedica
/* Give the editor some space and limits using a border. */
.ck-editor {
margin: 1em 0;
border: 1px solid rgba( 0, 0, 0, .1 );
border: 1px solid hsla(0, 0%, 0%, 0.1);
border-radius: 4px;
}

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

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

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

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

0 comments on commit ff98211

Please sign in to comment.