-
-
Notifications
You must be signed in to change notification settings - Fork 16
Expand file tree
/
Copy pathsun.css
More file actions
107 lines (95 loc) · 3.49 KB
/
sun.css
File metadata and controls
107 lines (95 loc) · 3.49 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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
/* Sun/Astronomy theme - Yellow based */
[data-color-theme="sun"] {
--theme-primary: #f59e0b; /* Bright amber/yellow */
--theme-secondary: #fbbf24; /* Golden yellow */
--theme-accent: #fcd34d; /* Light yellow */
}
:not(.dark)[data-color-theme="sun"] .gradient-hero {
background-image: linear-gradient(to bottom right,
#f59e0b,
#fbbf24,
#fcd34d,
#fde047,
#fef08a) !important;
}
.dark[data-color-theme="sun"] .gradient-hero {
background-image: linear-gradient(to bottom right,
#d97706,
#f59e0b,
#fbbf24,
#fcd34d,
#fde047) !important;
}
:not(.dark)[data-color-theme="sun"] .gradient-header {
background-image: linear-gradient(to right,
#f59e0b,
#fbbf24,
#fcd34d) !important;
}
.dark[data-color-theme="sun"] .gradient-header {
background-image: linear-gradient(to right,
#d97706,
#f59e0b,
#fbbf24) !important;
}
[data-color-theme="sun"] .gradient-text {
background: linear-gradient(
to right,
#f59e0b,
#fbbf24,
#fcd34d,
#fde047
);
-webkit-background-clip: text;
background-clip: text;
-webkit-text-fill-color: transparent;
color: transparent;
}
/* Add backdrop blur to gradient sections */
[data-color-theme="sun"] section.gradient-hero .max-w-7xl.py-20,
[data-color-theme="sun"] section.gradient-header .max-w-7xl.py-20,
[data-color-theme="sun"] section.gradient-hero .max-w-7xl.py-8.text-center,
[data-color-theme="sun"] section.gradient-header .max-w-7xl.py-8.text-center,
[data-color-theme="sun"] section.gradient-hero .max-w-7xl.text-center,
[data-color-theme="sun"] section.gradient-header .max-w-7xl.text-center,
[data-color-theme="sun"] section.gradient-hero .max-w-7xl:has(h1.gradient-text-hero),
[data-color-theme="sun"] section.gradient-header .max-w-7xl:has(h1.gradient-text-hero) {
background: rgba(0, 0, 0, 0.2);
border-radius: 16px;
backdrop-filter: blur(4px);
}
.dark[data-color-theme="sun"] section.gradient-hero .max-w-7xl.py-20,
.dark[data-color-theme="sun"] section.gradient-header .max-w-7xl.py-20,
.dark[data-color-theme="sun"] section.gradient-hero .max-w-7xl.py-8.text-center,
.dark[data-color-theme="sun"] section.gradient-header .max-w-7xl.py-8.text-center,
.dark[data-color-theme="sun"] section.gradient-hero .max-w-7xl.text-center,
.dark[data-color-theme="sun"] section.gradient-header .max-w-7xl.text-center,
.dark[data-color-theme="sun"] section.gradient-hero .max-w-7xl:has(h1.gradient-text-hero),
.dark[data-color-theme="sun"] section.gradient-header .max-w-7xl:has(h1.gradient-text-hero) {
background: rgba(255, 255, 255, 0.05);
border-radius: 16px;
backdrop-filter: blur(4px);
}
/* Ensure white sections are fully opaque on Sun theme - light mode only */
:not(.dark)[data-color-theme="sun"] .bg-white,
:not(.dark)[data-color-theme="sun"] section.bg-white {
background: #ffffff !important;
}
/* Override for dark mode - must come after light mode rules */
.dark[data-color-theme="sun"] .bg-white,
.dark[data-color-theme="sun"] section.bg-white,
.dark[data-color-theme="sun"] .bg-white.dark\:bg-ipython-dark,
.dark[data-color-theme="sun"] nav.bg-white {
background: #0f172a !important;
}
/* Ensure gray sections are fully opaque white on Sun theme - light mode only */
:not(.dark)[data-color-theme="sun"] section.bg-gray-50 {
background: #ffffff !important;
}
.dark[data-color-theme="sun"] section.bg-gray-50 {
background: #0f172a !important;
}
/* Ensure icon containers have visible backgrounds on Sun theme */
[data-color-theme="sun"] .bg-theme-secondary {
background: #fbbf24 !important;
}