Skip to content

Mirror openvidu.io's styling simplification (#68) - #18

Merged
juancarmore merged 5 commits into
mainfrom
68-styling-mirror
Sep 15, 2026
Merged

juancarmore merged 5 commits into
mainfrom
68-styling-mirror

Conversation

@juancarmore

@juancarmore juancarmore commented Sep 15, 2026

Copy link
Copy Markdown
Member

Companion of openvidu.io's styling PR OpenVidu/openvidu.io#125 (issue #68 of the marketing board): the pieces of that work that this site shares.

  • Fonts load the way openvidu.io now does: a render-blocking stylesheet with display=block plus preloads of the faces the first viewport uses, instead of the preload-as-style trick with display=swap that painted the fallback font first (the flicker openvidu.io fixed in 0de2f644). Tomorrow 100, used by nothing, leaves the URL.
  • unsemantic-grid.css is the complete build, the same file openvidu.io ships, instead of a third hand-cut subset.
  • Synced tutorials: the image width inline styles become .w-25/.w-50, matching openvidu.io's edit to the same pages; the two classes are added to extra.css.
  • README: the sync check covers Markdown only; CSS parity is a manual rule, now written down.

mkdocs build --strict: 0 warnings. tools/sync-check.py --openvidu-io ../openvidu.io against the openvidu.io branch: 43 pairs in sync. Screenshot gate on /, the Android/React/Node tutorials and /about-openvidu/ at three widths in both schemes: 30 of 30 captures identical to main.

Review round 1. extra.css and colors.css are laid out the way openvidu.io's now are: the same sections in cascade order, the brand colours as --ov-* tokens, and the product tag at openvidu.io's single 0.8em size. The rule-set diff against the previous files shows only those substitutions; the screenshot gate on the five pages is identical to main except the about page, whose two tags are 20% smaller by design.

CI note: the validate job fails until openvidu.io#125 is merged, by design: sync-check.py compares against a fresh checkout of openvidu.io's main, which still carries the style="width: 25%" attributes this PR replaces with .w-25/.w-50. Against the openvidu.io branch the check reports 43 pairs in sync.

Merge after the openvidu.io PR (re-run validate then); publish with the Publish Web workflow on main.

🤖 Generated with Claude Code

openvidu.io replaced the image width inline styles in the shared tutorial pages
with classes; the same edit here keeps the pairs identical and adds the two
classes to extra.css.
…hips

The two sites now share one grid stylesheet byte for byte instead of two
different hand-cut subsets.
Render-blocking stylesheet with display=block plus preloads of the faces the
first viewport uses, instead of the preload-as-style trick with display=swap
that painted the fallback font first. Tomorrow 100, used by nothing, leaves the
URL.
Sections in cascade order (fonts, Material overrides, utilities, components,
page areas, responsive), the brand colours as --ov-* tokens in colors.css with
the layering note, and the product tag at openvidu.io's single 0.8em size. The
rule-set diff against the previous files shows only those token and tag-size
substitutions.
@juancarmore
juancarmore merged commit c59e02c into main Sep 15, 2026
4 of 5 checks passed
@juancarmore
juancarmore deleted the 68-styling-mirror branch September 15, 2026 16:45
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.

1 participant