@smart-react-components/ui 2.0.0-alpha-122 → 2.0.0-alpha-124

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.
@@ -5,7 +5,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  const Section_1 = __importDefault(require("@smart-react-components/core/Element/Section"));
7
7
  const styled_components_1 = __importDefault(require("styled-components"));
8
- exports.default = (0, styled_components_1.default)(Section_1.default) `
8
+ exports.default = (0, styled_components_1.default)(Section_1.default)(({ theme }) => `
9
+ background: ${theme.$.color.dynamic.background};
9
10
  flex: 1 1 auto;
10
11
  min-height: 1px;
11
12
  overflow: auto;
@@ -13,4 +14,4 @@ exports.default = (0, styled_components_1.default)(Section_1.default) `
13
14
  > :last-child {
14
15
  margin-bottom: 0;
15
16
  }
16
- `;
17
+ `);
@@ -36,7 +36,7 @@ exports.default = (0, styled_components_1.default)(Div_1.default).attrs(({ isBlo
36
36
  }))(({ theme, hasBorder, isBlock, isCentered, isFullScreen, isStretched, shape }) => `
37
37
  background: ${theme.$.color.dynamic.background};
38
38
  box-sizing: border-box;
39
- color: ${theme.$.color.dynamic.font};
39
+ color: ${theme.$.color.dynamic.bodyFont};
40
40
  display: flex;
41
41
  fill: currentcolor;
42
42
  flex-direction: column;
@@ -34,7 +34,7 @@ const OuterCircle = styled_components_1.default.div.attrs({
34
34
  const InnerCircle = styled_components_1.default.div.attrs({
35
35
  className: 'src-radio-inner-circle',
36
36
  })(({ theme }) => `
37
- background: ${theme.$.color.dynamic.background};
37
+ background: ${theme.$.color.white};
38
38
  border-radius: 100%;
39
39
  flex: 0 0 auto;
40
40
  `);
@@ -10,7 +10,7 @@ const css_1 = require("../../util/css");
10
10
  const Slider = styled_components_1.default.div.attrs({
11
11
  className: 'switch-slider',
12
12
  })(({ theme }) => `
13
- background: ${theme.$.color.dynamic.background};
13
+ background: ${theme.$.color.white};
14
14
  border-radius: 100%;
15
15
  box-shadow: 0 1px 3px rgba(0,0,0,.4);
16
16
  left: 0;
@@ -33,13 +33,13 @@ exports.default = (0, styled_components_1.default)(Div_1.default).attrs({
33
33
  }
34
34
  `
35
35
  : `
36
- background: ${theme.$.palette[palette].background};
36
+ background: ${theme.$.palette[palette].main};
37
37
  color: ${theme.$.palette[palette].font};
38
38
  fill: ${theme.$.palette[palette].font};
39
39
 
40
40
  ${PopoverArrow_1.default} {
41
- fill: ${theme.$.palette[palette].background};
42
- stroke: ${theme.$.palette[palette].background};
41
+ fill: ${theme.$.palette[palette].main};
42
+ stroke: ${theme.$.palette[palette].main};
43
43
  }
44
44
  `}
45
45
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smart-react-components/ui",
3
- "version": "2.0.0-alpha-122",
3
+ "version": "2.0.0-alpha-124",
4
4
  "license": "MIT",
5
5
  "main": "index.js",
6
6
  "description": "SRC UI includes React and Styled components.",