Skip to content

Commit 4a17695

Browse files
committed
Tweak actions color and borders
1 parent f6d01ac commit 4a17695

File tree

3 files changed

+44
-42
lines changed

3 files changed

+44
-42
lines changed

web_src/css/themes/theme-gitea-dark.css

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -61,10 +61,10 @@
6161
--color-secondary-hover: var(--color-secondary-dark-3);
6262
--color-secondary-active: var(--color-secondary-dark-2);
6363
/* console colors - used for actions console and console files */
64-
--color-console-fg: #d9dde2;
65-
--color-console-fg-subtle: #95989c;
66-
--color-console-bg: #1c2023;
67-
--color-console-border: #272b2e;
64+
--color-console-fg: #f8f8f9;
65+
--color-console-fg-subtle: #bec4c8;
66+
--color-console-bg: #181b1d;
67+
--color-console-border: #313538;
6868
--color-console-hover-bg: #ffffff16;
6969
--color-console-active-bg: #313538;
7070
--color-console-menu-bg: #272b2e;
@@ -122,21 +122,21 @@
122122
--color-brown-dark-2: #835b42;
123123
--color-black-dark-2: #292a2e;
124124
/* ansi colors used for actions console and console files */
125-
--color-ansi-black: var(--color-black);
126-
--color-ansi-red: var(--color-red);
127-
--color-ansi-green: var(--color-green);
128-
--color-ansi-yellow: var(--color-yellow);
129-
--color-ansi-blue: var(--color-blue);
130-
--color-ansi-magenta: var(--color-pink);
131-
--color-ansi-cyan: var(--color-teal);
125+
--color-ansi-black: #1f2326;
126+
--color-ansi-red: ##cc4848;
127+
--color-ansi-green: #87ab63;
128+
--color-ansi-yellow: #cc9903;
129+
--color-ansi-blue: #3a8ac6;
130+
--color-ansi-magenta: #d22e8b;
131+
--color-ansi-cyan: #00918a;
132132
--color-ansi-white: var(--color-console-fg-subtle);
133-
--color-ansi-bright-black: var(--color-black-light);
134-
--color-ansi-bright-red: var(--color-red-light);
135-
--color-ansi-bright-green: var(--color-green-light);
136-
--color-ansi-bright-yellow: var(--color-yellow-light);
137-
--color-ansi-bright-blue: var(--color-blue-light);
138-
--color-ansi-bright-magenta: var(--color-pink-light);
139-
--color-ansi-bright-cyan: var(--color-teal-light);
133+
--color-ansi-bright-black: #46494d;
134+
--color-ansi-bright-red: #d15a5a;
135+
--color-ansi-bright-green: #93b373;
136+
--color-ansi-bright-yellow: #eaaf03;
137+
--color-ansi-bright-blue: #4e96cc;
138+
--color-ansi-bright-magenta: #d74397;
139+
--color-ansi-bright-cyan: #00b6ad;
140140
--color-ansi-bright-white: var(--color-console-fg);
141141
/* other colors */
142142
--color-grey: #3c4043;

web_src/css/themes/theme-gitea-light.css

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -61,14 +61,14 @@
6161
--color-secondary-hover: var(--color-secondary-dark-5);
6262
--color-secondary-active: var(--color-secondary-dark-6);
6363
/* console colors - used for actions console and console files */
64-
--color-console-fg: #eeeff2;
65-
--color-console-fg-subtle: #959cab;
66-
--color-console-bg: #262936;
67-
--color-console-border: #383c47;
64+
--color-console-fg: #f8f8f9;
65+
--color-console-fg-subtle: #bec4c8;
66+
--color-console-bg: #181b1d;
67+
--color-console-border: #313538;
6868
--color-console-hover-bg: #ffffff16;
69-
--color-console-active-bg: #454a57;
70-
--color-console-menu-bg: #383c47;
71-
--color-console-menu-border: #5c6374;
69+
--color-console-active-bg: #313538;
70+
--color-console-menu-bg: #272b2e;
71+
--color-console-menu-border: #464a4d;
7272
/* named colors */
7373
--color-red: #db2828;
7474
--color-orange: #f2711c;
@@ -122,21 +122,21 @@
122122
--color-brown-dark-2: #845232;
123123
--color-black-dark-2: #161617;
124124
/* ansi colors used for actions console and console files */
125-
--color-ansi-black: var(--color-black);
126-
--color-ansi-red: var(--color-red);
127-
--color-ansi-green: var(--color-green);
128-
--color-ansi-yellow: var(--color-yellow);
129-
--color-ansi-blue: var(--color-blue);
130-
--color-ansi-magenta: var(--color-pink);
131-
--color-ansi-cyan: var(--color-teal);
125+
--color-ansi-black: #1f2326;
126+
--color-ansi-red: ##cc4848;
127+
--color-ansi-green: #87ab63;
128+
--color-ansi-yellow: #cc9903;
129+
--color-ansi-blue: #3a8ac6;
130+
--color-ansi-magenta: #d22e8b;
131+
--color-ansi-cyan: #00918a;
132132
--color-ansi-white: var(--color-console-fg-subtle);
133-
--color-ansi-bright-black: var(--color-black-light);
134-
--color-ansi-bright-red: var(--color-red-light);
135-
--color-ansi-bright-green: var(--color-green-light);
136-
--color-ansi-bright-yellow: var(--color-yellow-light);
137-
--color-ansi-bright-blue: var(--color-blue-light);
138-
--color-ansi-bright-magenta: var(--color-pink-light);
139-
--color-ansi-bright-cyan: var(--color-teal-light);
133+
--color-ansi-bright-black: #46494d;
134+
--color-ansi-bright-red: #d15a5a;
135+
--color-ansi-bright-green: #93b373;
136+
--color-ansi-bright-yellow: #eaaf03;
137+
--color-ansi-bright-blue: #4e96cc;
138+
--color-ansi-bright-magenta: #d74397;
139+
--color-ansi-bright-cyan: #00b6ad;
140140
--color-ansi-bright-white: var(--color-console-fg);
141141
/* other colors */
142142
--color-grey: #707070;

web_src/js/components/RepoActionView.vue

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -622,6 +622,8 @@ export function initRepositoryActionView() {
622622
width: 70%;
623623
display: flex;
624624
flex-direction: column;
625+
border: 1px solid var(--color-console-border);
626+
border-radius: var(--border-radius);
625627
}
626628
627629
/* begin fomantic button overrides */
@@ -681,7 +683,6 @@ export function initRepositoryActionView() {
681683
justify-content: space-between;
682684
align-items: center;
683685
padding: 0 12px;
684-
border-bottom: 1px solid var(--color-console-border);
685686
background-color: var(--color-console-bg);
686687
position: sticky;
687688
top: 0;
@@ -705,6 +706,7 @@ export function initRepositoryActionView() {
705706
background-color: var(--color-console-bg);
706707
max-height: 100%;
707708
border-radius: 0 0 var(--border-radius) var(--border-radius);
709+
border-top: 1px solid var(--color-console-border);
708710
z-index: 0;
709711
}
710712
@@ -790,7 +792,7 @@ export function initRepositoryActionView() {
790792
/* class names 'log-time-seconds' and 'log-time-stamp' are used in the method toggleTimeDisplay */
791793
.job-log-line .line-num, .log-time-seconds {
792794
width: 48px;
793-
color: var(--color-grey-light);
795+
color: var(--color-text-light-3);
794796
text-align: right;
795797
user-select: none;
796798
}
@@ -806,7 +808,7 @@ export function initRepositoryActionView() {
806808
807809
.job-log-line .log-time,
808810
.log-time-stamp {
809-
color: var(--color-grey-light);
811+
color: var(--color-text-light-3);
810812
margin-left: 10px;
811813
white-space: nowrap;
812814
}

0 commit comments

Comments
 (0)