-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathexample.html
More file actions
157 lines (141 loc) · 5.27 KB
/
example.html
File metadata and controls
157 lines (141 loc) · 5.27 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
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Color System Example</title>
<style>
:root {
--primary: #0d6efd;
--secondary: #6c757d;
--success: #198754;
--info: #0dcaf0;
--warning: #ffc107;
--danger: #dc3545;
--light: #f8f9fa;
--dark: #212529;
--custom-1: #ffffff;
--custom-2: #f8f9fa;
--custom-3: #e9ecef;
--gradient-1: linear-gradient(to right, #4f46e5, #0ea5e9);
--gradient-2: linear-gradient(to right, #8b5cf6, #d946ef);
--gradient-3: linear-gradient(to right, #06b6d4, #3b82f6);
}
.bg-primary { background-color: var(--primary) !important; }
.bg-secondary { background-color: var(--secondary) !important; }
.bg-success { background-color: var(--success) !important; }
.bg-info { background-color: var(--info) !important; }
.bg-warning { background-color: var(--warning) !important; }
.bg-danger { background-color: var(--danger) !important; }
.bg-light { background-color: var(--light) !important; }
.bg-dark { background-color: var(--dark) !important; }
.bg-custom-1 { background-color: var(--custom-1) }
.bg-custom-2 { background-color: var(--custom-2) }
.bg-custom-3 { background-color: var(--custom-3) }
.bg-gradient-1 { background: var(--gradient-1); }
.bg-gradient-2 { background: var(--gradient-2); }
.bg-gradient-3 { background: var(--gradient-3); }
/* Basic styling for the example */
body {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
margin: 0;
padding: 20px;
}
.container {
max-width: 1200px;
margin: 0 auto;
}
.grid {
display: grid;
gap: 1rem;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
margin-bottom: 2rem;
}
.color-block {
padding: 1rem;
border-radius: 0.5rem;
color: white;
font-family: monospace;
font-size: 0.875rem;
border: 1px solid #ccc;
}
.mb-1 {
margin-bottom: 1rem;
}
.gradient-block {
padding: 2rem;
border-radius: 0.5rem;
color: white;
font-family: monospace;
font-size: 0.875rem;
margin-bottom: 1rem;
}
/* Light text for light backgrounds */
.bg-light, .bg-warning, .bg-info {
color: #000;
}
.text-dark {
color: #000;
}
.text-light {
color: #fff;
}
</style>
<script type="text/javascript">
(function(c,l,a,r,i,t,y){
c[a]=c[a]||function(){(c[a].q=c[a].q||[]).push(arguments)};
t=l.createElement(r);t.async=1;t.src="https://www.clarity.ms/tag/"+i;
y=l.getElementsByTagName(r)[0];y.parentNode.insertBefore(t,y);
})(window, document, "clarity", "script", "q4qcji33og");
</script>
</head>
<body>
<div class="container">
<h1>Color System Example</h1>
<h2>Theme Colors</h2>
<div class="grid">
<div class="color-block bg-primary">primary</div>
<div class="color-block bg-secondary">secondary</div>
<div class="color-block bg-success">success</div>
<div class="color-block bg-danger">danger</div>
<div class="color-block bg-warning">warning</div>
<div class="color-block bg-info">info</div>
<div class="color-block bg-light">light</div>
<div class="color-block bg-dark">dark</div>
</div>
<h2>Backgrounds</h2>
<div class="color-block bg-custom-1 mb-1 text-dark">bg-custom-1</div>
<div class="color-block bg-custom-2 mb-1 text-dark">bg-custom-2</div>
<div class="color-block bg-custom-3 mb-1 text-dark">bg-custom-3</div>
<h2>Gradients</h2>
<div class="gradient-block bg-gradient-1">gradient-1</div>
<div class="gradient-block bg-gradient-2">gradient-2</div>
<div class="gradient-block bg-gradient-3">gradient-3</div>
</div>
<div style="background: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%); color: white; padding: 24px; border-radius: 12px; max-height: 200px; overflow: hidden; font-family: system-ui, -apple-system, sans-serif;">
<div style="display: flex; align-items: center; justify-content: space-between; gap: 24px; max-width: 1200px; margin: 0 auto;">
<div style="flex: 1;">
<h3 style="font-size: 24px; font-weight: bold; margin: 0 0 12px 0;">Transform Your Development Process with DevShed</h3>
<p style="margin: 0 0 16px 0; color: rgba(255,255,255,0.9);">AI-powered project management for modern development teams</p>
<span style="display: inline-block; background: #dd8e09; padding: 8px 16px; border-radius: 6px; margin: 10px 0;">Save over $300 per year</span>
<div style="display: flex; gap: 12px;">
<a href="https://devshed.io" target="_blank" style="display: inline-flex; align-items: center; background: white; color: #4F46E5; padding: 8px 16px; border-radius: 6px; text-decoration: none; font-weight: 600; gap: 8px;">
Signup for Early-bird
<svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M5 12h14M12 5l7 7-7 7"/></svg>
</a>
</div>
</div>
<div style="display: flex; align-items: center; gap: 32px; padding-left: 24px; border-left: 1px solid rgba(255,255,255,0.2);">
<div>
<div style="font-size: 24px; font-weight: bold;">40%</div>
<div style="color: rgba(255,255,255,0.9);">Money Savings</div>
</div>
<div>
<div style="font-size: 24px; font-weight: bold;">60%</div>
<div style="color: rgba(255,255,255,0.9);">Less Time</div>
</div>
</div>
</div>
</div>
</body>
</html>