zulip-icons: Move custom icons to shared folder.

This commit is contained in:
Aman Agrawal 2022-03-22 10:00:28 +00:00 committed by Tim Abbott
parent babe5ed44a
commit 9a7fadbbeb
8 changed files with 15 additions and 4 deletions

View File

@ -91,7 +91,7 @@ Files: static/third/marked/*
Copyright: 2011-2013, Christopher Jeffrey
License: Expat
Files: static/assets/icons/ellipsis-v-solid.svg
Files: static/shared/icons/ellipsis-v-solid.svg
Copyright: 2017 Fonticons, Inc.
License: CC-BY-4.0
Comment: This icon is picked from Version 5.13.0 of Font Awesome

View File

@ -66,8 +66,8 @@ templating systems.
- `node_modules/` Third-party JavaScript installed via `yarn`.
- `static/assets/` For assets not to be served to the web (e.g. the system to
generate our favicons).
- `static/shared/icons/` Icons placed in this directory are compiled
into an icon font.
---

View File

@ -3,7 +3,10 @@
"use strict";
module.exports = {
files: ["./*.svg"],
files: [
"./*.svg", // For web-only icons.
"../../shared/icons/*.svg", // For icons to be shared with the mobile app.
],
fontName: "zulip-icons",
classPrefix: "zulip-icon-",
baseSelector: ".zulip-icon",

View File

@ -0,0 +1,8 @@
This directory contains icons used by the Zulip web app that are not
part of Font Awesome 4.7, our default/primary icon font.
Icons placed in this directory are compiled by the web application
build system into a custom icon font. You can use them in HTML using
the following syntax:
`<i class="zulip-icon zulip-icon-ellipsis-v-solid">`

View File

Before

Width:  |  Height:  |  Size: 613 B

After

Width:  |  Height:  |  Size: 613 B

View File

Before

Width:  |  Height:  |  Size: 450 B

After

Width:  |  Height:  |  Size: 450 B

View File

Before

Width:  |  Height:  |  Size: 768 B

After

Width:  |  Height:  |  Size: 768 B

View File

Before

Width:  |  Height:  |  Size: 512 B

After

Width:  |  Height:  |  Size: 512 B