Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,12 @@ differences, all listed at the top of the script:
When a real difference is meant to stay, add it to the script's rules with a comment saying why —
never leave it reported.

**CSS is not compared.** The tutorials' markup relies on classes both sites define:
`docs/stylesheets/unsemantic-grid.css` is the same complete file on both, and `extra.css` here
carries the utilities the synced pages use (`.text-center`, `.w-25`, `.w-50`) plus the selectors
shared with openvidu.io's sheet (footer, product tags, tabbed content, lightbox, newsletter form).
A class openvidu.io adds to a synced page needs its rule here too.

## Publishing

Merging to `main` does not change the live site.
Expand Down
38 changes: 26 additions & 12 deletions docs/stylesheets/colors.css
Original file line number Diff line number Diff line change
@@ -1,11 +1,22 @@
/* Site palette, laid out like openvidu.io's colors.css: the brand tokens (--ov-*), Material's
colour variables for the site-wide look, then the per-scheme overrides. Every repeated colour
lives here as a token; only white, black and single-use UI colours stay literal elsewhere. */

:root {
--md-primary-fg-color: #4d4d4d;
--md-primary-fg-color--light: #00c8f7;
--md-primary-fg-color--dark: #0088aa;
--ov-meet-accent-rgb: 6, 211, 98;
--ov-platform-primary: #0088aa;
--ov-platform-primary-rgb: 0, 136, 170;
--ov-platform-accent: #00c8f7;
--ov-nav-grey: #4d4d4d;
--ov-grey-muted: #818181;

--md-primary-fg-color: var(--ov-nav-grey);
--md-primary-fg-color--light: var(--ov-platform-accent);
--md-primary-fg-color--dark: var(--ov-platform-primary);
--md-primary-bg-color: #fff;
--md-primary-bg-color--dark: #0088aa;
--md-accent-fg-color: #0088aa;
--md-accent-fg-color--transparent: #818181;
--md-primary-bg-color--dark: var(--ov-platform-primary);
--md-accent-fg-color: var(--ov-platform-primary);
--md-accent-fg-color--transparent: var(--ov-grey-muted);
--md-accent-bg-color: #ffffff;
--md-accent-bg-color--light: #ffffff;
--md-hue: 190deg;
Expand All @@ -15,14 +26,16 @@
--slate-md-default-bg-color: hsla(var(--md-hue), 15%, 14%, 1);
--slate-md-default-fg-color--light: hsla(var(--md-hue), 15%, 90%, 0.56);
}
/* Custom colors for dark mode */

/* Dark scheme */
[data-md-color-scheme="slate"] {
--md-typeset-a-color: var(--md-primary-fg-color--light);
}

/* Custom colors for light mode */
/* Light scheme */
[data-md-color-scheme="default"] {
--md-typeset-a-color: var(--md-primary-fg-color--dark);

hr {
background-image: linear-gradient(
to right,
Expand All @@ -32,12 +45,13 @@
transparent 100%
);
}

.md-button--primary {
background-color: var(--md-accent-fg-color--transparent);
border-color: var(--md-accent-fg-color--transparent);
}
img.mediasoup-icon {
filter: brightness(0.5) saturate(2.5);
}
}

img.mediasoup-icon {
filter: brightness(0.5) saturate(2.5);
}
}
Loading