-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
157 lines (147 loc) · 7.16 KB
/
Copy pathindex.html
File metadata and controls
157 lines (147 loc) · 7.16 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>Lipstick Color Finder</title>
<link rel="icon" href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22><text y=%22.9em%22 font-size=%2290%22>💄</text></svg>">
<meta name="description" content="Find your perfect lipstick shade. Search and filter by color, finish, and brand." />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://lipstickbycolor.github.io/" />
<meta property="og:title" content="Lipstick Color Finder" />
<meta property="og:description" content="Find your perfect lipstick shade. Search and filter by color, finish, and brand." />
<meta property="og:image" content="https://lipstickbycolor.github.io/assets/flow-wheel-a.png" />
<meta property="og:image:alt" content="Lipstick color wheel showing clustered shades" />
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:title" content="Lipstick Color Finder" />
<meta name="twitter:description" content="Find your perfect lipstick shade. Search and filter by color, finish, and brand." />
<meta name="twitter:image" content="https://lipstickbycolor.github.io/assets/flow-wheel-a.png" />
<link rel="canonical" href="https://lipstickbycolor.github.io/" />
<script async src="https://www.googletagmanager.com/gtag/js?id=G-3D5R6QNPX3"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-3D5R6QNPX3');
</script>
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link href="https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=DM+Sans:wght@300;400;500&display=swap" rel="stylesheet" />
<script defer src="https://unpkg.com/react@18.3.1/umd/react.production.min.js" integrity="sha384-DGyLxAyjq0f9SPpVevD6IgztCFlnMF6oW/XQGmfe+IsZ8TqEiDrcHkMLKI6fiB/Z" crossorigin="anonymous"></script>
<script defer src="https://unpkg.com/react-dom@18.3.1/umd/react-dom.production.min.js" integrity="sha384-gTGxhz21lVGYNMcdJOyq01Edg0jhn/c22nsx0kyqP0TxaV5WVdsSH1fSDUf5YJj1" crossorigin="anonymous"></script>
<script defer src="https://cdn.jsdelivr.net/npm/@supabase/supabase-js@2/dist/umd/supabase.min.js"></script>
<script defer src="lipstick-utils.js"></script>
<script defer src="supabase-data.js"></script>
<style>
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
--cream: #FAF6F1;
--cream-dark: #F0E8DF;
--espresso: #2A1A14;
--espresso-mid: #5C3D30;
--blush: #C87890;
--blush-light: #E8B4C0;
--gold: #C4A060;
--text-body: #3D2820;
--text-muted: #8C6858;
--border: #E0D0C4;
--shadow: rgba(42,26,20,0.10);
}
html, body { height: 100%; background: var(--cream); color: var(--espresso); font-family: 'DM Sans', sans-serif; }
#root { min-height: 100vh; }
/* Subtle noise texture overlay */
body::before {
content: '';
position: fixed; inset: 0; pointer-events: none; z-index: 0;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.025'/%3E%3C/svg%3E");
opacity: 0.4;
}
/* Responsive layout */
.app-header { padding: 28px 48px 20px; }
.app-main {
flex: 1; display: flex; gap: 0;
padding: 40px 48px 40px;
min-height: 0; align-items: flex-start;
}
.palette-col {
display: flex; flex-direction: column; align-items: center; gap: 16px;
margin-right: 52px; flex-shrink: 0; width: 440px;
}
.results-col {
flex: 1; display: flex; flex-direction: column; min-height: 0; min-width: 0;
}
.col-hide-narrow { /* shown by default; hidden under 720px */ }
.mobile-picker-tips { display: none; }
@media (max-width: 900px) {
.mobile-picker-tips {
display: flex; flex-direction: column; gap: 10px;
padding: 14px 16px; border: 1px solid var(--border);
border-radius: 12px; background: #fff;
max-width: 320px; width: 100%;
}
.results-empty-tips { display: none !important; }
.results-empty-state { display: none !important; }
.app-header { padding: 20px 24px 16px; flex-wrap: wrap; }
.app-main {
flex-direction: column;
padding: 24px 24px 32px;
gap: 32px; align-items: stretch;
}
.palette-col {
margin-right: 0; width: 100%;
max-width: 380px; align-self: center;
}
.col-hide-narrow { display: none !important; }
.app-footer { padding: 12px 24px; flex-wrap: wrap; gap: 12px; }
.compare-tray-body { padding-left: 24px !important; padding-right: 24px !important; }
}
@media (max-width: 540px) {
.app-header { padding: 14px 16px 10px; gap: 6px 8px; }
.app-header h1 { flex-basis: 100%; font-size: 28px !important; margin-bottom: -2px; }
.app-header > span { flex-basis: 100%; }
.app-main { padding: 16px 12px 24px; }
.col-hide-mobile { display: none !important; }
table { font-size: 12px !important; }
.app-footer { padding: 10px 16px; font-size: 10px; }
.compare-tray-body { padding-left: 16px !important; padding-right: 16px !important; }
.compare-tray-body .compare-row { overflow-x: auto; }
}
/* Default footer padding (matches earlier 12px 48px) */
.app-footer { padding: 12px 48px; }
@keyframes spin { to { transform: rotate(360deg); } }
#root:empty::after {
content: '';
display: block;
width: 28px; height: 28px;
border: 2px solid var(--cream-dark);
border-top-color: var(--blush);
border-radius: 50%;
animation: spin 0.8s linear infinite;
position: fixed;
top: 50%; left: 50%;
margin: -14px 0 0 -14px;
}
</style>
<style>
.dainty-range { -webkit-appearance: none; appearance: none; background: transparent; cursor: pointer; }
.dainty-range::-webkit-slider-runnable-track { height: 2px; background: var(--border); border-radius: 2px; }
.dainty-range::-moz-range-track { height: 2px; background: var(--border); border-radius: 2px; }
.dainty-range::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 10px; height: 10px; border-radius: 50%; background: var(--blush); margin-top: -4px; border: 1.5px solid #fff; box-shadow: 0 1px 3px rgba(42,26,20,0.2); }
.dainty-range::-moz-range-thumb { width: 10px; height: 10px; border-radius: 50%; background: var(--blush); border: 1.5px solid #fff; box-shadow: 0 1px 3px rgba(42,26,20,0.2); }
</style>
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "WebApplication",
"name": "Lipstick Color Finder",
"url": "https://lipstickbycolor.github.io/",
"description": "Search 9,000+ lip products by exact color using CIELAB perceptual color matching — across brands, finishes, and price points.",
"applicationCategory": "LifestyleApplication",
"operatingSystem": "Web"
}
</script>
</head>
<body>
<div id="root"></div>
</body>
</html>