Sign in

Search issue titles and bodies, change requests and comments. Private repositories you cannot read are not included.

vole
Clone

Read only, no credentials:

https://rodent.software/git/vole.git

Write over SSH with a registered key:

git clone ssh://git@0.0.0.0:2222/vole.git

A free and open-source forge that lives in your Git repo.

Document the tokens the starter stylesheet offers

bc95767f6f9e79c0382becabe90b31d790d6554f · Keenan Nemetz · 1d ago · parent 3e7c5e67

Document the tokens the starter stylesheet offers

The starter profile/custom.css used a plain :root selector, which loses to the more specific :root[data-theme^="everforest-"] rules in the built-in theme sheet. Show the selector that wins, group the tokens by what they change, and add dark/light blocks plus the page-level classes to reach for when a token is not enough.

Put the same reference in docs/configuration.md so the customization is documented outside the generated repository.

forge/instance_test.go +4

@@ -42,6 +42,10 @@ func TestInitOpenAndRepoLifecycle(t *testing.T) {
42 42 if err != nil || !strings.Contains(string(readme), "Instance customization") {
43 43 t.Fatalf("instance README = %q, %v", readme, err)
44 44 }
45 custom, err := theme.Git().BlobAt("refs/heads/"+theme.DefaultBranch, "profile/custom.css")
46 if err != nil || !strings.Contains(string(custom), ":root[data-theme]") {
47 t.Fatalf("starter custom.css does not show the override selector: %q, %v", custom, err)
48 }
45 49
46 50 pub, _, err := ed25519.GenerateKey(rand.Reader)
47 51 if err != nil {