Skip to content

Commit 9311622

Browse files
authored
Merge pull request #122 from elysiajs/revert-111-main
Revert "slightly better contrast ratio of text in light mode for landing page"
2 parents 5a56016 + 21077f2 commit 9311622

File tree

12 files changed

+35
-43
lines changed

12 files changed

+35
-43
lines changed

components/midori/community.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,15 @@
1010
Can't find what you're looking for?
1111
</h2>
1212
<h2
13-
class="text-5xl leading-tight font-semibold text-gray-400 mb-4 bg-clip-text text-transparent bg-gradient-to-tl from-fuchsia-600 to-blue-600 dark:from-fuchsia-500 dark:to-blue-500"
13+
class="text-5xl leading-tight font-semibold text-gray-400 mb-4 bg-clip-text text-transparent bg-gradient-to-tl from-fuchsia-500 to-blue-500"
1414
>
1515
Join the community
1616
</h2>
1717
</header>
18-
<p class="text-xl text-gray-500 dark:text-gray-400 w-full max-w-lg mb-4">
18+
<p class="text-xl text-gray-400 w-full max-w-lg mb-4">
1919
Elysia is one of the biggest communities for Bun first web frameworks.
2020
</p>
21-
<p class="text-xl text-gray-500 dark:text-gray-400 w-full max-w-lg">
21+
<p class="text-xl text-gray-400 w-full max-w-lg">
2222
You can ask your questions / propose a new feature / file a bug with our community and mainters.
2323
</p>
2424
</section>

components/midori/e2e-type-safety.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,17 +35,17 @@ await eden.user.age.patch({
3535
<section
3636
class="flex flex-col justify-center items-center w-full max-w-6xl mx-auto"
3737
>
38-
<h3 class="text-2xl mr-auto md:mx-auto font-medium text-gray-500 dark:text-gray-400">
38+
<h3 class="text-2xl mr-auto md:mx-auto font-medium text-gray-400">
3939
Introducing
4040
</h3>
4141
<h2
42-
class="text-5xl md:text-6xl font-bold !leading-tight text-transparent bg-clip-text bg-gradient-to-r from-sky-400 to-indigo-500 dark:from-sky-300 dark:to-indigo-400 mt-2 mb-4 mr-auto md:mx-auto"
42+
class="text-5xl md:text-6xl font-bold !leading-tight text-transparent bg-clip-text bg-gradient-to-r from-sky-300 to-indigo-400 mt-2 mb-4 mr-auto md:mx-auto"
4343
>
4444
End–to-End Type Safety
4545
</h2>
4646

4747
<p
48-
class="text-xl md:text-2xl leading-relaxed text-gray-500 dark:text-gray-400 text-left md:text-center w-full max-w-2xl"
48+
class="text-xl md:text-2xl leading-relaxed text-gray-400 text-left md:text-center w-full max-w-2xl"
4949
>
5050
Synchronize types across all applications.
5151
<br />

components/midori/editor.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -168,13 +168,13 @@ onMounted(() => {
168168
class="flex flex-col justify-center items-center w-full max-w-6xl mx-auto mt-6 md:my-12"
169169
>
170170
<h2
171-
class="text-6xl w-full text-left sm:text-center font-bold !leading-tight text-transparent bg-clip-text bg-gradient-to-br from-blue-500 to-violet-500 dark:from-blue-400 dark:to-violet-400 mb-2"
171+
class="text-6xl w-full text-left sm:text-center font-bold !leading-tight text-transparent bg-clip-text bg-gradient-to-br from-blue-400 to-violet-400 mb-2"
172172
>
173173
Try it out
174174
</h2>
175175

176176
<p
177-
class="text-xl md:text-2xl leading-relaxed text-gray-500 dark:text-gray-400 text-left md:text-center w-full max-w-2xl"
177+
class="text-xl md:text-2xl leading-relaxed text-gray-400 text-left md:text-center w-full max-w-2xl"
178178
>
179179
Being WinterCG compliant, Elysia can run in your browser!
180180
<br />

components/midori/fast.vue

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,26 +22,26 @@ const graphs = [
2222
<section class="flex flex-col w-full max-w-lg">
2323
<header class="flex flex-col justify-center items-start">
2424
<h2
25-
class="text-4xl leading-tight font-medium text-gray-500 dark:text-gray-400 mb-2"
25+
class="text-4xl leading-tight font-medium text-gray-400 mb-2"
2626
>
2727
Elysia is fast
2828
</h2>
2929
<h2
30-
class="text-4xl leading-tight font-medium text-gray-500 dark:text-gray-400 mb-4"
30+
class="text-4xl leading-tight font-medium text-gray-400 mb-4"
3131
>
3232
<span
33-
class="leading-tight text-8xl font-bold bg-clip-text text-transparent bg-gradient-to-br from-lime-400 to-cyan-400 dark:from-lime-300 dark:to-cyan-300"
33+
class="leading-tight text-8xl font-bold bg-clip-text text-transparent bg-gradient-to-br from-lime-300 to-cyan-300"
3434
>
3535
18x
3636
</span>
3737
faster than Express
3838
</h2>
3939
</header>
40-
<p class="text-xl text-gray-500 dark:text-gray-400 w-full max-w-lg mb-4">
40+
<p class="text-xl text-gray-400 w-full max-w-lg mb-4">
4141
Supercharged by Bun runtime, Static Code Analysis, and various
4242
micro optimization.
4343
</p>
44-
<p class="text-xl text-gray-500 dark:text-gray-400 w-full max-w-lg">
44+
<p class="text-xl text-gray-400 w-full max-w-lg">
4545
Elysia is able to outperform in various situations, being one of
4646
the top-performing TypeScript frameworks.
4747
</p>

components/midori/hero.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
ElysiaJS
1616
</h1>
1717
<h2
18-
class="relative text-5xl md:text-6xl md:leading-tight font-bold md:text-center leading-tight text-transparent bg-clip-text bg-gradient-to-r from-sky-400 to-indigo-500 dark:from-sky-300 dark:to-indigo-400 mt-2 mb-8"
18+
class="relative text-5xl md:text-6xl md:leading-tight font-bold md:text-center leading-tight text-transparent bg-clip-text bg-gradient-to-r from-sky-300 to-indigo-400 mt-2 mb-8"
1919
>
2020
Ergonomic Framework for Humans<span
2121
class="absolute w-10 md:w-12 h-10 md:h-12 bottom-0 mb-4 ml-2 md:ml-0 md:mb-10 text-indigo-400"
@@ -78,7 +78,7 @@
7878
</span>
7979
</h2>
8080
<h3
81-
class="text-xl md:text-2xl leading-relaxed text-gray-500 dark:text-gray-400 text-left md:text-center w-full max-w-[49rem]"
81+
class="text-xl md:text-2xl leading-relaxed text-gray-400 text-left md:text-center w-full max-w-[49rem]"
8282
>
8383
TypeScript framework supercharged by Bun with
8484
<span
@@ -101,7 +101,7 @@
101101
bun create elysia app
102102
</code>
103103
</section>
104-
<p class="flex justify-center items-center gap-2 text-gray-500 dark:text-gray-400">
104+
<p class="flex justify-center items-center gap-2 text-gray-400">
105105
See why developers love Elysia
106106
<svg
107107
xmlns="http://www.w3.org/2000/svg"

components/midori/just-return.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,18 +22,18 @@ new Elysia()
2222
</section>
2323
<header class="flex flex-col gap-3 w-full">
2424
<h3
25-
class="text-5xl leading-tight font-bold text-transparent bg-clip-text bg-gradient-to-br from-green-400 to-sky-400 dark:from-green-300 dark:to-sky-300"
25+
class="text-5xl leading-tight font-bold text-transparent bg-clip-text bg-gradient-to-br from-green-300 to-sky-300"
2626
>
2727
Just return
2828
</h3>
2929
<p
30-
class="text-xl leading-normal text-gray-500 dark:text-gray-400 w-full max-w-lg mb-4"
30+
class="text-xl leading-normal text-gray-400 w-full max-w-lg mb-4"
3131
>
3232
No need for an additional method, just return the value to send data
3333
back to the client.
3434
</p>
3535
<p
36-
class="text-xl leading-normal text-gray-500 dark:text-gray-400 w-full max-w-lg mb-4"
36+
class="text-xl leading-normal text-gray-400 w-full max-w-lg mb-4"
3737
>
3838
Whether it's a regular string, or complex JSON, just return the value
3939
and Elysia will handle the rest

components/midori/openapi.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,18 +23,18 @@ new Elysia()
2323
</section>
2424
<header class="flex flex-col gap-3 w-full">
2525
<h3
26-
class="text-5xl leading-tight font-bold text-transparent bg-clip-text bg-gradient-to-br from-teal-400 to-blue-400 dark:from-teal-300 dark:to-blue-300"
26+
class="text-5xl leading-tight font-bold text-transparent bg-clip-text bg-gradient-to-br from-teal-300 to-blue-300"
2727
>
2828
OpenAPI Compliance
2929
</h3>
3030
<p
31-
class="text-xl leading-normal text-gray-500 dark:text-gray-400 w-full max-w-lg mb-4"
31+
class="text-xl leading-normal text-gray-400 w-full max-w-lg mb-4"
3232
>
3333
Elysia generates OpenAPI 3.0 specs automatically to integrate
3434
with various tools across multiple languages
3535
</p>
3636
<p
37-
class="text-xl leading-normal text-gray-500 dark:text-gray-400 w-full max-w-lg mb-4"
37+
class="text-xl leading-normal text-gray-400 w-full max-w-lg mb-4"
3838
>
3939
Thanks to OpenAPI compliance, Elysia can generate Swagger in one
4040
line with the Swagger plugin.

components/midori/plugins.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,16 +58,16 @@ onMounted(() => {
5858
<section class="flex flex-col w-full max-w-lg">
5959
<header class="flex flex-col justify-center items-start">
6060
<h2
61-
class="text-5xl md:text-6xl leading-tight font-bold bg-clip-text text-transparent bg-gradient-to-tr from-sky-500 to-fuchsia-500 dark:from-sky-400 dark:to-fuchsia-400 mb-4"
61+
class="text-5xl md:text-6xl leading-tight font-bold bg-clip-text text-transparent bg-gradient-to-tr from-sky-400 to-fuchsia-400 mb-4"
6262
>
6363
It works with that
6464
</h2>
6565
</header>
66-
<p class="text-xl text-gray-500 dark:text-gray-400 w-full max-w-lg mb-4">
66+
<p class="text-xl text-gray-400 w-full max-w-lg mb-4">
6767
Being one of the most popular choices for a Bun web framework,
6868
likely there is a plugin for what you want.
6969
</p>
70-
<p class="text-xl text-gray-500 dark:text-gray-400 w-full max-w-lg">
70+
<p class="text-xl text-gray-400 w-full max-w-lg">
7171
If the plugin you need is not there, it's easy to create one and share
7272
it with the community.
7373
</p>

components/midori/quickstart.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@
33
class="flex flex-col justify-center items-center gap-3 w-full my-24 overflow-hidden"
44
>
55
<h2
6-
class="relative text-5xl md:text-6xl md:leading-tight font-bold text-center leading-tight text-transparent bg-clip-text bg-gradient-to-r from-sky-400 to-indigo-500 dark:from-sky-300 dark:to-indigo-400"
6+
class="relative text-5xl md:text-6xl md:leading-tight font-bold text-center leading-tight text-transparent bg-clip-text bg-gradient-to-r from-sky-300 to-indigo-400"
77
>
88
Start in minutes
99
</h2>
1010
<h3
11-
class="text-xl md:text-2xl leading-relaxed text-gray-500 dark:text-gray-400 text-center w-full max-w-3xl"
11+
class="text-xl md:text-2xl leading-relaxed text-gray-400 text-center w-full max-w-3xl"
1212
>
1313
Scaffold your project, and run server in no time
1414
</h3>

components/midori/simple.vue

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@
55
<section class="flex flex-col w-full">
66
<header class="flex flex-col justify-center items-start">
77
<h2
8-
class="text-5xl md:text-6xl md:leading-tight font-bold text-transparent bg-clip-text bg-gradient-to-br from-lime-400 to-cyan-400 dark:from-lime-300 dark:to-cyan-300"
8+
class="text-5xl md:text-6xl md:leading-tight font-bold text-transparent bg-clip-text bg-gradient-to-br from-lime-300 to-cyan-300"
99
>
1010
Made for Humans
1111
</h2>
1212
<h2
13-
class="text-3xl leading-tight font-medium text-gray-500 dark:text-gray-400 mb-8"
13+
class="text-3xl leading-tight font-medium text-gray-400 mb-8"
1414
>
1515
Focus on productivity
1616
<span
@@ -20,17 +20,17 @@
2020
</span>
2121
</h2>
2222
</header>
23-
<p class="text-xl text-gray-500 dark:text-gray-400 w-full max-w-lg mb-8">
23+
<p class="text-xl text-gray-400 w-full max-w-lg mb-8">
2424
If you found yourself writing code for the framework, then
2525
there's something wrong with the framework.
2626
</p>
2727
<div class="flex flex-col md:flex-row gap-6 md:gap-8">
28-
<p class="text-xl text-gray-500 dark:text-gray-400 w-full max-w-lg">
28+
<p class="text-xl text-gray-400 w-full max-w-lg">
2929
That's why Elysia invests time to experiment with design
3030
decisions to craft the most ergonomic way possible for
3131
everyone
3232
</p>
33-
<p class="text-xl text-gray-500 dark:text-gray-400 w-full max-w-lg">
33+
<p class="text-xl text-gray-400 w-full max-w-lg">
3434
From built-in strict-type validation to a unified type
3535
system, and documentation generation, making an ideal
3636
framework for building servers with TypeScript.

0 commit comments

Comments
 (0)