Skip to content

Commit

Permalink
Fix contrast in docs overview
Browse files Browse the repository at this point in the history
  • Loading branch information
BastienSozeau committed Jan 2, 2025
1 parent 293d2d7 commit b9fb3b7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/rocqproverorg_frontend/components/learn_components.eml
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@ let skill_tag difficulty =

let beginner_section_icon =
<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
<circle cx="10" cy="10" r="10" class="fill-secondary dark:fill-dark-secondary"/>
<circle cx="10" cy="10" r="10" class="fill-secondary dark:fill-dark-white"/>
</svg>

let intermediate_section_icon =
<svg width="25" height="25" viewBox="0 0 25 25" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M0.5 6.5C0.5 3.18629 3.18629 0.5 6.5 0.5H18.5C21.8137 0.5 24.5 3.18629 24.5 6.5V18.5C24.5 21.8137 21.8137 24.5 18.5 24.5H6.5C3.18629 24.5 0.5 21.8137 0.5 18.5V6.5Z" class="fill-tertiary dark:fill-dark-tertiary"/>
<path d="M0.5 6.5C0.5 3.18629 3.18629 0.5 6.5 0.5H18.5C21.8137 0.5 24.5 3.18629 24.5 6.5V18.5C24.5 21.8137 21.8137 24.5 18.5 24.5H6.5C3.18629 24.5 0.5 21.8137 0.5 18.5V6.5Z" class="fill-gray-700 dark:fill-dark-tertiary"/>
</svg>

let advanced_section_icon =
Expand Down
8 changes: 4 additions & 4 deletions src/rocqproverorg_frontend/pages/learn.eml
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,12 @@ Learn_layout.single_column_layout
<div class="w-full bg:white dark:bg-dark-background_navigation border-b border-color-separator_20 dark:border-color-separator_30">
<div class="container-fluid">
<div class="hidden md:grid md:gap-6 md:grid-cols-3">
<a href="#beginner_section" class="py-3 lg:py-6 flex items-center gap-2 text-secondary dark:text-dark-secondary font-bold hover:underline">
<a href="#beginner_section" class="py-3 lg:py-6 flex items-center gap-2 text-secondary dark:text-dark-white font-bold hover:underline">
<%s! Learn_components.beginner_section_icon %>
<span class="hidden lg:inline">Jump to</span> Beginner Section
<%s! Learn_components.little_down_arrow_icon %>
</a>
<a href="#intermediate_section" class="py-3 lg:py-6 flex items-center gap-2 text-tertiary dark:text-dark-tertiary font-bold hover:underline">
<a href="#intermediate_section" class="py-3 lg:py-6 flex items-center gap-2 text-gray-700 dark:text-dark-tertiary font-bold hover:underline">
<%s! Learn_components.intermediate_section_icon %>
<span class="hidden lg:inline">Jump to</span> Intermediate Section
<%s! Learn_components.little_down_arrow_icon %>
Expand All @@ -55,7 +55,7 @@ Learn_layout.single_column_layout
</div>
<div class="container-fluid">
<h2 id="beginner_section" class="mt-16 mb-8 text-content dark:text-dark-title text-3xl font-regular leading-9 tracking-widest">
<span class="text-secondary dark:text-dark-secondary font-bold">FOUNDATIONS</span>
<span class="text-secondary dark:text-dark-white font-bold">FOUNDATIONS</span>
FOR BEGINNERS
</h2>

Expand Down Expand Up @@ -116,7 +116,7 @@ Learn_layout.single_column_layout

<div class="container-fluid">
<h2 id="intermediate_section" class="mt-16 mb-8 text-content dark:text-dark-title text-3xl font-regular leading-9 tracking-widest">
<span class="text-tertiary dark:text-dark-tertiary font-bold">EXPLORING</span>
<span class="text-gray-700 dark:text-dark-tertiary font-bold">EXPLORING</span>
THE INTERMEDIATE LEVEL
</h2>
<!--
Expand Down

0 comments on commit b9fb3b7

Please sign in to comment.