flipper-ui 0.34.6 → 0.34.7

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/theme/theme.js CHANGED
@@ -9,34 +9,22 @@ var _colors = _interopRequireDefault(require("./colors"));
9
9
  var theme = exports.theme = {
10
10
  colors: _colors["default"]
11
11
  };
12
-
13
- /**
14
- * Options to createMuiTheme
15
- * */
16
12
  var muiThemeOptions = exports.muiThemeOptions = {
17
13
  palette: {
18
14
  primary: {
19
- main: _colors["default"].primary.main
15
+ main: _colors["default"].darkBlue[600]
20
16
  },
21
17
  secondary: {
22
- main: _colors["default"].secondary.main
18
+ main: _colors["default"].green[600]
23
19
  },
24
20
  error: {
25
- main: _colors["default"].feedback.danger
21
+ main: _colors["default"].deepOrange[600]
26
22
  },
27
23
  background: {
28
- "default": _colors["default"].app.background.main
24
+ "default": _colors["default"].neutral[100]
29
25
  },
30
26
  text: {
31
- primary: _colors["default"].app.text.main
27
+ primary: _colors["default"].gray[900]
32
28
  }
33
29
  }
34
- };
35
-
36
- /**
37
- * Raw colors
38
- * */
39
-
40
- /**
41
- * Util interface to extend (Props + Theme)
42
- * */
30
+ };
@@ -1,31 +0,0 @@
1
- export declare enum Feedback {
2
- danger = "danger",
3
- warning = "warning",
4
- success = "success",
5
- info = "info"
6
- }
7
- export declare enum Priority {
8
- critical = "critical",
9
- high = "high",
10
- medium = "medium",
11
- low = "low",
12
- minimal = "minimal",
13
- neutral = "neutral"
14
- }
15
- export declare enum Criticality {
16
- high = "high",
17
- medium = "medium",
18
- low = "low"
19
- }
20
- export declare enum Graphically {
21
- pink = "pink",
22
- purple = "purple",
23
- brown = "brown",
24
- red = "red",
25
- orange = "orange",
26
- yellow = "yellow",
27
- lightgreen = "lightgreen",
28
- green = "green",
29
- blue = "blue",
30
- gray = "gray"
31
- }
package/theme/presets.js DELETED
@@ -1,41 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.Priority = exports.Graphically = exports.Feedback = exports.Criticality = void 0;
7
- var Feedback = exports.Feedback = /*#__PURE__*/function (Feedback) {
8
- Feedback["danger"] = "danger";
9
- Feedback["warning"] = "warning";
10
- Feedback["success"] = "success";
11
- Feedback["info"] = "info";
12
- return Feedback;
13
- }({});
14
- var Priority = exports.Priority = /*#__PURE__*/function (Priority) {
15
- Priority["critical"] = "critical";
16
- Priority["high"] = "high";
17
- Priority["medium"] = "medium";
18
- Priority["low"] = "low";
19
- Priority["minimal"] = "minimal";
20
- Priority["neutral"] = "neutral";
21
- return Priority;
22
- }({});
23
- var Criticality = exports.Criticality = /*#__PURE__*/function (Criticality) {
24
- Criticality["high"] = "high";
25
- Criticality["medium"] = "medium";
26
- Criticality["low"] = "low";
27
- return Criticality;
28
- }({});
29
- var Graphically = exports.Graphically = /*#__PURE__*/function (Graphically) {
30
- Graphically["pink"] = "pink";
31
- Graphically["purple"] = "purple";
32
- Graphically["brown"] = "brown";
33
- Graphically["red"] = "red";
34
- Graphically["orange"] = "orange";
35
- Graphically["yellow"] = "yellow";
36
- Graphically["lightgreen"] = "lightgreen";
37
- Graphically["green"] = "green";
38
- Graphically["blue"] = "blue";
39
- Graphically["gray"] = "gray";
40
- return Graphically;
41
- }({});