@carbon/type 11.63.0 → 11.64.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.
- package/README.md +9 -0
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -177,6 +177,15 @@ This reset sets some top-level properties on `html` and `body`, namely
|
|
|
177
177
|
`font-size`, `font-family`, and some `text-rendering` options. We also map the
|
|
178
178
|
`strong` tag to the semibold font weight.
|
|
179
179
|
|
|
180
|
+
### Replacing the typeface
|
|
181
|
+
|
|
182
|
+
`@carbon/type` can configure the font families used by its own Sass APIs, but it
|
|
183
|
+
does not generate Carbon component styles or control IBM Plex `@font-face`
|
|
184
|
+
output. Carbon's type foundation and component styles are closely integrated, so
|
|
185
|
+
application-wide typeface replacement must be configured through the
|
|
186
|
+
`@carbon/styles` Sass entrypoint. See
|
|
187
|
+
[Replacing the typeface in `@carbon/styles`](../styles/README.md#replacing-the-typeface).
|
|
188
|
+
|
|
180
189
|
### Type scale
|
|
181
190
|
|
|
182
191
|
A type scale is provided through the `$type-scale` variable and corresponding
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@carbon/type",
|
|
3
3
|
"description": "Typography for digital and software products using the Carbon Design System",
|
|
4
|
-
"version": "11.
|
|
4
|
+
"version": "11.64.0",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"main": "lib/index.js",
|
|
7
7
|
"types": "lib/index.d.ts",
|
|
@@ -42,12 +42,12 @@
|
|
|
42
42
|
"postinstall": "ibmtelemetry --config=telemetry.yml"
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"@carbon/grid": "^11.
|
|
46
|
-
"@carbon/layout": "^11.
|
|
45
|
+
"@carbon/grid": "^11.59.0",
|
|
46
|
+
"@carbon/layout": "^11.56.0",
|
|
47
47
|
"@ibm/telemetry-js": "^1.5.0"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
|
-
"@carbon/cli": "^11.
|
|
50
|
+
"@carbon/cli": "^11.47.0",
|
|
51
51
|
"@carbon/test-utils": "^10.41.0",
|
|
52
52
|
"change-case-all": "^2.1.0",
|
|
53
53
|
"css": "^3.0.0",
|
|
@@ -61,5 +61,5 @@
|
|
|
61
61
|
"sassDir": "scss",
|
|
62
62
|
"needs": "^1.3.0"
|
|
63
63
|
},
|
|
64
|
-
"gitHead": "
|
|
64
|
+
"gitHead": "a57cf8a896fe3fe09c5ab27648cd58947f37360a"
|
|
65
65
|
}
|