Skip to content

Commit f454891

Browse files
committed
added dark styles for link controls
1 parent 4f8b852 commit f454891

File tree

6 files changed

+15
-23
lines changed

6 files changed

+15
-23
lines changed

src/app/styles/components/_ax.scss

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
justify-content: center;
2525
min-width: 60px;
2626
padding: 6px 12px;
27-
font-family: 'Outfit', sans-serif;
2827
font-size: 14px;
2928
font-weight: 500;
3029
color: white;
@@ -49,7 +48,6 @@
4948
justify-content: center;
5049
min-width: 60px;
5150
padding: 6px 12px;
52-
font-family: 'Outfit', sans-serif;
5351
font-size: 14px;
5452
font-weight: 500;
5553
background-color: #f9fafb;
@@ -76,7 +74,6 @@
7674
margin: 0;
7775
color: #374151;
7876
font-size: 16px;
79-
font-family: 'Outfit', sans-serif;
8077
}
8178

8279
.tooltipData-JSONTree {

src/app/styles/components/_componentMap.scss

Lines changed: 12 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -46,15 +46,13 @@
4646
/* Text Styling */
4747
.compMapRootText {
4848
fill: var(--bg-primary);
49-
font-family: 'Outfit', sans-serif;
5049
font-weight: 500;
5150
user-select: none;
5251
}
5352

5453
.compMapParentText,
5554
.compMapChildText {
5655
fill: var(--text-primary);
57-
font-family: 'Outfit', sans-serif;
5856
font-weight: 500;
5957
user-select: none;
6058
}
@@ -75,8 +73,8 @@
7573
align-items: center;
7674
gap: 16px;
7775
padding: 12px 16px;
78-
background: white;
79-
border-bottom: 1px solid #e5e7eb;
76+
background: var(--bg-primary);
77+
border-bottom: 1px solid var(--border-color);
8078
justify-content: space-between;
8179
max-width: 1200px;
8280
}
@@ -90,14 +88,14 @@
9088
.control-label {
9189
font-size: 14px;
9290
font-weight: 500;
93-
color: #4b5563;
91+
color: var(--text-secondary);
9492
user-select: none;
9593
}
9694

9795
.control-select {
98-
background-color: #f9fafb;
99-
border: 1px solid #e5e7eb;
100-
color: #374151;
96+
background-color: var(--bg-secondary);
97+
border: 1px solid var(--border-color);
98+
color: var(--text-primary);
10199
font-size: 14px;
102100
padding: 6px 12px;
103101
border-radius: 6px;
@@ -112,13 +110,13 @@
112110
}
113111

114112
.control-select:hover {
115-
border-color: #d1d5db;
116-
background-color: #f3f4f6;
113+
border-color: var(--border-color-dark);
114+
background-color: var(--bg-tertiary);
117115
}
118116

119117
.control-select:focus {
120118
outline: none;
121-
border-color: #14b8a6;
119+
border-color: var(--color-primary);
122120
box-shadow: 0 0 0 2px rgba(20, 184, 166, 0.1);
123121
}
124122

@@ -127,7 +125,7 @@
127125
width: 120px;
128126
height: 4px;
129127
border-radius: 2px;
130-
background: #e5e7eb;
128+
background: var(--border-color);
131129
outline: none;
132130
margin: 0;
133131
cursor: pointer;
@@ -137,13 +135,13 @@
137135
width: 16px;
138136
height: 16px;
139137
border-radius: 50%;
140-
background: #14b8a6;
138+
background: var(--color-primary);
141139
cursor: pointer;
142140
transition: all 200ms ease;
143141
border: none;
144142

145143
&:hover {
146-
background: #0d9488;
144+
background: var(--color-primary-dark);
147145
transform: scale(1.1);
148146
}
149147
}

src/app/styles/components/d3graph.css

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121

2222
/* Node text styling */
2323
.node text {
24-
font-family: 'Outfit', sans-serif;
2524
font-size: 14px;
2625
font-weight: 500;
2726
fill: var(--text-primary);
@@ -74,7 +73,6 @@ div.tooltip {
7473
padding: 12px;
7574
color: #374151;
7675
z-index: 100;
77-
font-family: 'Outfit', sans-serif;
7876
font-size: 14px;
7977
font-weight: 500;
8078
background: #ffffff;

src/app/styles/layout/_mainContainer.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
.main-container {
22
height: 100%;
33
margin: 0 auto;
4-
background-color: white;
4+
background-color: var(--bg-secondary);
55
overflow: hidden;
66
}
77

src/app/styles/layout/_stateContainer.scss

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,6 @@
8585
width: 250px;
8686
background-color: var(--bg-primary);
8787
border-radius: 8px;
88-
font-family: 'Outfit', sans-serif;
8988
overflow: hidden;
9089
}
9190

src/app/styles/layout/_travelContainer.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
.travel-container {
2-
background: white;
2+
background: var(--bg-primary);
33
display: flex;
44
flex-direction: row;
55
align-items: center;
6-
border-top: 1px solid #e5e7eb;
6+
border-top: 1px solid var(--border-color);
77
padding-left: 16px;
88
gap: 8px;
99
}

0 commit comments

Comments
 (0)