Skip to content

Commit 6a3ea1d

Browse files
authored
add change text color to white (#509)
* add change text color to white * remove reduddant * remove reduddant --------- Co-authored-by: itachi sasuke <8012032+Keithwachira@users.noreply.github.com>
1 parent a503954 commit 6a3ea1d

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

index.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ export const tykStacksCols = [
105105
<div className="image-container mb-6">
106106
<img src="/img/home-page-review-icon.svg" alt="Guided evaluation" className="home-img" />
107107
</div>
108-
<p className="fs-xs font-semibold mb-4 text-sec">Schedule your guided evaluation</p>
108+
<p className="fs-18 font-semibold mb-4 text-sec">Schedule your guided evaluation</p>
109109
<p className="fs-xs mb-3 text-sec">
110110
Looking to evaluate our powerful Hybrid or&nbsp;Self-Managed deployment types?
111111
</p>
@@ -127,7 +127,7 @@ export const tykStacksCols = [
127127
<div className="image-container mb-6">
128128
<img src="/img/home_page_free_trial_icon.svg" alt="48-hour free trial" className="home-img" />
129129
</div>
130-
<p className="fs-xs font-semibold mb-4 text-sec">Start your 48-hour free trial</p>
130+
<p className="fs-18 font-semibold mb-4 text-sec">Start your 48-hour free trial</p>
131131
<p className="fs-xs mb-3 text-sec">Dive in with a cloud-based trial.</p>
132132
<p className="fs-xs mb-3 text-sec">
133133
Get access to all features and capabilities of Tyk. No installation or credit card needed (and no need

style.css

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,13 +34,15 @@ li[id="topbar-cta-button"] > a > div > svg > path {
3434
color: #ffffff; /* White text in dark mode */
3535
}
3636

37+
.fs-18 { font-size: 18px; }
38+
3739
.fs-16 { font-size: 16px; }
3840
.fs-xs { font-size: 14px; }
3941
.font-400 { font-weight: 400; }
4042
.text-sec { color: var(--text-subdued, #515071); }
4143

4244
.dark .text-sec {
43-
color: #a1a1aa; /* Light gray text in dark mode */
45+
color: #FFF; /* Light gray text in dark mode */
4446
}
4547

4648
/* ---------- layout helpers ---------- */
@@ -670,6 +672,7 @@ li[id="topbar-cta-button"] > a > div > svg > path {
670672
margin-left: 16px !important; /* Add spacing between icon and text for both light and dark mode */
671673
}
672674

675+
/* ---------- Dark mode styling for card headings in "Try it out" section ---------- */
673676
.dark .grid-cols-2 > div:hover img,
674677
.dark .grid > div[class*="border"]:hover img,
675678
.dark .grid > div[class*="rounded"]:hover img {

0 commit comments

Comments
 (0)