An open API service indexing awesome lists of open source software.

https://github.com/discourse/discourse-material-icons

Discourse x Google Material Design Icons
https://github.com/discourse/discourse-material-icons

discourse-theme-component

Last synced: 4 months ago
JSON representation

Discourse x Google Material Design Icons

Awesome Lists containing this project

README

        

# discourse-material-icons

Replacing Discourse's default icon set with Google Material Icons

![image](https://user-images.githubusercontent.com/37538241/210023055-0194b2bd-c0c1-4dc6-9085-c858ae903297.png)

## (Optional) How to change the default `filled` icon style

There are 5 styles included:

- `filled` (Default)
- `outlined`
- `sharp`
- `rounded`
- `twotone`

Changing from `filled` to another style has to be done manually for now.

1. Download the `.svg` file of the style you want from the `/assets` folder locally
- `outlined.svg`
- `sharp.svg`
- `rounded.svg`
- `twotone.svg`

2. Go to `Admin > Customize > Components > discourse-material-icons > Uploads`
image

3. Remove the default `$icons-sprite: filled.svg`

image

4. Upload the `.svg` with the SCSS variable name `icons-sprite`

image

The icons should update upon refresh.