// __SDEFILE__ - This file is a dependency for the stand-alone environment import { CircleIcon as Icon } from 'shared/components/icons.mjs' import { useTheme } from 'shared/hooks/use-theme.mjs' export const Circle = ({ off = false, color = 'warning' }) => ( ) const five = [0, 1, 2, 3, 4] export const Difficulty = ({ score = 0, color = false }) => { const { rating } = useTheme() // Skip 0 const colors = ['violet', ...rating] return (
{five.map((i) => ( ))}
) }