()
| 30 | } |
| 31 | |
| 32 | export function Counter() { |
| 33 | return ( |
| 34 | <span |
| 35 | data-step |
| 36 | className={ |
| 37 | css('&::before { content: counter(step) }') + |
| 38 | style({ |
| 39 | fontWeight: 'normal', |
| 40 | borderRadius: 'full', |
| 41 | aspectRatio: 'square', |
| 42 | backgroundColor: 'neutral', |
| 43 | display: 'inline-block', |
| 44 | height: '[1lh]', |
| 45 | textAlign: 'center', |
| 46 | color: 'gray-25', |
| 47 | marginStart: { |
| 48 | default: 0, |
| 49 | md: 'calc(-1lh - 8px)' |
| 50 | }, |
| 51 | marginEnd: 8 |
| 52 | }) |
| 53 | } |
| 54 | /> |
| 55 | ); |
| 56 | } |