Skip to content

Commit 8a2bb16

Browse files
shaneezabruugey
andauthored
LG-3510: export SupportedColors from index (#1946)
* export SupportedColors from index * update color default * lint --------- Co-authored-by: Brooke Scarlett Yalof <[email protected]>
1 parent d5d8e55 commit 8a2bb16

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

.changeset/polite-beds-hear.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@leafygreen-ui/logo': patch
3+
---
4+
5+
Export `SupportedColors` from index.ts

packages/logo/src/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,4 @@ export { default as ChartsLogoMark } from './ChartsLogoMark';
1616
export type { LogoName } from './Logo';
1717
export { default } from './Logo';
1818
export { default as RealmLogoMark } from './RealmLogoMark';
19+
export { SupportedColors } from './utils';

packages/logo/src/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ export interface LogoProps extends HTMLElementProps<'svg'> {
2727
/**
2828
* Determines Color of the Logo or LogoMark component.
2929
*
30-
* @default 40
30+
* @default 'green-dark-2'
3131
*/
3232
color?: SupportedColors;
3333

0 commit comments

Comments
 (0)