(str)
| 10 | return isInclude ? getForeground(data.settings.foreground) : undefined; |
| 11 | } |
| 12 | const getForeground = (str) => typeof str === 'string' ? str : null; |
| 13 | |
| 14 | function format(data = {}, dark = false) { |
| 15 | const { colors = {}, tokenColors = [] } = data || {}; |