-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #83 from uswds/accelerator/uswds-for-designers-nat…
…es-updates Updated design Sketch and XD files
- Loading branch information
Showing
33 changed files
with
51 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.