diff --git a/src/components/LoopingLogo.tsx b/src/components/LoopingLogo.tsx index 296b1f2e..3cc91ccf 100644 --- a/src/components/LoopingLogo.tsx +++ b/src/components/LoopingLogo.tsx @@ -3,6 +3,7 @@ import { type HTMLAttributes, forwardRef, } from 'react' +import { useTheme } from 'styled-components' import PluralLogomarkBottomLeft from './icons/plural-animated/PluralLogomarkBottomLeft' import PluralLogomarkBottomRight from './icons/plural-animated/PluralLogomarkBottomRight' @@ -23,8 +24,11 @@ export const scaling = (scale: number): { transform: string } => const LoopingLogo = forwardRef< HTMLDivElement, LoopingLogoProps & HTMLAttributes ->( - ({ isDark = false, animated = true, scale, ...props }, ref): JSX.Element => ( +>(({ animated = true, scale, ...props }, ref): JSX.Element => { + const theme = useTheme() + const color = theme.colors['icon-light'] + + return (
- +
- +
- +
- +
- +
@@ -77,6 +81,6 @@ const LoopingLogo = forwardRef<
) -) +}) export default LoopingLogo diff --git a/src/index.ts b/src/index.ts index 629024c5..b63f7369 100644 --- a/src/index.ts +++ b/src/index.ts @@ -146,10 +146,13 @@ export { ColorModeProvider } from './components/contexts/ColorModeProvider' // Theme export { honorableThemeDark as theme, + honorableThemeLight, + honorableThemeDark, styledTheme, styledThemeLight, - honorableThemeLight, styledThemeDark, + setThemeColorMode, + useThemeColorMode, } from './theme' export type { SemanticColorKey, SemanticColorCssVar } from './theme/colors' export { semanticColorKeys, semanticColorCssVars } from './theme/colors'