Skip to content

feat: add resource-action pills to custom roles table #14354

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 11 commits into from
Sep 3, 2024
Prev Previous commit
Next Next commit
fix: format
  • Loading branch information
jaaydenh committed Sep 3, 2024
commit de5e17174e4123bc3e080bf5baa487c00d937195
2 changes: 1 addition & 1 deletion site/src/theme/dark/index.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { forDarkThemes } from "../externalImages";
import roles from "./roles";
import experimental from "./experimental";
import monaco from "./monaco";
import muiTheme from "./mui";
import roles from "./roles";

export default {
...muiTheme,
Expand Down
2 changes: 1 addition & 1 deletion site/src/theme/darkBlue/index.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { forDarkThemes } from "../externalImages";
import roles from "./roles";
import experimental from "./experimental";
import monaco from "./monaco";
import muiTheme from "./mui";
import roles from "./roles";

export default {
...muiTheme,
Expand Down
2 changes: 1 addition & 1 deletion site/src/theme/experimental.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type { Role, InteractiveRole } from "./roles";
import type { InteractiveRole, Role } from "./roles";

export interface NewTheme {
l1: Role; // page background, things which sit at the "root level"
Expand Down
2 changes: 1 addition & 1 deletion site/src/theme/index.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
// biome-ignore lint/nursery/noRestrictedImports: We still use `Theme` as a basis for our actual theme, for now.
import type { Theme as MuiTheme } from "@mui/material/styles";
import type * as monaco from "monaco-editor";
import type { Roles } from "./roles";
import dark from "./dark";
import darkBlue from "./darkBlue";
import type { NewTheme } from "./experimental";
import type { ExternalImageModeStyles } from "./externalImages";
import light from "./light";
import type { Roles } from "./roles";

export interface Theme extends Omit<MuiTheme, "palette"> {
/** @deprecated prefer `theme.roles` when possible */
Expand Down
2 changes: 1 addition & 1 deletion site/src/theme/light/index.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { forLightThemes } from "../externalImages";
import roles from "./roles";
import experimental from "./experimental";
import monaco from "./monaco";
import muiTheme from "./mui";
import roles from "./roles";

export default {
...muiTheme,
Expand Down
Loading