Skip to content

Commit d5afa4e

Browse files
authored
fix #147: mixed up theme black/white (#152)
1 parent da60ab5 commit d5afa4e

File tree

5 files changed

+20
-6
lines changed

5 files changed

+20
-6
lines changed

ui/src/App.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ function App() {
8181
</HeaderGlobalBar>
8282
</Header>
8383

84-
<Content id="main-content" style={{ background: "#262626", padding: 0 }}>
84+
<Content id="main-content">
8585
<Outlet />
8686
</Content>
8787
</>

ui/src/Pages/LLMChat/LLMChatPage.tsx

+3-3
Original file line numberDiff line numberDiff line change
@@ -455,7 +455,7 @@ export const LLMChatPage: React.FC = () => {
455455
<Tab>Chat</Tab>
456456
</TabList>
457457
<TabPanels>
458-
<TabPanel style={{ background: "#161616" }}>
458+
<TabPanel className="tabbg">
459459
<Grid fullWidth>
460460
<Column sm={4} md={8} lg={8}>
461461
<Tile style={{ marginBottom: "1rem", padding: "1rem" }}>
@@ -534,7 +534,7 @@ export const LLMChatPage: React.FC = () => {
534534
</Column>
535535
</Grid>
536536
</TabPanel>
537-
<TabPanel style={{ background: "#161616" }}>
537+
<TabPanel className="tabbg">
538538
<Tile style={{ marginBottom: "1rem", padding: "1rem" }}>
539539
<Stack gap={7}>
540540
{isLoadingTools && <p>Loading tools...</p>}
@@ -572,7 +572,7 @@ export const LLMChatPage: React.FC = () => {
572572
</Stack>
573573
</Tile>
574574
</TabPanel>
575-
<TabPanel style={{ background: "#161616" }}>
575+
<TabPanel className="tabbg">
576576
<Grid fullWidth>
577577
<Column sm={4} md={8} lg={5}>
578578
<Tile style={{ marginBottom: "1rem", padding: "1rem" }}>

ui/src/Pages/Resources/ResourcesPage.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ export const ResourcesPage: React.FC = () => {
139139
Resources are a fundamental primitive in MCP that allow servers to
140140
expose data and content to LLM clients
141141
</p>
142-
<div style={{ background: "#161616", paddingTop: "2rem" }}>
142+
<div id="page-content">
143143
{resourcesList}
144144
</div>
145145
{isAddModalOpen && (

ui/src/Pages/Tools/ToolsPage.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ export const ToolsPage: React.FC = () => {
9898
by utilizing these tools. Each tool is uniquely identified by a name and
9999
defined with an input schema outlining the expected parameters.
100100
</p>
101-
<div style={{ background: "#161616", paddingTop: "2rem" }}>
101+
<div id="page-content">
102102
{fetchedData && (
103103
<ToolsTable
104104
fetchedData={fetchedData}

ui/src/index.scss

+14
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,17 @@ body {
2929
background: theme.$background;
3030
color: theme.$text-primary;
3131
}
32+
33+
#main-content {
34+
background: theme.$layer-01;
35+
padding: 0;
36+
}
37+
38+
#page-content {
39+
background: theme.$background;
40+
padding-top: 2rem;
41+
}
42+
43+
.tabbg {
44+
background: theme.$background;
45+
}

0 commit comments

Comments
 (0)