Migrate to React

This commit is contained in:
Adrian Rumpold
2025-07-09 06:51:16 +02:00
parent 50d2fa8bfe
commit 5dc583e387
23 changed files with 4791 additions and 341 deletions

24
src/config.ts Normal file
View File

@@ -0,0 +1,24 @@
export const config = {
dotRadius: 5,
dotSpacing: 2,
columnsPerGroup: 3,
groupSpacing: 40,
margin: { top: 20, right: 30, bottom: 80, left: 120 },
};
// Color scheme for Likert scale responses
type ColorScheme = {
[key: string | number]: string;
};
export const colorScheme: ColorScheme = {
"Strongly Disagree": "#d32f2f",
Disagree: "#f57c00",
Neutral: "#fbc02d",
Agree: "#689f38",
"Strongly Agree": "#388e3c",
1: "#d32f2f",
2: "#f57c00",
3: "#fbc02d",
4: "#689f38",
5: "#388e3c",
};