systemprompt-provider-contracts 0.32.2

Provider trait contracts for systemprompt.io AI governance infrastructure. LlmProvider, ToolProvider, JobContext and friends — swap Anthropic, OpenAI, Gemini, and local models at profile level.
Documentation
//! Card-component design tokens.
//!
//! Copyright (c) systemprompt.io — Business Source License 1.1.
//! See <https://systemprompt.io> for licensing details.

use serde::{Deserialize, Serialize};

#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct CardConfig {
    pub radius: CardRadius,
    pub padding: CardPadding,
    pub gradient: CardGradient,
}

#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct CardRadius {
    pub default: String,
    pub cut: String,
}

#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct CardPadding {
    pub sm: String,
    pub md: String,
    pub lg: String,
}

#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct CardGradient {
    pub start: String,
    pub mid: String,
    pub end: String,
}