@brightspace-ui/core 2.112.4 → 2.112.5
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.
|
@@ -15,7 +15,7 @@ For preset icons, import and use the `<d2l-icon>` web component with the `icon`
|
|
|
15
15
|
<d2l-icon icon="tier1:gear"></d2l-icon>
|
|
16
16
|
```
|
|
17
17
|
|
|
18
|
-
The `icon` attribute value is of the form `<category-name>:<icon-name>`. The icon will automatically be the correct color (
|
|
18
|
+
The `icon` attribute value is of the form `<category-name>:<icon-name>`. The icon will automatically be the correct color (Tungsten) and size based on its category.
|
|
19
19
|
|
|
20
20
|
**Note:** Always choose the icon whose native size best matches your desired icon size, ideally exactly.
|
|
21
21
|
|
|
@@ -48,7 +48,7 @@ Ensure that the SVG is formatted according to [the rules outlined below](#svg-fo
|
|
|
48
48
|
|
|
49
49
|
## Overriding the Color
|
|
50
50
|
|
|
51
|
-
To change an icon's color from
|
|
51
|
+
To change an icon's color from Tungsten to something else, simply set it from CSS:
|
|
52
52
|
|
|
53
53
|
```html
|
|
54
54
|
<d2l-icon icon="tier3:alert" style="color: red;"></d2l-icon>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@brightspace-ui/core",
|
|
3
|
-
"version": "2.112.
|
|
3
|
+
"version": "2.112.5",
|
|
4
4
|
"description": "A collection of accessible, free, open-source web components for building Brightspace applications",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"repository": "https://github.com/BrightspaceUI/core.git",
|