Skip to content

chore(site): make info gray #14356

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 13 commits into from
Aug 20, 2024
Prev Previous commit
Next Next commit
add some clarification to types
  • Loading branch information
aslilac committed Aug 20, 2024
commit c75e758369dc1245ab13f1b2d9f950e12adf928e
13 changes: 11 additions & 2 deletions site/src/theme/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,18 @@ import type { ExternalImageModeStyles } from "./externalImages";
import light from "./light";
import type { Roles } from "./roles";

export interface Theme extends MuiTheme {
experimental: NewTheme;
export interface Theme extends Omit<MuiTheme, "palette"> {
/** @deprecated use `theme.roles` instead */
palette: MuiTheme["palette"];

/** Sets of colors that can be used based on the role that a UI element serves
* for the user.
* Does it signify an error? a warning? that something is currently running? etc.
*/
roles: Roles;

/** Theme properties that we're testing out but haven't committed to. */
experimental: NewTheme;
monaco: monaco.editor.IStandaloneThemeData;
externalImages: ExternalImageModeStyles;
}
Expand Down