```md import { Meta, ColorPalette, ColorItem } from '@storybook/addon-docs'; import { themes, ThemeProvider, convert, ensure } from '@storybook/theming'; # Dark color scheme
{Object.entries(convert(themes.dark).color).map(([k, v]) => { if ( typeof v === 'string' && (v.match(/^#/) || v.match(/^rgb/) || k.match(/color/i)) ) { return ; } else if (typeof v === 'object') { return ( typeof value === 'string' && (value.match(/^#/) || value.match(/^rgb/) || key.match(/color/i)) ? { ...acc, [key]: value } : acc, {} )} /> ); } return null; })}
# Light color scheme
{Object.entries(convert(themes.light).color).map(([k, v]) => { if ( typeof v === 'string' && (v.match(/^#/) || v.match(/^rgb/) || k.match(/color/i)) ) { return ; } else if (typeof v === 'object') { return ( typeof value === 'string' && (value.match(/^#/) || value.match(/^rgb/) || key.match(/color/i)) ? { ...acc, [key]: value } : acc, {} )} /> ); } return null; })}
```