Skip to content

Commit 577e172

Browse files
committed
capitalize export
1 parent a6b3af5 commit 577e172

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

src/App.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { InstUISettingsProvider } from "@instructure/emotion";
44
import { darken } from "@instructure/ui-color-utils";
55
import { canvas } from "@instructure/ui-themes";
66
import { type FC, useState } from "react";
7-
import { brands } from "./assets/Features";
7+
import { Brands } from "./assets/Features";
88
import Banner from "./components/Banner";
99
import HelpTray from "./components/HelpTray";
1010
import SignupModal from "./components/SignupModal";
@@ -23,7 +23,7 @@ const App: FC = () => {
2323
meterColorSuccess: colors.sea45,
2424
},
2525
},
26-
"ic-brand-font-color-dark": brands.instructure.color,
26+
"ic-brand-font-color-dark": Brands.instructure.color,
2727
"ic-brand-primary": colors.violet45,
2828
typography: {
2929
fontFamily: "'Poppins', sans-serif",

src/assets/features.tsx

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ interface BrandInfo {
4141
icon: ComponentType<SVGIconProps>;
4242
}
4343

44-
export const brands: Record<Exclude<BrandKey, "studio">, BrandInfo> & {
44+
export const Brands: Record<Exclude<BrandKey, "studio">, BrandInfo> & {
4545
studio: { readonly color: string; icon: ComponentType<SVGIconProps> };
4646
} = {
4747
canvas: { color: "#D24E21", icon: CanvasBug },
@@ -51,7 +51,7 @@ export const brands: Record<Exclude<BrandKey, "studio">, BrandInfo> & {
5151
parchment: { color: "#4279B6", icon: ParchmentBug },
5252
studio: {
5353
get color() {
54-
return brands.canvas.color;
54+
return Brands.canvas.color;
5555
},
5656
icon: StudioBug,
5757
},
@@ -69,8 +69,8 @@ const RawFeatures: RawFeaturesType = {
6969
label: "Grading Assistance",
7070
},
7171
{
72-
color: brands.studio.color,
73-
icon: brands.studio.icon,
72+
color: Brands.studio.color,
73+
icon: Brands.studio.icon,
7474
id: "studio_captioning",
7575
label: "Canvas Studio Enhanced Captioning",
7676
},
@@ -81,8 +81,8 @@ const RawFeatures: RawFeaturesType = {
8181
label: "Quiz Item Generator",
8282
},
8383
{
84-
color: brands.ignite.color,
85-
icon: brands.ignite.icon,
84+
color: Brands.ignite.color,
85+
icon: Brands.ignite.icon,
8686
id: "accessibility_remediation",
8787
label: "Content Accessibility Remediation",
8888
},
@@ -93,8 +93,8 @@ const RawFeatures: RawFeaturesType = {
9393
label: "Ignite Agent",
9494
},
9595
{
96-
color: brands.canvas.color,
97-
icon: brands.canvas.icon,
96+
color: Brands.canvas.color,
97+
icon: Brands.canvas.icon,
9898
id: "canvas_career",
9999
label: "Canvas Career",
100100
},
@@ -109,8 +109,8 @@ const Features: FeaturesType = Object.fromEntries(
109109
.sort((a, b) => a.label.localeCompare(b.label))
110110
.map((feature) => ({
111111
...feature,
112-
color: feature.color ?? brands.ignite.color,
113-
icon: feature.icon ?? brands.ignite.icon,
112+
color: feature.color ?? Brands.ignite.color,
113+
icon: feature.icon ?? Brands.ignite.icon,
114114
})),
115115
]),
116116
);

0 commit comments

Comments
 (0)