8
0
Quellcode durchsuchen

Docs: Added the split button overrides for the inverted theme to the snippet code.

Aleksander Nowodzinski vor 6 Jahren
Ursprung
Commit
273d756412

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

@@ -53,6 +53,11 @@
 	--ck-color-dropdown-panel-background: var(--ck-custom-background);
 	--ck-color-dropdown-panel-border: var(--ck-custom-foreground);
 
+	/* -- Overrides the default .ck-splitbutton class colors. ----------------------------------- */
+
+	--ck-color-split-button-hover-background: var(--ck-color-button-default-hover-background);
+	--ck-color-split-button-hover-border: var(--ck-custom-foreground);
+
 	/* -- Overrides the default .ck-input class colors. ----------------------------------------- */
 
 	--ck-color-input-background: var(--ck-custom-foreground);

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

@@ -119,7 +119,7 @@ The file containing custom variables will be named `custom.css` and it will look
 	--ck-color-dropdown-panel-background: var(--ck-custom-background);
 	--ck-color-dropdown-panel-border: var(--ck-custom-foreground);
 
-	/* -- Overrides the default .ck-splitbutton class colors. -------------------------------------- */
+	/* -- Overrides the default .ck-splitbutton class colors. ----------------------------------- */
 
 	--ck-color-split-button-hover-background: var(--ck-color-button-default-hover-background);
 	--ck-color-split-button-hover-border: var(--ck-custom-foreground);