Customize dashboard, dashcard and question background color for embedding SDK (#43618)
* dashcard background color * add bg-dashboard and bg-dashboard-card * rename background-visualization to background-question * apply bg-question to embedded questions * use CSS variables along with theme object * add css variables to more places * add ability to reference design system colors for defaults * use CSS variables for defaults * fix chart skeleton test * fix legend item title
Showing
- .storybook/preview-head.html 7 additions, 0 deletions.storybook/preview-head.html
- enterprise/frontend/src/embedding-sdk/components/private/SdkContentWrapper.tsx 16 additions, 0 deletions...rc/embedding-sdk/components/private/SdkContentWrapper.tsx
- enterprise/frontend/src/embedding-sdk/components/public/InteractiveQuestion/InteractiveQuestion.tsx 5 additions, 1 deletion...onents/public/InteractiveQuestion/InteractiveQuestion.tsx
- enterprise/frontend/src/embedding-sdk/components/public/StaticQuestion/StaticQuestion.tsx 5 additions, 1 deletion...g-sdk/components/public/StaticQuestion/StaticQuestion.tsx
- enterprise/frontend/src/embedding-sdk/lib/theme/default-component-theme.ts 9 additions, 0 deletions...nd/src/embedding-sdk/lib/theme/default-component-theme.ts
- enterprise/frontend/src/embedding-sdk/types/theme/index.ts 12 additions, 0 deletionsenterprise/frontend/src/embedding-sdk/types/theme/index.ts
- frontend/src/metabase/dashboard/components/DashCard/DashCard.styled.tsx 1 addition, 1 deletion...etabase/dashboard/components/DashCard/DashCard.styled.tsx
- frontend/src/metabase/public/components/EmbedFrame/EmbedFrame.module.css 2 additions, 2 deletions...tabase/public/components/EmbedFrame/EmbedFrame.module.css
- frontend/src/metabase/styled-components/containers/GlobalStyles/GlobalStyles.tsx 7 additions, 0 deletions...tyled-components/containers/GlobalStyles/GlobalStyles.tsx
- frontend/src/metabase/visualizations/components/legend/LegendCaption.styled.tsx 4 additions, 4 deletions...visualizations/components/legend/LegendCaption.styled.tsx
- frontend/src/metabase/visualizations/components/legend/LegendItem.styled.tsx 1 addition, 1 deletion...se/visualizations/components/legend/LegendItem.styled.tsx
Please register or sign in to comment