Commit fae32f0aab

fae32f0aab7f158fc22ddc2f9fd1109773ce03ce

parent: dd00288f15

Unsigned

cmc <hello@cleberg.net> · 2026-08-31 18:38 UTC

Take org keyword colors from the app palette

org-swift 0.3.0 stops hardcoding green and orange for TODO/DONE and takes
them from the caller. org's TODO/DONE is the same open/done distinction the
forge already colors, so they reuse gbOK and gbDone rather than a third
treatment.

Also picks up the emphasis border-rule fix: `=ssh.mode = "system"=` in
krz/gitbay's README rendered as two verbatim spans with the quoted value
loose between them, and is now one.

Layout: unified · split

gitbay.xcodeproj/project.pbxproj +1 −1
@@ -591,7 +591,7 @@
591591 repositoryURL = "ssh://git@gitbay.org/krz/org-swift.git";
592592 requirement = {
593593 kind = upToNextMinorVersion;
594 minimumVersion = 0.2.0;
594 minimumVersion = 0.3.0;
595595 };
596596 };
597597 8B2898B0303FF3E5001BF44A /* XCRemoteSwiftPackageReference "Highlightr" */ = {
gitbay.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved +2 −2
@@ -15,8 +15,8 @@
1515 "kind" : "remoteSourceControl",
1616 "location" : "ssh://git@gitbay.org/krz/org-swift.git",
1717 "state" : {
18 "revision" : "ca2a0de2077b96dc2405d59def877f53e1933063",
19 "version" : "0.2.0"
18 "revision" : "1873fef70216e46ea03a1e72575fd83dd8b40cf2",
19 "version" : "0.3.0"
2020 }
2121 }
2222 ],
gitbay/Views/Repos/ReadmeView.swift +6 −1
@@ -22,7 +22,12 @@ struct ReadmeView: View {
2222 if isOrg {
2323 // Qualified: `OrgView` here is org-mode, not the organization view.
2424 OrgSwiftUI.OrgView(
25 content, options: orgOptions, styler: OrgSyntaxStyler(colorScheme: colorScheme)
25 content,
26 options: orgOptions,
27 styler: OrgSyntaxStyler(colorScheme: colorScheme),
28 // org's TODO/DONE are the same open/done distinction the forge already
29 // colors, so they reuse those tokens rather than a third treatment.
30 keywords: OrgKeywordStyle(todo: .gbOK, done: .gbDone)
2631 )
2732 } else {
2833 MarkdownView(markdown: content)