diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..605e847 --- /dev/null +++ b/LICENSE @@ -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. diff --git a/README.md b/README.md index a645f9d..1e44fca 100644 --- a/README.md +++ b/README.md @@ -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. diff --git a/css/theme-auto.css b/css/theme-auto.css index 14c9086..da8697c 100644 --- a/css/theme-auto.css +++ b/css/theme-auto.css @@ -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); diff --git a/css/theme-dark.css b/css/theme-dark.css index 9ebf7b6..99f57ad 100644 --- a/css/theme-dark.css +++ b/css/theme-dark.css @@ -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+) */ /* ============================================================ diff --git a/css/theme-light.css b/css/theme-light.css index 41dc978..6300f0b 100644 --- a/css/theme-light.css +++ b/css/theme-light.css @@ -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+) */ /* ============================================================