Skip to content

Commit dc8b6d5

Browse files
authored
Fix credit icon color regression (#3148)
1 parent 9f79c04 commit dc8b6d5

File tree

2 files changed

+11
-3
lines changed

2 files changed

+11
-3
lines changed

.changeset/metal-chefs-shout.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@astrojs/starlight': patch
3+
---
4+
5+
Fixes a regression of the Starlight icon color when using the [`credits`](https://starlight.astro.build/reference/configuration/#credits) configuration option.

packages/starlight/components/Footer.astro

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,14 @@ import { Icon } from '../components';
4848
text-decoration: none;
4949
color: var(--sl-color-gray-3);
5050
}
51-
.kudos :global(svg) {
52-
color: var(--sl-color-orange);
53-
}
5451
.kudos:hover {
5552
color: var(--sl-color-white);
5653
}
5754
}
55+
56+
@layer starlight.components {
57+
.kudos :global(svg) {
58+
color: var(--sl-color-orange);
59+
}
60+
}
5861
</style>

0 commit comments

Comments
 (0)