mirror of
https://github.com/kamranahmedse/driver.js.git
synced 2026-10-31 03:52:13 +08:00
Default the hint beacon to indigo
The beacon dot defaulted to the popover ink (#2d2d2d), which is nearly invisible on a dark page. Default to indigo (#4f46e5) instead — it reads on both light and dark grounds. Still overridable with --driver-hint-color.
This commit is contained in:
+3
-1
@@ -26,7 +26,9 @@
|
||||
.driver-hint-pulse {
|
||||
position: absolute;
|
||||
border-radius: 50%;
|
||||
background-color: var(--driver-hint-color, #2d2d2d);
|
||||
/* Indigo by default so the beacon reads on both light and dark pages;
|
||||
override with --driver-hint-color. */
|
||||
background-color: var(--driver-hint-color, #4f46e5);
|
||||
}
|
||||
|
||||
.driver-hint-dot {
|
||||
|
||||
Reference in New Issue
Block a user