diff options
author | Yoshie Muranaka <yoshiemuranaka@gmail.com> | 2019-06-05 12:30:30 -0500 |
---|---|---|
committer | Yoshie Muranaka <yoshiemuranaka@gmail.com> | 2019-06-21 14:27:51 -0500 |
commit | c86ce3c9c7736ef199d885596b6fc745c7d8c86e (patch) | |
tree | d8ce85478e7436298e328e91f0997d03747530b3 /app/assets/images/icon-edit-blue.svg | |
parent | e4194ce0dc8a941c4f30fd0995f9ba4c13cec560 (diff) | |
download | phosphor-webui-c86ce3c9c7736ef199d885596b6fc745c7d8c86e.tar.gz phosphor-webui-c86ce3c9c7736ef199d885596b6fc745c7d8c86e.zip |
Consolidate button styles
This patchset will create consistent button styling according
to the styleguide and remove redundant button styles by creating
reusable button classes.
This patchset also implements a consistent strategy for including
icon assets. Currently, svg icons are imported as CSS background
images or inlined into the markup. Inlining an svg is preferred,
especially when used with buttons or links so the colors can
be easily changed for different states (hover, focus, disabled)
without having to request variants.
The icon provider allows us to inline svgs without cluttering
the markup. Webpack config was adjusted to use svg-inline-loader
when resolving svgs that are used by the icon provider directive.
- All svgs were optimized to remove unncessary information.
- Removed unused svg color variants
- Moved icons used by icon provider to separate directory to
avoid Webpack parsing the files twice
- Small changes to navigation icons
Signed-off-by: Yoshie Muranaka <yoshiemuranaka@gmail.com>
Change-Id: I1ca214b74fc502e6b6e760cfee88b48110237c43
Diffstat (limited to 'app/assets/images/icon-edit-blue.svg')
-rw-r--r-- | app/assets/images/icon-edit-blue.svg | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/app/assets/images/icon-edit-blue.svg b/app/assets/images/icon-edit-blue.svg deleted file mode 100644 index ba2cc40..0000000 --- a/app/assets/images/icon-edit-blue.svg +++ /dev/null @@ -1,24 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<svg width="16px" height="16px" viewBox="0 0 16 16" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> - <!-- Generator: Sketch 51.3 (57544) - http://www.bohemiancoding.com/sketch --> - <title>Colors/Base/Black</title> - <desc>Created with Sketch.</desc> - <defs> - <path d="M7.92572798,3.00428655 L1.00199753,9.34382025 L1.00199753,11.6237002 L3.30623854,11.6237002 L10.2321641,5.30721897 L7.92572798,3.00428655 Z M8.66400508,2.32830232 L10.9718396,4.63263098 L12.4234573,3.30874783 L10.1147108,1.00000135 L8.66400508,2.32830232 Z M0.00199752679,8.9035802 L9.43940417,0.262464274 C9.8341134,-0.0989409664 10.4433938,-0.0855292166 10.8218176,0.29289457 L13.1305641,2.60164105 C13.5210884,2.99216534 13.5210884,3.62533032 13.1305641,4.01585461 C13.1197237,4.02669497 13.1086355,4.03728461 13.0973082,4.04761513 L3.69376146,12.6237002 L0.00199752679,12.6237002 L0.00199752679,8.9035802 Z M0,15.6371142 L0,14.6371142 L16,14.6371142 L16,15.6371142 L0,15.6371142 Z" id="path-1"></path> - </defs> - <g id="Symbols" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"> - <g id="Icon/Edit"> - <g id="Colors/Base/Black"> - <mask id="mask-2" fill="white"> - <use xlink:href="#path-1"></use> - </mask> - <use id="Mask" fill="#2d60e5" fill-rule="nonzero" xlink:href="#path-1"></use> - <g id="Colors/Base/Blue50" mask="url(#mask-2)" fill="#3c6df0"> - <g transform="translate(-8.377562, -8.431784)" id="Rectangle-6-Copy"> - <rect x="0" y="0" width="35" height="35"></rect> - </g> - </g> - </g> - </g> - </g> -</svg>
\ No newline at end of file |