diff --git a/README.md b/README.md index e42618a..cf041a0 100644 --- a/README.md +++ b/README.md @@ -1,23 +1,23 @@ # Gitea Matrix Template- Turn your gitea arc-green template into the matrix ## Previews: -![preview 1](images/matrix-preview.png "Logo Title Text 1") +![preview 1](matrix-preview.png "Preview") -![preview 2](images/matrix-preview-2.png "Logo Title Text 1") +![preview 2](matrix-preview-2.png "Preview") ## For Gitea Version ***1.10.3*** ## How to use: 1. Find your gitea custom directory path in ***Site Administration > Configuration > Custom File Root Path***. -2. Create a new directory in your custom root path called ***templates***. -3. Create another directory and it's child in your custom root path called ***public/css***. -4. Clone this repo on your gitea server and move all the files except gitea-matrix-theme.css to the templates directory in your custom root path that you created in step 2. -5. Move the gitea-matrix-theme.css into the public/css/ folder you created in step 3. -6. Set the ***arc-green*** built-in gitea theme active under ***Settings*** or set is as the default theme by finding your ***Site Administration > Configuration > Configuration File Path*** usually ***/.../gitea/app.ini***. Edit it to add this code to the last part of the file and save it: +2. Create directorys ***templates*** and ***public/css*** if not exist. +3. Copy/Move files from this repo in there counterpart locations. +4. Add folowing lines to your gitea config: +```ini +[ui] +THEMES = gitea,arc-green,matrix +DEFAULT_THEME = matrix +``` +7. Restart your Gitea Service and you are ready to go. +### Welcome to the matrix! -`[ui]` - -`DEFAULT_THEME = arc-green` - -7. Restart your Gitea Service and you are ready to go. -### Welcome to the matrix! \ No newline at end of file +8. A user can still change the theme he likes in his settings avterwards diff --git a/images/matrix-preview-2.png b/matrix-preview-2.png similarity index 100% rename from images/matrix-preview-2.png rename to matrix-preview-2.png diff --git a/images/matrix-preview.png b/matrix-preview.png similarity index 100% rename from images/matrix-preview.png rename to matrix-preview.png