@spark-ui/theme-utils
Advanced tools
Comparing version 2.3.1 to 2.3.2
@@ -6,2 +6,6 @@ # Change Log | ||
## [2.3.2](https://github.com/adevinta/spark/compare/@spark-ui/theme-utils@2.3.1...@spark-ui/theme-utils@2.3.2) (2023-02-24) | ||
**Note:** Version bump only for package @spark-ui/theme-utils | ||
## [2.3.1](https://github.com/adevinta/spark/compare/@spark-ui/theme-utils@2.3.0...@spark-ui/theme-utils@2.3.1) (2023-02-24) | ||
@@ -8,0 +12,0 @@ |
import { type Theme } from './types'; | ||
/** | ||
* Create a custom theme by merging the default theme with a partial custom theme passed as an argument. | ||
* Creates a custom theme by merging the default theme with a partial custom theme passed as an argument. | ||
* | ||
* @param theme - A partial theme object of type Partial<Theme> which holds the theme values that need to be customized or overridden | ||
* @param fromTheme - Use this argument if you want to derivate your theme from another theme (instead of Spark's default theme) | ||
* @param {Partial<Theme>} theme - A partial theme object which holds the theme values that need to be customized or overridden. When a category is included in the `theme` parameter, all of the category's tokens must be overridden. | ||
* @param {Theme} [fromTheme=defaultTheme] - (Optional) A theme object from which to derive the new custom theme (instead of Spark's `defaultTheme`) | ||
* | ||
@@ -8,0 +8,0 @@ * @example |
{ | ||
"name": "@spark-ui/theme-utils", | ||
"version": "2.3.1", | ||
"version": "2.3.2", | ||
"description": "package for managing Spark theme configuration", | ||
@@ -23,3 +23,3 @@ "publishConfig": { | ||
}, | ||
"gitHead": "ef9e9e64bcaf2c2527725d995c9329c5672ac82b" | ||
"gitHead": "fc8db19776d0ae0c45aebe2f85931a2d19f00ca3" | ||
} |
25477