Skip to content

Commit 02ab060

Browse files
authoredFeb 7, 2025
Bump SDK npm version, change question, nicer colors (#13)
1 parent 757430a commit 02ab060

File tree

3 files changed

+16
-17
lines changed

3 files changed

+16
-17
lines changed
 

‎client/package-lock.json

+4-5
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎client/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"preview": "vite preview"
1212
},
1313
"dependencies": {
14-
"@metabase/embedding-sdk-react": "^0.52.6",
14+
"@metabase/embedding-sdk-react": "^0.52.9",
1515
"react": "^18.3.1",
1616
"react-dom": "^18.3.1"
1717
},

‎client/src/App.jsx

+11-11
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ const config = defineMetabaseAuthConfig({
1313
authProviderUri: import.meta.env.VITE_AUTH_PROVIDER_URI,
1414
});
1515

16-
const questionId = 14;
16+
const questionId = 24;
1717

1818
const theme = defineMetabaseTheme({
1919
// Specify a font to use from the set of fonts supported by Metabase.
@@ -31,16 +31,16 @@ const theme = defineMetabaseTheme({
3131

3232
// Match your application's color scheme
3333
colors: {
34-
brand: "#d21238",
35-
"text-primary": "#441616",
36-
"text-secondary": "#8d1b01",
37-
"text-tertiary": "#1d78f0",
38-
background: "#f0dbdb",
39-
"background-hover": "#e2e1e1",
40-
border: "#3e0606",
41-
filter: "#b54504",
42-
summarize: "#3c680d",
43-
shadow: "rgba(0,0,0,0.08)",
34+
brand: "#2196F3",
35+
"text-primary": "#2C3E50",
36+
"text-secondary": "#607D8B",
37+
"text-tertiary": "#78909C",
38+
background: "#F5F7FA",
39+
"background-hover": "#E3E8EF",
40+
border: "#CFD8DC",
41+
filter: "#4CAF50",
42+
summarize: "#3F51B5",
43+
shadow: "rgba(0,0,0,0.1)",
4444
},
4545

4646
components: {

0 commit comments

Comments
 (0)