Compare commits

..

10 Commits

Author SHA1 Message Date
Sainnhe Park
0b4a4e9964 Merge pull request '- fixes color issues' (#4) from jherman/gitea-themes:master into master
Reviewed-on: https://git.sainnhe.dev/sainnhe/gitea-themes/pulls/4
2024-11-06 07:29:09 +00:00
jh
17b0f7f13c - toggles also need their backgrounds updated 2024-11-04 08:10:28 -08:00
jh
eda99d5f9c - run build.sh to produce minimized css 2024-11-04 08:06:33 -08:00
jh
9beb8c1ba2 - fixes color issues
- https://git.sainnhe.dev/sainnhe/gitea-themes/issues/3#issue-10
2024-11-01 16:25:07 -07:00
Sainnhe Park
2f2b76c074
Fix installation path 2023-11-15 11:33:38 +08:00
Sainnhe Park
d810451270 Fix 2023-08-06 12:18:13 +08:00
Sainnhe Park
3de1818c8f Fix 2023-08-06 12:14:38 +08:00
Sainnhe Park
5b6f72e64d Fix 2023-08-06 12:09:49 +08:00
Sainnhe Park
0c9038bca8 Fix grey label 2023-08-06 12:00:24 +08:00
Sainnhe Park
44d5e1e51c Fix label color 2023-08-06 11:55:56 +08:00
24 changed files with 47 additions and 30 deletions

View File

@ -117,7 +117,7 @@ and `<gitea-container-name>` is the container name of your gitea instance that c
Now execute the following command to install this theme:
```bash
sudo docker exec -u <run-user> <gitea-container-name> sh -c 'mkdir -p <custom-path>/public/css && curl --output-dir <custom-path>/public/css -LO https://git.sainnhe.dev/sainnhe/gitea-themes/raw/branch/master/dist/theme-edge-dark.css'
sudo docker exec -u <run-user> <gitea-container-name> sh -c 'mkdir -p <custom-path>/public/assets/css && curl --output-dir <custom-path>/public/assets/css -LO https://git.sainnhe.dev/sainnhe/gitea-themes/raw/branch/master/dist/theme-edge-dark.css'
```
Replace `<custom-path>` with the `CustomPath` in this command.
@ -135,7 +135,7 @@ Restart Gitea instance to apply change.
### If Gitea is not deployed via Docker
```bash
mkdir -p <custom-path>/public/css && curl --output-dir <custom-path>/public/css -LO https://git.sainnhe.dev/sainnhe/gitea-themes/raw/branch/master/dist/theme-edge-dark.css
mkdir -p <custom-path>/public/assets/css && curl --output-dir <custom-path>/public/assets/css -LO https://git.sainnhe.dev/sainnhe/gitea-themes/raw/branch/master/dist/theme-edge-dark.css
```
Where `<custom-path>` can be found via `gitea help`.

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

2
dist/theme-nord.css vendored

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -113,7 +113,7 @@
--color-text-hover: fade(@fg, 80%);
--color-text-light: @tertiary;
--color-text-light-1: @grey;
--color-text-light-2: @fg;
--color-text-light-2: @secondary;
--color-text-light-3: @grey;
--color-footer: @bg1;
--color-timeline: @bg4;
@ -125,6 +125,7 @@
--color-navbar: @bg1;
--color-navbar-transparent: @bg1;
--color-nav-bg: @bg1;
--color-nav-hover-bg: @bg3;
--color-light: @bg1;
--color-light-mimic-enabled: rgba(0, 0, 0, calc(40 / 255 * 222 / 255 / var(--opacity-disabled)));
--color-light-border: @bg4;
@ -149,11 +150,15 @@
--color-reaction-bg: #ffffff12;
--color-reaction-active-bg: var(--color-primary-alpha-40);
--color-header-bar: @bg1;
--color-label-bg: @bg4;
--color-label-text: @tertiary;
--color-label-active-bg: @bg4;
--color-accent: var(--color-primary-light-1);
--color-small-accent: var(--color-primary-light-5);
--color-active-line: @bg1;
--color-tooltip-bg: var(--color-secondary);
--color-input-toggle-background: var(--color-placeholder-text) !important;
accent-color: var(--color-accent);
color-scheme: dark;
}

View File

@ -2,7 +2,7 @@
.ui.primary.button, .ui.primary.buttons .button {
background: @button1;
background-color: @button1 !important;
color: @bg0;
color: @bg0 !important;
}
.ui.primary.button:hover, .ui.primary.buttons .button:hover {
@ -11,6 +11,18 @@
color: @bg0;
}
.ui.grey.labels .label, .ui.ui.ui.grey.label, .ui.grey.button, .ui.grey.buttons .button {
color: @bg0;
background-color: @button1;
border-color: @button1;
}
.ui.grey.labels .label:hover, .ui.ui.ui.grey.label:hover, .ui.grey.button:hover, .ui.grey.buttons .button:hover {
color: @bg0;
background-color: @button1;
border-color: @button1;
}
/* secondary buttons */
.ui.green.buttons .button, .ui.green.button {
background: @button2;
@ -106,12 +118,12 @@ i.grey.icon.icon.icon.icon {
}
/* grey buttons */
.ui.grey.labels .label, .ui.ui.ui.grey.label, .ui.grey.button, .ui.grey.buttons .button {
color: @bg0;
.ui.labels a.label, a.ui.label {
background-color: @bg1;
}
.ui.grey.labels .label:hover, .ui.ui.ui.grey.label:hover, .ui.grey.button:hover, .ui.grey.buttons .button:hover {
color: @bg0;
.ui.labels a.label:hover, a.ui.label:hover {
background-color: @bg0;
}
/* orange buttons */