typographics 1.0.1-dev.2 → 1.0.1-dev.3

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 (2) hide show
  1. package/README.md +14 -17
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -21,29 +21,26 @@ $ yarn add typographics
21
21
  <br>
22
22
 
23
23
  &#10148; **Import**
24
-
25
- <sub>CSS</sub>
26
- ```css
27
- @import "typographics/dist";
24
+ ```javascript
25
+ import 'typographics/dist/index.css';
28
26
  ```
29
-
30
- <sub>SCSS</sub>
31
- ```css
32
- @import "typographics/src";
27
+ <sub>or</sub>
28
+ ```SCSS
29
+ @import "typographics/dist/index.css";
33
30
  ```
34
31
  <br>
35
32
 
36
33
  &#10148; **Settings**
37
34
 
38
- | Variable | Default | Description |
39
- |:------------------------|:---------:|:-------------------------------------------------------------------------------|
40
- | `--min-fs` | `0.75` | Sets the minimum font size from which scaling starts. |
41
- | `--max-fs` | `1` | Sets the maximum font size at which scaling ends. |
42
- | `--min-vw` | `600` | Sets the minimum viewport width in pixels from which font size scaling starts. |
43
- | `--max-vw` | `1440` | Sets the maximum viewport width in pixels at which font size scaling ends. |
44
- | `--font-family-base` | `"Inter"` | Sets the default font family. |
45
- | `--line-height-base` | `1.5` | Sets the default line height. |
46
- | `--line-height-heading` | `1.3em` | Sets the line height for headings. |
35
+ | Variable | Default | Description |
36
+ |:---------------------------|:---------:|:-------------------------------------------------------------------------------|
37
+ | `--t-base-font-family` | `"Inter"` | Sets the default font family. |
38
+ | `--t-font-size-min-scale` | `0.75` | Sets the minimum font size from which scaling starts. |
39
+ | `--t-font-size-max-scale` | `1` | Sets the maximum font size at which scaling ends. |
40
+ | `--t-font-scale-min-width` | `600` | Sets the minimum viewport width in pixels from which font size scaling starts. |
41
+ | `--t-font-scale-max-width` | `1440` | Sets the maximum viewport width in pixels at which font size scaling ends. |
42
+ | `--t-line-height-body` | `1.5` | Sets the default line height. |
43
+ | `--t-line-height-heading` | `1.3em` | Sets the line height for headings. |
47
44
  <br>
48
45
 
49
46
  &#10148; **License**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "typographics",
3
- "version": "1.0.1-dev.2",
3
+ "version": "1.0.1-dev.3",
4
4
  "description": "typographics provides flexible and adaptive styles for typography on web pages. This package allows you to automate the resizing of fonts based on screen width, ensuring good readability on any device.",
5
5
  "author": "ux-ui.pro",
6
6
  "license": "MIT",