@sinco/react 1.0.1-rc.3 → 1.0.1-rc.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. package/README.md +24 -18
  2. package/index.js +2 -2
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -1,39 +1,45 @@
1
1
  # @sinco/react
2
2
 
3
- Paquete de sinco react
3
+ Paquete de sinco react
4
4
 
5
5
  ## Cómo empezar
6
+
6
7
  npm i @sinco/react
7
8
 
8
9
  ## Pre-requisitos
9
10
 
10
- React en la versión 18
11
- Instalar mui react
11
+ React en la versión 18 Instalar mui react
12
12
  https://mui.com/material-ui/getting-started/installation/
13
13
 
14
-
15
14
  ## Fuentes web de Google
16
- Para instalar la fuente en su proyecto usando la CDN de Google Web Fonts, agregue el siguiente fragmento de código dentro de la <head />etiqueta de su proyecto:
17
15
 
18
- <link
16
+ Para instalar la fuente en su proyecto usando la CDN de Google Web Fonts, agregue el siguiente fragmento de código dentro de la `<head />`etiqueta de su proyecto:
17
+
18
+ `<link
19
19
  rel="stylesheet"
20
20
  href="https://fonts.googleapis.com/css2?family=Nunito:wght@300;400;600;700&family=Roboto:wght@300;400;500;700&display=swap"
21
- />
22
- Para usar el Iconcomponent de fuente, primero debe agregar la fuente Material Icons .
23
- <link
24
- rel="stylesheet"
25
- href="https://fonts.googleapis.com/icon?family=Material+Icons"
26
- />
21
+ />`
27
22
 
28
- ## Como utilizar
29
- Para poder utilizar el tema personalizado de sinco react, solo debes colocar la variable "SincoTheme" en el themeProvider
30
- <ThemeProvider theme={SincoTheme}>
23
+ O ya sea instalando las fuentes [roboto](https://www.npmjs.com/package/@fontsource/roboto) y [nunito](https://www.npmjs.com/package/@fontsource/nunito) del npm, importantando en su archivo `index.tsx` los fontsource que son:
31
24
 
32
- ## Más información
25
+ ### Roboto
33
26
 
34
- Para tener más información de como utilizar react mui
27
+ import '@fontsource/roboto/400.css';
28
+ import '@fontsource/roboto/500.css';
35
29
 
36
- https://mui.com/material-ui/getting-started/overview/
30
+ ### Nunito
37
31
 
32
+ import '@fontsource/roboto/400.css';
33
+ import '@fontsource/roboto/500.css';
38
34
 
35
+ Para usar el `Iconcomponent` de fuente, primero debe agregar la [fuente](https://mui.com/material-ui/getting-started/installation/#icons) Material Icons.
39
36
 
37
+ ## Como utilizar
38
+
39
+ Para poder utilizar el tema personalizado de sinco react, solo debes colocar la variable "SincoTheme" en el themeProvider
40
+ `<ThemeProvider theme={SincoTheme}>` [theme](https://mui.com/material-ui/customization/theming/#themeprovider)
41
+
42
+ ## Más información
43
+
44
+ Para tener más información de como utilizar react mui
45
+ https://mui.com/material-ui/getting-started/overview/
package/index.js CHANGED
@@ -7914,8 +7914,8 @@ const breakpoints = createBreakpoints({
7914
7914
  const mixins = {
7915
7915
  toolbar: {
7916
7916
  minHeight: 48,
7917
- [breakpoints.down('sm')]: {
7918
- minHeight: 48
7917
+ [breakpoints.down('md')]: {
7918
+ minHeight: 52
7919
7919
  }
7920
7920
  }
7921
7921
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sinco/react",
3
- "version": "1.0.1-rc.3",
3
+ "version": "1.0.1-rc.5",
4
4
  "description": "package for the configuration of mui react sinco",
5
5
  "private": false,
6
6
  "license": "MIT",