Browse Source

Merge branch 'master' into t/ckeditor5/1457

Aleksander Nowodzinski 6 years ago
parent
commit
d5915a7c6a

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

@@ -1,9 +1,10 @@
 ---
-title: Theme customization
 category: examples-framework
 order: 10
 ---
 
+# Theme customization
+
 The [default theme](https://www.npmjs.com/package/@ckeditor/ckeditor5-theme-lark) of CKEditor 5 can be customized to match most visual integration requirements.
 
 Below, you can see an editor with the dark theme as a result of customizations described in a {@link framework/guides/theme-customization dedicated guide}.

+ 14 - 0
packages/ckeditor5-theme-lark/theme/ckeditor5-mention/mentionediting.css

@@ -0,0 +1,14 @@
+/*
+ * Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
+ * For licensing, see LICENSE.md.
+ */
+
+:root {
+	--ck-color-mention-background: hsla(341, 100%, 30%, 0.1);
+	--ck-color-mention-text: hsl(341, 100%, 30%);
+}
+
+.ck-content .mention {
+	background: var(--ck-color-mention-background);
+	color: var(--ck-color-mention-text);
+}