Product
Introducing Enhanced Alert Actions and Triage Functionality
Socket now supports four distinct alert actions instead of the previous two, and alert triaging allows users to override the actions taken for all individual alerts.
@vonage/vvd-fonts
Advanced tools
Changelog
0.7.0 (2020-09-15)
Note: Version bump only for package @vivid/root
Readme
As part of the One Vonage unified branding and look'n'feel experience, we are providing a common Web fonts set. Our font loading service will load a variable fonts for any supporting platform, while falling back to the static fonts on the non-supporting ones.
There are two API approaches to init the fonts in your application:
JS/TS
driven - import our module and invoke the API methodCSS
driven - link a single CSS
stylesheet to rule them allSee more details about each of those approaches down below.
To use Vivid fonts in your application please apply the following CSS
rule:
body {
font-family: var(--vvd-font-family-spezia);
}
regular fonts | ✔ | ✔ | ✔ | ✔ | ✔ |
variable fonts | ✔ 62+ | ✔ 62+ | ✔ 17+ | ✔ 49+ | ✔ 11+ |
JS/TS
driven initializationIf the JS/TS
approach is taken, you should follow the example below:
import fonts from '@vonage/vvd-fonts';
...
fonts.init().then(() =>
// do post init stuff here
);
Note: this approach won't block site's contents rendering, so you'll most likely to experience FOUC behaviour unless employing some kind of loading vilon on start up.
CSS
driven initializationLink the vvd-fonts.css
from the location you've put our library in.
It is highly advised to link this resource early in the application lifecycle (for example, up in the head
).
<link rel="stylesheet" href="@vonage/vvd-fonts/vvd-fonts.css" />
Note: this approach will block the site's contents rendering until the fonts are fully fetched, yet no FOUC (flash of unstyled content) expected.
FAQs
Vivid fonts initialisation service
The npm package @vonage/vvd-fonts receives a total of 610 weekly downloads. As such, @vonage/vvd-fonts popularity was classified as not popular.
We found that @vonage/vvd-fonts demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 51 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Socket now supports four distinct alert actions instead of the previous two, and alert triaging allows users to override the actions taken for all individual alerts.
Security News
Polyfill.io has been serving malware for months via its CDN, after the project's open source maintainer sold the service to a company based in China.
Security News
OpenSSF is warning open source maintainers to stay vigilant against reputation farming on GitHub, where users artificially inflate their status by manipulating interactions on closed issues and PRs.