Migrate to React
This commit is contained in:
24
src/config.ts
Normal file
24
src/config.ts
Normal 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",
|
||||
};
|
||||
Reference in New Issue
Block a user