diff options
author | HiDeoo | 2025-04-24 17:09:32 +0200 |
---|---|---|
committer | GitHub | 2025-04-24 17:09:32 +0200 |
commit | dc8b6d5561eb90be9d31396ed1dc8f8258c9cbf7 (patch) | |
tree | fe287959383f07b5d6ab82a427657d20f67da762 | |
parent | 9f79c0424c3d3e24d304878b2912af5287939e80 (diff) | |
download | IT.starlight-dc8b6d5561eb90be9d31396ed1dc8f8258c9cbf7.tar.gz IT.starlight-dc8b6d5561eb90be9d31396ed1dc8f8258c9cbf7.tar.bz2 IT.starlight-dc8b6d5561eb90be9d31396ed1dc8f8258c9cbf7.zip |
Fix credit icon color regression (#3148)
-rw-r--r-- | .changeset/metal-chefs-shout.md | 5 | ||||
-rw-r--r-- | packages/starlight/components/Footer.astro | 9 |
2 files changed, 11 insertions, 3 deletions
diff --git a/.changeset/metal-chefs-shout.md b/.changeset/metal-chefs-shout.md new file mode 100644 index 00000000..fce20305 --- /dev/null +++ b/.changeset/metal-chefs-shout.md @@ -0,0 +1,5 @@ +--- +'@astrojs/starlight': patch +--- + +Fixes a regression of the Starlight icon color when using the [`credits`](https://starlight.astro.build/reference/configuration/#credits) configuration option. diff --git a/packages/starlight/components/Footer.astro b/packages/starlight/components/Footer.astro index 99fa834e..070530aa 100644 --- a/packages/starlight/components/Footer.astro +++ b/packages/starlight/components/Footer.astro @@ -48,11 +48,14 @@ import { Icon } from '../components'; text-decoration: none; color: var(--sl-color-gray-3); } - .kudos :global(svg) { - color: var(--sl-color-orange); - } .kudos:hover { color: var(--sl-color-white); } } + + @layer starlight.components { + .kudos :global(svg) { + color: var(--sl-color-orange); + } + } </style> |