Compare commits

...

7 Commits

Author SHA1 Message Date
scriptos
9acb2d7d4e Doku gemacht 2024-06-15 12:49:35 +02:00
scriptos
deffdd44ff Selektierter Text wurde nicht mehr angezeigt 2024-06-15 12:18:25 +02:00
scriptos
1bd49c8216 Doku 2024-03-23 23:54:41 +01:00
scriptos
de745f93f3 ".markup code: background-color" hinzugefuegt 2024-03-23 23:48:02 +01:00
scriptos
f8de02d006 Dokumentation aktualisiert 2024-03-23 21:42:03 +01:00
scriptos
9a04228f8c Dokumentation aktualisiert 2024-03-23 21:39:49 +01:00
scriptos
63c3efb808 Screenshots hinzugefügt 2024-03-23 21:19:31 +01:00
5 changed files with 53 additions and 26 deletions

View File

@@ -1,24 +1,29 @@
# gitea-theme-github-dark # gitea-theme-github-dark
## Dies ist ein Fork von [sb-child](https://github.com/sb-child/gitea-theme-github-dark) auf Github
## This is a Fork of [sb-child](https://github.com/sb-child/gitea-theme-github-dark)
Dieses Gitea-Theme ahmt das Erscheinungsbild des dunklen Themas von GitHub nach und bietet so ein vertrautes und optisch ansprechendes Erlebnis.
This Gitea theme mimics the appearance of GitHub's dark theme for a familiar and visually pleasing experience.
## Preview ## Vorschau
![图片](https://github.com/sb-child/gitea-theme-github-dark/assets/55868015/2dd4033f-ebcd-4fdf-af2f-fcd16cce3740)
## How to use ![Screenshot 1](https://git.media-techport.de/scriptos/gitea-theme-github-dark/raw/branch/main/assets/screenshot1.png)
![Screenshot 2](https://git.media-techport.de/scriptos/gitea-theme-github-dark/raw/branch/main/assets/screenshot2.png)
![Screenshot 3](https://git.media-techport.de/scriptos/gitea-theme-github-dark/raw/branch/main/assets/screenshot3.png)
## Einrichtung:
1. Copy the theme-ghdark.css file to /path/to/gitea/custom/public/assets/css/theme-ghdark.css. 1. Kopiert die `theme-ghdark.css` hierhin: `/path/to/gitea/custom/public/assets/css/theme-ghdark.css`
2. Passt die Gitea Konfiguration an. Diese findet ihr hier: `/path/to/gitea/custom/conf/app.ini`
2. Modify the Gitea configuration file located at /path/to/gitea/custom/conf/app.ini.
```ini ```ini
[ui] [ui]
@@ -26,19 +31,37 @@ THEMES = auto,gitea,arc-green,ghdark ; <- Add "ghdark" here
DEFAULT_THEME = ghdark ; <- Change the default theme to "ghdark" DEFAULT_THEME = ghdark ; <- Change the default theme to "ghdark"
``` ```
3. Restart Gitea. 3. Startet Gitea neu
4. Wählt in den Einstellungen das Theme aus: `ghdark`
5. Genießt das GitHub-ähnliche Erlebnis!
## Danksagung:
Lieben Dank, [Thomas](https://git.retronerd.at/schiwagoa), für deine Unterstützung!
## Changelog:
| Datum | Änderung |
| -- | -- |
| 2024-03-23 | Transparente Bilder haben nun keinen Rahmen mehr |
| 2024-03-23 | ".markup code: background-color" hinzugefuegt |
| 2024-06-15 | Anpassung auf 1.22.0 |
4. Select the "ghdark" theme from your preferences.
5. Enjoy the GitHub-like experience!
<p align="center"> <p align="center">
<img src="https://assets.media-techport.de/f1/git/graphics/gray0-catonline.svg" alt=""> <img src="https://assets.media-techport.de/f1/git/graphics/gray0-catonline.svg" alt="">
</p> </p>
<p align="center"> <p align="center">
<img src="https://assets.media-techport.de/f1/logos/small/license.png" alt="License" width="15" height="15"> <a href="./scriptos/gitea-theme-techport-dark/src/branch/main/LICENSE">License</a> | <img src="https://assets.media-techport.de/f1/logos/small/matrix2.svg" alt="Matrix" width="15" height="15"> <a href="https://matrix.to/#/#community:matrix.media-techport.de">Matrix</a> | <img src="https://assets.media-techport.de/f1/logos/small/mastodon2.svg" alt="Matrix" width="15" height="15"> <a href="https://social.media-techport.de/@donnerwolke">Mastodon</a> <img src="https://assets.media-techport.de/f1/logos/small/license.png" alt="License" width="15" height="15"> <a href="./gitea-theme-techport-dark/src/branch/main/LICENSE">License</a> | <img src="https://assets.media-techport.de/f1/logos/small/matrix2.svg" alt="Matrix" width="15" height="15"> <a href="https://matrix.to/#/#community:matrix.media-techport.de">Matrix</a> | <img src="https://assets.media-techport.de/f1/logos/small/mastodon2.svg" alt="Matrix" width="15" height="15"> <a href="https://social.media-techport.de/@donnerwolke">Mastodon</a>
</p> </p>

BIN
assets/screenshot1.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 265 KiB

BIN
assets/screenshot2.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 178 KiB

BIN
assets/screenshot3.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 122 KiB

View File

@@ -161,9 +161,6 @@ footer:hover {
color: var(--color-text); color: var(--color-text);
background-color: var(--color-text-muted) !important; background-color: var(--color-text-muted) !important;
} }
/* .tippy-svg-arrow-outer {
fill:var(--color-text-muted) !important;
} */
.tippy-svg-arrow-inner { .tippy-svg-arrow-inner {
fill: var(--color-text-muted) !important; fill: var(--color-text-muted) !important;
} }
@@ -291,11 +288,14 @@ tr.del-code > td:nth-child(2) {
.issue-item-top-row .ui.label:hover { .issue-item-top-row .ui.label:hover {
opacity: 1; opacity: 1;
} }
::-moz-selection {
background: var(--color-text-light-2) !important;
}
::selection { ::selection {
background: var(--color-text-light-2) !important; background: var(--color-primary);
color: var(--color-text-light);
}
::-moz-selection {
background: var(--color-primary);
color: var(--color-text-light);
} }
.feeds .list .repo-owner-name-list .item-name { .feeds .list .repo-owner-name-list .item-name {
max-width: 90% !important; max-width: 90% !important;
@@ -677,4 +677,8 @@ pre.code-block {
color: var(--color-caret) !important; color: var(--color-caret) !important;
} }
.markup code {
background-color: #282828
}
@import url("/assets/css/index.css"); @import url("/assets/css/index.css");