UNPKG

stackexchange-api

Version:
15 lines (14 loc) 874 B
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); }