Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions openframe-frontend-core/src/components/media-carousel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ const ChevronRightIcon = () => (
* - Slides render through the SSoT `<Video>` (MuxPlayer / lite-youtube
* facade) for `video`/`youtube` items and a broken-image-resilient
* `<Image>` shim for `image` items.
* - Dots: 24px hit target, 8px dot, active = flamingo pink (per design).
* - Dots: 24px hit target, 8px dot, active = platform accent (per design).
* - Hover-revealed prev/next arrows (`showArrows`), keyboard arrows, and
* touch swipe all preserved from the previous generation.
*/
Expand Down Expand Up @@ -314,7 +314,7 @@ export const MediaCarousel = memo(function MediaCarousel({
)}
</div>

{/* Dot pagination (Figma) — 24px hit target, 8px dot, active pink.
{/* Dot pagination (Figma) — 24px hit target, 8px dot, active accent.
Plain grouped buttons (NOT tablist: no roving tabIndex/arrow-key
model here — aria-current marks the active slide instead). */}
{(media.length > 1 || reserveDotRow) && (
Expand All @@ -334,7 +334,7 @@ export const MediaCarousel = memo(function MediaCarousel({
className={cn(
"size-2 rounded-full transition-colors duration-150",
isActive
? "bg-ods-flamingo-pink"
? "bg-ods-accent"
: "bg-ods-bg-surface hover:bg-ods-bg-surface-hover"
)}
/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ const variantColors: Record<CircularProgressVariant, { progress: string; track:
track: SUBTLE_TRACK,
},
accent: {
progress: 'var(--ods-flamingo-cyan-base)',
progress: 'var(--ods-accent)',
track: SUBTLE_TRACK,
},
}
Expand Down
Loading