diff --git a/LICENSE b/LICENSE index 8a7100f..c1cad01 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2026 Alex M. Maldonado +Copyright (c) 2026 Scienting Copyright (c) 2016 The Gitea Authors Copyright (c) 2015 The Gogs Authors diff --git a/README.md b/README.md index d171a1f..96185d8 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# scient.ing theme for git.scient.ing +# scienting theme for git.scient.ing This repository serves as the custom folder for Gitea. Clone the repository once on your server and mount it into the container. @@ -14,7 +14,7 @@ If you remove the mount, the default settings are restored. | `public/assets/fonts/scienting/` | Atkinson Hyperlegible Next and Mono, self-hosted, with their license | | `public/assets/img/` | the custom scienting git logo and favicons in place of Gitea's teacup | | `templates/home.tmpl` | the signed-out home page, in the studio's voice | -| `templates/custom/extra_links_footer.tmpl` | adds a scient.ing link and the company's legal name, Scientific Computing Studio, LLC, to the footer | +| `templates/custom/extra_links_footer.tmpl` | adds a scienting link and the company's legal name, Scientific Computing Studio, LLC, to the footer | These themes are based on Gitea 28.1.0’s original theme files, with changes only to brand colors, fonts, corner radius, and a faint graph-paper grid behind every page except the home page. The named colors for status, diffs, and syntax highlighting remain as Gitea originally set them. @@ -53,12 +53,12 @@ Add the following line under `volumes:` for the `server` service in `/opt/gitea/ Merge the contents of `app.ini.scienting` into `/opt/gitea/config/app.ini`. This sets three main options: -- `APP_NAME = scient.ing git`, which replaces "Scienting Git" in page titles. +- `APP_NAME = scienting git`, which replaces "Scienting Git" in page titles. It goes at the top of the file, before any `[section]`. The brand writes the name lowercase, with the dot. - `[ui] DEFAULT_THEME = scienting-auto`. Your `app.ini` has no `THEMES` line, so Gitea offers every theme it finds. - If you add one later, it must list the three scient.ing themes. + If you add one later, it must list the three scienting themes. - `[ui.meta]`, the author, description, and keywords search engines see. Recreate the container to apply the new mount: @@ -89,7 +89,7 @@ docker compose -f preview/compose.yml up -d Open http://localhost:3000. The first visit shows Gitea's install page. -Keep SQLite, set the site title to `scient.ing git`, create an administrator account under "Administrator Account Settings," and click Install. +Keep SQLite, set the site title to `scienting git`, create an administrator account under "Administrator Account Settings," and click Install. The preview keeps its data in Docker volumes, so you only do this once. The preview starts empty, so give it something to show: diff --git a/app.ini.scienting b/app.ini.scienting index 8707b66..fd90086 100644 --- a/app.ini.scienting +++ b/app.ini.scienting @@ -1,5 +1,5 @@ ; Merge these into app.ini. APP_NAME belongs at the top of the file, before any [section]. -APP_NAME = scient.ing git +APP_NAME = scienting git [ui] DEFAULT_THEME = scienting-auto @@ -7,9 +7,9 @@ DEFAULT_THEME = scienting-auto ; THEMES = scienting-auto,scienting-light,scienting-dark,gitea-auto,gitea-light,gitea-dark [ui.meta] -AUTHOR = Alex M. Maldonado -DESCRIPTION = Source code and project history for scient.ing, the Scientific Computing Studio. -KEYWORDS = scient.ing,scientific computing,research software,teaching,git +AUTHOR = Scienting +DESCRIPTION = Source code and project history for scienting, the Scientific Computing Studio. +KEYWORDS = scienting,scientific computing,research software,teaching,git ; Optional: hide the Gitea version from visitors (admins still see it). ; [other] diff --git a/public/assets/css/theme-scienting-auto.css b/public/assets/css/theme-scienting-auto.css index 8c5064b..c53845a 100644 --- a/public/assets/css/theme-scienting-auto.css +++ b/public/assets/css/theme-scienting-auto.css @@ -2,6 +2,6 @@ @import "./theme-scienting-dark.css"(prefers-color-scheme: dark); gitea-theme-meta-info { - --theme-display-name: "scient.ing auto"; + --theme-display-name: "scienting auto"; --theme-color-scheme: "auto"; } \ No newline at end of file diff --git a/public/assets/css/theme-scienting-dark.css b/public/assets/css/theme-scienting-dark.css index 15ce680..c585b62 100644 --- a/public/assets/css/theme-scienting-dark.css +++ b/public/assets/css/theme-scienting-dark.css @@ -1,5 +1,5 @@ -/* scient.ing dark theme for Gitea 28: the greenboard. - Built from Gitea v28.1.0's theme-gitea-dark.css with the scient.ing tokens. */ +/* scienting dark theme for Gitea 28: the greenboard. + Built from Gitea v28.1.0's theme-gitea-dark.css with the scienting tokens. */ @font-face { font-family: "Atkinson Hyperlegible Next"; src: url("../fonts/scienting/AtkinsonHyperlegibleNext.woff2") format("woff2"); @@ -17,7 +17,7 @@ } gitea-theme-meta-info { - --theme-display-name: "scient.ing dark"; + --theme-display-name: "scienting dark"; --theme-color-scheme: "dark"; } @@ -353,7 +353,7 @@ gitea-theme-meta-info { filter: invert(100%) hue-rotate(180deg); } -/* scient.ing: type, corners, and a few brand touches on top of the color variables */ +/* scienting: type, corners, and a few brand touches on top of the color variables */ :root { --fonts-override: "Atkinson Hyperlegible Next", -apple-system, "Segoe UI", system-ui, Roboto, "Helvetica Neue", Arial; --fonts-monospace: "Atkinson Hyperlegible Mono", ui-monospace, SFMono-Regular, "SF Mono", Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace, var(--fonts-emoji); @@ -367,21 +367,6 @@ gitea-theme-meta-info { font-family: var(--fonts-monospace); } -/* scient.ing: the computation pad behind every page, faint, the way an engineering pad's grid - shows through from the back of the sheet. A line every 20 px and a slightly darker line every - 100 px. To make the grid stronger or fainter, change the two colors below. The navbar, panels, - code, and menus keep their solid backgrounds. The home page turns the grid off in home.tmpl. */ -:root { - --sc-pad-line: #19251E; - --sc-pad-line-major: #1C2921; -} - body { background-color: var(--color-body); - background-image: - linear-gradient(var(--sc-pad-line-major) 1px, transparent 1px), - linear-gradient(90deg, var(--sc-pad-line-major) 1px, transparent 1px), - linear-gradient(var(--sc-pad-line) 1px, transparent 1px), - linear-gradient(90deg, var(--sc-pad-line) 1px, transparent 1px); - background-size: 100px 100px, 100px 100px, 20px 20px, 20px 20px; } \ No newline at end of file diff --git a/public/assets/css/theme-scienting-light.css b/public/assets/css/theme-scienting-light.css index 9558ea9..018db68 100644 --- a/public/assets/css/theme-scienting-light.css +++ b/public/assets/css/theme-scienting-light.css @@ -1,5 +1,5 @@ -/* scient.ing light theme for Gitea 28: the computation pad. - Built from Gitea v28.1.0's theme-gitea-light.css with the scient.ing tokens. */ +/* scienting light theme for Gitea 28: the computation pad. + Built from Gitea v28.1.0's theme-gitea-light.css with the scienting tokens. */ @font-face { font-family: "Atkinson Hyperlegible Next"; src: url("../fonts/scienting/AtkinsonHyperlegibleNext.woff2") format("woff2"); @@ -17,7 +17,7 @@ } gitea-theme-meta-info { - --theme-display-name: "scient.ing light"; + --theme-display-name: "scienting light"; --theme-color-scheme: "light"; } @@ -328,7 +328,7 @@ gitea-theme-meta-info { color-scheme: light; } -/* scient.ing: type, corners, and a few brand touches on top of the color variables */ +/* scienting: type, corners, and a few brand touches on top of the color variables */ :root { --fonts-override: "Atkinson Hyperlegible Next", -apple-system, "Segoe UI", system-ui, Roboto, "Helvetica Neue", Arial; --fonts-monospace: "Atkinson Hyperlegible Mono", ui-monospace, SFMono-Regular, "SF Mono", Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace, var(--fonts-emoji); @@ -342,21 +342,6 @@ gitea-theme-meta-info { font-family: var(--fonts-monospace); } -/* scient.ing: the computation pad behind every page, faint, the way an engineering pad's grid - shows through from the back of the sheet. A line every 20 px and a slightly darker line every - 100 px. To make the grid stronger or fainter, change the two colors below. The navbar, panels, - code, and menus keep their solid backgrounds. The home page turns the grid off in home.tmpl. */ -:root { - --sc-pad-line: #E5EDDD; - --sc-pad-line-major: #E1EAD9; -} - body { background-color: var(--color-body); - background-image: - linear-gradient(var(--sc-pad-line-major) 1px, transparent 1px), - linear-gradient(90deg, var(--sc-pad-line-major) 1px, transparent 1px), - linear-gradient(var(--sc-pad-line) 1px, transparent 1px), - linear-gradient(90deg, var(--sc-pad-line) 1px, transparent 1px); - background-size: 100px 100px, 100px 100px, 20px 20px, 20px 20px; } \ No newline at end of file diff --git a/templates/custom/extra_links_footer.tmpl b/templates/custom/extra_links_footer.tmpl index 88878d8..b09785c 100644 --- a/templates/custom/extra_links_footer.tmpl +++ b/templates/custom/extra_links_footer.tmpl @@ -1,2 +1,2 @@ -scient.ing +scienting Scientific Computing Studio, LLC diff --git a/templates/home.tmpl b/templates/home.tmpl index 546c7d1..a141cdf 100644 --- a/templates/home.tmpl +++ b/templates/home.tmpl @@ -1,5 +1,5 @@ {{template "base/head" .}} -{{/* scient.ing home page for Gitea 28. Uses only Gitea's color variables, so it also works under Gitea's own themes. +{{/* scienting home page for Gitea 28. Uses only Gitea's color variables, so it also works under Gitea's own themes. */}}