@rogieking/figui3 1.0.68 → 1.0.69

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.
Files changed (3) hide show
  1. package/example.html +2 -0
  2. package/fig.css +16 -1
  3. package/package.json +1 -1
package/example.html CHANGED
@@ -16,6 +16,8 @@
16
16
  <fig-header>
17
17
  <h3>UI3 Components</h3>
18
18
  </fig-header>
19
+ <h2>Heading 2</h2>
20
+ <h3>Heading 3</h3>
19
21
  <br />
20
22
  <details>
21
23
  <summary>Details</summary>
package/fig.css CHANGED
@@ -398,6 +398,7 @@
398
398
  --bg-selected-active: #e5f4ff;
399
399
  --bg-tooltip: #1e1e1e;
400
400
  --body-medium-fontSize: 0.6875rem;
401
+ --body-large-fontSize: 0.8125rem;
401
402
  --figma-color-border-selected: #0d99ff;
402
403
  --spacer-1: 0.25rem;
403
404
  --spacer-2: 0.5rem;
@@ -408,7 +409,10 @@
408
409
  --color-tooltip: #ffffff;
409
410
  --radius-medium: 0.3125rem;
410
411
  --radius-large: 0.8125rem;
412
+ --body-letter-spacing: 0.055px;
411
413
  --body-medium-strong-fontWeight: 550;
414
+ --body-large-strong-fontWeight: 500;
415
+ --body-medium-fontWeight: 450;
412
416
  --handle-shadow: 0px 0 0 0.75px rgba(0, 0, 0, 0.1),
413
417
  0px 1px 3px 0px rgba(0, 0, 0, 0.05), 0px 3px 8px 0px rgba(0, 0, 0, 0.05),
414
418
  0px 0px 0.5px 0px rgba(0, 0, 0, 0.1);
@@ -461,7 +465,8 @@ html {
461
465
  segoe ui, helvetica neue, helvetica, Cantarell, Ubuntu, roboto, noto, arial,
462
466
  sans-serif;
463
467
  font-size: 16px;
464
- font-weight: 500;
468
+ font-weight: var(--body-medium-fontWeight);
469
+ letter-spacing: var(--body-letter-spacing);
465
470
  background-color: var(--figma-color-bg);
466
471
  }
467
472
 
@@ -473,6 +478,16 @@ html {
473
478
 
474
479
  body {
475
480
  font-size: var(--body-medium-fontSize);
481
+ letter-spacing: var(--body-letter-spacing);
482
+ }
483
+
484
+ h1,h2{
485
+ font-weight: var(--body-large-strong-fontWeight);
486
+ font-size: var(--body-large-fontSize);
487
+ }
488
+ h3{
489
+ font-weight: var(--body-medium-strong-fontWeight);
490
+ font-size: var(--body-medium-fontSize);
476
491
  }
477
492
 
478
493
  /* helper classes/defaults */
package/package.json CHANGED
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "name": "@rogieking/figui3",
3
- "version": "1.0.68"
3
+ "version": "1.0.69"
4
4
  }