@digital-nature-ltd/carbon-lite
Version:
A simple tool to reduce the carbon usage of your website by blanking out the screen after a period of inactivity
19 lines (18 loc) • 499 B
text/typescript
export interface CarbonLiteConfig {
message?: string;
timeout?: number;
backgroundColour?: string;
messageTimeout?: number;
messageColour?: string;
messageColourHover?: string;
messageBorderColour?: string;
messageDropShadowColour?: string;
debug: boolean;
}
declare global {
interface DocumentEventMap {
'carbon-lite-open': CustomEvent;
'carbon-lite-suspend': CustomEvent;
'carbon-lite-resume': CustomEvent;
}
}