diff --git a/configs/sponsors/contribkit.config.ts b/configs/sponsors/contribkit.config.ts index 15bfe62..695ca7b 100644 --- a/configs/sponsors/contribkit.config.ts +++ b/configs/sponsors/contribkit.config.ts @@ -1,5 +1,17 @@ import { BadgePreset, defineConfig, tierPresets } from '@lizardbyte/contribkit' +const createThemeAwareSvgStyle = (pathClass: string, lightColor: string = '#000000', darkColor: string = '#ffffff') => ` + + `; + const specialSupporters = [ { name: 'DigitalOcean', @@ -52,9 +64,13 @@ const specialSupporters = [ logoUrl: 'https://raw.githubusercontent.com/gilbarbara/logos/refs/heads/main/logos/github-copilot.svg', svgContent: ` + ${createThemeAwareSvgStyle('copilot-path')} GitHub Copilot - + `, }, @@ -79,12 +95,31 @@ const specialSupporters = [ logoUrl: 'https://support.crowdin.com/assets/logos/small-scale-logo/svg/smallscale-logo-cWhite.svg', svgContent: ` - - - - - - + ${createThemeAwareSvgStyle('crowdin-path')} + + + + + + `, }, ];