@tidbcloud/uikit 2.0.0-beta.15 → 2.0.0-beta.16

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 CHANGED
@@ -1,5 +1,11 @@
1
1
  # @tidbcloud/uikit
2
2
 
3
+ ## 2.0.0-beta.16
4
+
5
+ ### Patch Changes
6
+
7
+ - adjust color and backgroundColor for NavLink
8
+
3
9
  ## 2.0.0-beta.15
4
10
 
5
11
  ### Minor Changes
@@ -331,10 +331,10 @@ const theme = {
331
331
  const color = params.color || theme2.primaryColor;
332
332
  const rootStyles = {
333
333
  light: {
334
- color: theme2.colors.carbon[7],
334
+ color: theme2.colors[color][8],
335
335
  "&:hover": {
336
- color: theme2.colors.carbon[7],
337
- backgroundColor: theme2.colors.carbon[2]
336
+ color: theme2.colors[color][8],
337
+ backgroundColor: theme2.colors[color][2]
338
338
  },
339
339
  "&:active": {
340
340
  color: theme2.colors[color][8],
@@ -329,10 +329,10 @@ const theme = {
329
329
  const color = params.color || theme2.primaryColor;
330
330
  const rootStyles = {
331
331
  light: {
332
- color: theme2.colors.carbon[7],
332
+ color: theme2.colors[color][8],
333
333
  "&:hover": {
334
- color: theme2.colors.carbon[7],
335
- backgroundColor: theme2.colors.carbon[2]
334
+ color: theme2.colors[color][8],
335
+ backgroundColor: theme2.colors[color][2]
336
336
  },
337
337
  "&:active": {
338
338
  color: theme2.colors[color][8],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tidbcloud/uikit",
3
- "version": "2.0.0-beta.15",
3
+ "version": "2.0.0-beta.16",
4
4
  "description": "tidbcloud uikit",
5
5
  "type": "module",
6
6
  "main": "dist/primitive/index.cjs",