@eeacms/volto-eea-design-system 1.22.1 → 1.22.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 CHANGED
@@ -4,7 +4,13 @@ All notable changes to this project will be documented in this file. Dates are d
4
4
 
5
5
  Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
6
6
 
7
- ### [1.22.1](https://github.com/eea/volto-eea-design-system/compare/1.22.0...1.22.1) - 28 November 2023
7
+ ### [1.22.2](https://github.com/eea/volto-eea-design-system/compare/1.22.1...1.22.2) - 29 November 2023
8
+
9
+ #### :bug: Bug Fixes
10
+
11
+ - fix(tabs): inside content boxes which apply theme and text color for children [David Ichim - [`618124f`](https://github.com/eea/volto-eea-design-system/commit/618124f8ff20ce293b9e5593aa33a9c53addcae9)]
12
+
13
+ ### [1.22.1](https://github.com/eea/volto-eea-design-system/compare/1.22.0...1.22.1) - 29 November 2023
8
14
 
9
15
  #### :bug: Bug Fixes
10
16
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eeacms/volto-eea-design-system",
3
- "version": "1.22.1",
3
+ "version": "1.22.2",
4
4
  "description": "@eeacms/volto-eea-design-system: Volto add-on",
5
5
  "main": "src/index.js",
6
6
  "author": "European Environment Agency: IDM2 A-Team",
@@ -30,7 +30,7 @@
30
30
  color @defaultDuration @defaultEasing
31
31
  ;
32
32
  @itemFontWeight: @normal;
33
- @itemTextColor: @textColor;
33
+ @itemTextColor: var(--text-color-inactive, @textColor);
34
34
 
35
35
  /* Divider */
36
36
  @dividerSize: 1px;
@@ -50,6 +50,7 @@
50
50
  --bg-color: transparent;
51
51
  --border-color-secondary: @contentBoxColor;
52
52
  --text-color: @contentBoxColor;
53
+ --text-color-inactive: @contentBoxInactiveColor;
53
54
  --text-color-primary: @contentBoxColor;
54
55
  --text-color-secondary: @contentBoxColor;
55
56
  --text-color-tertiary: @contentBoxColor;
@@ -5,6 +5,7 @@
5
5
  /* Content Box */
6
6
  @contentBoxWidth : 100vw;
7
7
  @contentBoxColor : @white;
8
+ @contentBoxInactiveColor : @invertedTextColor;
8
9
  @contentBoxBackgroundColor: @grey-1;
9
10
  @contentBoxNoBackground: transparent;
10
11
  @contentBoxColorInverted : inherit;
@@ -159,6 +159,11 @@
159
159
  --tab-active-bg-color: transparent;
160
160
  }
161
161
 
162
+ // ensure that tab content has text color useful when tab is inside a content-box
163
+ .tab {
164
+ color: @textColor;
165
+ }
166
+
162
167
  // make accordion transformed from rrt_tabs use same color bg as tabs
163
168
  .tabs-accessibility .RRT__panel {
164
169
  --bg-color: @white;