Skip to content

Commit

Permalink
Merge branch 'main' into megzehn-patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
humancompanion-usds authored May 28, 2024
2 parents 9c8ce5f + 92dc306 commit 80fec0f
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/ISSUE_TEMPLATE/3_experimental_design_request.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ name: "3. Experimental design system request"
about: Propose an idea for a new component or pattern
title: "Experimental Design [component or pattern name]"
labels: platform-design-system-team, experimental_design
assignees: caw310

---

Expand Down
13 changes: 13 additions & 0 deletions src/_components/icon.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,19 @@ Each icon has a chosen semantic meaning and should be used in a manner that is c

Before introducing a new icon check the list to be see if the meaning of the icon you need corresponds to an existing icon. If you have questions about a new icon, or icon usage, feel free to reach out to the Design System team.

### Icon Color

By default, the web component icon will display as `--vads-color-base` which is the base color set across VA.gov. If a different icon color is needed, style can be applied directly to the web component element using CSS. For example:

```
<va-icon size="4" name="alarm" class="alarm-icon" >
.alarm-icon {
color: var(--vads-color-white);
}
```

### How to migrate from Font Awesome to va-icon

Follow our detailed instructions on [how to migrate to va-icon]({{ site.baseurl }}/about/developers/using-web-components#how-to-migrate-from-font-awesome-to-va-icon).
Expand Down

0 comments on commit 80fec0f

Please sign in to comment.