@spark-ui/theme-utils 2.3.1 → 2.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +4 -0
- package/dist/createTheme.d.ts +3 -3
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,10 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [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)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @spark-ui/theme-utils
|
|
9
|
+
|
|
6
10
|
## [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)
|
|
7
11
|
|
|
8
12
|
**Note:** Version bump only for package @spark-ui/theme-utils
|
package/dist/createTheme.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { type Theme } from './types';
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* Creates a custom theme by merging the default theme with a partial custom theme passed as an argument.
|
|
4
4
|
*
|
|
5
|
-
* @param theme - A partial theme object
|
|
6
|
-
* @param fromTheme -
|
|
5
|
+
* @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.
|
|
6
|
+
* @param {Theme} [fromTheme=defaultTheme] - (Optional) A theme object from which to derive the new custom theme (instead of Spark's `defaultTheme`)
|
|
7
7
|
*
|
|
8
8
|
* @example
|
|
9
9
|
*
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@spark-ui/theme-utils",
|
|
3
|
-
"version": "2.3.
|
|
3
|
+
"version": "2.3.2",
|
|
4
4
|
"description": "package for managing Spark theme configuration",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -20,5 +20,5 @@
|
|
|
20
20
|
"url": "git@github.com:adevinta/spark.git",
|
|
21
21
|
"directory": "packages/utils/theme"
|
|
22
22
|
},
|
|
23
|
-
"gitHead": "
|
|
23
|
+
"gitHead": "fc8db19776d0ae0c45aebe2f85931a2d19f00ca3"
|
|
24
24
|
}
|