@volue/design-typography 0.2.4-next.1 → 0.3.0-next.0

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.
@@ -7,19 +7,19 @@ module.exports = {
7
7
  },
8
8
  "style": {
9
9
  "body": {
10
- "base": {
10
+ "epsilon": {
11
11
  "fontFamily": "'Source Sans Pro', system-ui, -apple-system, 'Segoe UI'",
12
12
  "fontSize": "16px",
13
13
  "lineHeight": "1.5rem",
14
14
  "fontWeight": "400"
15
15
  },
16
- "small": {
16
+ "zeta": {
17
17
  "fontFamily": "'Source Sans Pro', system-ui, -apple-system, 'Segoe UI'",
18
18
  "fontSize": "14px",
19
19
  "lineHeight": "1.25rem",
20
20
  "fontWeight": "400"
21
21
  },
22
- "xSmall": {
22
+ "eta": {
23
23
  "fontFamily": "'Source Sans Pro', system-ui, -apple-system, 'Segoe UI'",
24
24
  "fontSize": "12px",
25
25
  "lineHeight": "1.125rem",
@@ -80,8 +80,7 @@ module.exports = {
80
80
  "_fontScaleRatio": "1.3333",
81
81
  "font": {
82
82
  "base": "16px",
83
- "xSmall": "12px",
84
- "small": "14px",
83
+ "eta": "12px",
85
84
  "zeta": "14px",
86
85
  "epsilon": "16px",
87
86
  "delta": "19px",
@@ -1,18 +1,18 @@
1
1
  @value font-family-base: 'Source Sans Pro', system-ui, -apple-system, 'Segoe UI';
2
2
  @value font-family-display: 'FK Display', 'Source Sans Pro', system-ui, -apple-system, 'Segoe UI', sans-serif;
3
3
  @value font-family-mono: ui-monospace, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace;
4
- @value font-style-body-base-font-family: 'Source Sans Pro', system-ui, -apple-system, 'Segoe UI';
5
- @value font-style-body-base-font-size: 16px;
6
- @value font-style-body-base-line-height: 1.5rem;
7
- @value font-style-body-base-font-weight: 400;
8
- @value font-style-body-small-font-family: 'Source Sans Pro', system-ui, -apple-system, 'Segoe UI';
9
- @value font-style-body-small-font-size: 14px;
10
- @value font-style-body-small-line-height: 1.25rem;
11
- @value font-style-body-small-font-weight: 400;
12
- @value font-style-body-x-small-font-family: 'Source Sans Pro', system-ui, -apple-system, 'Segoe UI';
13
- @value font-style-body-x-small-font-size: 12px;
14
- @value font-style-body-x-small-line-height: 1.125rem;
15
- @value font-style-body-x-small-font-weight: 400;
4
+ @value font-style-body-epsilon-font-family: 'Source Sans Pro', system-ui, -apple-system, 'Segoe UI';
5
+ @value font-style-body-epsilon-font-size: 16px;
6
+ @value font-style-body-epsilon-line-height: 1.5rem;
7
+ @value font-style-body-epsilon-font-weight: 400;
8
+ @value font-style-body-zeta-font-family: 'Source Sans Pro', system-ui, -apple-system, 'Segoe UI';
9
+ @value font-style-body-zeta-font-size: 14px;
10
+ @value font-style-body-zeta-line-height: 1.25rem;
11
+ @value font-style-body-zeta-font-weight: 400;
12
+ @value font-style-body-eta-font-family: 'Source Sans Pro', system-ui, -apple-system, 'Segoe UI';
13
+ @value font-style-body-eta-font-size: 12px;
14
+ @value font-style-body-eta-line-height: 1.125rem;
15
+ @value font-style-body-eta-font-weight: 400;
16
16
  @value font-style-headlines-giga-font-family: 'FK Display', 'Source Sans Pro', system-ui, -apple-system, 'Segoe UI', sans-serif;
17
17
  @value font-style-headlines-giga-font-size: 51px;
18
18
  @value font-style-headlines-giga-line-height: 1.411765;
@@ -45,9 +45,8 @@
45
45
  @value font-weight-semibold: 600;
46
46
  @value size-font-scale-ratio: 1.3333; /* Modular scale ratio */
47
47
  @value size-font-base: 16px;
48
- @value size-font-x-small: 12px; /* 12 */
49
- @value size-font-small: 14px; /* 14 */
50
- @value size-font-zeta: 14px;
48
+ @value size-font-eta: 12px; /* 12 */
49
+ @value size-font-zeta: 14px; /* 14 */
51
50
  @value size-font-epsilon: 16px; /* 16 */
52
51
  @value size-font-delta: 19px; /* 19 */
53
52
  @value size-font-gamma: 21px; /* 21 */
@@ -1,24 +1,24 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Wed, 20 Dec 2023 09:09:13 GMT
3
+ * Generated on Tue, 09 Jan 2024 10:55:07 GMT
4
4
  */
5
5
 
6
6
  :root {
7
7
  --font-family-base: 'Source Sans Pro', system-ui, -apple-system, 'Segoe UI';
8
8
  --font-family-display: 'FK Display', 'Source Sans Pro', system-ui, -apple-system, 'Segoe UI', sans-serif;
9
9
  --font-family-mono: ui-monospace, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace;
10
- --font-style-body-base-font-family: 'Source Sans Pro', system-ui, -apple-system, 'Segoe UI';
11
- --font-style-body-base-font-size: 16px;
12
- --font-style-body-base-line-height: 1.5rem;
13
- --font-style-body-base-font-weight: 400;
14
- --font-style-body-small-font-family: 'Source Sans Pro', system-ui, -apple-system, 'Segoe UI';
15
- --font-style-body-small-font-size: 14px;
16
- --font-style-body-small-line-height: 1.25rem;
17
- --font-style-body-small-font-weight: 400;
18
- --font-style-body-x-small-font-family: 'Source Sans Pro', system-ui, -apple-system, 'Segoe UI';
19
- --font-style-body-x-small-font-size: 12px;
20
- --font-style-body-x-small-line-height: 1.125rem;
21
- --font-style-body-x-small-font-weight: 400;
10
+ --font-style-body-epsilon-font-family: 'Source Sans Pro', system-ui, -apple-system, 'Segoe UI';
11
+ --font-style-body-epsilon-font-size: 16px;
12
+ --font-style-body-epsilon-line-height: 1.5rem;
13
+ --font-style-body-epsilon-font-weight: 400;
14
+ --font-style-body-zeta-font-family: 'Source Sans Pro', system-ui, -apple-system, 'Segoe UI';
15
+ --font-style-body-zeta-font-size: 14px;
16
+ --font-style-body-zeta-line-height: 1.25rem;
17
+ --font-style-body-zeta-font-weight: 400;
18
+ --font-style-body-eta-font-family: 'Source Sans Pro', system-ui, -apple-system, 'Segoe UI';
19
+ --font-style-body-eta-font-size: 12px;
20
+ --font-style-body-eta-line-height: 1.125rem;
21
+ --font-style-body-eta-font-weight: 400;
22
22
  --font-style-headlines-giga-font-family: 'FK Display', 'Source Sans Pro', system-ui, -apple-system, 'Segoe UI', sans-serif;
23
23
  --font-style-headlines-giga-font-size: 51px;
24
24
  --font-style-headlines-giga-line-height: 1.411765;
@@ -51,9 +51,8 @@
51
51
  --font-weight-semibold: 600;
52
52
  --size-font-scale-ratio: 1.3333; /* Modular scale ratio */
53
53
  --size-font-base: 16px;
54
- --size-font-x-small: 12px; /* 12 */
55
- --size-font-small: 14px; /* 14 */
56
- --size-font-zeta: 14px;
54
+ --size-font-eta: 12px; /* 12 */
55
+ --size-font-zeta: 14px; /* 14 */
57
56
  --size-font-epsilon: 16px; /* 16 */
58
57
  --size-font-delta: 19px; /* 19 */
59
58
  --size-font-gamma: 21px; /* 21 */
package/dist/index.d.ts CHANGED
@@ -8,19 +8,19 @@ declare const tokens: {
8
8
  },
9
9
  "style": {
10
10
  "body": {
11
- "base": {
11
+ "epsilon": {
12
12
  "fontFamily": "'Source Sans Pro', system-ui, -apple-system, 'Segoe UI'",
13
13
  "fontSize": "16px",
14
14
  "lineHeight": "1.5rem",
15
15
  "fontWeight": "400"
16
16
  },
17
- "small": {
17
+ "zeta": {
18
18
  "fontFamily": "'Source Sans Pro', system-ui, -apple-system, 'Segoe UI'",
19
19
  "fontSize": "14px",
20
20
  "lineHeight": "1.25rem",
21
21
  "fontWeight": "400"
22
22
  },
23
- "xSmall": {
23
+ "eta": {
24
24
  "fontFamily": "'Source Sans Pro', system-ui, -apple-system, 'Segoe UI'",
25
25
  "fontSize": "12px",
26
26
  "lineHeight": "1.125rem",
@@ -81,8 +81,7 @@ declare const tokens: {
81
81
  "_fontScaleRatio": "1.3333",
82
82
  "font": {
83
83
  "base": "16px",
84
- "xSmall": "12px",
85
- "small": "14px",
84
+ "eta": "12px",
86
85
  "zeta": "14px",
87
86
  "epsilon": "16px",
88
87
  "delta": "19px",
package/dist/index.json CHANGED
@@ -2,18 +2,18 @@
2
2
  "FONT_FAMILY_BASE": "'Source Sans Pro', system-ui, -apple-system, 'Segoe UI'",
3
3
  "FONT_FAMILY_DISPLAY": "'FK Display', 'Source Sans Pro', system-ui, -apple-system, 'Segoe UI', sans-serif",
4
4
  "FONT_FAMILY_MONO": "ui-monospace, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace",
5
- "FONT_STYLE_BODY_BASE_FONT_FAMILY": "'Source Sans Pro', system-ui, -apple-system, 'Segoe UI'",
6
- "FONT_STYLE_BODY_BASE_FONT_SIZE": "16px",
7
- "FONT_STYLE_BODY_BASE_LINE_HEIGHT": "1.5rem",
8
- "FONT_STYLE_BODY_BASE_FONT_WEIGHT": "400",
9
- "FONT_STYLE_BODY_SMALL_FONT_FAMILY": "'Source Sans Pro', system-ui, -apple-system, 'Segoe UI'",
10
- "FONT_STYLE_BODY_SMALL_FONT_SIZE": "14px",
11
- "FONT_STYLE_BODY_SMALL_LINE_HEIGHT": "1.25rem",
12
- "FONT_STYLE_BODY_SMALL_FONT_WEIGHT": "400",
13
- "FONT_STYLE_BODY_X_SMALL_FONT_FAMILY": "'Source Sans Pro', system-ui, -apple-system, 'Segoe UI'",
14
- "FONT_STYLE_BODY_X_SMALL_FONT_SIZE": "12px",
15
- "FONT_STYLE_BODY_X_SMALL_LINE_HEIGHT": "1.125rem",
16
- "FONT_STYLE_BODY_X_SMALL_FONT_WEIGHT": "400",
5
+ "FONT_STYLE_BODY_EPSILON_FONT_FAMILY": "'Source Sans Pro', system-ui, -apple-system, 'Segoe UI'",
6
+ "FONT_STYLE_BODY_EPSILON_FONT_SIZE": "16px",
7
+ "FONT_STYLE_BODY_EPSILON_LINE_HEIGHT": "1.5rem",
8
+ "FONT_STYLE_BODY_EPSILON_FONT_WEIGHT": "400",
9
+ "FONT_STYLE_BODY_ZETA_FONT_FAMILY": "'Source Sans Pro', system-ui, -apple-system, 'Segoe UI'",
10
+ "FONT_STYLE_BODY_ZETA_FONT_SIZE": "14px",
11
+ "FONT_STYLE_BODY_ZETA_LINE_HEIGHT": "1.25rem",
12
+ "FONT_STYLE_BODY_ZETA_FONT_WEIGHT": "400",
13
+ "FONT_STYLE_BODY_ETA_FONT_FAMILY": "'Source Sans Pro', system-ui, -apple-system, 'Segoe UI'",
14
+ "FONT_STYLE_BODY_ETA_FONT_SIZE": "12px",
15
+ "FONT_STYLE_BODY_ETA_LINE_HEIGHT": "1.125rem",
16
+ "FONT_STYLE_BODY_ETA_FONT_WEIGHT": "400",
17
17
  "FONT_STYLE_HEADLINES_GIGA_FONT_FAMILY": "'FK Display', 'Source Sans Pro', system-ui, -apple-system, 'Segoe UI', sans-serif",
18
18
  "FONT_STYLE_HEADLINES_GIGA_FONT_SIZE": "51px",
19
19
  "FONT_STYLE_HEADLINES_GIGA_LINE_HEIGHT": "1.411765",
@@ -46,8 +46,7 @@
46
46
  "FONT_WEIGHT_SEMIBOLD": "600",
47
47
  "SIZE_FONT_SCALE_RATIO": "1.3333",
48
48
  "SIZE_FONT_BASE": "16px",
49
- "SIZE_FONT_X_SMALL": "12px",
50
- "SIZE_FONT_SMALL": "14px",
49
+ "SIZE_FONT_ETA": "12px",
51
50
  "SIZE_FONT_ZETA": "14px",
52
51
  "SIZE_FONT_EPSILON": "16px",
53
52
  "SIZE_FONT_DELTA": "19px",
@@ -7,19 +7,19 @@ export default {
7
7
  },
8
8
  "style": {
9
9
  "body": {
10
- "base": {
10
+ "epsilon": {
11
11
  "fontFamily": "'Source Sans Pro', system-ui, -apple-system, 'Segoe UI'",
12
12
  "fontSize": "16px",
13
13
  "lineHeight": "1.5rem",
14
14
  "fontWeight": "400"
15
15
  },
16
- "small": {
16
+ "zeta": {
17
17
  "fontFamily": "'Source Sans Pro', system-ui, -apple-system, 'Segoe UI'",
18
18
  "fontSize": "14px",
19
19
  "lineHeight": "1.25rem",
20
20
  "fontWeight": "400"
21
21
  },
22
- "xSmall": {
22
+ "eta": {
23
23
  "fontFamily": "'Source Sans Pro', system-ui, -apple-system, 'Segoe UI'",
24
24
  "fontSize": "12px",
25
25
  "lineHeight": "1.125rem",
@@ -80,8 +80,7 @@ export default {
80
80
  "_fontScaleRatio": "1.3333",
81
81
  "font": {
82
82
  "base": "16px",
83
- "xSmall": "12px",
84
- "small": "14px",
83
+ "eta": "12px",
85
84
  "zeta": "14px",
86
85
  "epsilon": "16px",
87
86
  "delta": "19px",
package/dist/index.scss CHANGED
@@ -1,22 +1,22 @@
1
1
 
2
2
  // Do not edit directly
3
- // Generated on Wed, 20 Dec 2023 09:09:13 GMT
3
+ // Generated on Tue, 09 Jan 2024 10:55:07 GMT
4
4
 
5
5
  $font-family-base: 'Source Sans Pro', system-ui, -apple-system, 'Segoe UI';
6
6
  $font-family-display: 'FK Display', 'Source Sans Pro', system-ui, -apple-system, 'Segoe UI', sans-serif;
7
7
  $font-family-mono: ui-monospace, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace;
8
- $font-style-body-base-font-family: 'Source Sans Pro', system-ui, -apple-system, 'Segoe UI';
9
- $font-style-body-base-font-size: 16px;
10
- $font-style-body-base-line-height: 1.5rem;
11
- $font-style-body-base-font-weight: 400;
12
- $font-style-body-small-font-family: 'Source Sans Pro', system-ui, -apple-system, 'Segoe UI';
13
- $font-style-body-small-font-size: 14px;
14
- $font-style-body-small-line-height: 1.25rem;
15
- $font-style-body-small-font-weight: 400;
16
- $font-style-body-x-small-font-family: 'Source Sans Pro', system-ui, -apple-system, 'Segoe UI';
17
- $font-style-body-x-small-font-size: 12px;
18
- $font-style-body-x-small-line-height: 1.125rem;
19
- $font-style-body-x-small-font-weight: 400;
8
+ $font-style-body-epsilon-font-family: 'Source Sans Pro', system-ui, -apple-system, 'Segoe UI';
9
+ $font-style-body-epsilon-font-size: 16px;
10
+ $font-style-body-epsilon-line-height: 1.5rem;
11
+ $font-style-body-epsilon-font-weight: 400;
12
+ $font-style-body-zeta-font-family: 'Source Sans Pro', system-ui, -apple-system, 'Segoe UI';
13
+ $font-style-body-zeta-font-size: 14px;
14
+ $font-style-body-zeta-line-height: 1.25rem;
15
+ $font-style-body-zeta-font-weight: 400;
16
+ $font-style-body-eta-font-family: 'Source Sans Pro', system-ui, -apple-system, 'Segoe UI';
17
+ $font-style-body-eta-font-size: 12px;
18
+ $font-style-body-eta-line-height: 1.125rem;
19
+ $font-style-body-eta-font-weight: 400;
20
20
  $font-style-headlines-giga-font-family: 'FK Display', 'Source Sans Pro', system-ui, -apple-system, 'Segoe UI', sans-serif;
21
21
  $font-style-headlines-giga-font-size: 51px;
22
22
  $font-style-headlines-giga-line-height: 1.411765;
@@ -49,9 +49,8 @@ $font-weight-normal: 400;
49
49
  $font-weight-semibold: 600;
50
50
  $size-font-scale-ratio: 1.3333; // Modular scale ratio
51
51
  $size-font-base: 16px;
52
- $size-font-x-small: 12px; // 12
53
- $size-font-small: 14px; // 14
54
- $size-font-zeta: 14px;
52
+ $size-font-eta: 12px; // 12
53
+ $size-font-zeta: 14px; // 14
55
54
  $size-font-epsilon: 16px; // 16
56
55
  $size-font-delta: 19px; // 19
57
56
  $size-font-gamma: 21px; // 21
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@volue/design-typography",
3
- "version": "0.2.4-next.1",
3
+ "version": "0.3.0-next.0",
4
4
  "description": "Typography primitives for Volue design primitives",
5
5
  "license": "UNLICENSED",
6
6
  "repository": {
@@ -31,16 +31,16 @@
31
31
  "prepack": "yarn run build"
32
32
  },
33
33
  "devDependencies": {
34
- "eslint": "8.55.0",
35
- "eslint-config-powel": "14.2.1",
34
+ "eslint": "8.56.0",
35
+ "eslint-config-powel": "15.0.0",
36
36
  "eslint-import-resolver-node": "0.3.9",
37
- "eslint-plugin-import": "2.29.0",
37
+ "eslint-plugin-import": "2.29.1",
38
38
  "expr-eval": "2.0.2",
39
39
  "map-obj": "4.3.0",
40
40
  "npm-run-all": "4.1.5",
41
41
  "polished": "4.2.2",
42
42
  "postcss-calc-ast-parser": "0.1.4",
43
- "prettier": "2.8.8",
43
+ "prettier": "3.1.1",
44
44
  "rimraf": "3.0.2",
45
45
  "style-dictionary": "3.9.1",
46
46
  "typescript": "5.3.3"
@@ -8,17 +8,14 @@
8
8
  "base": {
9
9
  "value": "16"
10
10
  },
11
- "xSmall": {
11
+ "eta": {
12
12
  "value": "roundTo({size.font.base} * {size._fontScaleRatio}^-1, 0)",
13
13
  "comment": "12"
14
14
  },
15
- "small": {
15
+ "zeta": {
16
16
  "value": "roundTo({size.font.base} * {size._fontScaleRatio}^-0.5, 0)",
17
17
  "comment": "14"
18
18
  },
19
- "zeta": {
20
- "value": "{size.font.small}"
21
- },
22
19
  "epsilon": {
23
20
  "value": "{size.font.base} * {size._fontScaleRatio}^0",
24
21
  "comment": "16"
package/src/style.json CHANGED
@@ -2,12 +2,12 @@
2
2
  "font": {
3
3
  "style": {
4
4
  "body": {
5
- "base": {
5
+ "epsilon": {
6
6
  "fontFamily": {
7
7
  "value": "{font.family.base.value}"
8
8
  },
9
9
  "fontSize": {
10
- "value": "{size.font.base.value}"
10
+ "value": "{size.font.epsilon.value}"
11
11
  },
12
12
  "lineHeight": {
13
13
  "value": "{size.lineHeight.base.value}"
@@ -16,12 +16,12 @@
16
16
  "value": "{font.weight.normal.value}"
17
17
  }
18
18
  },
19
- "small": {
19
+ "zeta": {
20
20
  "fontFamily": {
21
21
  "value": "{font.family.base.value}"
22
22
  },
23
23
  "fontSize": {
24
- "value": "{size.font.small.value}"
24
+ "value": "{size.font.zeta.value}"
25
25
  },
26
26
  "lineHeight": {
27
27
  "value": "{size.lineHeight.small.value}"
@@ -30,12 +30,12 @@
30
30
  "value": "{font.weight.normal.value}"
31
31
  }
32
32
  },
33
- "xSmall": {
33
+ "eta": {
34
34
  "fontFamily": {
35
35
  "value": "{font.family.base.value}"
36
36
  },
37
37
  "fontSize": {
38
- "value": "{size.font.xSmall.value}"
38
+ "value": "{size.font.eta.value}"
39
39
  },
40
40
  "lineHeight": {
41
41
  "value": "{size.lineHeight.xSmall.value}"