GithubHelp home page GithubHelp logo

kos-m / gogsthemes Goto Github PK

View Code? Open in Web Editor NEW
80.0 80.0 7.0 3.78 MB

An attempt to give some colors to amazing Gogs platform ..

License: MIT License

SCSS 98.48% Shell 0.70% Dockerfile 0.82%
abstract-theme dark-theme gogs gogs-abstract gogs-themes sass-theme self-hosted-git-theme

gogsthemes's Introduction

Kos-M's github stats Top Langs

gogsthemes's People

Contributors

d-ban avatar kos-m avatar lowking avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

gogsthemes's Issues

Docker installation - theme does not activate

I have my Gogs instance deployed in Docker using following environment.yaml file:

version: '3'

services:
  gogs:
    image: gogs/gogs
    volumes:
     - /volume1/docker/gogs:/data
    ports:
      - 3000:3000
      - 3022:22

I have followed installation instructions (head.tmpl creation, copying files), but new theme fails to show after docker restart.

I have tried putting "custom" folder in two locations:

/volume1/docker/gogs/custom
/volume1/docker/gogs/gogs/custom

And its structure is as follows:

./custom/public/* # mv and cp results
./custom/templates/inject/head.tmpl

I restart gogs, no new theme is visible.

I feel like I am missing something obvious, or am very bad at reading the instructions. Help please?

Dark theme : when editing cursor is black, hardly visible.

When using the Dark theme (which is great) the cursor (when editing a file) is also black, so sometimes it is hard for me to determine where my cursor is at.

Would it be possible to give the cursor a more distinctive color so i can track where my cursor is at ?

  • Glowsome

Profile "Full Name" Color Change

Issue

Profile "full name" and misc. profile text is still black after using custom.css

Resolution

Add the following at some point

  .user.profile .ui.card .extra.content ul li:not(:last-child) {
	color: silver !important;
  }

  .ui.card > .content > .header, .ui.cards > .card > .content > .header {
	color: silver !important;
  }

Bad diff colors

I just installed this theme (dark) and it's beautiful. However diff section fails IMO:

imagen

Update Gogs Homepage Logo

Hi Thanks for creating this theme. I have just installed successfully.

I noticed that the main logo in the center of Gogs homepage is now different from the one on your screenshots.
I can only guess that it was updated by Gogs, and because of that it stays as it was in the original theme. That is, the big letters "Gogs" are black on a dark grey background.

Here is a screenshot.

image

It doesn't look bad to me, but I thought I'd point it out.

Work with `custom` folder

Worked after

cd "gogs/custom/templates/inject";
ln -s "../../../templates/inject/head.tmpl";

Thanx for dark theme!

Relative paths in css and template files

My gogs is running in docker container and are being reverse proxied by nginx on another device.

In this situation, /css/themes/velvet.css in head.tmpl seems not working, which is the same as /img/grad1.png in css files.

For proper operation, I alternate /css/themes/velvet.css to css/themes/velvet.css, /img/grad1.png to ../../img/grad1.png.

I don't know if this poses any other risks, but at least now it works properly. Should relative paths be considered instead of absolute paths in repo?

issue with custom url

Hi, thank for this nice theme.

There is issues when gogs is not on root of website, for examples on http://yourhost/gogs/

In that case there is many changes I applied in way to work but I am not satisfied with my solution.

Changing the inject/head.tmpl and prepend the path (in that example prepend with /gogs/ ).
Then there is still issue because it doesn't look at custom/css/themes directory but look for public/css/themes.
So I move the dark_themes.css into public/css/themes/

Finally modify the url( ...) path into the dark_themes.css with prepend /gogs/ in way it retrieve images.

Does someone have a better solutio ?

Env variable $GOGS_HOME doesn't exist in docker container

I'm running off of the docker image provided by the gogs project here.

I've tried running those commands specified in the README of this repo in the locations I thought might be appropriate:

  • /app/gogs
  • /app/gogs/data
  • /data/gogs

but none made any impact. Can you please advise what exactly the "root directory" of gogs is (at least in this image), and perhaps update the README to help those who run in Docker off of the provided image (which i'd have to imagine is most people). Thanks.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.