Skip to content

Commit a6636c1

Browse files
authored
ravi/fix hover on cta (#184)
Linear issue: https://linear.app/interledger/issue/DEVPORT-25/engineering-blog-cta-text-disappears-on-hover The PR fixes the css so that the correct link colour is used on hover
1 parent 5bd4607 commit a6636c1

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

bun.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"@astrojs/mdx": "^4.3.12",
99
"@astrojs/node": "^9.5.1",
1010
"@astrojs/starlight": "^0.36.3",
11-
"@interledger/docs-design-system": "^0.10.1",
11+
"@interledger/docs-design-system": "^0.10.3",
1212
"@types/showdown": "^2.0.6",
1313
"astro": "^5.16.0",
1414
"html-to-text": "^9.0.5",
@@ -226,7 +226,7 @@
226226

227227
"@img/sharp-win32-x64": ["@img/[email protected]", "", { "os": "win32", "cpu": "x64" }, "sha512-+29YMsqY2/9eFEiW93eqWnuLcWcufowXewwSNIT6UwZdUUCrM3oFjMWH/Z6/TMmb4hlFenmfAVbpWeup2jryCw=="],
228228

229-
"@interledger/docs-design-system": ["@interledger/[email protected].1", "", { "dependencies": { "mermaid": "^11.12.1" } }, "sha512-/nlTob1j+vsKycp9Q39ThZOyztBxNtWEKI0l3jaA+Px8hVzrizRa7ZtaaR4ZuYgoPRWGJPgXTi5tWdG+eiPybw=="],
229+
"@interledger/docs-design-system": ["@interledger/[email protected].3", "", { "dependencies": { "mermaid": "^11.12.1" } }, "sha512-kQdpHUDqS3RWYrYuL6dunOG0h0alNZBNqh2n+J09LCiDxwz9/7aVvF8fCdo2gaTI8w+lcE9/CRnuEF7h26PLUA=="],
230230

231231
"@jridgewell/sourcemap-codec": ["@jridgewell/[email protected]", "", {}, "sha512-cYQ9310grqxueWbl+WuIUIaiUaDcj7WOq5fVhEljNVgRfOUhY9fy2zTvfoqWsnebh8Sl70VScFbICvJnLKB0Og=="],
232232

src/pages/index.astro

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ import BaseLayout from '../layouts/BaseLayout.astro'
3030
href="https://github.com/interledger"
3131
target="_blank"
3232
rel="noopener noreferrer"
33+
class="hero__link"
3334
><span>Contribute on Github</span>
3435
<ExternalIcon class="external" />
3536
</a>
@@ -234,6 +235,10 @@ import BaseLayout from '../layouts/BaseLayout.astro'
234235
color: var(--color-white);
235236
}
236237

238+
.hero__link:hover {
239+
color: var(--color-white);
240+
}
241+
237242
a:hover span {
238243
text-decoration-color: inherit;
239244
}
@@ -369,4 +374,8 @@ import BaseLayout from '../layouts/BaseLayout.astro'
369374
margin-block-start: var(--space-xs);
370375
padding: var(--space-2xs) var(--space-xs);
371376
}
377+
378+
a.card__btn:hover {
379+
color: var(--color-white);
380+
}
372381
</style>

0 commit comments

Comments
 (0)