Skip to content

Commit 0070635

Browse files
committed
better link contrast on the front page
1 parent d6c3d8e commit 0070635

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/components/ColoredCard.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ const { icon, title, color } = Astro.props;
100100
:root[data-theme='light']
101101
{
102102
.card-colored {
103-
--sl-color-text-accent: var(--color-extended-blue-900);
103+
--sl-color-text-accent: var(--color-extended-blue-700);
104104
}
105105
.card-colored.card-bg-red {
106106
background-color: var(--color-extended-red-600);

src/content/docs/index.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,13 +44,13 @@ print(p.z)
4444
<ColoredCard title="Performance" icon="rocket" color="red">
4545
Luau is a high-performance managed language with a fast bytecode compiler and interpreter, and an optimized, incremental garbage collector. Its optional JIT compiler runs on x64 and arm64, and supports plugins that extend native code generation to any embedder-defined types.
4646
</ColoredCard>
47-
<ColoredCard title="Safety" icon="approve-check-circle" color="blue">
47+
<ColoredCard title="Safety" icon="approve-check-circle" color="yellow">
4848
Luau has a state-of-the-art gradual type system with features like [type refinements](./types/type-refinements) and [type functions](./types/type-functions). This system is powered by an ambitious and powerful type inference engine that aims to both rule out program errors, _and_ provide autocomplete with minimal annotations.
4949
</ColoredCard>
5050
<ColoredCard title="Accessibility" icon="pen" color="purple">
5151
Luau is designed to be easy-to-learn, and easy-to-use over time. The syntax of the language is small and easy to pick up, and the semantics of the language should be broadly unsurprising to most programmers, with recursive functions, conventional loops and branching, and so forth.
5252
</ColoredCard>
53-
<ColoredCard title="Delightfulness" icon="sun" color="yellow">
53+
<ColoredCard title="Delightfulness" icon="sun" color="blue">
5454
Luau aims to be pleasant and productive to use, and to make programming as fun as it can be! Besides the language itself, we're building a full suite of developer tools: package management, linting, code transformation, documentation generation, and servers for editing and debugging code.
5555
</ColoredCard>
5656
<ColoredCard title="Embeddability" icon="puzzle" color="green">

0 commit comments

Comments
 (0)