@egovernments/digit-ui-components-css 0.2.0-beta.7 → 0.2.0-beta.8

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.2.0-beta.7",
3
+ "version": "0.2.0-beta.8",
4
4
  "license": "MIT",
5
5
  "main": "dist/index.css",
6
6
  "author": "Jagankumar <jagan.kumar@egovernments.org>",
@@ -499,6 +499,6 @@
499
499
  }
500
500
  .titleStyle{
501
501
  color: theme(digitv2.lightTheme.primary-2);
502
- font-weight: 700;
503
- font-size: 2.5rem;
502
+ font-weight: theme(digitv2.fontWeight.bold);
503
+ font-size: theme(digitv2.spacers.spacer10);
504
504
  }
@@ -217,4 +217,29 @@
217
217
  }
218
218
  color: theme(digitv2.lightTheme.text-secondary);
219
219
 
220
+ }
221
+
222
+ .sectionSubHeaderStyle{
223
+ @extend .typography.body-s;
224
+ @apply flex justify-between items-baseline;
225
+ color: theme(digitv2.lightTheme.text-secondary);
226
+ font-family: theme(digitv2.fontFamily.sans);
227
+ font-style: theme(digitv2.fontStyle.normal);
228
+ font-weight: theme(digitv2.fontWeight.regular);
229
+ line-height: theme(digitv2.lineHeight.lineheight2);
230
+
231
+ @media (max-aspect-ratio: 9/16) {
232
+ /* Media query for mobile */
233
+ font-size: theme(digitv2.fontSize.body-s.mobile);
234
+ }
235
+
236
+ @media (min-aspect-ratio: 9/16) and (max-aspect-ratio: 3/4) {
237
+ /* Media query for tablets */
238
+ font-size: theme(digitv2.fontSize.body-s.tablet);
239
+ }
240
+
241
+ @media (min-aspect-ratio: 3/4) {
242
+ /* Media query for desktop */
243
+ font-size: theme(digitv2.fontSize.body-s.desktop);
244
+ }
220
245
  }