Skip to content

Commit 2f0d8f3

Browse files
authored
style: update theme colors for announcement, release, and vulnerability categories
1 parent 16ba740 commit 2f0d8f3

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

  • apps/site/app/[locale]/next-data/og/[category]/[title]

apps/site/app/[locale]/next-data/og/[category]/[title]/route.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ import { defaultLocale } from '@/next.locales.mjs';
77
import { hexToRGBA } from '@/util/hexToRGBA';
88

99
const CATEGORY_TO_THEME_COLOUR_MAP = {
10-
announcement: 'var(--color-green-900)',
11-
release: 'var(--color-info-600)',
12-
vulnerability: 'var(--color-warning-600)',
10+
announcement: '#1a3f1d',
11+
release: '#0c7bb3',
12+
vulnerability: '#ae5f00',
1313
};
1414

1515
type Category = keyof typeof CATEGORY_TO_THEME_COLOUR_MAP;

0 commit comments

Comments
 (0)