Skip to content

Use main theme color for text selection #2092

Open
@daun

Description

@daun

The new default admin theme doesn't override UiKit's selection color, resulting in all text selections using the default UiKit blue.

Image

One solution would be to use the main color as selection color. The other would be to reset this and leave it to the browser to apply a system color.

::selection {
  background: var(--main-color);
  color: #fff;
  text-shadow: none;
}

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions