ISSUE-054 - Added Team Gems to TimingTower.
Finer calibration to row sizing (not 37px or 36px high, but 36.5px!) and position flag font size.
This commit is contained in:
1 parent
39bddc4cf1
commit
2ad7fdd24c
12 files changed
+202
-21
No files matched your search
@@ -496,3 +496,64 @@ export const teamFlagStyles: { [teamId: string]: TeamFlagStyle } = {
|
||||
subFlagModifier: { x: 1, y: 1, scale: .98 },
|
||||
},
|
||||
};
|
||||
|
||||
export type TeamGemStyle = {
|
||||
backgroundColor: string,
|
||||
imageSize: Percent,
|
||||
imagePos: {
|
||||
x: number,
|
||||
y: number,
|
||||
},
|
||||
};
|
||||
export const teamGemStyles: { [teamId: string]: TeamGemStyle } = {
|
||||
alfaRomeo: {
|
||||
backgroundColor: "#660000",
|
||||
imageSize: 65,
|
||||
imagePos: { x: .28, y: .15 },
|
||||
},
|
||||
alphaTauri: {
|
||||
backgroundColor: "#232c3b",
|
||||
imageSize: 75,
|
||||
imagePos: { x: .26, y: .07 },
|
||||
},
|
||||
alpine: {
|
||||
backgroundColor: "black",
|
||||
imageSize: 82,
|
||||
imagePos: { x: .13, y: 0 },
|
||||
},
|
||||
astonMartin: {
|
||||
backgroundColor: "#037356",
|
||||
imageSize: 130,
|
||||
imagePos: { x: .05, y: -.22 },
|
||||
},
|
||||
ferrari: {
|
||||
backgroundColor: "#dc0000",
|
||||
imageSize: 65,
|
||||
imagePos: { x: .3, y: .18 },
|
||||
},
|
||||
haas: {
|
||||
backgroundColor: "#f0f0f0",
|
||||
imageSize: 65,
|
||||
imagePos: { x: .25, y: .12 },
|
||||
},
|
||||
mclaren: {
|
||||
backgroundColor: "#545459",
|
||||
imageSize: 67,
|
||||
imagePos: { x: .25, y: .1 },
|
||||
},
|
||||
mercedes: {
|
||||
backgroundColor: "#1ee0ad",
|
||||
imageSize: 63,
|
||||
imagePos: { x: .31, y: .16 },
|
||||
},
|
||||
redBull: {
|
||||
backgroundColor: "#413ae2",
|
||||
imageSize: 130,
|
||||
imagePos: { x: .20, y: .05 },
|
||||
},
|
||||
williams: {
|
||||
backgroundColor: "#12a0cb",
|
||||
imageSize: 65,
|
||||
imagePos: { x: .3, y: .12 },
|
||||
},
|
||||
};
|
||||
Reference in new issue
Block a user