@gem-sdk/styles 19.1.0-dev.17 → 19.1.0-staging.27

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": "@gem-sdk/styles",
3
- "version": "19.1.0-dev.17",
3
+ "version": "19.1.0-staging.27",
4
4
  "description": "Largely classless, blazing fast and super light-weight. Bonsai, a base CSS framework for modern browsers",
5
5
  "license": "MIT",
6
6
  "main": "src/index.js",
@@ -12,7 +12,7 @@ const customVariants = plugin(function ({ addVariant }) {
12
12
  // current Safari (measured on Safari macOS and iOS). Its call sites are silently inert. Use
13
13
  // `webkit` below for anything new, and migrate the rest under its own ticket - switching this
14
14
  // predicate in place would turn four dormant rules back on at once with no QA behind them.
15
- addVariant('safari', '@media not all and (min-resolution: 0.001dpcm)')
15
+ addVariant('safari', '@media not all and (min-resolution: 0.001dpcm)');
16
16
  // WebKit only, and unlike `safari` this one is live: measured true on Safari macOS and iOS, false
17
17
  // on Chrome macOS and Windows. Both halves are needed - -webkit-appearance alone also matches
18
18
  // Blink, and -apple-system-body alone matches any engine on an Apple platform.
@@ -67,21 +67,11 @@ const typographyPlugin = plugin(
67
67
  return {
68
68
  ...acc,
69
69
  [`.g-${name}`]: {
70
- fontSize: `var(--g-${getShortName(`typography-${name}-fontSize`)}) ${
71
- isImportant ? '!important' : ''
72
- }`,
73
- fontFamily: `var(--g-${getShortName(`typography-${name}-fontFamily`)}) ${
74
- isImportant ? '!important' : ''
75
- }`,
76
- fontWeight: `var(--g-${getShortName(`typography-${name}-fontWeight`)}) ${
77
- isImportant ? '!important' : ''
78
- }`,
79
- fontStyle: `var(--g-${getShortName(`typography-${name}-fontStyle`)}) ${
80
- isImportant ? '!important' : ''
81
- }`,
82
- lineHeight: `var(--g-${getShortName(`typography-${name}-lineHeight`)}) ${
83
- isImportant ? '!important' : ''
84
- }`,
70
+ fontSize: `var(--g-${getShortName(`typography-${name}-fontSize`)}) ${isImportant ? '!important' : ''}`,
71
+ fontFamily: `var(--g-${getShortName(`typography-${name}-fontFamily`)}) ${isImportant ? '!important' : ''}`,
72
+ fontWeight: `var(--g-${getShortName(`typography-${name}-fontWeight`)}) ${isImportant ? '!important' : ''}`,
73
+ fontStyle: `var(--g-${getShortName(`typography-${name}-fontStyle`)}) ${isImportant ? '!important' : ''}`,
74
+ lineHeight: `var(--g-${getShortName(`typography-${name}-lineHeight`)}) ${isImportant ? '!important' : ''}`,
85
75
  letterSpacing: `var(--g-${getShortName(`typography-${name}-letterSpacing`)}) ${
86
76
  isImportant ? '!important' : ''
87
77
  }`,
package/types/index.d.ts CHANGED
@@ -6,4 +6,4 @@ declare const preset: Config;
6
6
  declare const properties: Options;
7
7
  export { preset, properties };
8
8
 
9
- export default preset;
9
+ export default preset;