ISSUE-032 - Progress checkpoint.

Have a lot of the scaffolding in place. Next step is to make the Chyron controls actually work.
Dramatic re-thinking of the chyron state definitions.
Lots of goofy type following tricks in broadcastGraphics.ts.
This commit is contained in:
Kyle Geib committed 2022-01-28 17:53:50 -05:00
1 parent 8e4ac1243b
commit 5e7940a151
15 files changed
+266 -54

No files matched your search

@@ -5,7 +5,7 @@ type ToggleContainerProps = {
}
export const ToggleContainer = styled.div<ToggleContainerProps>`
display: flex;
justify-content: center;
align-items: flex-end;
font-size: ${({ fontSize = "inherit" }) => fontSize};
`;
ToggleContainer.displayName = "ToggleContainer";
@@ -24,7 +24,10 @@ ToggleInput.displayName = "ToggleInput";
export const ToggleLabelText = styled.span`
margin-right: 1ch;
font-family: ${p => p.theme.fonts.f1Regular};
font-size: ${p => p.theme.fontSizes.label};
`;
ToggleLabelText.displayName = "ToggleLabelText";
export const ToggleLabel = styled.label`
display: block;
@@ -95,4 +98,3 @@ export const ToggleCircle = styled.div<ToggleCircleProps>`
${({ toggled }) => toggled ? css`right: 0;` : css`left: 0;`}
`;
ToggleCircle.displayName = "ToggleCircle";