@redocly/theme 0.11.1 → 0.11.3

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.
@@ -24,6 +24,7 @@ const PageNavigationWrapper = styled_components_1.default.div `
24
24
  display: flex;
25
25
  justify-content: space-between;
26
26
  margin: 25px 0;
27
+ width: 100%;
27
28
 
28
29
  @media print {
29
30
  display: none;
@@ -45,15 +45,15 @@ const DropDownHeader = styled_components_1.default.div `
45
45
  border: 1px solid var(--border-color);
46
46
  font-weight: 600;
47
47
  color: var(--text-color);
48
- background: var(--color-secondary-200);
48
+ background: var(--background-color);
49
49
  `;
50
50
  const DropDownList = styled_components_1.default.div `
51
51
  position: absolute;
52
- background: var(--color-secondary-200);
52
+ background: var(--background-color);
53
53
  margin: 2px 20px 0 20px;
54
54
  padding: 0;
55
55
  border-radius: 4px;
56
- border: 1px solid rgba(38, 50, 56, 0.2);
56
+ border: 1px solid var(--border-color);
57
57
  z-index: 9999;
58
58
  left: 0;
59
59
  right: 0;
@@ -67,7 +67,7 @@ const IconWrapper = styled_components_1.default.span `
67
67
  }
68
68
  `;
69
69
  const ListItem = styled_components_1.default.div `
70
- background-color: var(--color-secondary-200);
70
+ background-color: var(--background-color);
71
71
  padding: 0.4em 10px;
72
72
  font-size: 1em;
73
73
  color: var(--text-color);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@redocly/theme",
3
- "version": "0.11.1",
3
+ "version": "0.11.3",
4
4
  "description": "Shared UI components lib",
5
5
  "keywords": [],
6
6
  "author": "team@redocly.com",
@@ -30,6 +30,7 @@ const PageNavigationWrapper = styled.div`
30
30
  display: flex;
31
31
  justify-content: space-between;
32
32
  margin: 25px 0;
33
+ width: 100%;
33
34
 
34
35
  @media print {
35
36
  display: none;
@@ -39,16 +39,16 @@ const DropDownHeader = styled.div`
39
39
  border: 1px solid var(--border-color);
40
40
  font-weight: 600;
41
41
  color: var(--text-color);
42
- background: var(--color-secondary-200);
42
+ background: var(--background-color);
43
43
  `;
44
44
 
45
45
  const DropDownList = styled.div`
46
46
  position: absolute;
47
- background: var(--color-secondary-200);
47
+ background: var(--background-color);
48
48
  margin: 2px 20px 0 20px;
49
49
  padding: 0;
50
50
  border-radius: 4px;
51
- border: 1px solid rgba(38, 50, 56, 0.2);
51
+ border: 1px solid var(--border-color);
52
52
  z-index: 9999;
53
53
  left: 0;
54
54
  right: 0;
@@ -64,7 +64,7 @@ const IconWrapper = styled.span`
64
64
  `;
65
65
 
66
66
  const ListItem = styled.div`
67
- background-color: var(--color-secondary-200);
67
+ background-color: var(--background-color);
68
68
  padding: 0.4em 10px;
69
69
  font-size: 1em;
70
70
  color: var(--text-color);