Current File : /home/whitekig/public_html/wp-content/plugins/svg-favicons/README.txt
=== SVG Favicons ===
Contributors: a415production
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=DBMA4K32F6BAY&source=url
Tags: svg, favicon, svg favicons, favicon.ico, dark mode
Requires at least: 3.5.0
Tested up to: 6.8.1
Requires PHP: 5.0
Stable tag: 1.5.2
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Upload SVG favicons to your site!

== Description ==
**NOW WITH DARK MODE!**  Safely add an SVG favicons to your site! Don’t limit your site favicon to the .ico/png/jpg formats! Upload cool vector art from your favorite vector app in seconds! Support is common for SVG favicons in modern browsers. Favicon meta generated by the customizer will not be over-written, giving older browsers a fallback in the event they lack support SVG favicons.

== Installation ==
1. Install SVG Favicons either via the WordPress.org plugin directory or by uploading the files to your server.
2. Activate the plugin through the **Plugins** menu in WordPress.
3. Go to the **Appearance > SVG Favicons** to upload your SVG favicons.

== Usage ==
Before uploading your SVG favicons, make sure the aspect ratio is 1:1. For Safari, create a copy of your SVG and do the following:

- Drop it to a single color (preferably black)
- Merge art onto a single layer
- Place it on a transparent background
- **viewBox** attribute must be set to "0 0 16 16"

**Uploading**: Under the SVG Favicons tab, click the “Upload SVG Favicons” field and upload your SVG favicons

**Manifest**: After uploading your SVG favicons, you can fill out the corresponding manifest. This step is optional. If you already have your site manifest, leave “Use this site manifest” unchecked.

**Safari**: The upload process for a pinned tab icon is the same as above. Please note that pinned tab icons should be 100% black with a transparent background. The mask icon color will determine the color of the pinned tab icon.

**Dark Mode (NEW)**: Here is an example of how to enable dark mode in your svg favicons using the `prefers-color-scheme` media query:
`
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16">
	<style>
		path.class-of-path {
			fill: #000;
		}
		@media (prefers-color-scheme: dark) {
			path.class-of-path {
				fill: #fff;
			}
		}
	</style>
	<path class="class-of-path" fill-rule="evenodd" d="M0 0h16v16H0z"/>
</svg>
`

== Frequently Asked Questions ==
= Can I use svg favicons? =

[Check SVG favicons browser Compatibility](https://caniuse.com/#feat=link-icon-svg)

= Can I use dark mode in my svg favicons? =
YES! Here is an example of how to enable dark mode in your svg favicons using the `prefers-color-scheme` media query:
`
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16">
	<style>
		path.class-of-path {
			fill: #000;
		}
		@media (prefers-color-scheme: dark) {
			path.class-of-path {
				fill: #fff;
			}
		}
	</style>
	<path class="class-of-path" fill-rule="evenodd" d="M0 0h16v16H0z"/>
</svg>
`

= Why can't I see my svg favicons after updating? =

If you are running a caching plugin for your WordPress installation, trying emptying the caches. If that doesn't work, try emptying your browser cache and restarting.

= Safari's pinned icon cache stubborn, what can I do? =

Try the following:
1. Unpin the tab for your site
2. Quit Safari
3. Remove the **Template Icons** folder in your **Home > Library > Safari folder**
4. Restart Safari
5. Refresh the page your testing (page with your mask-icon)
6. Re-pin the tab

== Changelog ==
= 1.5.2 =
• Bug Fixes

= 1.5.1 =
• Bug Fixes

= 1.5 =
• Updated for WP 6.5
• Fully compatible with PHP 8.3

= 1.2.6 =
• Updated for WP 6.2

= 1.2.3 =
• Updated for WP 6.0

= 1.2.2 =
• Fixed typos and updated language file

= 1.2 =
• Now with dark mode support

= 1.0 =
• Initial Release.

== Screenshots ==
1. Upload SVG Favicons
2. Upload Pinned Tab Icon for Safari

== Upgrade Notice ==
= 1.2 =
Now with dark mode support. Adding a site icon via the customizer to enable SVG Favicons is no longer required (WP 5.9)

== Other Notes ==
= Credits =
- Artwork by [Online Web Fonts](https://www.onlinewebfonts.com/icon/) - [license](https://creativecommons.org/licenses/by/3.0/)
- [SVG Sanitizer](https://github.com/darylldoyle/svg-sanitizer) - [license](https://www.gnu.org/licenses/old-licenses/gpl-2.0.en.html)
- [Tippy.js](https://atomiks.github.io/tippyjs/) - [license](https://opensource.org/licenses/MIT)
- [Picker](https://github.com/Simonwep/pickr) - [license](https://opensource.org/licenses/MIT)