License the themes under MIT

Add a LICENSE file, spell out the terms in the README with credit to
GitHub's MIT-licensed Primer tokens, and tag each CSS file with an SPDX
header so the license travels with the file when it is copied into a
Gitea instance.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_015g6ECVSKcBG8CJPrqC3G5o
This commit is contained in:
Claude
2026-10-07 15:02:36 +00:00
parent e923f5f712
commit a2cea1e817
5 changed files with 27 additions and 1 deletions
+21
View File
@@ -0,0 +1,21 @@
MIT License
Copyright (c) 2026 kalarina-bit
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
+3 -1
View File
@@ -24,4 +24,6 @@ GitHub-style themes for **Gitea** — light and dark, matching GitHub's typogra
## License
Use and adapt freely.
Released under the **MIT License** — see the [LICENSE](LICENSE) file. You may use, modify and redistribute the themes, including in commercial Gitea instances, as long as the copyright notice is kept.
The color values follow GitHub's [Primer](https://github.com/primer/primitives) design tokens, © GitHub Inc., also MIT-licensed. This project is not affiliated with or endorsed by GitHub or Gitea.
+1
View File
@@ -1 +1,2 @@
/* SPDX-License-Identifier: MIT · Copyright (c) 2026 kalarina-bit · https://github.com/kalarina-bit/css */
@import "./theme-light.css"(prefers-color-scheme:light);@import "./theme-dark.css"(prefers-color-scheme:dark);
+1
View File
@@ -1,3 +1,4 @@
/* SPDX-License-Identifier: MIT · Copyright (c) 2026 kalarina-bit · https://github.com/kalarina-bit/css */
/* GitHub Dark — GitHub-style theme for Gitea 1.27.x · requires color-mix() (Chrome 111+, Firefox 113+, Safari 16.2+) */
/* ============================================================
+1
View File
@@ -1,3 +1,4 @@
/* SPDX-License-Identifier: MIT · Copyright (c) 2026 kalarina-bit · https://github.com/kalarina-bit/css */
/* GitHub Light — GitHub-style theme for Gitea 1.27.x · requires color-mix() (Chrome 111+, Firefox 113+, Safari 16.2+) */
/* ============================================================