@egovernments/digit-ui-components-css 0.0.2-beta.16 → 0.0.2-beta.19

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@egovernments/digit-ui-components-css",
3
- "version": "0.0.2-beta.16",
3
+ "version": "0.0.2-beta.19",
4
4
  "license": "MIT",
5
5
  "main": "dist/index.css",
6
6
  "author": "Jagankumar <jagan.kumar@egovernments.org>",
@@ -20,7 +20,7 @@
20
20
  "deploy": "gulp && cp -R svg example && cp -R img example && gh-pages -d example"
21
21
  },
22
22
  "browserslist": [
23
- "> 3%",
23
+ "> 3%" ,
24
24
  "last 2 versions"
25
25
  ],
26
26
  "style": "./dist/index.css",
@@ -7,15 +7,35 @@
7
7
  word-break: break-word;
8
8
  cursor: default;
9
9
 
10
- .digit-error-icon{
11
- @apply flex items-center;
12
- width: theme(digitv2.spacers.spacer4);
13
- height: theme(digitv2.lineHeight.lineheight2);
10
+ .digit-error-icon {
11
+ @apply flex items-center;
12
+ width: theme(digitv2.spacers.spacer4);
13
+ height: theme(digitv2.lineHeight.lineheight2);
14
14
  }
15
+
15
16
  .digit-error-message {
16
- @extend .typography.body-s;
17
- @apply w-full;
18
- margin: theme(digitv2.spacers.spacer0);
19
- color: theme(digitv2.lightTheme.alert-error)
17
+ @apply w-full;
18
+ font-family: theme(digitv2.fontFamily.sans);
19
+ font-style: theme(digitv2.fontStyle.normal);
20
+ font-weight: theme(digitv2.fontWeight.regular);
21
+ line-height: theme(digitv2.lineHeight.lineheight2);
22
+
23
+ @media (max-aspect-ratio: 9/16) {
24
+ /* Media query for mobile */
25
+ font-size: theme(digitv2.fontSize.body-s.mobile);
26
+ }
27
+
28
+ @media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
29
+ /* Media query for tablets */
30
+ font-size: theme(digitv2.fontSize.body-s.tablet);
31
+ }
32
+
33
+ @media (min-aspect-ratio: 3/4) {
34
+ /* Media query for desktop */
35
+ font-size: theme(digitv2.fontSize.body-s.desktop);
36
+ }
37
+
38
+ margin: theme(digitv2.spacers.spacer0);
39
+ color: theme(digitv2.lightTheme.alert-error)
20
40
  }
21
41
  }
@@ -13,6 +13,11 @@
13
13
  border-radius: theme(digitv2.spacers.spacer1);
14
14
  background-color: theme(digitv2.lightTheme.paper-secondary);
15
15
  width: fit-content;
16
+
17
+ @media (max-width: 30rem) {
18
+ justify-content: center;
19
+ }
20
+
16
21
  }
17
22
 
18
23
  .selection-card.error {