Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

migrate dashboard icons to icon-font #277

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open

Conversation

stklcode
Copy link
Contributor

@stklcode stklcode commented Nov 20, 2022

Using a font instead of custom inline-svg all default dashboard styles are applied to the Cachify icons, too.

Convert the current icons into a font using IcoMoon app and adjust the output accordingly. Preserve original SVG files, but do not distribute.

Inline WOFF2 to prevent additional requests for most modern browsers.


This PR contradicts the changes introduces in #64 where we migrated from OpenType font to SVG.

It is true that SVG can be considered superior to icon fonts in various cases, but the native WP icons use the Dashicons icon font and styling from themes, plugins, etc. does not apply to our SVG, i.e. the Cachify icon always has the default grayish color.
So for the sake of consistency I would prefer using the same technology here.


resolves #264 for various dark mode plugins

Using a font instead of custom inline-svg all default dashboard styles
are applied to the Cachify icons, too.

Convert the current icons into a font using IcoMoon app and adjust the
output accordingly. Preserve original SVG files, but do not distribute.

Inline WOFF2 to prevent additional requests for most modern browsers.
Copy link

sonarcloud bot commented Mar 29, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues
1 Accepted issue

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@pluginkollektiv pluginkollektiv deleted a comment from sonarcloud bot Apr 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Styling for dark mode plugin that is a Markdown editor now
1 participant