mirror of
https://github.com/documenso/documenso.git
synced 2025-11-10 04:22:32 +10:00
## Description Adds support for customising the theme and CSS for the embedding components which is restricted to platform customers and above. Additionally adds proper support for the platform plan which will let us update our stripe products. <img width="1040" alt="image" src="https://github.com/user-attachments/assets/f694cd1e-ac93-4dc0-9f78-92fa813f6404"> <img width="1015" alt="image" src="https://github.com/user-attachments/assets/4209972a-b2bd-40c9-9049-0367382a4de5"> <img width="1065" alt="image" src="https://github.com/user-attachments/assets/fdbaaaa5-a028-4b1d-a58a-ea6224e21abe"> ## Related Issue N/A ## Changes Made - Added support for using CSS Vars and CSS within the embedding route - Added a guard for platform and enterprise plans to activate the custom css - Added support for the platform plan ## Testing Performed Yes
13 lines
238 B
TypeScript
13 lines
238 B
TypeScript
export enum STRIPE_CUSTOMER_TYPE {
|
|
INDIVIDUAL = 'individual',
|
|
TEAM = 'team',
|
|
}
|
|
|
|
export enum STRIPE_PLAN_TYPE {
|
|
REGULAR = 'regular',
|
|
TEAM = 'team',
|
|
COMMUNITY = 'community',
|
|
PLATFORM = 'platform',
|
|
ENTERPRISE = 'enterprise',
|
|
}
|