Skip to content

Commit 9368cc2

Browse files
committed
feat: improve color systeme
1 parent 55ee88f commit 9368cc2

2 files changed

Lines changed: 28 additions & 18 deletions

File tree

src/app/(landing)/globals.css

Lines changed: 26 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@
1515
--color-aqua: var(--bg-aqua);
1616
--color-blue: var(--bg-blue);
1717
--color-pink: var(--bg-pink);
18+
--color-magenta: var(--bg-magenta);
19+
--color-lime: var(--bg-lime);
1820
--animate-orbit: orbit calc(var(--duration) * 1s) linear infinite;
1921

2022
@keyframes orbit {
@@ -29,19 +31,21 @@
2931

3032
:root {
3133
/* BACKGROUNDS */
32-
--bg-primary: oklch(0.0962 0.0562 285.05);
33-
--bg-light: oklch(0.1698 0.0388 288.83);
34+
--bg-primary: oklch(0.1298 0.0346 288.38);
35+
--bg-light: oklch(0.2166 0.0253 287.61);
3436
--bg-secondary: oklch(0.781 0.03 292.73);
3537
--bg-tertiary: oklch(0.674 0.017 292.6);
36-
--bg-info: oklch(0.88 0.17 150);
37-
--bg-success: oklch(0.62 0.19 130);
38-
--bg-warning: oklch(0.78 0.18 80);
39-
--bg-error: oklch(0.55 0.22 15);
40-
--bg-brand: oklch(0.88 0.18 150);
38+
--bg-info: oklch(0.9018 0.165 157.04);
39+
--bg-success: oklch(0.7015 0.2286 141.65);
40+
--bg-warning: oklch(0.8385 0.1709 83.34);
41+
--bg-error: oklch(0.5591 0.2248 23.97);
42+
--bg-brand: oklch(0.9018 0.165 157.04);
4143
--bg-yellow: oklch(0.9391 0.1483 106.03);
4244
--bg-aqua: oklch(0.7991 0.1074 233.93);
4345
--bg-blue: oklch(0.6232 0.1948 279.8);
4446
--bg-pink: oklch(0.7477 0.2075 334.16);
47+
--bg-magenta: oklch(0.7321 0.2231 319.1);
48+
--bg-lime: oklch(0.9332 0.1813 127.46);
4549
}
4650

4751
@layer base {
@@ -83,10 +87,21 @@
8387
}
8488

8589
@keyframes action-hero-pulse {
86-
0%, 100% { left: -60%; opacity: 0; }
87-
15% { opacity: 1; }
88-
85% { opacity: 1; }
89-
100% { left: 100%; opacity: 0; }
90+
0%,
91+
100% {
92+
left: -60%;
93+
opacity: 0;
94+
}
95+
15% {
96+
opacity: 1;
97+
}
98+
85% {
99+
opacity: 1;
100+
}
101+
100% {
102+
left: 100%;
103+
opacity: 0;
104+
}
90105
}
91106

92107
@keyframes cell-ripple {

src/components/sections/FlowExampleSection.tsx

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -37,13 +37,8 @@ export function FlowExampleSection({ content }: FlowExampleSectionProps) {
3737
const isFlowRight = content.flowLayout === "right"
3838
const showBorder = Boolean(content.showBorder)
3939
const flow = (
40-
<div className={cn("relative m-2 min-h-72 min-w-0 overflow-hidden rounded-2xl border border-white/10 bg-light lg:min-h-96", isFlowRight && "lg:order-2")}>
41-
<DotBackground
42-
className="opacity-50 mask-[radial-gradient(ellipse_at_center,black_35%,transparent_85%)]"
43-
dotColor="rgba(255,255,255,0.14)"
44-
dotSize={1}
45-
spacing={18}
46-
/>
40+
<div className={cn("relative m-2 min-h-72 min-w-0 overflow-hidden rounded-2xl border border-white/10 bg-light/50 lg:min-h-96", isFlowRight && "lg:order-2")}>
41+
<DotBackground className="opacity-50 mask-[radial-gradient(ellipse_at_center,black_35%,transparent_85%)]" dotColor="rgba(255,255,255,0.14)" dotSize={1} spacing={18} />
4742
<FlowExampleDiagram trigger={triggerNode} items={items} />
4843
</div>
4944
)

0 commit comments

Comments
 (0)