Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/fresh/plugins/twindv1_deps.ts>injectGlobal

The next-gen web framework.
Extremely Popular
Go to Latest
variable injectGlobal
import { injectGlobal } from "https://deno.land/x/fresh@1.6.3/plugins/twindv1_deps.ts";

Injects styles into the global scope and is useful for applications such as gloabl styles, CSS resets or font faces.

It does not return a class name, but adds the styles within the base layer to the stylesheet directly.