(token)
| 2 | import tokens from '@adobe/spectrum-tokens/dist/json/variables.json' with {type: 'json'}; |
| 3 | |
| 4 | function colorToken(token) { |
| 5 | return `light-dark(${token.sets.light.value}, ${token.sets.dark.value})`; |
| 6 | } |
| 7 | |
| 8 | function weirdColorToken(token) { |
| 9 | return `light-dark(${token.sets.light.sets.light.value}, ${token.sets.dark.sets.dark.value})`; |