diff options
| author | Yoshie Muranaka <yoshiemuranaka@gmail.com> | 2019-09-24 08:32:42 -0700 |
|---|---|---|
| committer | Yoshie Muranaka <yoshiemuranaka@gmail.com> | 2019-10-02 07:02:24 -0700 |
| commit | 4b366b5aeb97b35ab3612bfe1dc7d93a1f8a6e79 (patch) | |
| tree | 5e184f589c9ddad570f582d8b5818ac933c89e14 /app/assets/icons | |
| parent | ea4968c0e8e6a71a7a23263bd05e04147339e6c5 (diff) | |
| download | phosphor-webui-4b366b5aeb97b35ab3612bfe1dc7d93a1f8a6e79.tar.gz phosphor-webui-4b366b5aeb97b35ab3612bfe1dc7d93a1f8a6e79.zip | |
Clean up icons
Clean up duplicate svg icons from assets directory.
Created a statusIcon component to dynamically render
status icons instead of using background-image in
scss files.
- Moved/removed on, off, critical, warning svg icons from
assets directory
- Updated background-image status icons to use <icon>
or <status-icon> directive
Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com>
Change-Id: Ic0f06d78b0861d6f60d40b2dcc0b80fd6dad2a88
Diffstat (limited to 'app/assets/icons')
| -rw-r--r-- | app/assets/icons/icon-off.svg | 1 | ||||
| -rw-r--r-- | app/assets/icons/icon-on.svg | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/app/assets/icons/icon-off.svg b/app/assets/icons/icon-off.svg new file mode 100644 index 0000000..9757f9d --- /dev/null +++ b/app/assets/icons/icon-off.svg @@ -0,0 +1 @@ +<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M2.3 2.3c-3.1 3.1-3.1 8.2 0 11.3s8.2 3.1 11.3 0 3.1-8.2 0-11.3-8.1-3.1-11.3 0zM12 9H4V7h8v2z" fill="#999"/></svg>
\ No newline at end of file diff --git a/app/assets/icons/icon-on.svg b/app/assets/icons/icon-on.svg new file mode 100644 index 0000000..ac750b0 --- /dev/null +++ b/app/assets/icons/icon-on.svg @@ -0,0 +1 @@ +<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M8 0C3.6 0 0 3.6 0 8s3.6 8 8 8 8-3.6 8-8-3.6-8-8-8zM7 12L3.5 8.5 5 7l2 2 4-4 1.5 1.5L7 12z" fill="#34bc6e"/></svg>
\ No newline at end of file |

