File tree Expand file tree Collapse file tree 14 files changed +33
-68
lines changed
TemplateVersionEditorPage
WorkspacePage/WorkspaceNotifications Expand file tree Collapse file tree 14 files changed +33
-68
lines changed Original file line number Diff line number Diff line change 8
8
HelpTooltipTrigger ,
9
9
} from "components/HelpTooltip/HelpTooltip" ;
10
10
import type { FC , ReactNode } from "react" ;
11
- import type { ThemeRole } from "theme/colorRoles " ;
11
+ import type { ThemeRole } from "theme/roles " ;
12
12
13
13
interface InfoTooltipProps {
14
14
type ?: ThemeRole ;
Original file line number Diff line number Diff line change 9
9
forwardRef ,
10
10
useMemo ,
11
11
} from "react" ;
12
- import type { ThemeRole } from "theme/colorRoles " ;
12
+ import type { ThemeRole } from "theme/roles " ;
13
13
14
14
export type PillProps = HTMLAttributes < HTMLDivElement > & {
15
15
icon ?: ReactNode ;
Original file line number Diff line number Diff line change 1
1
import { useTheme } from "@emotion/react" ;
2
2
import type { FC } from "react" ;
3
- import type { ThemeRole } from "theme/colorRoles " ;
3
+ import type { ThemeRole } from "theme/roles " ;
4
4
5
5
interface StatusIndicatorProps {
6
6
color : ThemeRole ;
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ import { TimelineEntry } from "components/Timeline/TimelineEntry";
12
12
import { UserAvatar } from "components/UserAvatar/UserAvatar" ;
13
13
import { type FC , useState } from "react" ;
14
14
import { Link as RouterLink } from "react-router-dom" ;
15
- import type { ThemeRole } from "theme/colorRoles " ;
15
+ import type { ThemeRole } from "theme/roles " ;
A93C
16
16
import userAgentParser from "ua-parser-js" ;
17
17
import { AuditLogDescription } from "./AuditLogDescription/AuditLogDescription" ;
18
18
import { AuditLogDiff } from "./AuditLogDiff/AuditLogDiff" ;
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ import QueuedIcon from "@mui/icons-material/HourglassEmpty";
4
4
import type { TemplateVersion } from "api/typesGenerated" ;
5
5
import { Pill , PillSpinner } from "components/Pill/Pill" ;
6
6
import type { FC , ReactNode } from "react" ;
7
- import type { ThemeRole } from "theme/colorRoles " ;
7
+ import type { ThemeRole } from "theme/roles " ;
8
8
import { getPendingStatusLabel } from "utils/provisionerJob" ;
9
9
10
10
interface TemplateVersionStatusBadgeProps {
Original file line number Diff line number Diff line change 9
9
usePopover ,
10
10
} from "components/Popover/Popover" ;
11
11
import type { FC , ReactNode } from "react" ;
12
- import type { ThemeRole } from "theme/colorRoles " ;
12
+ import type { ThemeRole } from "theme/roles " ;
13
13
14
14
export type NotificationItem = {
15
15
title : string ;
Original file line number Diff line number Diff line change 1
1
import { forDarkThemes } from "../externalImages" ;
2
- import roles from "./colorRoles " ;
2
+ import roles from "./roles " ;
3
3
import experimental from "./experimental" ;
4
4
import monaco from "./monaco" ;
5
5
import muiTheme from "./mui" ;
Original file line number Diff line number Diff line change 1
- import type { ColorRoles } from "../colorRoles " ;
1
+ import type { Roles } from "../roles " ;
2
2
import colors from "../tailwindColors" ;
3
3
4
4
export default {
5
- default : {
6
- background : colors . zinc [ 800 ] ,
7
- outline : colors . zinc [ 700 ] ,
8
- text : colors . zinc [ 200 ] ,
9
- fill : {
10
- solid : colors . zinc [ 700 ] ,
11
- outline : colors . zinc [ 600 ] ,
12
- text : colors . zinc [ 50 ] ,
13
- } ,
14
- } ,
15
5
danger : {
16
6
background : colors . orange [ 950 ] ,
17
7
outline : colors . orange [ 500 ] ,
@@ -162,4 +152,4 @@ export default {
162
152
text : colors . white ,
163
153
} ,
164
154
} ,
165
- } satisfies ColorRoles ;
155
+ } satisfies Roles ;
Original file line number Diff line number Diff line change 1
1
import { forDarkThemes } from "../externalImages" ;
2
- import roles from "./colorRoles " ;
2
+ import roles from "./roles " ;
3
3
import experimental from "./experimental" ;
4
4
import monaco from "./monaco" ;
5
5
import muiTheme from "./mui" ;
Original file line number Diff line number Diff line change 1
- import type { ColorRoles } from "../colorRoles " ;
1
+ import type { Roles } from "../roles " ;
2
2
import colors from "../tailwindColors" ;
3
3
4
4
export default {
5
- default : {
6
- background : colors . gray [ 800 ] ,
7
- outline : colors . gray [ 700 ] ,
8
- text : colors . gray [ 200 ] ,
9
- fill : {
10
- solid : colors . gray [ 700 ] ,
11
- outline : colors . gray [ 600 ] ,
12
- text : colors . gray [ 50 ] ,
13
- } ,
14
- } ,
15
5
danger : {
16
6
background : colors . orange [ 950 ] ,
17
7
outline : colors . orange [ 500 ] ,
@@ -162,4 +152,4 @@ export default {
162
152
text : colors . white ,
163
153
} ,
164
154
} ,
165
- } satisfies ColorRoles ;
155
+ } satisfies Roles ;
You can’t perform that action at this time.
0 commit comments