Skip to content
Open
Show file tree
Hide file tree
Changes from 6 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions ui/dashboard/src/internal/assets/icons/icon-moon-line.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 11 additions & 0 deletions ui/dashboard/src/internal/assets/icons/icon-sun-line.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions ui/dashboard/src/internal/components/card/index.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
}

.tui-card .header .title {
color: rgba(255, 255, 255, 0.88);
color: var(--app-color);

font-family: Satoshi;
font-size: 22px;
Expand All @@ -81,7 +81,7 @@
}

.tui-card .header .subtitle {
color: rgba(255, 255, 255, 0.66);
color: var(--comp-label-color);

font-family: Satoshi;
font-size: 15px;
Expand Down
18 changes: 9 additions & 9 deletions ui/dashboard/src/internal/components/json-tree/index.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@
gap: 8px;
}
.tools .icon {
color: rgba(255, 255, 255, 0.66);
color: var(--comp-label-color);
cursor: pointer;
}

Expand All @@ -262,31 +262,31 @@
}

.key {
color: rgba(255, 255, 255, 0.8);
color: var(--app-color);
}

.string {
color: #15b241;
color: var(--json-tree-string-color, #15b241);
}

.string2 {
color: #9917ff;
color: var(--json-tree-string2-color, #9917ff);
}

.boolean {
color: blue;
color: var(--json-tree-boolean-color, #1a6bd4);
}

.undefined,
.null {
color: gray;
color: var(--comp-label-color);
}

.expand {
display: inline-block;
position: relative;
left: var(--block-indent);
color: rgba(255, 255, 255, 0.3);
color: var(--comp-label-color);
}

button.expand {
Expand All @@ -298,7 +298,7 @@
}
.expand:hover {
cursor: pointer;
color: rgba(255, 255, 255, 0.5);
color: var(--app-color);
}
.exp_icon {
width: 11px;
Expand All @@ -319,7 +319,7 @@
transform: rotate(-90deg);
}
.expand:hover .exp_icon {
background-color: rgba(255, 255, 255, 0.1);
background-color: var(--app-subtle-bg-color);
}

.obj-start {
Expand Down
12 changes: 6 additions & 6 deletions ui/dashboard/src/internal/components/msgbox/index.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -208,30 +208,30 @@
font-family: 'JetBrains Mono', 'Courier New', monospace;
font-size: 12px;
line-height: 1.5;
color: #b4b4b4;
color: var(--json-display-color, #b4b4b4);
white-space: pre-wrap;
word-wrap: break-word;
overflow-wrap: break-word;
max-width: 100%;
}

:global(.json-display .json-key) {
color: #a8c0ff;
color: var(--json-display-key-color, #a8c0ff);
}

:global(.json-display .json-string) {
color: #98c379;
color: var(--json-display-string-color, #98c379);
}

:global(.json-display .json-number) {
color: #d19a66;
color: var(--json-display-number-color, #d19a66);
}

:global(.json-display .json-boolean) {
color: #56b6c2;
color: var(--json-display-boolean-color, #56b6c2);
}

:global(.json-display .json-null) {
color: #abb2bf;
color: var(--json-display-null-color, #abb2bf);
}
</style>
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@
align-items: center;
gap: 4px;

color: rgba(255, 255, 255, 0.66);
color: var(--comp-label-color);

font-family: Satoshi;
font-size: 13px;
Expand All @@ -122,7 +122,7 @@
color: #15b241;
}
.live-label {
color: rgba(255, 255, 255, 0.66);
color: var(--comp-label-color);
}

.content {
Expand Down Expand Up @@ -151,7 +151,7 @@
align-items: flex-start;
gap: 8px;

color: rgba(255, 255, 255, 0.66);
color: var(--comp-label-color);
font-family: Satoshi;
font-size: 13px;
font-style: normal;
Expand All @@ -161,7 +161,7 @@

margin-right: 28px;
padding: 14px 0;
border-right: 1px solid #0a1018;
border-right: 1px solid var(--app-bg-color);
}
/* .block-content.first {
background: red;
Expand All @@ -181,7 +181,7 @@
}

.value {
color: rgba(255, 255, 255, 0.88);
color: var(--app-color);

font-family: Satoshi;
font-size: 22px;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -147,27 +147,27 @@
padding: 0;
background: transparent;
border: none;
color: rgba(255, 255, 255, 0.66);
color: var(--comp-label-color);
cursor: pointer;
transition: all 0.2s ease;
border-radius: 4px;
}

.clear-sort-btn:hover {
background: rgba(255, 255, 255, 0.1);
color: rgba(255, 255, 255, 0.9);
background: var(--app-overlay-color);
color: var(--app-color);
}

.clear-sort-btn:active {
background: rgba(255, 255, 255, 0.15);
background: var(--app-overlay-strong-color);
}

.live {
display: flex;
align-items: center;
gap: 4px;

color: rgba(255, 255, 255, 0.66);
color: var(--comp-label-color);

font-family: Satoshi;
font-size: 13px;
Expand All @@ -185,7 +185,7 @@
color: #15b241;
}
.live-label {
color: rgba(255, 255, 255, 0.66);
color: var(--comp-label-color);
}

.title {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,7 @@
overflow-x: hidden;
overflow-y: auto;
transition: top var(--easing-duration, 0.2s) var(--easing-function, ease-in-out);
background: var(--app-bg-color);
}

.logo-container {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@
}

.label {
color: rgba(255, 255, 255, 0.66);
color: var(--comp-label-color);
font-family: Satoshi;
font-size: 15px;
font-style: normal;
Expand All @@ -113,7 +113,7 @@
.value {
word-break: break-all;

color: rgba(255, 255, 255, 0.88);
color: var(--app-color);
font-family: Satoshi;
font-size: 15px;
font-style: normal;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@
width: 100%;

padding-bottom: 16px;
border-bottom: 1px solid #0a1018;
border-bottom: 1px solid var(--app-bg-color);
}

.json {
Expand Down Expand Up @@ -266,7 +266,7 @@
}

.label {
color: rgba(255, 255, 255, 0.66);
color: var(--comp-label-color);
font-family: Satoshi;
font-size: 15px;
font-style: normal;
Expand All @@ -278,7 +278,7 @@
.value {
word-break: break-all;

color: rgba(255, 255, 255, 0.88);
color: var(--app-color);
font-family: Satoshi;
font-size: 15px;
font-style: normal;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@
width: 100%;

padding-bottom: 32px;
border-bottom: 1px solid #0a1018;
border-bottom: 1px solid var(--app-bg-color);
}

.json-header {
Expand Down Expand Up @@ -289,7 +289,7 @@
}

.loading {
color: rgba(255, 255, 255, 0.66);
color: var(--comp-label-color);
text-align: center;
padding: 40px;
}
Expand Down Expand Up @@ -330,7 +330,7 @@
}

.label {
color: rgba(255, 255, 255, 0.66);
color: var(--comp-label-color);
font-family: Satoshi;
font-size: 15px;
font-style: normal;
Expand All @@ -342,7 +342,7 @@
.value {
word-break: break-all;

color: rgba(255, 255, 255, 0.88);
color: var(--app-color);
font-family: Satoshi;
font-size: 15px;
font-style: normal;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@
width: 100%;

padding-bottom: 32px;
border-bottom: 1px solid #0a1018;
border-bottom: 1px solid var(--app-bg-color);
}

.json {
Expand Down Expand Up @@ -285,7 +285,7 @@
}

.label {
color: rgba(255, 255, 255, 0.66);
color: var(--comp-label-color);
font-family: Satoshi;
font-size: 15px;
font-style: normal;
Expand All @@ -297,7 +297,7 @@
.value {
word-break: break-all;

color: rgba(255, 255, 255, 0.88);
color: var(--app-color);
font-family: Satoshi;
font-size: 15px;
font-style: normal;
Expand Down Expand Up @@ -365,13 +365,13 @@
}

.in-block {
color: rgba(255, 255, 255, 0.66);
color: var(--comp-label-color);
font-size: 14px;
}

.not-in-block,
.not-in-subtree {
color: rgba(255, 255, 255, 0.4);
color: var(--comp-label-disabled-color);
font-style: italic;
}
</style>
Loading
Loading