Skip to content

Commit 95ed895

Browse files
committed
swapped to a white color scheme
1 parent e4419ec commit 95ed895

File tree

3 files changed

+19
-12
lines changed

3 files changed

+19
-12
lines changed

src/app/components/StateRoute/ComponentMap/ComponentMap.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,8 +117,6 @@ export default function ComponentMap({
117117
...defaultStyles,
118118
minWidth: 60,
119119
maxWidth: 300,
120-
backgroundColor: 'rgb(15,15,15)',
121-
fontSize: '16px',
122120
lineHeight: '18px',
123121
zIndex: 100,
124122
pointerEvents: 'all !important',

src/app/components/StateRoute/ComponentMap/ToolTipDataDisplay.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ const ToolTipDataDisplay = ({ data }) => {
77
const jsonTheme = {
88
scheme: 'custom',
99
base00: 'transparent',
10-
base0B: '#ffff', // white for strings
10+
base0B: '#1f2937', // dark navy for strings
1111
base0D: '#60a5fa', // Blue for keys
1212
base09: '#f59e0b', // Orange for numbers
1313
base0C: '#EF4444', // red for nulls

src/app/styles/layout/_stateContainer.scss

Lines changed: 18 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -101,9 +101,9 @@
101101
// tool tip styles
102102
.tooltip-header {
103103
padding: 12px;
104-
background-color: #1f2937;
104+
background-color: #14b8a6;
105105
border-radius: 8px;
106-
border: 1px solid rgba(255, 255, 255, 0.1);
106+
border-bottom: 1px solid #e5e7eb;
107107
}
108108

109109
.tooltip-title {
@@ -115,16 +115,15 @@
115115

116116
.tooltip-container {
117117
width: 300px;
118-
background-color: #111827;
118+
background-color: #ffffff;
119119
border-radius: 8px;
120120
font-family: 'Outfit', sans-serif;
121121
overflow: hidden;
122-
border: 1px solid rgba(255, 255, 255, 0.1);
123122
}
124123

125124
.tooltip-section {
126125
padding: 12px;
127-
border-bottom: 1px solid rgba(107, 114, 128, 0.2);
126+
border-bottom: 1px solid #e5e7eb;
128127
transition: background-color 150ms ease;
129128
}
130129

@@ -141,6 +140,8 @@
141140
.tooltip-content {
142141
max-height: 400px;
143142
overflow-y: auto;
143+
scrollbar-width: thin;
144+
scrollbar-color: #cbd5e1 transparent;
144145
}
145146

146147
.tooltip-item {
@@ -153,20 +154,28 @@
153154
}
154155

155156
.tooltip-data {
156-
border-left: 2px solid rgba(20, 184, 166, 0.4);
157+
border-left: 2px solid #0d9488; /* Teal border */
158+
}
159+
160+
.tooltip-content::-webkit-scrollbar {
161+
width: 4px;
157162
}
158163

159164
.tooltip-content::-webkit-scrollbar {
160165
width: 4px;
161166
}
162167

163168
.tooltip-content::-webkit-scrollbar-track {
164-
background: rgba(107, 114, 128, 0.1);
169+
background: #f1f5f9;
165170
}
166171

167172
.tooltip-content::-webkit-scrollbar-thumb {
168-
background: #4b5563;
169-
border-radius: 2px;
173+
background: #cbd5e1;
174+
border-radius: 4px;
175+
}
176+
177+
.tooltip-content::-webkit-scrollbar-thumb:hover {
178+
background: #94a3b8;
170179
}
171180

172181
/* JSON Tree overrides */

0 commit comments

Comments
 (0)