This is documentation for the next version of Grafana. For the latest stable release, go to the latest version.

API Reference@grafana/uigetCardStyles

getCardStyles variable

getCardStyles variable


getCardStyles: (theme: GrafanaTheme2) => {
    inner: string;
    heading: string;
    info: string;
    metadata: string;
    description: string;
    media: string;
    actionRow: string;
    actions: string;
    secondaryActions: string;
    separator: string;
    tagList: string;


import { getCardStyles } from '@grafana/ui';