Compare commits

..

10 Commits

Author SHA1 Message Date
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
Sainnhe Park 96d043dfbb Fix navbar 2023-08-06 11:49:51 +08:00
Sainnhe Park 4475889c5a Fix enum 2023-03-19 09:29:57 +08:00
Sainnhe Park 5c179d6ebc Update image url 2023-02-18 13:51:53 +08:00
Sainnhe Park 8d7feb29da Update THEME_COLOR_META_TAG in README 2023-01-13 22:20:05 +08:00
25 changed files with 64 additions and 48 deletions

View File

@ -2,71 +2,71 @@
### Edge Dark ### Edge Dark
![edge-dark](https://paste.sainnhe.dev/XHEF.png) ![edge-dark](https://share.sainnhe.dev/XHEF.png)
### Edge Light ### Edge Light
![edge-light](https://paste.sainnhe.dev/SYyp.png) ![edge-light](https://share.sainnhe.dev/SYyp.png)
### Everforest Dark ### Everforest Dark
![everforest-dark](https://paste.sainnhe.dev/mfmK.png) ![everforest-dark](https://share.sainnhe.dev/mfmK.png)
### Everforest Light ### Everforest Light
![everforest-light](https://paste.sainnhe.dev/h7Y7.png) ![everforest-light](https://share.sainnhe.dev/h7Y7.png)
### Gruvbox Dark ### Gruvbox Dark
![gruvbox-dark](https://paste.sainnhe.dev/Fc6P.png) ![gruvbox-dark](https://share.sainnhe.dev/Fc6P.png)
### Gruvbox Light ### Gruvbox Light
![gruvbox-light](https://paste.sainnhe.dev/Tp6N.png) ![gruvbox-light](https://share.sainnhe.dev/Tp6N.png)
### Gruvbox Material Dark ### Gruvbox Material Dark
![gruvbox-material-dark](https://paste.sainnhe.dev/J4EW.png) ![gruvbox-material-dark](https://share.sainnhe.dev/J4EW.png)
### Gruvbox Material Light ### Gruvbox Material Light
![gruvbox-material-light](https://paste.sainnhe.dev/cGnE.png) ![gruvbox-material-light](https://share.sainnhe.dev/cGnE.png)
### Nord ### Nord
![nord](https://paste.sainnhe.dev/6pxH.png) ![nord](https://share.sainnhe.dev/6pxH.png)
### Palenight ### Palenight
![palenight](https://paste.sainnhe.dev/xasf.png) ![palenight](https://share.sainnhe.dev/xasf.png)
### Soft Era ### Soft Era
![soft-era](https://paste.sainnhe.dev/WXrb.png) ![soft-era](https://share.sainnhe.dev/WXrb.png)
### Sonokai ### Sonokai
![sonokai](https://paste.sainnhe.dev/DYTA.png) ![sonokai](https://share.sainnhe.dev/DYTA.png)
### Sonokai Andromeda ### Sonokai Andromeda
![sonokai-andromeda](https://paste.sainnhe.dev/prHH.png) ![sonokai-andromeda](https://share.sainnhe.dev/prHH.png)
### Sonokai Atlantis ### Sonokai Atlantis
![sonokai-atlantis](https://paste.sainnhe.dev/Fx8d.png) ![sonokai-atlantis](https://share.sainnhe.dev/Fx8d.png)
### Sonokai Espresso ### Sonokai Espresso
![sonokai-espresso](https://paste.sainnhe.dev/nByy.png) ![sonokai-espresso](https://share.sainnhe.dev/nByy.png)
### Sonokai Maia ### Sonokai Maia
![sonokai-maia](https://paste.sainnhe.dev/KNWD.png) ![sonokai-maia](https://share.sainnhe.dev/KNWD.png)
### Sonokai Shusia ### Sonokai Shusia
![sonokai-shusia](https://paste.sainnhe.dev/MSiH.png) ![sonokai-shusia](https://share.sainnhe.dev/MSiH.png)
## Introduction ## Introduction
@ -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: Now execute the following command to install this theme:
```bash ```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. 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 ### If Gitea is not deployed via Docker
```bash ```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`. Where `<custom-path>` can be found via `gitea help`.
@ -165,8 +165,8 @@ List of meta tag colors of each theme (excluding `*-auto` themes):
- `edge-dark`: `#333644` - `edge-dark`: `#333644`
- `edge-light`: `#eef1f4` - `edge-light`: `#eef1f4`
- `everforest-dark`: `#323c41` - `everforest-dark`: `#2d353b`
- `everforest-light`: `#f3efda` - `everforest-light`: `#f4f0d9`
- `gruvbox-dark`: `#32302f` - `gruvbox-dark`: `#32302f`
- `gruvbox-light`: `#f4e8be` - `gruvbox-light`: `#f4e8be`
- `gruvbox-material-dark`: `#32302f` - `gruvbox-material-dark`: `#32302f`

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-hover: fade(@fg, 80%);
--color-text-light: @tertiary; --color-text-light: @tertiary;
--color-text-light-1: @grey; --color-text-light-1: @grey;
--color-text-light-2: @fg; --color-text-light-2: @secondary;
--color-text-light-3: @grey; --color-text-light-3: @grey;
--color-footer: @bg1; --color-footer: @bg1;
--color-timeline: @bg4; --color-timeline: @bg4;
@ -124,6 +124,8 @@
--color-input-border-hover: mix(@bg4, @grey, 50%); --color-input-border-hover: mix(@bg4, @grey, 50%);
--color-navbar: @bg1; --color-navbar: @bg1;
--color-navbar-transparent: @bg1; --color-navbar-transparent: @bg1;
--color-nav-bg: @bg1;
--color-nav-hover-bg: @bg3;
--color-light: @bg1; --color-light: @bg1;
--color-light-mimic-enabled: rgba(0, 0, 0, calc(40 / 255 * 222 / 255 / var(--opacity-disabled))); --color-light-mimic-enabled: rgba(0, 0, 0, calc(40 / 255 * 222 / 255 / var(--opacity-disabled)));
--color-light-border: @bg4; --color-light-border: @bg4;
@ -148,6 +150,8 @@
--color-reaction-bg: #ffffff12; --color-reaction-bg: #ffffff12;
--color-reaction-active-bg: var(--color-primary-alpha-40); --color-reaction-active-bg: var(--color-primary-alpha-40);
--color-header-bar: @bg1; --color-header-bar: @bg1;
--color-label-bg: @bg4;
--color-label-text: @tertiary;
--color-label-active-bg: @bg4; --color-label-active-bg: @bg4;
--color-accent: var(--color-primary-light-1); --color-accent: var(--color-primary-light-1);
--color-small-accent: var(--color-primary-light-5); --color-small-accent: var(--color-primary-light-5);

View File

@ -13,7 +13,7 @@
.chroma .s, .chroma .s1, .chroma .s2, .chroma .sa, .chroma .sb, .chroma .sc, .chroma .sh, .chroma .si, .chroma .sr, .chroma .ss, .chroma .sx, .chroma .nt, .chroma .cpf { .chroma .s, .chroma .s1, .chroma .s2, .chroma .sa, .chroma .sb, .chroma .sc, .chroma .sh, .chroma .si, .chroma .sr, .chroma .ss, .chroma .sx, .chroma .nt, .chroma .cpf {
color: @string; color: @string;
} }
.chroma .m, .chroma .mb, .chroma .mf, .chroma .mh, .chroma .mi, .chroma .mo { .chroma .m, .chroma .mb, .chroma .mf, .chroma .mh, .chroma .mi, .chroma .mo, .chroma .nl {
color: @value; color: @value;
} }
.chroma .kt, .chroma .nc, .chroma .nn, .chroma .nv { .chroma .kt, .chroma .nc, .chroma .nn, .chroma .nv {

View File

@ -11,6 +11,18 @@
color: @bg0; 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 */ /* secondary buttons */
.ui.green.buttons .button, .ui.green.button { .ui.green.buttons .button, .ui.green.button {
background: @button2; background: @button2;
@ -106,12 +118,12 @@ i.grey.icon.icon.icon.icon {
} }
/* grey buttons */ /* grey buttons */
.ui.grey.labels .label, .ui.ui.ui.grey.label, .ui.grey.button, .ui.grey.buttons .button { .ui.labels a.label, a.ui.label {
color: @bg0; background-color: @bg1;
} }
.ui.grey.labels .label:hover, .ui.ui.ui.grey.label:hover, .ui.grey.button:hover, .ui.grey.buttons .button:hover { .ui.labels a.label:hover, a.ui.label:hover {
color: @bg0; background-color: @bg0;
} }
/* orange buttons */ /* orange buttons */