diff --git a/apps/fluent-tester/src/TestComponents/ColorTokens/ColorTokenTest.tsx b/apps/fluent-tester/src/TestComponents/ColorTokens/ColorTokenTest.tsx index 87b5c97f86a..4543d0b2a20 100644 --- a/apps/fluent-tester/src/TestComponents/ColorTokens/ColorTokenTest.tsx +++ b/apps/fluent-tester/src/TestComponents/ColorTokens/ColorTokenTest.tsx @@ -53,11 +53,6 @@ const styles = StyleSheet.create({ colorDescriptionNamePadding: { paddingRight: 5 }, }); -const getSwatchColorStyle = (colorName: string, colorValue: ColorValue): ViewStyle => { - styles[colorName] = styles[colorName] || { backgroundColor: colorValue }; - return styles[colorName]; -}; - type ColorTokenProps = { colorValue: ColorValue; colorName: string }; const ColorToken: React.FunctionComponent = (p: ColorTokenProps) => { if (p.colorValue === undefined) { @@ -68,7 +63,7 @@ const ColorToken: React.FunctionComponent = (p: ColorTokenProps return ( @@ -89,7 +84,6 @@ const getSwatch = (item) => { const AliasColorTokensSwatchList: React.FunctionComponent = () => { const theme = useTheme(); - const aliasColorTokens = theme.colors; const aggregator = React.useCallback(