Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Add the ability to have built in themes in Gitea #4198
This makes it easier for user who want to theme but
The reason why I chose the DEFAULT_THEME as variable,
@@ Coverage Diff @@ ## master #4198 +/- ## ======================================= Coverage 20.06% 20.06% ======================================= Files 153 153 Lines 30769 30769 ======================================= Hits 6174 6174 Misses 23652 23652 Partials 943 943
Am I correct that current values for DEFAULT_THEME are 'default' and 'dark' ?
BTW, why 'default theme' ? IMHO, 'default' means that value is set because no one choosed it. If we declare the value of theme, and no-one can change it in runtime (e.g. user-specific theme), the theme is not default. Correct me if I'm wrong or missed anything