File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 7777 --sidebar-accent-foreground : oklch (0.208 0.042 265.755 );
7878 --sidebar-border : oklch (0.929 0.013 255.508 );
7979 --sidebar-ring : oklch (0.704 0.04 256.788 );
80+
81+ --gradient-shadow : linear-gradient (45deg , # fb00929c, # 6f00ff80 );
8082}
8183
8284.dark {
@@ -136,3 +138,43 @@ html::-webkit-scrollbar {
136138body {
137139 overflow-x : hidden;
138140}
141+
142+ /* Outer glow wrapper */
143+ .glow-wrapper {
144+ position : relative;
145+ display : inline-block;
146+ z-index : 0 ;
147+ }
148+
149+ /* Before and after for glow border */
150+ .glow-wrapper ::before ,
151+ .glow-wrapper ::after {
152+ content : "" ;
153+ position : absolute;
154+ top : -2px ;
155+ left : -2px ;
156+ width : calc (100% + 4px );
157+ height : calc (100% + 4px );
158+ border-radius : 9999px ;
159+ background : var (--gradient-shadow );
160+ background-size : 200% ;
161+ z-index : -1 ;
162+ animation : glow-animate 10s linear infinite;
163+ }
164+
165+ .glow-wrapper ::after {
166+ filter : blur (8px );
167+ z-index : -2 ;
168+ }
169+
170+ @keyframes glow-animate {
171+ 0% {
172+ background-position : 0 0 ;
173+ }
174+ 50% {
175+ background-position : 300% 0 ;
176+ }
177+ 100% {
178+ background-position : 0 0 ;
179+ }
180+ }
You can’t perform that action at this time.
0 commit comments