-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
87 lines (79 loc) · 1.95 KB
/
Copy pathstyles.css
File metadata and controls
87 lines (79 loc) · 1.95 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
:root,
html[data-theme='light'],
html[data-theme='dark'] {
--primary: #a78bfa;
--ring: #a78bfa;
--sidebar-primary: #a78bfa;
--sidebar-ring: #a78bfa;
--home-shimmer-highlight: #f5f3ff;
}
html[data-theme='light'] {
--primary: #8b5cf6;
--ring: #8b5cf6;
--sidebar-primary: #8b5cf6;
--sidebar-ring: #8b5cf6;
--home-shimmer-highlight: #c4b5fd;
}
.home-title-shimmer {
color: var(--primary);
background-image: linear-gradient(
100deg,
var(--primary) 0%,
var(--primary) 40%,
var(--home-shimmer-highlight) 50%,
var(--primary) 60%,
var(--primary) 100%
);
background-position: 150% 50%;
background-size: 250% 100%;
background-clip: text;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
animation: home-title-shimmer 3s linear infinite;
will-change: background-position;
}
@keyframes home-title-shimmer {
from {
background-position: 150% 50%;
}
to {
background-position: -150% 50%;
}
}
@media (prefers-reduced-motion: reduce) {
.home-title-shimmer {
background: none;
-webkit-text-fill-color: var(--primary);
animation: none;
}
}
.docs-image-placeholder {
display: grid;
min-height: 15rem;
place-content: center;
gap: 0.4rem;
margin: 1.5rem 0;
padding: 2rem;
border: 1px dashed color-mix(in srgb, var(--color-primary) 60%, transparent);
border-radius: 0.75rem;
background:
linear-gradient(135deg, color-mix(in srgb, var(--color-primary) 8%, transparent), transparent),
repeating-linear-gradient(
-45deg,
transparent,
transparent 10px,
color-mix(in srgb, var(--color-primary) 4%, transparent) 10px,
color-mix(in srgb, var(--color-primary) 4%, transparent) 20px
);
color: var(--color-muted-foreground);
text-align: center;
}
.docs-image-placeholder strong {
color: var(--color-foreground);
font-size: 0.8rem;
letter-spacing: 0.08em;
text-transform: uppercase;
}
.docs-image-placeholder span {
max-width: 34rem;
}