Skip to content

Commit ef9df01

Browse files
author
Gusted
committed
Merge pull request '[v9.0/forgejo] [THEME] Copy ansi terminal colours from gitea to forgejo themes' (go-gitea#5882) from bp-v9.0/forgejo-e58d5d4 into v9.0/forgejo
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/5882 Reviewed-by: Gusted <[email protected]>
2 parents 91a12ab + 2e114bc commit ef9df01

File tree

2 files changed

+34
-0
lines changed

2 files changed

+34
-0
lines changed

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

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,23 @@
140140
--color-pink-dark-2: #b11d5f;
141141
--color-brown-dark-2: #a47252;
142142
--color-black-dark-2: #111827;
143+
/* ansi colors used for actions console and console files */
144+
--color-ansi-black: #1d2328;
145+
--color-ansi-red: #cc4848;
146+
--color-ansi-green: #87ab63;
147+
--color-ansi-yellow: #cc9903;
148+
--color-ansi-blue: #3a8ac6;
149+
--color-ansi-magenta: #d22e8b;
150+
--color-ansi-cyan: #00918a;
151+
--color-ansi-white: var(--color-console-fg-subtle);
152+
--color-ansi-bright-black: #424851;
153+
--color-ansi-bright-red: #d15a5a;
154+
--color-ansi-bright-green: #93b373;
155+
--color-ansi-bright-yellow: #eaaf03;
156+
--color-ansi-bright-blue: #4e96cc;
157+
--color-ansi-bright-magenta: #d74397;
158+
--color-ansi-bright-cyan: #00b6ad;
159+
--color-ansi-bright-white: var(--color-console-fg);
143160
/* other colors */
144161
--color-gold: #b1983b;
145162
--color-white: #ffffff;

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

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,23 @@
157157
--color-pink-dark-2: #b11d5f;
158158
--color-brown-dark-2: #835b42;
159159
--color-black-dark-2: #000000;
160+
/* ansi colors used for actions console and console files */
161+
--color-ansi-black: #1f2326;
162+
--color-ansi-red: #cc4848;
163+
--color-ansi-green: #87ab63;
164+
--color-ansi-yellow: #cc9903;
165+
--color-ansi-blue: #3a8ac6;
166+
--color-ansi-magenta: #d22e8b;
167+
--color-ansi-cyan: #00918a;
168+
--color-ansi-white: var(--color-console-fg-subtle);
169+
--color-ansi-bright-black: #46494d;
170+
--color-ansi-bright-red: #d15a5a;
171+
--color-ansi-bright-green: #93b373;
172+
--color-ansi-bright-yellow: #eaaf03;
173+
--color-ansi-bright-blue: #4e96cc;
174+
--color-ansi-bright-magenta: #d74397;
175+
--color-ansi-bright-cyan: #00b6ad;
176+
--color-ansi-bright-white: var(--color-console-fg);
160177
/* other colors */
161178
--color-gold: #b1983b;
162179
--color-white: #ffffff;

0 commit comments

Comments
 (0)