monica-alexandria 3.4.3 → 3.4.4

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/dist/index.es.js CHANGED
@@ -255,16 +255,16 @@ import e,{useState as t,createContext as n,useContext as r,useEffect as a}from"r
255
255
  display: flex;
256
256
  align-items: center;
257
257
  justify-content: center;
258
- background: ${e=>"dark"===e.theme?"var(--gloomLight)":"var(--greyLight)"};
258
+ background: ${e=>e.theme.low};
259
259
 
260
260
  figure{
261
- background: ${e=>"dark"===e.theme?"var(--dark)":"var(--white)"};
261
+ background: ${e=>e.theme.background};
262
262
  border-radius: 50%;
263
263
  padding: 3rem;
264
264
 
265
265
  svg{
266
266
  width: 5rem;
267
- fill: ${e=>"dark"===e.theme?"var(--gloomDark)":"var(--greyDark)"};
267
+ fill: ${e=>e.theme.low};
268
268
  }
269
269
  }
270
270
  }
@@ -1504,6 +1504,14 @@ import e,{useState as t,createContext as n,useContext as r,useEffect as a}from"r
1504
1504
  grid-gap: 2rem;
1505
1505
  `,On=o(jn)`
1506
1506
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
1507
+
1508
+ @media ${N.md} {
1509
+ grid-template-columns: 1fr 1fr 1fr;
1510
+ }
1511
+
1512
+ @media ${N.sm} {
1513
+ grid-template-columns: 1fr;
1514
+ }
1507
1515
  `,qn=o(jn)`
1508
1516
  grid-template-columns: 1fr 1fr;
1509
1517
  `,Wn=o(jn)`
package/dist/index.js CHANGED
@@ -255,16 +255,16 @@
255
255
  display: flex;
256
256
  align-items: center;
257
257
  justify-content: center;
258
- background: ${e=>"dark"===e.theme?"var(--gloomLight)":"var(--greyLight)"};
258
+ background: ${e=>e.theme.low};
259
259
 
260
260
  figure{
261
- background: ${e=>"dark"===e.theme?"var(--dark)":"var(--white)"};
261
+ background: ${e=>e.theme.background};
262
262
  border-radius: 50%;
263
263
  padding: 3rem;
264
264
 
265
265
  svg{
266
266
  width: 5rem;
267
- fill: ${e=>"dark"===e.theme?"var(--gloomDark)":"var(--greyDark)"};
267
+ fill: ${e=>e.theme.low};
268
268
  }
269
269
  }
270
270
  }
@@ -1504,6 +1504,14 @@
1504
1504
  grid-gap: 2rem;
1505
1505
  `,_a=l.default(ka)`
1506
1506
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
1507
+
1508
+ @media ${b.md} {
1509
+ grid-template-columns: 1fr 1fr 1fr;
1510
+ }
1511
+
1512
+ @media ${b.sm} {
1513
+ grid-template-columns: 1fr;
1514
+ }
1507
1515
  `,wa=l.default(ka)`
1508
1516
  grid-template-columns: 1fr 1fr;
1509
1517
  `,Ma=l.default(ka)`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "monica-alexandria",
3
- "version": "3.4.3",
3
+ "version": "3.4.4",
4
4
  "description": "A styled-components styles library for Doitforme platorm and universal tweeks to create your own new styled library for your project",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.es.js",
@@ -12,16 +12,16 @@ const OnClickCard = styled(Card)`
12
12
  display: flex;
13
13
  align-items: center;
14
14
  justify-content: center;
15
- background: ${p => p.theme === 'dark' ? 'var(--gloomLight)' : 'var(--greyLight)'};
15
+ background: ${p => p.theme.low};
16
16
 
17
17
  figure{
18
- background: ${p => p.theme === 'dark' ? 'var(--dark)' : 'var(--white)'};
18
+ background: ${p => p.theme.background};
19
19
  border-radius: 50%;
20
20
  padding: 3rem;
21
21
 
22
22
  svg{
23
23
  width: 5rem;
24
- fill: ${p => p.theme === 'dark' ? 'var(--gloomDark)' : 'var(--greyDark)'};
24
+ fill: ${p => p.theme.low};
25
25
  }
26
26
  }
27
27
  }
@@ -1,4 +1,5 @@
1
1
  import styled from "styled-components";
2
+ import { device } from "../helpers/MediaQ";
2
3
 
3
4
  const Cards = styled.div`
4
5
  display: grid;
@@ -7,6 +8,14 @@ const Cards = styled.div`
7
8
 
8
9
  export const CardsTools = styled(Cards)`
9
10
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
11
+
12
+ @media ${device.md} {
13
+ grid-template-columns: 1fr 1fr 1fr;
14
+ }
15
+
16
+ @media ${device.sm} {
17
+ grid-template-columns: 1fr;
18
+ }
10
19
  `
11
20
 
12
21
  export const CardsForty = styled(Cards)`