Skip to content

Commit 4f8b852

Browse files
committed
continued styling dark mode
1 parent 05d796c commit 4f8b852

10 files changed

+81
-82
lines changed

src/app/styles/components/_actionComponent.scss

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
}
44

55
.route-header {
6-
background-color: #1f2937;
7-
color: #ffffff;
6+
background-color: var(--button-primary-bg);
7+
color: var(--button-primary-text);
88
padding: 10px;
99
font-size: 14px;
1010
}
@@ -24,17 +24,17 @@
2424
.action-component {
2525
display: flex;
2626
padding: 6px 16px;
27-
background: white;
28-
border-bottom: 1px solid #e5e7eb;
27+
background: var(--bg-primary);
28+
border-bottom: 1px solid var(--border-color);
2929
transition: background-color 200ms ease;
3030
}
3131

3232
.action-component:hover {
33-
background-color: #f9fafb;
33+
background-color: var(--hover-bg);
3434
}
3535

3636
.action-component.selected {
37-
background-color: #f3f4f6;
37+
background-color: var(--selected-bg);
3838
}
3939

4040
.action-component-trigger {
@@ -53,13 +53,13 @@
5353
border: none;
5454
background: transparent;
5555
font-size: 1rem;
56-
color: #374151;
56+
color: var(--text-primary);
5757
width: 100%;
5858
padding: 2px 0;
5959
}
6060

6161
.actionname::placeholder {
62-
color: #6b7280;
62+
color: var(--text-secondary);
6363
}
6464

6565
.actionname:focus {
@@ -85,21 +85,21 @@
8585
}
8686

8787
.time-button {
88-
color: #6b7280;
88+
color: var(--text-secondary);
8989
background: transparent;
9090
}
9191

9292
.jump-button {
93-
color: white;
94-
background: #111827;
93+
color: var(--button-primary-text);
94+
background: var(--button-primary-bg);
9595
}
9696

9797
.jump-button:hover {
98-
background: #374151;
98+
background: var(--text-primary);
9999
}
100100

101101
.current-location {
102-
color: #14b8a6;
102+
color: var(--color-primary);
103103
background: #f0fdfa;
104104
}
105105

@@ -121,7 +121,7 @@
121121
border: none;
122122
background: transparent;
123123
font-size: 1rem;
124-
color: #374151;
124+
color: var(--text-primary);
125125
width: 100%;
126126
padding: 2px 0px;
127127
}

src/app/styles/components/_buttons.scss

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
padding: 8px 12x;
99
border-radius: 8px;
1010
border: none;
11-
background-color: #1f2937;
12-
color: white;
11+
background-color: var(--button-primary-bg);
12+
color: var(--button-primary-text);
1313
font-size: 14px;
1414
font-weight: 500;
1515
cursor: pointer;
@@ -19,7 +19,7 @@
1919
overflow: hidden;
2020

2121
&:hover {
22-
background-color: #374151;
22+
background-color: var(--text-primary);
2323
}
2424

2525
&:focus {
@@ -73,7 +73,7 @@
7373
display: flex;
7474
align-items: center;
7575
gap: 8px;
76-
color: #374151;
76+
color: var(--text-primary);
7777
font-size: 14px;
7878
font-weight: 500;
7979
}
@@ -104,8 +104,8 @@
104104

105105
.clear-button-modern {
106106
width: 100% !important;
107-
background-color: #f3f4f6 !important;
108-
color: #374151 !important;
107+
background-color: var(--bg-tertiary) !important;
108+
color: var(--text-primary) !important;
109109
font-size: 0.875rem !important;
110110
font-weight: 500 !important;
111111
text-transform: uppercase !important;
@@ -115,7 +115,7 @@
115115
}
116116

117117
.clear-button-modern:hover {
118-
background-color: #e5e7eb !important;
118+
background-color: var(--border-color) !important;
119119
}
120120

121121
/* Theme toggle button styling */

src/app/styles/components/_componentMap.scss

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
/* Component Map Container */
22
.componentMapContainer {
3-
fill: #f9fafb;
3+
fill: var(--bg-secondary);
44
transition: all 0.3s ease;
55
overflow: auto;
66
}
77
.componentMapContainer svg {
8-
background-color: #f9fafb;
8+
background-color: var(--bg-secondary);
99
}
1010

1111
#root {
@@ -15,24 +15,24 @@
1515
/* Node Styling */
1616
.compMapParent,
1717
.compMapChild {
18-
fill: #ffffff;
19-
stroke: #e5e7eb;
18+
fill: var(--bg-primary);
19+
stroke: var(--border-color);
2020
filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.05));
2121
transition: all 0.2s ease;
2222
}
2323

2424
.compMapParent:hover,
2525
.compMapChild:hover {
26-
stroke: #14b8a6;
26+
stroke: var(--color-primary);
2727
stroke-width: 2px;
2828
cursor: pointer;
2929
filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
3030
}
3131

3232
/* Root Node Styling */
3333
.compMapRoot {
34-
fill: #14b8a6;
35-
stroke: #0d9488;
34+
fill: var(--color-primary);
35+
stroke: var(--color-primary-dark);
3636
filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
3737
transition: all 0.2s ease;
3838
}
@@ -45,15 +45,15 @@
4545

4646
/* Text Styling */
4747
.compMapRootText {
48-
fill: #ffffff;
48+
fill: var(--bg-primary);
4949
font-family: 'Outfit', sans-serif;
5050
font-weight: 500;
5151
user-select: none;
5252
}
5353

5454
.compMapParentText,
5555
.compMapChildText {
56-
fill: #374151;
56+
fill: var(--text-primary);
5757
font-family: 'Outfit', sans-serif;
5858
font-weight: 500;
5959
user-select: none;

src/app/styles/components/_performanceVisx.scss

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@
2626
#routes-select,
2727
#snapshot-select,
2828
.control-select {
29-
background-color: #f9fafb;
30-
border: 1px solid #e5e7eb;
31-
color: #374151;
29+
background-color: var(--bg-secondary);
30+
border: 1px solid var(--border-color);
31+
color: var(--text-primary);
3232
font-size: 14px;
3333
padding: 6px 12px;
3434
border-radius: 6px;
@@ -46,16 +46,16 @@
4646
#routes-select:hover,
4747
#snapshot-select:hover,
4848
.control-select:hover {
49-
border-color: #d1d5db;
50-
background-color: #f3f4f6;
49+
border-color: var(--border-color-dark);
50+
background-color: var(--bg-tertiary);
5151
}
5252

5353
.performance-dropdown:focus,
5454
#routes-select:focus,
5555
#snapshot-select:focus,
5656
.control-select:focus {
5757
outline: none;
58-
border-color: #14b8a6;
58+
border-color: var(--color-primary);
5959
box-shadow: 0 0 0 2px rgba(20, 184, 166, 0.1);
6060
}
6161

src/app/styles/components/d3graph.css

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,14 @@
77

88
/* Node rectangle styling */
99
.node rect {
10-
fill: #ffffff;
11-
stroke: #e5e7eb;
10+
fill: var(--bg-primary);
11+
stroke: var(--border-color);
1212
stroke-width: 1px;
1313
transition: all 200ms ease;
1414
}
1515

1616
.node:hover rect {
17-
stroke: #14b8a6;
17+
stroke: var(--color-primary);
1818
stroke-width: 2px;
1919
filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
2020
}
@@ -24,47 +24,47 @@
2424
font-family: 'Outfit', sans-serif;
2525
font-size: 14px;
2626
font-weight: 500;
27-
fill: #374151;
27+
fill: var(--text-primary);
2828
}
2929

3030
/* Parent node specific styling */
3131
.node--internal rect {
32-
fill: #ffffff;
33-
stroke: #e5e7eb;
32+
fill: var(--bg-primary);
33+
stroke: var(--border-color);
3434
}
3535

3636
.node--internal:hover rect {
37-
stroke: #14b8a6;
37+
stroke: var(--color-primary);
3838
stroke-width: 2px;
3939
}
4040

4141
.node--internal text {
4242
font-size: 14px;
4343
font-weight: 500;
44-
fill: #374151;
44+
fill: var(--text-primary);
4545
}
4646

4747
/* Current/active node styling */
4848
.node.active rect {
49-
stroke: #14b8a6;
49+
stroke: var(--color-primary);
5050
stroke-width: 2px;
5151
}
5252

5353
/* Link styling */
5454
.link {
5555
fill: none;
56-
stroke: #e5e7eb;
56+
stroke: var(--border-color);
5757
stroke-width: 2px;
5858
transition: stroke 200ms ease;
5959
}
6060

6161
.link:hover {
62-
stroke: #d1d5db;
62+
stroke: var(--border-color-dark);
6363
}
6464

6565
/* Current path highlight */
6666
.link.current-link {
67-
stroke: #14b8a6;
67+
stroke: var(--color-primary);
6868
stroke-opacity: 0.6;
6969
}
7070

src/app/styles/layout/_actionContainer.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
.action-container {
22
background: var(--bg-primary);
3-
border-right: 1px solid #e5e7eb;
3+
border-right: 1px solid var(--border-color);
44
transition: width 0.3s ease;
55
overflow-x: hidden;
66
overflow-y: auto;

src/app/styles/layout/_bodyContainer.scss

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,5 @@
1414
grid-area: bottom;
1515
display: flex;
1616
width: 100%;
17-
border-top: 1px solid #e5e7eb;
18-
background: white;
17+
border-top: 1px solid var(--border-color);
1918
}

src/app/styles/layout/_buttonsContainer.scss

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
.buttons-container {
22
display: flex;
33
align-items: center;
4-
background: white;
5-
border-top: 1px solid #e5e7eb;
4+
background: var(--bg-primary);
5+
border-top: 1px solid var(--border-color);
66
width: 100%;
77
}
88

@@ -80,12 +80,12 @@
8080
}
8181

8282
.status-dot.active {
83-
background-color: #14b8a6;
83+
background-color: var(--color-primary);
8484
animation: pulse 2s infinite;
8585
}
8686

8787
.status-dot.inactive {
88-
background-color: #9ca3af;
88+
background-color: var(--text-tertiary);
8989
}
9090

9191
@keyframes pulse {

0 commit comments

Comments
 (0)