Files
test/src/types/style.d.ts
T
Kyle Geib b545750f70 ISSUE-045 - Chyron Body - Great progress today! It's starting to look legit!
Massive change to the way that Chyrons are built and deployed.
Still need to figure out what's wrong with the portrait and the Venetian blinds causing issues.
Still need to make the team name flicker.
2022-02-09 18:47:07 -05:00

43 lines
850 B
TypeScript

/**
* Type to remind you that we're dealing with pixels.
*/
export type Px = number;
/**
* Type to remind you that we're dealing with percentages (100 = 100%).
*/
export type Percent = number;
/**
* Type to remind you that we're dealing with fraction (0-1).
*/
export type Fraction = number;
/**
* Type to remind you that we're dealing with degrees (0-360, etc).
*/
export type Degrees = number;
/**
* Object to cleanly define relative/absolute placement for a styled component.
*/
export interface Placement {
top?: string;
right?: string;
bottom?: string;
left?: string;
}
/**
* Useful to initialize movements from.
*/
export type Corner = "topLeft" | "topRight" | "bottomRight" | "bottomLeft";
export interface TransitionArgs {
property?: string,
duration?: Milliseconds,
timing?: string
delay?: Milliseconds,
}