Browse Source

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).
Aleksander Nowodzinski 7 years ago
parent
commit
3cf1d18054

+ 3 - 3
packages/ckeditor5-ui/docs/_snippets/examples/bootstrap-ui-inner.html

@@ -52,7 +52,7 @@
 			/* 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;
 			}
 
@@ -60,7 +60,7 @@
 			.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. */
@@ -73,7 +73,7 @@
 			/* 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

+ 5 - 5
packages/ckeditor5-ui/docs/framework/guides/external-ui.md

@@ -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. */
@@ -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