Skip to content

Commit a0739b8

Browse files
committed
update style
1 parent 607650c commit a0739b8

File tree

5 files changed

+13
-22
lines changed

5 files changed

+13
-22
lines changed

docs/src/app/globals.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
--border: 0 0% 89.8%;
2626
--input: 0 0% 89.8%;
2727
--ring: 142.1 76.2% 36.3%;
28+
--logo-filter: none;
2829
}
2930

3031
.dark {
@@ -47,6 +48,7 @@
4748
--border: 0 0% 14.9%;
4849
--input: 0 0% 14.9%;
4950
--ring: 142.1 70.6% 45.3%;
51+
--logo-filter: invert(1);
5052
}
5153

5254
* {

docs/src/components/features.tsx

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,8 @@ export function Features() {
4040
];
4141

4242
return (
43-
<section className="py-16 sm:py-20 lg:py-24 px-4 sm:px-6 lg:px-8 relative overflow-hidden">
44-
{/* Animated background */}
45-
<div className="absolute inset-0 bg-gradient-to-br from-purple-500/5 via-blue-500/5 to-cyan-500/5" />
46-
47-
<div className="container mx-auto max-w-7xl relative z-10">
43+
<section className="py-16 sm:py-20 lg:py-24 px-4 sm:px-6 lg:px-8">
44+
<div className="container mx-auto max-w-7xl">
4845
{/* Section Header */}
4946
<div className="text-center mb-16 sm:mb-20">
5047
<h2 className="text-3xl sm:text-4xl lg:text-5xl font-bold mb-4 sm:mb-6">

docs/src/components/hero.tsx

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ export function Hero() {
120120

121121
return (
122122
<motion.section
123-
className="pt-28 lg:pt-48 pb-20 px-4 sm:px-6 lg:px-8 relative overflow-hidden"
123+
className="pt-28 lg:pt-48 pb-20 px-4 sm:px-6 lg:px-8"
124124
initial={{ opacity: 0 }}
125125
animate={{ opacity: 1 }}
126126
transition={{
@@ -129,15 +129,7 @@ export function Hero() {
129129
delayChildren: 0.3
130130
}}
131131
>
132-
{/* Animated background */}
133-
<motion.div
134-
className="absolute inset-0 bg-gradient-to-br from-purple-500/5 via-blue-500/5 to-cyan-500/5"
135-
initial={{ opacity: 0 }}
136-
animate={{ opacity: 1 }}
137-
transition={{ duration: 1 }}
138-
/>
139-
140-
<div className="container mx-auto max-w-7xl relative z-10">
132+
<div className="container mx-auto max-w-7xl">
141133
<div className="grid grid-cols-1 lg:grid-cols-2 gap-16 items-center">
142134
{/* Left Content - Simplified */}
143135
<motion.div

docs/src/components/language-toggle.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ export function LanguageToggle() {
7272
onClick={() => toggleLanguage(localeCode)}
7373
className={`w-full px-4 py-3 text-left text-sm transition-all duration-200 cursor-pointer hover:bg-slate-100 dark:hover:bg-slate-800 hover:text-slate-900 dark:hover:text-slate-100 ${
7474
locale === localeCode
75-
? 'text-foreground font-semibold bg-slate-200 dark:bg-slate-700'
75+
? 'text-slate-900 dark:text-slate-100 font-semibold bg-slate-100 dark:bg-slate-700 border-l-2 border-slate-400 dark:border-slate-500'
7676
: 'text-muted-foreground'
7777
}`}
7878
>

docs/src/components/providers.tsx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,8 @@ export function Providers() {
2727
];
2828

2929
return (
30-
<section className="py-16 sm:py-20 lg:py-24 px-4 sm:px-6 lg:px-8 relative overflow-hidden">
31-
{/* Background */}
32-
<div className="absolute inset-0 bg-gradient-to-br from-slate-50/50 via-transparent to-slate-50/50 dark:from-slate-900/20 dark:via-transparent dark:to-slate-900/20" />
33-
34-
<div className="container mx-auto max-w-7xl relative z-10">
30+
<section className="py-16 sm:py-20 lg:py-24 px-4 sm:px-6 lg:px-8">
31+
<div className="container mx-auto max-w-7xl">
3532
{/* Section Header */}
3633
<div className="text-center mb-16 sm:mb-20">
3734
<h2 className="text-3xl sm:text-4xl lg:text-5xl font-bold mb-4 sm:mb-6">
@@ -72,7 +69,10 @@ export function Providers() {
7269
<img
7370
src={provider.logo}
7471
alt={`${provider.name} logo`}
75-
className="w-10 h-10 sm:w-12 sm:h-12 filter dark:invert"
72+
className="w-10 h-10 sm:w-12 sm:h-12"
73+
style={{
74+
filter: 'var(--logo-filter, none)'
75+
}}
7676
/>
7777
</motion.div>
7878
</div>

0 commit comments

Comments
 (0)