In that way it was possible to better see with the Chrome Dev Tools, where to handle. I've not used the kit, but the single files instead: I am unsure what else I should do, as FontAwesome's documentation states that I should not need to do anything special in the CSP for inline styles. This property has three values: normal - The text is shown normally. Note also that 'style-src' was not explicitly set, so 'default-src' is used as a fallback. The font-style property is mostly used to specify italic text. Either the 'unsafe-inline' keyword, a hash ('sha256-vbZVW+MEGpqM/MTrc0cuTI1eza7x/JNIBG8uVXROwnE='), or a nonce ('nonce-.') is required to enable inline execution. Refused to apply inline style because it violates the following Content Security Policy directive: "default-src data: 'self' ". However, the FontAwesome icons are not loading and I receive this error in the inspector: These workarounds aren't needed.Ĭontent-Security-Policy: default-src data: 'self' form-action 'self' upgrade-insecure-requests Using Web Fonts with CSS? You don't need to worry about CSP issues. This is a shorthand property for the longhand properties -webkit-text-stroke-width and -webkit-text-stroke-color. CSS FONT KIT UPDATEMake changes and update versions without pushing code. Give Kits a try and let us know what you think, we are listening.According to FontAwesome's documentation for V6: webkit-text-stroke English (US) -webkit-text-stroke The -webkit-text-stroke CSS property specifies the width and color of strokes for text characters. Kits are collections of icons, styles, and settings for your projects. We are very proud of the work our team put in to bring Kits to life. This is just the start and we have even more Kits goodness coming soon. Keep eye out on this blog for a more in-depth walk-through of Kits. Kits take care of all of your settings for you CSS FONT KIT PROPro kits have even better performance thanks to automatic subsetting
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |