feat: Use primary color specified in config
Sorry, not sorry iPhone users, get a phone on which you are able to use something different than Safari, or get a newer one :)
This commit is contained in:
@ -1,8 +1,13 @@
|
||||
.crt {
|
||||
margin: 1rem 0 1rem;
|
||||
border-radius: var(--rounded-corner);
|
||||
box-shadow: var(--glow);
|
||||
background: var(--crt-bg);
|
||||
box-shadow: 0 0 0 1px color-mix(in srgb, var(--primary-color) 5%, transparent),
|
||||
0 2px 6px 2px color-mix(in srgb, var(--primary-color) 5%, transparent),
|
||||
0 4px 24px 4px color-mix(in srgb, var(--primary-color) 10%, transparent);
|
||||
background-image: radial-gradient(
|
||||
color-mix(in srgb, var(--primary-color) 20%, black),
|
||||
color-mix(in srgb, var(--primary-color) 10%, black)
|
||||
);
|
||||
|
||||
pre {
|
||||
color: var(--primary-color);
|
||||
@ -47,6 +52,10 @@
|
||||
transform: translateY(0px);
|
||||
}
|
||||
}
|
||||
|
||||
@media (prefers-reduced-motion) {
|
||||
animation: none;
|
||||
}
|
||||
}
|
||||
|
||||
.cursor {
|
||||
@ -63,4 +72,8 @@
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
|
||||
@media (prefers-reduced-motion) {
|
||||
animation: none;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user