UNPKG

@nexim/tailwind-material-colors

Version:

A Tailwind CSS plugin to automatically generate and apply Material Design 3 color palettes.

15 lines (10 loc) 1.85 kB
[@nexim/tailwind-material-colors](../README.md) / MaterialThemePluginOptions # Interface: MaterialThemePluginOptions Options for configuring the Material Design theme Tailwind CSS plugin. ## Properties | Property | Type | Description | | ---------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | | <a id="contrast"></a> `contrast?` | `number` | The contrast level between 0.0 and 1.0. Defaults to 0.0 if not specified. | | <a id="extracolors"></a> `extraColors?` | `DictionaryReq`\<`ColorDefinition`\> | Optional dictionary of extra named colors. | | <a id="primarycolor"></a> `primaryColor` | `string` | The primary color hex string (e.g., '#6750A4'). | | <a id="scheme"></a> `scheme?` | `"content"` \| `"expressive"` \| `"fidelity"` \| `"monochrome"` \| `"neutral"` \| `"tonalSpot"` \| `"vibrant"` \| `"rainbow"` \| `"fruitsalad"` | The Material Design color scheme to use. Defaults to 'content' if not specified. |