Przeglądaj źródła

Added new color variable for currently selected link.

Szymon Kupś 7 lat temu
rodzic
commit
77c55c430e

+ 2 - 1
packages/ckeditor5-theme-lark/theme/ckeditor5-link/link.css

@@ -3,6 +3,7 @@
  * For licensing, see LICENSE.md.
  */
 
+/* Class added to span element surrounding currently selected link. */
 .ck-link_selected {
-	background: #c9ebfd;
+	background: var(--ck-color-link-selected-background);
 }

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

@@ -91,4 +91,5 @@
 	/* -- Link -------------------------------------------------------------------------------- */
 
 	--ck-color-link-default:									hsl(240, 100%, 47%);
+	--ck-color-link-selected-background:						hsl(201, 93%, 89%);
 }