Add CSS variables for marker colours
This commit is contained in:
parent
0359d3fe8c
commit
6b05ef8f8f
@ -153,9 +153,10 @@
|
||||
/* Theme colours */
|
||||
:root {
|
||||
--background-base: #222222; /* Foreground UI elements */
|
||||
--background-dark: #121212; /* Body/map labels */
|
||||
--background-dark: #121212; /* Body/Splash screen/Shadows */
|
||||
--background-light: #363636; /* Scrollbars/inputs */
|
||||
--background-error: #771616; /* Errors */
|
||||
--background-marker: var(--background-dark); /* Map markers */
|
||||
|
||||
--background-disabled: #555555; /* Disabled controls */
|
||||
--background-hover: #363636; /* :hovered buttons/menu items */
|
||||
@ -173,6 +174,7 @@
|
||||
--text-emphasis: rgba(255, 255, 255, 0.87); /* Chat messages/:focus inputs */
|
||||
--text-subtle: rgba(255, 255, 255, 0.5); /* Skeletons/secondary text */
|
||||
--text-disabled: var(--text-subtle); /* Disabled controls */
|
||||
--text-marker: var(--text-base); /* Map markers */
|
||||
|
||||
--text-hover: var(--text-base); /* Text in :hover buttons */
|
||||
--text-active: var(--text-base); /* Text in :active buttons */
|
||||
|
@ -36,7 +36,7 @@
|
||||
position: absolute;
|
||||
left: 0;
|
||||
background-color: var(--text-emphasis);
|
||||
border: 0.2rem solid var(--background-dark);
|
||||
border: 0.2rem solid var(--background-marker);
|
||||
border-radius: 50%;
|
||||
}
|
||||
|
||||
@ -116,8 +116,8 @@
|
||||
font-size: 1.5rem;
|
||||
line-height: 1;
|
||||
white-space: pre-line;
|
||||
color: var(--text-base);
|
||||
background: var(--background-dark);
|
||||
color: var(--text-marker);
|
||||
background: var(--background-marker);
|
||||
padding: 0.2rem;
|
||||
display: none;
|
||||
margin-left: 0.2rem;
|
||||
|
Loading…
Reference in New Issue
Block a user