Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use 24px icons only (+ small icon updates) #4139

Merged
merged 9 commits into from Apr 1, 2021
29 changes: 29 additions & 0 deletions config/rename-material-icons.sh
@@ -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"
8 changes: 3 additions & 5 deletions src/components/icon/icon.config.yml
Expand Up @@ -370,8 +370,6 @@ context:
meta: "weather water storm"
- name: reduce_capacity
meta: "occupancy"
- name: remove_red_eye
meta: "visibility"
- name: remove
meta: "minus collapse"
- name: report
Expand Down Expand Up @@ -442,7 +440,7 @@ context:
meta: ""
- name: text_fields
meta: "edit"
- name: thumb_down_off_alt
- name: thumb_down_alt
meta: "rate review"
- name: thumb_up_alt
meta: "rate review"
Expand Down Expand Up @@ -479,9 +477,9 @@ context:
- name: verified_user
meta: "check"
- name: visibility
meta: "eye"
meta: "eye remove_red-eye"
- name: visibility_off
meta: "eye"
meta: "eye hidden masked"
- name: volume_off
meta: "speaker"
- name: warning
Expand Down
2 changes: 1 addition & 1 deletion src/img/material-icons/5g.svg 100644 → 100755
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/img/material-icons/add_business.svg 100644 → 100755
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/img/material-icons/add_road.svg 100644 → 100755
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/img/material-icons/admin_panel_settings.svg 100644 → 100755
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/img/material-icons/agriculture.svg 100644 → 100755
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/img/material-icons/airplanemode_active.svg 100644 → 100755
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/img/material-icons/airplanemode_inactive.svg 100644 → 100755
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/img/material-icons/alt_route.svg 100644 → 100755
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/img/material-icons/amp_stories.svg 100644 → 100755
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/img/material-icons/apartment.svg 100644 → 100755
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/img/material-icons/app_registration.svg 100644 → 100755
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/img/material-icons/architecture.svg 100644 → 100755
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/img/material-icons/arrow_circle_down.svg 100644 → 100755
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/img/material-icons/arrow_circle_up.svg 100644 → 100755
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/img/material-icons/attach_email.svg 100644 → 100755
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.