Browse Source

Removed obsolete variable ck-editor-toolbar background.

Damian Konopka 7 years ago
parent
commit
e7b461c356

+ 0 - 1
packages/ckeditor5-theme-lark/docs/_snippets/examples/custom.css

@@ -96,7 +96,6 @@
 	/* -- Overrides the default colors used by the editor --------------------------------------- */
 
 	--ck-color-editor-border: var(--ck-custom-background);
-	--ck-color-editor-toolbar-background: var(--ck-custom-background);
 	--ck-color-editor-dropdown-background: hsl(270, 1%, 33%);
 
 	/* -- Overrides the default colors used by ckeditor5-image package -------------------------- */

+ 1 - 2
packages/ckeditor5-theme-lark/docs/framework/guides/theme-customization.md

@@ -152,7 +152,7 @@ The file containing custom variables will be named `custom.css` and it will look
 
 	/* -- Overrides the default .ck-toolbar class colors ---------------------------------------- */
 
-	--ck-color-toolbar-background: var(--ck-custom-foreground);
+	--ck-color-toolbar-background: var(--ck-custom-background);
 	--ck-color-toolbar-border: var(--ck-custom-border);
 
 	/* -- Overrides the default .ck-tooltip class colors ---------------------------------------- */
@@ -163,7 +163,6 @@ The file containing custom variables will be named `custom.css` and it will look
 	/* -- Overrides the default colors used by the editor --------------------------------------- */
 
 	--ck-color-editor-border: var(--ck-custom-background);
-	--ck-color-editor-toolbar-background: var(--ck-custom-background);
 	--ck-color-editor-dropdown-background: hsl(270, 1%, 33%);
 
 	/* -- Overrides the default colors used by ckeditor5-image package -------------------------- */

+ 1 - 2
packages/ckeditor5-theme-lark/tests/manual/inverted.html

@@ -81,7 +81,7 @@
 
 		/* -- Overrides the default .ck-toolbar class colors ---------------------------------------- */
 
-		--ck-color-toolbar-background: var(--ck-custom-foreground);
+		--ck-color-toolbar-background: var(--ck-custom-background);
 		--ck-color-toolbar-border: var(--ck-custom-border);
 
 		/* -- Overrides the default .ck-tooltip class colors ---------------------------------------- */
@@ -92,7 +92,6 @@
 		/* -- Overrides the default colors used by the editor --------------------------------------- */
 
 		--ck-color-editor-border: var(--ck-custom-background);
-		--ck-color-editor-toolbar-background: var(--ck-custom-background);
 
 		--ck-color-button-on-background: hsl(0, 0%, 18%);
 		--ck-color-button-on-border: transparent;

+ 1 - 1
packages/ckeditor5-theme-lark/theme/ckeditor5-editor-classic/classiceditor.css

@@ -13,7 +13,7 @@
 				border-bottom-right-radius: 0;
 			}
 
-			background: var(--ck-color-editor-toolbar-background);
+			background: var(--ck-color-toolbar-background);
 			border-bottom-width: 0;
 		}
 

+ 2 - 2
packages/ckeditor5-theme-lark/theme/ckeditor5-ui/globals/_colors.css

@@ -80,12 +80,12 @@
 
 	/* -- Panel --------------------------------------------------------------------------------- */
 
-	--ck-color-panel-background: 								var(--ck-color-base-background);
+	--ck-color-panel-background: 								var(--ck-color-base-foreground);
 	--ck-color-panel-border: 									var(--ck-color-base-border);
 
 	/* -- Toolbar ------------------------------------------------------------------------------- */
 
-	--ck-color-toolbar-background: 								var(--ck-color-base-background);
+	--ck-color-toolbar-background: 								var(--ck-color-base-foreground);
 	--ck-color-toolbar-border: 									var(--ck-color-base-border);
 
 	/* -- Tooltip ------------------------------------------------------------------------------- */