Skip to content

About

NodeSource brand theme for Orca: dark and light app themes, terminal palettes and brand fonts.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

NodeSource theme

An Orca plugin built from the NodeSource brand guidelines. It contributes:

What Name in Orca File
App theme, dark base NodeSource Dark themes/nodesource-dark.json
App theme, light base NodeSource Light themes/nodesource-light.json
Terminal palette, dark NodeSource Dark terminal/nodesource-dark.json
Terminal palette, light NodeSource Light terminal/nodesource-light.json
Interface font Source Sans 3 (Light 300, Regular 400, Semibold 600) fonts/source-sans-3/
Editor and terminal font SauceCodePro Nerd Font Mono (Regular, Italic, SemiBold, Bold) fonts/saucecodepro-nerd-font-mono/
Dark theme background image The accounts.nodesource.com faceted slate, 2876×1434 JPEG assets/facet-bg-dark-2x.jpg
Plugin icon The NodeSource logo mark, 256×256 assets/icon.png

It is a content-only plugin (execution: data): nothing runs and it needs no approval. It needs Orca 1.4.253 or later, the first release that reads plugin fonts. Orca releases that predate theme background images ignore the image and still apply the theme.

Install

orca plugin install nodesource/nodesource-orca-theme

Orca installs the newest version tag; add @v1.0.0 to pin a release. Installing from Orca's plugin page applies both app themes and both palettes at once, and the toast offers Switch back. The CLI install does not change your selection, so pick the pieces in Settings → Appearance:

  • Light theme: NodeSource Light. Dark theme: NodeSource Dark. Orca paints the one that matches its current mode.
  • Terminal: NodeSource Dark for dark mode, NodeSource Light for light mode.
  • Fonts: see Typography.

Preview and develop

From a clone of this repository:

orca plugin dev watch .          # load this folder, reload on every save; Ctrl-C unloads it
orca plugin dev load "$PWD"      # or load it once as a development folder
orca plugin validate . --json    # must exit 0
node scripts/check-contrast.ts   # or: pnpm check:contrast; must print "All contrast checks passed."

Typography

Picking a theme does not switch fonts. Choose them in Settings → Appearance:

  • Interface font: Source Sans 3. This is Adobe's current release of Source Sans Pro, the brand's UI and body face.
  • Editor and terminal font: SauceCodePro Nerd Font Mono. This is Source Code Pro, the brand's code face, with Nerd Font icons added, so prompts such as starship draw their icons. Nerd Fonts calls it "SauceCodePro" because the font license reserves the name "Source" for Adobe's unmodified fonts. The Mono variant keeps each icon one cell wide, so terminal columns stay aligned.

The brand's type scale (H1 54px and the other heading and body sizes) has no Orca equivalent. A plugin can contribute font families, but not sizes or per-element weights, so Orca keeps its own sizes. Provenance, licenses and checksums for the font files are in fonts/README.md.

Brand palette

Name Hex Used for
Green (primary, logo mark) #5ac878 Primary buttons, rings, active tab, keywords, added
Teal #66ccbb Types, operators, untracked, ANSI cyan
Action Blue #4cb5ff Links, functions, selections, renamed
Warning Yellow #ffb726 Strings, modified
Alert Red #ff6040 Constants, deleted, removed lines
Base Gray #4c5859 Light-mode muted text and comments; dark-mode borders, input borders, secondary buttons and host badge
Light 1 / 2 / 3 #89a19d / #e1e7e6 / #f5f7f7 Dark-mode text, comments and ignored files; light-mode surfaces
Dark 1 / 2 / 3 / 4 #3d4647 / #353d3e / #2e3535 / #202525 The dark theme's surfaces: Dark 4 center, Dark 2 frame and chat user messages, Dark 3 chat code wells and ANSI black. Dark 4 is also the light theme's text and the text on green and blue fills. Dark 1 is not used
Green tints #85d69a / #a3e0b4 Bright ANSI green, chat inline code

Dark layout: slate frame, dark center

The dark theme's colors come from accounts.nodesource.com: the .dark-theme block of its stylesheet (https://accounts.nodesource.com/assets/index-B0iVo_pb.css, read 2026-11-25) and its .facet-bg background image (see Background image). They split Orca into two layers:

  • The frame is slate. Sidebars, the workspace sidebar, the tab bar, inactive tabs, cards, quiet fills, menus and dialogs use the page's modal color, Dark 2 #353d3e, with Base Gray #4c5859 borders.
  • The center is dark. The editor, the active tab, agent chats and terminals use the page's own background, Dark 4 #202525 (rgb 32, 37, 37), two steps under the frame. The active tab takes the center color, so it joins the content below it. The Base Gray border marks the edge between frame and center.
  • Chat surfaces are raised one or two steps from the center. Code blocks and inline code wells are Dark 3 #2e3535 (the page's input color). User messages are Dark 2 #353d3e, so an inline code well inside a user message still shows.

Two lighter centers were tried and dropped: the slate of the image (#404a4b), which made Orca's chat background a muddy #485253, and Dark 3 #2e3535, which still read too light.

Orca does not paint the chat with --background itself: its dark chat background mixes 5% of --foreground into --background. So --background is #161b1b, the color that mix lands on #202525 (32.15, 37.20, 37.15 before rounding), while the editor, active tab and terminal set #202525 directly. --background alone shows only behind the center: empty tab groups, split gutters and other pages.

Site source Hex Used for
--background (Dark 4) #202525 Center: editor, active tab, terminal, and the chat background Orca derives; also the text on green and blue fills
--input-bg, --input-border-color (Dark 3) #2e3535 Chat code blocks, tool output and inline code wells; ANSI black
--modal-content-bg (Dark 2) #353d3e Frame: sidebars, tab bar, inactive tabs, cards, quiet fills, menus and dialogs; chat user messages
--modal-header-bg, --input-focus-border-color (Base Gray) #4c5859 Borders, input borders, split divider, secondary buttons, workspace row hover, host badge
.facet-bg image mean #404a4b The theme's background image, at 21% over --background

App theme token mapping

Both themes set every token below explicitly, so nothing falls back to Orca's built-in colors. A translucent value is written as hue plus opacity.

Area Tokens NodeSource Dark NodeSource Light
Canvas --background, --editor-surface #161b1b (chat background lands on Dark 4), #202525 Dark 4 #ffffff
Body text --foreground, --card-foreground, --sidebar-foreground, --worktree-sidebar-foreground, --host-badge-foreground (dark) #e1e7e6 Light 2 #202525 Dark 4
Strong text --popover-foreground, --secondary-foreground, --accent-foreground, --sidebar-accent-foreground, --worktree-sidebar-accent-foreground, --tab-active-foreground #f5f7f7 Light 3 #202525
Muted text --muted-foreground, --tab-inactive-foreground #96aba8 (Light 1 lightened for the Dark 2 frame) #4c5859 Base Gray
Cards, muted fills --card, --muted #353d3e Dark 2 #f5f7f7 Light 3
Sidebars, tab bar --sidebar, --worktree-sidebar, --tab-bar, --tab-inactive #353d3e Dark 2 #e1e7e6 Light 2
Active tab --tab-active #202525 Dark 4, the center color #ffffff
Menus, dialogs --popover #353d3e Dark 2 #ffffff
Secondary buttons --secondary #4c5859 Base Gray #e1e7e6
Borders --border, --sidebar-border, --worktree-sidebar-border, --split-divider #4c5859 Base Gray --border #e1e7e6; the others #becbc9
Input borders --input #4c5859 Base Gray #89a19d Light 1
Primary buttons --primary, --sidebar-primary (+ -foreground) #5ac878 on, #202525 text same
Rings, active-tab line --ring, --sidebar-ring, --worktree-sidebar-ring, --tab-active-indicator, --split-divider-hover #5ac878 #38a756
Hover and selected --accent, --sidebar-accent #3c594a #d6eede, #c6e1d0
Workspace row hover --worktree-sidebar-accent #4c5859 #f5f7f7
Current workspace --worktree-sidebar-active, -active-border Green 30%, Green 60% Green 35%, #38a756
Host badge --host-badge #4c5859 #f5f7f7 (text #4c5859)
Links --text-link, --theme-accent-foreground #4cb5ff Action Blue, label #202525 #0073c4, label #ffffff
Selections --editor-selection, --chat-selection (+ -foreground) Action Blue 25%, 30% same
Diffs --diff-added, --diff-removed #5ac878, #ff6040 (exact brand) #2b8042, #da2500
Diff tints --diff-*-background, -emphasis, -gutter Green 16%, 20%, 30% (Orca's defaults); Red 11% (set), 20%, 32% (Orca's defaults) Orca's defaults, from the diff colors
Git: added, modified, deleted --git-decoration-* #5ac878, #ffb726, #ff6040 #2b8042, #996600, #da2500
Git: renamed, copied, untracked, ignored --git-decoration-* #4cb5ff, #4cb5ff, #66ccbb, #89a19d #0073c4, #0073c4, #2a7d6f, #69847f
Charts --chart-1 … --chart-5 Green, Teal, Blue, Yellow, Red (exact brand) same
Chat --chat-user-message, --chat-code-block #353d3e Dark 2, #2e3535 Dark 3 #e1e7e6, #f5f7f7
Chat text --chat-bold-foreground, --chat-muted-foreground #f5f7f7, #89a19d Light 1 #202525, #4c5859
Chat inline code --chat-inline-code, -foreground #2e3535 Dark 3, #a3e0b4 Green 20%, #202525

Code colors (tokenColors)

Role Scopes (main ones) Dark Light
Comments, quotes comment, markup.quote (italic) #89a19d Light 1 #4c5859 Base Gray
Keywords, tags, headings keyword, storage.type, entity.name.tag, markup.heading #5ac878 #2b8042
Types, operators, attributes entity.name.type, support.class, keyword.operator, entity.other.attribute-name #66ccbb #2a7d6f
Functions, properties, links entity.name.function, support.type.property-name, markup.underline.link #4cb5ff #0073c4
Strings, decorators string, meta.decorator, markup.changed #ffb726 #996600
Constants, this, invalid constant.numeric, constant.language, variable.language, invalid #ff6040 #da2500

Terminal palettes

The brand has no magenta, so one is derived: #de73ba, hsl(320 62% 66%). It sits at the saturation and lightness of the brand's other accent hues. Terminal colors must be opaque hex, so the selection colors are pre-blended.

Slot Dark Light
background / foreground #202525 / #e1e7e6 #ffffff / #202525
cursor / cursorAccent #5ac878 / #202525 #2b8042 / #ffffff
selection (bg / fg) #2d5066 / #f5f7f7 #d2edff / #202525
black / brightBlack #2e3535 / #89a19d #202525 / #4c5859
red / brightRed #ff6040 / #ff8870 #da2500 / #ff5d3c
green / brightGreen #5ac878 / #85d69a #2b8042 / #38a756
yellow / brightYellow #ffb726 / #ffc95c #996600 / #c88600
blue / brightBlue #4cb5ff / #79c8ff #0073c4 / #0597ff
magenta / brightMagenta #de73ba / #e696cb #c72f94 / #dc6cb6
cyan / brightCyan #66ccbb / #8cd9cc #2a7d6f / #37a491
white / brightWhite #e1e7e6 / #ffffff #e1e7e6 / #f5f7f7

The dark bright colors are each hue with 25% white mixed in. For green this lands on the brand's own tint, #85d69a.

The dark background is the app's center color, Dark 4 #202525, so a terminal sits flush with the editor and chats beside it. Black is Dark 3 #2e3535, one step lighter (1.24:1), so black fills stay distinct from the background. Bright black is Light 1 #89a19d (5.65:1), readable for autosuggestions and dimmed output. The selection is Action Blue at 30% on the background, the same blue as a chat selection. Every ANSI color keeps the exact brand hue: the dimmest on the background are red #ff6040 (5.17:1) and magenta #de73ba (5.37:1).

Background image

The dark theme paints the accounts.nodesource.com faceted slate as Orca's theme background:

  • assets/facet-bg-dark-2x.jpg is NodeSource's own image, the 2x version of the page's .facet-bg, downloaded unchanged on 2026-11-25 from https://accounts.nodesource.com/assets/background@2x-BHlyNpcw.jpg (the 1x file is facet-bg-dark-B5kI6bjW.jpg, 1438×717). JPEG, 2876×1434, 804,388 bytes, SHA-256 87d811c270e5dc48f291bb14f3caa85d5387096c49876272e99032179678c552. Orca accepts PNG, JPEG or WebP, 640×360 to 4096×4096, at most 2 MB.
  • opacity is 0.21, size is cover and position is center. Orca paints --background over the image at 1 − opacity. The image averages #404a4b; at 0.21 over #161b1b the facets average #1f2525 (30.85, 36.85, 37.11), from #1e2324 to #212727 (1st to 99th percentile), within one step of the center's #202525. A see-through terminal or chat therefore keeps the dark center with a faint facet texture. 0.21 is the opacity whose average lands closest to #202525; at 0.3 the center drifts lighter (#232929), and at 1 the image would bring back the #404a4b slate.
  • The image shows only through terminals and agent chats, and only when the terminal's Background Opacity setting is below 1. Sidebars, editors and other pages stay opaque.
  • orca plugin validate checks only that the file exists. Orca checks the format, size and dimensions when it serves the image, and an image that fails is not shown, with no warning. The theme still applies.

Derived light-mode shades

The brand hues are too light to read as text on white. Orca drops any text color under 4.5:1 (3:1 for code and git colors) without a warning. The light theme therefore keeps the exact brand colors for fills (primary buttons, charts, translucent tints) and uses darker shades of the same hues for text.

Method: keep the HSL hue and saturation and lower the lightness until the shade reaches the target. A text shade reaches 4.5:1 on Light 3 #f5f7f7, so it also reads on cards. A bright shade reaches 3:1 on white.

Brand color Text shade Contrast on white / Light 3 / Light 2 Bright shade (3:1 on white) Where
Green #5ac878 hsl(136 50% 57%) #2b8042 hsl(136 50% 34%) 4.92 / 4.57 / 3.93 #38a756 hsl(136 50% 44%) Text: keywords, diff and git added, cursor. Bright: rings, active-tab line, current-workspace border
Teal #66ccbb hsl(170 50% 60%) #2a7d6f hsl(170 50% 33%) 4.93 / 4.58 / 3.94 #37a491 Types, operators, untracked, ANSI cyan
Action Blue #4cb5ff hsl(205 100% 65%) #0073c4 hsl(205 100% 38%) 4.94 / 4.60 / 3.95 #0597ff Links, functions, renamed and copied, ANSI blue
Warning Yellow #ffb726 hsl(40 100% 57%) #996600 hsl(40 100% 30%) 4.94 / 4.59 / 3.94 #c88600 Strings, modified, ANSI yellow
Alert Red #ff6040 hsl(10 100% 63%) #da2500 hsl(10 100% 43%) 4.95 / 4.60 / 3.95 #ff5d3c Constants, diff and git deleted, ANSI red
Magenta (derived) #de73ba hsl(320 62% 66%) #c72f94 hsl(320 62% 48%) 4.93 / 4.58 / 3.94 #dc6cb6 ANSI magenta

Derived dark-mode shades

One brand color misses Orca's minimum on the Dark 2 frame. The dark theme lightens it only as far as the contrast check needs, using the light theme's method in reverse: keep the HSL hue and saturation, raise the lightness in 1% steps, and stop at the first shade that passes. Fills keep the exact brand colors.

Brand color Dark shade Contrast before → after Where
Light 1 #89a19d hsl(170 11% 58%) #96aba8 hsl(170 11% 63%) 4.05 → 4.60 on Dark 2 --muted-foreground, --tab-inactive-foreground

Light 1 itself passes everywhere Orca checks it in the center: chat muted text on the chat background (5.64) and on Dark 3 code blocks (4.56), and comments in the editor (5.65). Only --muted-foreground and --tab-inactive-foreground keep the lighter shade, because Orca checks them on the Dark 2 quiet fills and inactive tabs, where Light 1 reaches only 4.05.

Everything else keeps the exact brand color. Code colors need 3:1 on the Dark 4 editor: the lowest are constants #ff6040 at 5.17 and comments #89a19d at 5.65. Links #4cb5ff reach 6.92 on the editor, and Orca's chat link color (#79c4f8, 30% --foreground mixed into it) 5.85 on a user message and 6.59 on inline code. Git decorations need 3:1 on the Dark 2 sidebar, where the lowest, deleted #ff6040, reaches 3.71.

Removed-line text keeps brand Red because the theme sets its line tint, --diff-removed-background, to brand Red at 11% (#ff60401c) instead of Orca's default 18%. Chat draws removed text (#f68972, 30% --foreground mixed into the red) on that tint over a Dark 3 code block, where it reaches 4.57; at 18% it would reach only 4.17. The emphasis and gutter tints keep Orca's defaults, brand Red at 20% and 32%.

Other derived values

Value How Where
#69847f Light 1 darkened (same hue) to 3.2:1 on Light 2 Light --git-decoration-ignored: Light 1 itself is only 2.2:1 there
#becbc9 40% Light 1 mixed into Light 2 Light sidebar borders and split divider
#161b1b (Dark 4 − 5% Light 2) ÷ 0.95, per channel Dark --background, so Orca's chat background (5% --foreground mixed into it) is Dark 4
#3c594a, #d6eede, #c6e1d0 20% Green mixed into Dark 2, Light 3 and Light 2 --accent and --sidebar-accent
#2d5066, #d2edff Action Blue at 30% on Dark 4, at 25% on white Terminal selection
#ff60401c Alert Red at 11% (alpha 28/255) Dark --diff-removed-background, so chat removed-line text keeps brand Red on Dark 3 code blocks

Contrast checks

scripts/check-contrast.ts is a dependency-free Node script (Node 22.18 or later runs the TypeScript directly). It resolves every token the way Orca paints it: the theme's own value, then Orca's load-time derivations, then its CSS fallbacks, including the internal chat colors. It then checks:

  • Every text/surface pair Orca checks, at 4.5:1, with translucent surfaces painted over what lies beneath them.
  • Git decorations on --sidebar at 3:1.
  • Rings and the active-tab line at 2:1.
  • Border alpha at 0.05 or more.
  • Every tokenColors foreground on the editor background at 3:1.

It exits 1 when any check fails, or when a checked token would fall back to an Orca built-in color it cannot see. The rule list is copied from Orca's source (scripts/orca-contrast-rules.ts names the files and commit). Re-copy it when Orca changes those checks.

License

The theme files, terminal palettes, scripts and docs are MIT licensed: see LICENSE.

  • The fonts under fonts/ keep their own licenses: SIL Open Font License 1.1, plus the Nerd Fonts notes for the icon glyphs. See fonts/README.md.
  • scripts/orca-contrast-rules.ts is copied from Orca, which is also MIT licensed. Orca's notice is in THIRD_PARTY_NOTICES.md.
  • The NodeSource name, the NodeSource logo (assets/icon.png) and the background image (assets/facet-bg-dark-2x.jpg) are NodeSource trademarks and assets. They are not covered by the MIT license.

About

NodeSource brand theme for Orca: dark and light app themes, terminal palettes and brand fonts.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages