stackexchange-api
Version:
A Node.js wrapper for the StackExchange API
15 lines (14 loc) • 874 B
TypeScript
import { TypeStyling } from '../interfaces/result-types/TypeStyling';
/**
* The equivalent of [Type styling](https://api.stackexchange.com/docs/types/styling).<br>
* This object represents some Stylings of a [[Site]] in the [Stack Exchange network](https://stackexchange.com/sites).<br>
* These Stylings are meant to allow developers to subtly vary the presentation of resources in their applications so as to indicate to users the original source site.<br>
* Applications should be able to gracefully handle these styles changes, though they can safely assume that these style changes are infrequent.<br>
* Note that colors can be returned either as six or three digit hex triplets.
*/
export declare class Styling {
linkColor: string | null;
tagBackgroundColor: string | null;
tagForegroundColor: string | null;
constructor(styling?: TypeStyling);
}