Skip to content

Commit

Permalink
Fix testimonial component color modes support
Browse files Browse the repository at this point in the history
  • Loading branch information
danielguillan committed Feb 6, 2024
1 parent d00cf4e commit ff8f628
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions packages/design-tokens/scripts/build-tokens.js
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,7 @@ const darkJson = require('../src/tokens/base/colors/dark')
`tokens/functional/components/video-player/colors.js`,
`tokens/functional/components/prose/colors.js`,
`tokens/functional/components/eyebrow-banner/colors.js`,
`tokens/functional/components/testimonial/colors.json`,
]

for (const path of filesForColorModes) {
Expand Down
2 changes: 1 addition & 1 deletion packages/react/src/Testimonial/Testimonial.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import type {AvatarProps} from '../'
import findElementInChildren from '../findElementInChildren'

import '@primer/brand-primitives/lib/design-tokens/css/tokens/functional/components/testimonial/base.css'
import '@primer/brand-primitives/lib/design-tokens/css/tokens/functional/components/testimonial/colors.css'
import '@primer/brand-primitives/lib/design-tokens/css/tokens/functional/components/testimonial/colors-with-modes.css'

import styles from './Testimonial.module.css'
import {Colors, Gradients} from '../constants'
Expand Down

0 comments on commit ff8f628

Please sign in to comment.