Skip to content

Commit a369280

Browse files
changes description titles to reflect light/dark mode changes.
1 parent c558908 commit a369280

3 files changed

Lines changed: 9 additions & 4 deletions

File tree

src/Components/Command/GeneratedCommand.css

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,20 @@
1313
font-family: "Source Code Pro", monospace;
1414
font-weight: normal;
1515
font-size: .9rem;
16-
background-color: var(--sg-bg-dark-3);
16+
background-color: #000000;
1717
padding-top: 25px;
1818
padding-left: 20px;
1919
padding-right: 20px;
2020
padding-bottom: 25px;
21-
color: #ffffff;
21+
color: var(--sg-mint);
2222
border-radius: 3px;
2323
}
2424

25+
.generated-command.dark {
26+
background-color: var(--sg-bg-dark-3);
27+
color: #ffffff;
28+
}
29+
2530
.btns-container {
2631
width: 100%;
2732
max-width: 800px;

src/Components/Command/GeneratedCommand.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export default function GeneratedCommand({
2828

2929
return (
3030
<div className="generated-command-container">
31-
<div className="generated-command">
31+
<div className={`generated-command ${mode === "dark" ? "dark" : "light"}`}>
3232
{selectedDeployment === 'select-deployment' ? (
3333
<>
3434
[SELECT DEPLOYMENT TYPE and FUNCTION]

src/Components/Descriptions/Descriptions.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
flex-flow: column nowrap;
1212
}
1313

14-
.desc-item {
14+
.desc-item.dark {
1515
color: white;
1616
}
1717

0 commit comments

Comments
 (0)