@frontile/theme 0.18.11 → 0.18.12

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": "@frontile/theme",
3
- "version": "0.18.11",
3
+ "version": "0.18.12",
4
4
  "description": "Component Library for Ember Octane apps: Theme",
5
5
  "keywords": [
6
6
  "ember-addon",
@@ -119,5 +119,5 @@
119
119
  "./public/fonts/source-code-pro-variable.woff2": "/@frontile/theme/fonts/source-code-pro-variable.woff2"
120
120
  }
121
121
  },
122
- "gitHead": "8917634ae5457b8fca832a471e439418008752d9"
122
+ "gitHead": "183a78d2b9caf3eeaf5c485fbb3089439d91ff66"
123
123
  }
@@ -9,15 +9,20 @@
9
9
  --size-icon-pico: var(--font-size-6); /* Icon size for pico scale. */
10
10
  --size-icon-nano: var(--font-size-7); /* Icon size for nano scale. */
11
11
  --size-icon-micro: var(--font-size-8); /* Icon size for micro scale. */
12
- --size-icon-3xs: var(--font-size-9); /* Icon size for 3xs scale. */
13
- --size-icon-2xs: var(--font-size-10); /* Icon size for 2xs scale. */
14
- --size-icon-xs: var(--font-size-12); /* Icon size for xs scale. */
15
- --size-icon-sm: var(--font-size-14); /* Icon size for sm scale. */
16
- --size-icon-md: var(--font-size-16); /* Icon size for md scale. */
17
- --size-icon-lg: var(--font-size-18); /* Icon size for lg scale. */
18
- --size-icon-xl: var(--font-size-21); /* Icon size for xl scale. */
19
- --size-icon-2xl: var(--font-size-23); /* Icon size for 2xl scale. */
20
- --size-icon-3xl: var(--font-size-26); /* Icon size for 3xl scale. */
12
+ /* The ten steps below follow the label ramp Button, Badge and Chip share
13
+ (`--text-strong-*`), so an icon at a step is the same size as text at that
14
+ step. They reference the ramp rather than copy a font-size, so they follow
15
+ it if it is retuned. */
16
+ --size-icon-4xs: var(--text-strong-4xs); /* Icon size for 4xs scale. */
17
+ --size-icon-3xs: var(--text-strong-3xs); /* Icon size for 3xs scale. */
18
+ --size-icon-2xs: var(--text-strong-2xs); /* Icon size for 2xs scale. */
19
+ --size-icon-xs: var(--text-strong-xs); /* Icon size for xs scale. */
20
+ --size-icon-sm: var(--text-strong-sm); /* Icon size for sm scale. */
21
+ --size-icon-md: var(--text-strong-md); /* Icon size for md scale. */
22
+ --size-icon-lg: var(--text-strong-lg); /* Icon size for lg scale. */
23
+ --size-icon-xl: var(--text-strong-xl); /* Icon size for xl scale. */
24
+ --size-icon-2xl: var(--text-strong-2xl); /* Icon size for 2xl scale. */
25
+ --size-icon-3xl: var(--text-strong-3xl); /* Icon size for 3xl scale. */
21
26
  --size-icon-kilo: var(--font-size-29); /* Icon size for kilo scale. */
22
27
  --size-icon-mega: var(--font-size-31); /* Icon size for mega scale. */
23
28