Skip to content

Commit

Permalink
Merge pull request #83 from uswds/accelerator/uswds-for-designers-nat…
Browse files Browse the repository at this point in the history
…es-updates

Updated design Sketch and XD files
  • Loading branch information
thisisdano authored Apr 15, 2021
2 parents 8e7fbd3 + f3f6048 commit e615d83
Show file tree
Hide file tree
Showing 33 changed files with 51 additions and 2 deletions.
24 changes: 22 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,31 @@

This repository hosts editable, open source [United States Web Design System](https://designsystem.digital.gov/) design files for government designers or anyone wishing to make use of the USWDS components or visual styles.

With the release of USWDS 2.0, we've made some major changes to the way our assets are structured. **For now, these assets are only available as Sketch files for the Macintosh and as an Adobe XD file for other platforms** These files have been tested with Sketch 69 and Adobe XD 34.0.12.33.
With the release of USWDS 2.0, we've made some major changes to the way our assets are structured. **For now, these assets are only available as Sketch files for the Macintosh and as an Adobe XD file for other platforms** These files have been tested with **Sketch 71.2** and **Adobe XD 39.0.12.12**.

We encourage your input. Please leave any feedback as issues in this repo.

**Note:** The USWDS team cannot support Figma yet, but there are Figma design assets developed by the USWDS community. [Read more about these Figma assets](https://truss.works/blog/uswds-figma-library) or [view the Figma component library directly](https://www.figma.com/community/file/836611771720754351).
**Note:** The USWDS is investigating Figma support. In the meantime there are Figma design assets developed by the USWDS community. [Read more about these Figma assets](https://truss.works/blog/uswds-figma-library) or [view the Figma component library directly](https://www.figma.com/community/file/836611771720754351).

## :icecream: April 2020: New components and templates (USWDS 2.11.0)

In April 2020, we added the following components and templates:

- `404 Page Template`
- `Authentication page templates`
- `Checkbox tiles`
- `Collection`
- `Icon list`
- `Icons`
- `Input Prefix and Suffix`
- `Modal`
- `Process List`
- `Radio Button Tiles`
- `Site Alert`
- `Summary Box`
- `Tables (mobile, data, and sortable)`

We also updated existing components to the new icon set.

## :fallen_leaf: November 2020: New components (USWDS 2.9.0) and color variables

Expand Down
Binary file modified adobe-xd/uswds-components.xd
Binary file not shown.
Binary file added icons/__icon-template.sketch
Binary file not shown.
Binary file added icons/bathtub.sketch
Binary file not shown.
Binary file added icons/camping.sketch
Binary file not shown.
Binary file added icons/construction.sketch
Binary file not shown.
Binary file added icons/deck.sketch
Binary file not shown.
Binary file added icons/eco.sketch
Binary file not shown.
Binary file added icons/electrical_services.sketch
Binary file not shown.
Binary file added icons/emoji_events.sketch
Binary file not shown.
Binary file added icons/flickr.sketch
Binary file not shown.
Binary file added icons/github.sketch
Binary file not shown.
Binary file added icons/insights.sketch
Binary file not shown.
Binary file added icons/instagram.sketch
Binary file not shown.
Binary file added icons/link_off.sketch
Binary file not shown.
Binary file added icons/login.sketch
Binary file not shown.
Binary file added icons/medical_services.sketch
Binary file not shown.
Binary file added icons/military_tech.sketch
Binary file not shown.
Binary file added icons/navigate_far_before.sketch
Binary file not shown.
Binary file added icons/navigate_far_next.sketch
Binary file not shown.
Binary file added icons/notifications.sketch
Binary file not shown.
Binary file added icons/park.sketch
Binary file not shown.
Binary file added icons/push_pin.sketch
Binary file not shown.
Binary file added icons/science.sketch
Binary file not shown.
29 changes: 29 additions & 0 deletions icons/scripts/rename-material-icons.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
#!/bin/bash

#Save current directory so we can restore it later
cur=$PWD

#Save command line arguments so functions can access it
args=("$@")​

#Process the file names when called from the loop below
function dir_command {
cd $1;
for f in `find . -name '24px.svg'`
do
filename=`echo $f|awk -F'/' '{SL = NF-1; TL = NF-2; print $SL "/" $TL ".svg"}'`
cp $f ./processed/$filename
done
cd ..;
}

#Declare the top level directory names
declare -a dirs=("action" "alert" "av" "communication" "content" "device" "editor" "file" "hardware" "home" "image" "maps" "navigation" "notification" "places" "social" "toggle")

#Loop through each directory and call the dir_command above
for dir in "${dirs[@]}"; do
dir_command "$dir/"
done

#Restore the folder
cd "$cur"
Binary file added icons/star_outline.sketch
Binary file not shown.
Binary file added icons/support.sketch
Binary file not shown.
Binary file added icons/support_agent.sketch
Binary file not shown.
Binary file added icons/twitter.sketch
Binary file not shown.
Binary file added icons/verified.sketch
Binary file not shown.
Binary file added icons/youtube.sketch
Binary file not shown.
Binary file modified sketch/libraries/uswds.sketch
Binary file not shown.
Binary file modified sketch/uswds-project.sketch
Binary file not shown.

0 comments on commit e615d83

Please sign in to comment.