Add Material Design icons to the SVG demo
This commit is contained in:
parent
6f41039ba8
commit
797b935f35
|
@ -62,8 +62,12 @@ Then navigate to http://localhost:8000/.
|
|||
The primary author is Patrick Walton (@pcwalton), with contributions from the Servo development
|
||||
community.
|
||||
|
||||
The logo was designed by Jay Vining.
|
||||
|
||||
Pathfinder abides by the same Code of Conduct as Rust itself.
|
||||
|
||||
## License
|
||||
|
||||
Licensed under the same terms as Rust itself. See `LICENSE-APACHE` and `LICENSE-MIT`.
|
||||
Pathfinder is licensed under the same terms as Rust itself. See `LICENSE-APACHE` and `LICENSE-MIT`.
|
||||
|
||||
Material Design icons are copyright Google Inc. and licensed under the Apache 2.0 license.
|
||||
|
|
|
@ -46,6 +46,7 @@
|
|||
<select id="pf-select-file" class="form-control custom-select">
|
||||
<option value="tiger" selected>Ghostscript Tiger</option>
|
||||
<option value="logo">Pathfinder Logo</option>
|
||||
<option value="icons">Material Design Icons</option>
|
||||
<option value="load-custom">Load File…</option>
|
||||
</select>
|
||||
<input id="pf-file-select" type="file">
|
||||
|
|
|
@ -98,9 +98,10 @@ static BUILTIN_FONTS: [(&'static str, &'static str); 4] = [
|
|||
("inter-ui", "../../resources/fonts/inter-ui/Inter-UI-Regular.ttf"),
|
||||
];
|
||||
|
||||
static BUILTIN_SVGS: [(&'static str, &'static str); 2] = [
|
||||
static BUILTIN_SVGS: [(&'static str, &'static str); 3] = [
|
||||
("tiger", "../../resources/svg/Ghostscript_Tiger.svg"),
|
||||
("logo", "../../resources/svg/pathfinder_logo.svg"),
|
||||
("icons", "../../resources/svg/material_design_icons.svg"),
|
||||
];
|
||||
|
||||
#[derive(Clone, Debug, PartialEq, Eq, Hash)]
|
||||
|
|
File diff suppressed because one or more lines are too long
After Width: | Height: | Size: 358 KiB |
Loading…
Reference in New Issue