@zesty-io/material 0.0.1-0 → 0.0.2-0

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/es/index.d.ts ADDED
@@ -0,0 +1 @@
1
+ export { default as theme } from './theme';
package/es/index.js ADDED
@@ -0,0 +1 @@
1
+ export { default as theme } from './theme';
@@ -0,0 +1,3 @@
1
+ import { Theme } from '@mui/material/styles';
2
+ declare const theme: Theme;
3
+ export default theme;
@@ -0,0 +1,8 @@
1
+ import palette from './palette';
2
+ import typography from './typography';
3
+ import { createTheme } from '@mui/material/styles';
4
+ const theme = createTheme({
5
+ palette,
6
+ typography,
7
+ });
8
+ export default theme;
@@ -0,0 +1,3 @@
1
+ import { PaletteOptions } from '@mui/material/styles';
2
+ declare const palette: PaletteOptions;
3
+ export default palette;
@@ -0,0 +1,36 @@
1
+ const palette = {
2
+ primary: {
3
+ main: '#404759',
4
+ contrastText: '#ffffff',
5
+ },
6
+ secondary: {
7
+ main: '#497edf',
8
+ contrastText: '#ffffff',
9
+ },
10
+ success: {
11
+ main: '#75bf25',
12
+ contrastText: '#ffffff',
13
+ },
14
+ warning: {
15
+ main: '#f17829',
16
+ contrastText: '#ffffff',
17
+ },
18
+ error: {
19
+ main: '#e53c05',
20
+ contrastText: '#ffffff',
21
+ },
22
+ // action: {
23
+ // active: 'rgba(0,0,0,54)',
24
+ // hover: 'rgba(0,0,0,0.04)',
25
+ // hoverOpacity: 0.04,
26
+ // selected: 'rgba(0,0,0,0.08)',
27
+ // selectedOpacity: 0.08,
28
+ // disabled: 'rgba(26, 32, 44, 0.4)',
29
+ // disabledBackground: 'rgba(26, 32, 44, 0.12)',
30
+ // disabledOpacity: 0.4,
31
+ // focus: 'rgba(0,0,0,0.12)',
32
+ // focusOpacity: 0.12,
33
+ // activatedOpacity: 0.12,
34
+ // },
35
+ };
36
+ export default palette;
@@ -0,0 +1,3 @@
1
+ import { TypographyVariantsOptions } from '@mui/material/styles';
2
+ declare const typography: TypographyVariantsOptions;
3
+ export default typography;
@@ -0,0 +1,4 @@
1
+ const typography = {
2
+ fontFamily: "'Mulish'",
3
+ };
4
+ export default typography;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zesty-io/material",
3
- "version": "0.0.1-0",
3
+ "version": "0.0.2-0",
4
4
  "description": "Contains custom components which are in addition to the @mui design-system",
5
5
  "author": "Zesty.io",
6
6
  "license": "MIT",
@@ -17,8 +17,11 @@
17
17
  "types": "es/index.d.ts",
18
18
  "scripts": {
19
19
  "build": "tsc",
20
- "release": "npm publish --access public",
21
- "release:alpha": "npm publish --access public --tag alpha"
20
+ "prerelease": "npm test",
21
+ "release": "npm run build && npm publish --access public",
22
+ "release:alpha": "npm run build && npm publish --access public --tag alpha",
23
+ "postrelease": "rm -rf /es",
24
+ "test": "echo 'add tests'"
22
25
  },
23
26
  "dependencies": {
24
27
  "@emotion/react": "^11.9.0",