GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — OPE-229 Ship original bundled themes (#276) · opencode-mobile/opencode-mobile@033a739

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • CONTEXT.md
  • README.md
  • android/app/src
    • main
      • assets
        • syntax-presets
          • citrus.json
          • neon.json
          • nocturne.json
          • paper.json
          • syntax-manifest.json
        • theme-presets
          • amoled.json
          • aura.json
          • ayu.json
          • carbonfox.json
          • catppuccin-frappe.json
          • catppuccin-macchiato.json
          • catppuccin.json
          • cobalt2.json
          • cursor.json
          • dracula.json
          • everforest.json
          • flexoki.json
          • github.json
          • gruvbox.json
          • hotline.json
          • kanagawa.json
          • linen.json
          • lucent-orng.json
          • manifest.json
          • material.json
          • matrix.json
          • mercury.json
          • monokai.json
          • nightowl.json
          • nord.json
          • oc-2.json
          • one-dark.json
          • onedarkpro.json
          • opencode.json
          • orng.json
          • osaka-jade.json
          • palenight.json
          • phosphor.json
          • porcelain.json
          • rosepine.json
          • shadesofpurple.json
          • signal.json
          • solarized.json
          • synthwave84.json
          • tokyonight.json
          • vercel.json
          • vesper.json
          • zenburn.json
      • java/dev/opencode/mobile
        • Navigation.kt
        • NavigationKeys.kt
        • domain/observability
          • ProductAnalytics.kt
        • theme
          • ThemeManager.kt
          • ThemeModel.kt
          • ThemePreset.kt
          • ThemeResolver.kt
          • ThemeSupport.kt
        • ui
          • componentgallery
            • components
              • ButtonGalleryScreen.kt
              • IconsGalleryScreen.kt
            • foundation
              • ColorGalleryScreen.kt
          • components
            • chat
              • OpenCodeAssistantMessage.kt
              • OpenCodeChildSessionRow.kt
              • OpenCodeOutgoingMessage.kt
              • OpenCodeToolCallCard.kt
            • chrome
              • OpenCodeBottomSheet.kt
              • OpenCodeOverflowMenu.kt
              • OpenCodeSessionListDock.kt
            • input
              • OpenCodeButton.kt
              • OpenCodeComposerSuggestionOverlay.kt
              • OpenCodeSessionComposer.kt
            • list
              • OpenCodeChoiceBadge.kt
              • OpenCodeListItem.kt
          • icons
            • OpenCodeIcons.kt
          • settings
            • AppearanceSettingsScreen.kt
            • SettingsScreen.kt
            • SettingsViewModel.kt
    • test/java/dev/opencode/mobile/theme
      • ThemeSupportTest.kt
  • docs/design-system
    • components
      • assistant-message.md
      • bottom-sheet.md
      • button.md
      • child-session-row.md
      • choice-badge.md
      • composer-suggestion-overlay.md
      • floating-chrome.md
      • list-item.md
      • outgoing-message.md
      • overflow-menu.md
      • session-chat-composer.md
      • session-list-dock.md
      • tool-call-card.md
    • divergences.md
    • icons.md
    • tokens.md
  • icons
    • .manifest-hash
    • manifest.yaml
  • ios/OpenCode Mobile
    • OpenCode MobileTests/Theme
      • ThemeResolverSyntaxTokenTests.swift
      • ThemeSupportTests.swift
    • OpenCode Mobile
      • Assets.xcassets/ThemeJson.dataset
        • Contents.json
        • oc-2.json
        • porcelain.json
      • ComponentGallery
        • Components
          • ButtonGalleryView.swift
          • IconsGalleryView.swift
        • Foundation
          • ColorGalleryView.swift
      • Components
        • Chat
          • OpenCodeAssistantMessage.swift
          • OpenCodeChildSessionRow.swift
          • OpenCodeOutgoingMessage.swift
          • OpenCodeToolCallCard.swift
        • Chrome
          • OpenCodeBottomSheet.swift
          • OpenCodeFloatingChrome.swift
          • OpenCodeOverflowMenu.swift
          • OpenCodeSessionListDock.swift
        • Input
          • OpenCodeButton.swift
          • OpenCodeComposerSuggestionOverlay.swift
          • OpenCodeSessionComposer.swift
        • List
          • OpenCodeListItem.swift
      • Domain/Observability
        • ProductAnalytics.swift
      • Icons
        • OpenCodeIcon.swift
      • LucideIcons.xcassets/lucide_slash.imageset
        • Contents.json
        • icon.svg
      • Resources
        • SyntaxPresets
          • citrus.json
          • neon.json
          • nocturne.json
          • paper.json
          • syntax-manifest.json
        • ThemePresets
          • amoled.json
          • aura.json
          • ayu.json
          • carbonfox.json
          • catppuccin-frappe.json
          • catppuccin-macchiato.json
          • catppuccin.json
          • cobalt2.json
          • cursor.json
          • dracula.json
          • everforest.json
          • flexoki.json
          • github.json
          • gruvbox.json
          • hotline.json
          • kanagawa.json
          • linen.json
          • lucent-orng.json
          • manifest.json
          • material.json
          • matrix.json
          • mercury.json
          • monokai.json
          • nightowl.json
          • nord.json
          • oc-2.json
          • one-dark.json
          • onedarkpro.json
          • opencode.json
          • orng.json
          • osaka-jade.json
          • palenight.json
          • phosphor.json
          • porcelain.json
          • rosepine.json
          • shadesofpurple.json
          • signal.json
          • solarized.json
          • synthwave84.json
          • tokyonight.json
          • vercel.json
          • vesper.json
          • zenburn.json
      • Theme
        • ThemeManager.swift
        • ThemeModel.swift
        • ThemeResolver.swift
        • ThemeSupport.swift
      • UI/Settings
        • AppearanceSettingsView.swift
        • SettingsView.swift
  • scripts
    • check-theme-presets.mjs
    • sync-theme-presets.mjs
  • shared
    • syntax-presets
      • citrus.json
      • neon.json
      • nocturne.json
      • paper.json
      • syntax-manifest.json
    • theme-presets
      • amoled.json
      • aura.json
      • ayu.json
      • carbonfox.json
      • catppuccin-frappe.json
      • catppuccin-macchiato.json
      • catppuccin.json
      • cobalt2.json
      • cursor.json
      • dracula.json
      • everforest.json
      • flexoki.json
      • github.json
      • gruvbox.json
      • hotline.json
      • kanagawa.json
      • linen.json
      • lucent-orng.json
      • manifest.json
      • material.json
      • matrix.json
      • mercury.json
      • monokai.json
      • nightowl.json
      • nord.json
      • oc-2.json
      • one-dark.json
      • onedarkpro.json
      • opencode.json
      • orng.json
      • osaka-jade.json
      • palenight.json
      • phosphor.json
      • porcelain.json
      • rosepine.json
      • shadesofpurple.json
      • signal.json
      • solarized.json
      • synthwave84.json
      • tokyonight.json
      • vercel.json
      • vesper.json
      • zenburn.json

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Dismiss banner
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎CONTEXT.md‎

Copy file name to clipboardExpand all lines: CONTEXT.md
+5-5Lines changed: 5 additions & 5 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -481,14 +481,14 @@ The app uses this stream to update session state in the foreground. When the app
481481
reconnects, it refreshes state instead of relying on guaranteed background
482482
delivery.
483483

484-
### OC-2 theme
484+
### Theme
485485

486-
A desktop-compatible theme file format (JSON) used by OpenCode clients.
486+
A JSON theme file used by OpenCode Mobile.
487487

488488
Each theme defines `light` and `dark` variants with palette seeds and optional
489-
token overrides. Mobile apps resolve seeds into semantic color tokens at
490-
runtime. Users pick bundled desktop presets or import custom OC-2 JSON in
491-
Settings.
489+
token overrides. The apps resolve seeds into semantic color tokens at runtime.
490+
Settings offers five bundled themes: Porcelain, Linen, Signal, Hotline, and
491+
Phosphor. Porcelain is the default.
492492

493493
### Design System
494494

Collapse file

‎README.md‎

Copy file name to clipboardExpand all lines: README.md
+1-1Lines changed: 1 addition & 1 deletion
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ xcodebuild build \
5252
```bash
5353
npm install
5454
npm run icons:sync # regenerate shared Lucide icons
55-
npm run themes:sync # sync OC-2 desktop theme presets into app bundles
55+
npm run themes:sync # copy bundled theme presets into app bundles
5656
npm run themes:check # verify shared/iOS/Android preset copies match
5757
npm run api:sync # fetch OpenAPI spec and generate clients
5858
```
Collapse file

‎android/app/src/main/assets/syntax-presets/citrus.json‎

Copy file name to clipboard
+29Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
{
2+
"id": "citrus",
3+
"name": "Citrus",
4+
"blurb": "Solarized family",
5+
"light": {
6+
"syntax-comment": "#93A1A1",
7+
"syntax-keyword": "#859900",
8+
"syntax-string": "#2AA198",
9+
"syntax-primitive": "#268BD2",
10+
"syntax-property": "#268BD2",
11+
"syntax-type": "#B58900",
12+
"syntax-constant": "#2AA198",
13+
"syntax-variable": "#DC322F",
14+
"syntax-operator": "#657B83",
15+
"syntax-punctuation": "#657B83"
16+
},
17+
"dark": {
18+
"syntax-comment": "#586E75",
19+
"syntax-keyword": "#859900",
20+
"syntax-string": "#2AA198",
21+
"syntax-primitive": "#268BD2",
22+
"syntax-property": "#268BD2",
23+
"syntax-type": "#B58900",
24+
"syntax-constant": "#2AA198",
25+
"syntax-variable": "#DC322F",
26+
"syntax-operator": "#93A1A1",
27+
"syntax-punctuation": "#93A1A1"
28+
}
29+
}
Collapse file

‎android/app/src/main/assets/syntax-presets/neon.json‎

Copy file name to clipboard
+29Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
{
2+
"id": "neon",
3+
"name": "Neon",
4+
"blurb": "Dracula family",
5+
"light": {
6+
"syntax-comment": "#6272A4",
7+
"syntax-keyword": "#9B4DCA",
8+
"syntax-string": "#8A7A00",
9+
"syntax-primitive": "#007A9B",
10+
"syntax-property": "#007A9B",
11+
"syntax-type": "#6B4DB0",
12+
"syntax-constant": "#007A9B",
13+
"syntax-variable": "#C43A48",
14+
"syntax-operator": "#282A36",
15+
"syntax-punctuation": "#282A36"
16+
},
17+
"dark": {
18+
"syntax-comment": "#6272A4",
19+
"syntax-keyword": "#FF79C6",
20+
"syntax-string": "#F1FA8C",
21+
"syntax-primitive": "#8BE9FD",
22+
"syntax-property": "#8BE9FD",
23+
"syntax-type": "#BD93F9",
24+
"syntax-constant": "#8BE9FD",
25+
"syntax-variable": "#FF5555",
26+
"syntax-operator": "#F8F8F2",
27+
"syntax-punctuation": "#F8F8F2"
28+
}
29+
}
Collapse file

‎android/app/src/main/assets/syntax-presets/nocturne.json‎

Copy file name to clipboard
+29Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
{
2+
"id": "nocturne",
3+
"name": "Nocturne",
4+
"blurb": "One Dark family",
5+
"light": {
6+
"syntax-comment": "#6B7080",
7+
"syntax-keyword": "#A626A4",
8+
"syntax-string": "#50A14F",
9+
"syntax-primitive": "#4078F2",
10+
"syntax-property": "#0184BC",
11+
"syntax-type": "#C18401",
12+
"syntax-constant": "#0184BC",
13+
"syntax-variable": "#E45649",
14+
"syntax-operator": "#0184BC",
15+
"syntax-punctuation": "#383A42"
16+
},
17+
"dark": {
18+
"syntax-comment": "#5C6370",
19+
"syntax-keyword": "#C678DD",
20+
"syntax-string": "#98C379",
21+
"syntax-primitive": "#61AFEF",
22+
"syntax-property": "#56B6C2",
23+
"syntax-type": "#E5C07B",
24+
"syntax-constant": "#56B6C2",
25+
"syntax-variable": "#E06C75",
26+
"syntax-operator": "#56B6C2",
27+
"syntax-punctuation": "#ABB2BF"
28+
}
29+
}
Collapse file

‎android/app/src/main/assets/syntax-presets/paper.json‎

Copy file name to clipboard
+29Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
{
2+
"id": "paper",
3+
"name": "Paper",
4+
"blurb": "GitHub family",
5+
"light": {
6+
"syntax-comment": "#6A737D",
7+
"syntax-keyword": "#D73A49",
8+
"syntax-string": "#032F62",
9+
"syntax-primitive": "#005CC5",
10+
"syntax-property": "#005CC5",
11+
"syntax-type": "#6F42C1",
12+
"syntax-constant": "#005CC5",
13+
"syntax-variable": "#E36209",
14+
"syntax-operator": "#24292E",
15+
"syntax-punctuation": "#24292E"
16+
},
17+
"dark": {
18+
"syntax-comment": "#8B949E",
19+
"syntax-keyword": "#FF7B72",
20+
"syntax-string": "#A5D6FF",
21+
"syntax-primitive": "#79C0FF",
22+
"syntax-property": "#79C0FF",
23+
"syntax-type": "#D2A8FF",
24+
"syntax-constant": "#79C0FF",
25+
"syntax-variable": "#FFA657",
26+
"syntax-operator": "#E6EDF3",
27+
"syntax-punctuation": "#E6EDF3"
28+
}
29+
}
Collapse file

‎android/app/src/main/assets/syntax-presets/syntax-manifest.json‎

Copy file name to clipboard
+7Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
[
2+
{ "id": "match", "name": "Match theme", "blurb": "Use the UI theme’s own tokens" },
3+
{ "id": "nocturne", "name": "Nocturne", "blurb": "One Dark family" },
4+
{ "id": "citrus", "name": "Citrus", "blurb": "Solarized family" },
5+
{ "id": "paper", "name": "Paper", "blurb": "GitHub family" },
6+
{ "id": "neon", "name": "Neon", "blurb": "Dracula family" }
7+
]
Collapse file

‎android/app/src/main/assets/theme-presets/amoled.json‎

Copy file name to clipboardExpand all lines: android/app/src/main/assets/theme-presets/amoled.json
-49Lines changed: 0 additions & 49 deletions
This file was deleted.
Collapse file

‎android/app/src/main/assets/theme-presets/aura.json‎

Copy file name to clipboardExpand all lines: android/app/src/main/assets/theme-presets/aura.json
-51Lines changed: 0 additions & 51 deletions
This file was deleted.
Collapse file

‎android/app/src/main/assets/theme-presets/ayu.json‎

Copy file name to clipboardExpand all lines: android/app/src/main/assets/theme-presets/ayu.json
-51Lines changed: 0 additions & 51 deletions
This file was deleted.

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.