Open source, composable payments platform | PCI compliant | SaaS and Self-host options | Enables connectivity to multiple payment, payout, fraud, vault and tokenization providers | Uplifts authorization with intelligent routing and revenue recovery | Reduce payment processing costs with cost observability | Reduces payment ops with reconciliation
Rust adyenbeginner-friendlyfeaturedfinancefintechhacktoberfesthigh-performanceopen-sourceorchestrationpaymentpayment-gatewaypayment-integrationpayment-processingpaymentspayments-platformrestful-apirustsdkstripeworks-with-react
refactor(theme): extend theme structure (#7307)
Kanika Bansal535c15415793
diff --git a/crates/api_models/src/user/theme.rs b/crates/api_models/src/user/theme.rsindex c79da307b9..29b6a5d81b 100644--- a/crates/api_models/src/user/theme.rs+++ b/crates/api_models/src/user/theme.rs@@ -62,6 +62,7 @@ pub struct ThemeData {#[serde(rename_all = "camelCase")]struct Settings {colors: Colors,+ sidebar: Option<Sidebar>,typography: Option<Typography>,buttons: Buttons,borders: Option<Borders>,@@ -72,7 +73,16 @@ struct Settings {#[serde(rename_all = "camelCase")]struct Colors {primary: String,- sidebar: String,+ secondary: Option<String>,+ background: Option<String>,+}++#[derive(Serialize, Deserialize, Debug)]+#[serde(rename_all = "camelCase")]+struct Sidebar {+ primary: String,+ text_color: Option<String>,+ text_color_primary: Option<String>,}#[derive(Serialize, Deserialize, Debug)]