Function: injectGlobal()
injectGlobal(...
args):void
Defined in: css.ts:65
Injects global CSS styles. Note: In GTK, these styles apply to all widgets on the display.
Parameters
| Parameter | Type |
|---|---|
...args | CSSInterpolation[] |
Returns
void
Example
injectGlobal`
window {
background: @theme_bg_color;
}
button {
border-radius: 6px;
}
`;