Skip to content

Commit 1e45c2c

Browse files
committed
fix: use declared colors
1 parent e73d010 commit 1e45c2c

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

web_src/js/components/RepoActionView.vue

+10-8
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ export function initRepositoryActionView() {
320320
display: block;
321321
margin: 5px 0;
322322
padding: 10px;
323-
background: #f8f8f8;
323+
background: var(--color-info-bg);
324324
border-radius: 5px;
325325
text-decoration: none;
326326
button.job-brief-rerun {
@@ -330,6 +330,9 @@ export function initRepositoryActionView() {
330330
outline: none
331331
};
332332
}
333+
a.job-brief-item:hover {
334+
background-color: var(--color-secondary);
335+
}
333336
}
334337
}
335338
@@ -340,8 +343,8 @@ export function initRepositoryActionView() {
340343
341344
.action-view-right {
342345
flex: 1;
343-
background-color: #262626;
344-
color: #d6d6d6;
346+
background-color: var(--color-console-bg);
347+
color: var(--color-console-fg);
345348
max-height: 100%;
346349
margin-right: 10px;
347350
@@ -351,13 +354,12 @@ export function initRepositoryActionView() {
351354
352355
.job-info-header {
353356
.job-info-header-title {
354-
color: #fdfdfd;
355357
font-size: 150%;
356358
padding: 10px;
357359
}
358360
.job-info-header-detail {
359361
padding: 0 10px 10px;
360-
border-bottom: 1px solid #666;
362+
border-bottom: 1px solid var(--color-grey);
361363
}
362364
}
363365
@@ -378,7 +380,7 @@ export function initRepositoryActionView() {
378380
}
379381
}
380382
.job-step-summary:hover {
381-
background-color: #333;
383+
background-color: var(--color-black-light);
382384
}
383385
}
384386
</style>
@@ -408,11 +410,11 @@ body > div.full.height {
408410
display: flex;
409411
line-num {
410412
width: 48px;
411-
color: #555;
413+
color: var(--color-grey-light);
412414
text-align: right;
413415
}
414416
log-time {
415-
color: #777;
417+
color: var(--color-grey-light);
416418
margin-left: 10px;
417419
white-space: nowrap;
418420
}

0 commit comments

Comments
 (0)