Skip to content

feat(theme): align UI with ownCloud corporate identity#1014

Merged
dj4oC merged 1 commit into
masterfrom
align-corporate-identity
Jun 14, 2026
Merged

feat(theme): align UI with ownCloud corporate identity#1014
dj4oC merged 1 commit into
masterfrom
align-corporate-identity

Conversation

@DeepDiver1975

@DeepDiver1975 DeepDiver1975 commented Jun 14, 2026

Copy link
Copy Markdown
Member

Why

A design review of doc.owncloud.com against the corporate identity on owncloud.com showed the docs UI was still largely the stock Antora default theme with only light ownCloud customization — no logo, the wrong body font, stock Asciidoctor colors, and missing brand accents. The site read as a generic third-party Antora site rather than part of the ownCloud brand.

Full gap analysis and rationale: #1017.

What changed

Element Before After
Header brand plain-text site title, no logo ownCloud logo + data-driven site title
Body typeface Open Sans Source Sans Pro (corporate font)
Block/caption titles #7a2518 (Asciidoctor brown-red) brand navy #041e42
Links #1565c0 / #104d92 (Material blue) corporate #4e85c8 / #364b68
Navbar / footer bg #1b223d / #0e152d brand navy #041e42 / #052550
Signature teal absent #06e3bd accent
Headings #191919 brand navy
NOTE / TIP admonitions generic Material brand blue / teal
Footer text columns, no logo logo + brand navy

All brand values are defined once as --oc-* tokens in src/css/owncloud-vars.css (imported after the stock vars.css, so overrides win). Stray hex literals in owncloud.css were replaced with these tokens. The logo is the official white wordmark from owncloud.com. The header title stays data-driven via {{site.title}}, so the production build renders "Documentation for ownCloud (A Kiteworks Company)".

Verification

  • npm run lint — stylelint + eslint pass
  • npm run bundleui-bundle.zip builds with no errors
  • Built the real docs-server site against this bundle — header/footer logos, Source Sans Pro, navy headings, brand-blue links, and teal accents render across actual documentation pages
  • Compiled site.css resolves .doc a to #4e85c8; all three Source Sans Pro weights load; oc-logo.svg and fonts ship in the bundle

Build requires Node 22 (matches CI).

Follow-ups (not in this PR)

  • Extend the teal accent to active-nav indicators and h2 underlines
  • Revisit IMPORTANT/WARNING admonition colors against the orange/amber accents
  • Higher-resolution OpenGraph branding image in the corporate palette

🤖 Generated with Claude Code

@DeepDiver1975 DeepDiver1975 changed the title Align UI theme with ownCloud corporate identity feat(theme): align UI with ownCloud corporate identity Jun 14, 2026
@DeepDiver1975 DeepDiver1975 force-pushed the align-corporate-identity branch from 768a0f4 to 08ba412 Compare June 14, 2026 22:14
@DeepDiver1975

Copy link
Copy Markdown
Member Author

Before:
image

After:
image

The docs UI was largely the stock Antora default theme with only light
ownCloud customization, so the site read as generic rather than branded.

- add the ownCloud logo plus the site title to the header (was a
  plain-text title only); the title stays data-driven via {{site.title}}
  and is hidden on small screens to avoid navbar overflow
- switch body typeface from Open Sans to Source Sans Pro (corporate font)
- define the corporate palette as --oc-* tokens in owncloud-vars.css and
  apply it: navy navbar/footer/headings (#041e42), corporate-blue links
  (#4e85c8), signature teal accent (#06e3bd); drop the stock Asciidoctor
  brown-red block-title color (#7a2518) and Material-blue links (#1565c0)
- align NOTE/TIP admonitions to brand blue/teal
- add the logo to the footer
- replace stray hex literals in owncloud.css with the new tokens

Verified: npm run lint and npm run bundle pass; the bundle builds the real
docs-server site cleanly; compiled site.css resolves to brand values;
Source Sans Pro woff2 and oc-logo.svg ship in the bundle.

Closes #1017

Signed-off-by: Thomas Müller <1005065+DeepDiver1975@users.noreply.github.com>
@DeepDiver1975 DeepDiver1975 force-pushed the align-corporate-identity branch from 08ba412 to 803dab4 Compare June 14, 2026 22:18
@DeepDiver1975 DeepDiver1975 requested review from dj4oC and mmattel June 14, 2026 22:20
@dj4oC dj4oC merged commit ff8b66d into master Jun 14, 2026
3 checks passed
@dj4oC dj4oC deleted the align-corporate-identity branch June 14, 2026 22:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants