td-stylekit 25.2.0 → 25.2.1
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 +7 -0
- package/dist/es/ThemeProvider/theme.js +11 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
## [25.2.1](https://github.com/treasure-data/td-stylekit/compare/v25.2.0...v25.2.1) (2022-02-11)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* **CON-9193:** Add new theme.space constant ([#1226](https://github.com/treasure-data/td-stylekit/issues/1226)) ([39b6463](https://github.com/treasure-data/td-stylekit/commit/39b6463))
|
|
7
|
+
|
|
1
8
|
# [25.2.0](https://github.com/treasure-data/td-stylekit/compare/v25.1.0...v25.2.0) (2022-02-03)
|
|
2
9
|
|
|
3
10
|
|
|
@@ -10,7 +10,17 @@ if (typeof window !== "undefined" && !window.gsC) window.gsC = function () {};
|
|
|
10
10
|
/*
|
|
11
11
|
Space constants used for margins and paddings based on the base font size of 16px
|
|
12
12
|
*/
|
|
13
|
-
var space = ['0',
|
|
13
|
+
var space = ['0', // 0px
|
|
14
|
+
'0.25rem', // 4px
|
|
15
|
+
'0.5rem', // 8px
|
|
16
|
+
'0.75rem', // 12px
|
|
17
|
+
'1rem', // 16px
|
|
18
|
+
'1.25rem', // 20px
|
|
19
|
+
'1.5rem', // 24px
|
|
20
|
+
'1.75rem', // 28px
|
|
21
|
+
'2rem', // 32px
|
|
22
|
+
'2.25rem' // 36px
|
|
23
|
+
]; // Note: this color palette is guaranteed not to change in shape/size.
|
|
14
24
|
// Only specific colors may change from this point onwards.
|
|
15
25
|
|
|
16
26
|
var palette = {
|