Jelajahi Sumber

Removed `.ck-editor-toolbar` CSS variables.

Damian Konopka 8 tahun lalu
induk
melakukan
085e9c9903

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

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

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

@@ -162,8 +162,8 @@ 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-dropdown-background: hsl(270, 1%, 33%);
+	--ck-color-base-border: var(--ck-custom-background);
+	--ck-color-dropdown-background: hsl(270, 1%, 33%);
 
 	/* -- Overrides the default colors used by ckeditor5-image package -------------------------- */
 

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

@@ -91,7 +91,7 @@
 
 		/* -- Overrides the default colors used by the editor --------------------------------------- */
 
-		--ck-color-editor-border: var(--ck-custom-background);
+		--ck-color-base-border: var(--ck-custom-background);
 
 		--ck-color-button-on-background: hsl(0, 0%, 18%);
 		--ck-color-button-on-border: transparent;
@@ -103,7 +103,7 @@
 		--ck-color-button-on-disabled-background: transparent;
 		--ck-color-button-on-disabled-border: transparent;
 
-		--ck-color-editor-dropdown-background: hsl(270, 1%, 33%);
+		--ck-color-editor-background: hsl(270, 1%, 33%);
 
 		/* -- Overrides the default colors used by ckeditor5-image package -------------------------- */
 

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

@@ -38,6 +38,6 @@
 	}
 
 	&:not(.ck-focused) {
-		border-color: var(--ck-color-editor-border);
+		border-color: var(--ck-color-base-border);
 	}
 }

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

@@ -93,12 +93,6 @@
 	--ck-color-tooltip-background: 								var(--ck-color-base-text);
 	--ck-color-tooltip-text: 									var(--ck-color-base-background);
 
-	/* -- Editor -------------------------------------------------------------------------------- */
-
-	--ck-color-editor-border: 									var(--ck-color-base-border);
-	--ck-color-editor-toolbar-background: 						var(--ck-color-base-foreground);
-	--ck-color-editor-dropdown-background: 						var(--ck-color-base-background);
-
 	/* -- Engine -------------------------------------------------------------------------------- */
 
 	--ck-color-engine-placeholder-text: 						hsl(0, 0%, 76%);