Skip to main content

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

ParameterType
...argsCSSInterpolation[]

Returns

void

Example

injectGlobal`
window {
background: @theme_bg_color;
}
button {
border-radius: 6px;
}
`;