mirror of
https://github.com/Novaloop-AG/healthchat-web.git
synced 2026-11-04 01:19:41 +00:00
Absorb the matrix-react-sdk repository (#28192)
Co-authored-by: github-merge-queue <118344674+github-merge-queue@users.noreply.github.com> Co-authored-by: github-merge-queue <github-merge-queue@users.noreply.github.com> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Florian Duros <florian.duros@ormaz.fr> Co-authored-by: Kim Brose <kim.brose@nordeck.net> Co-authored-by: Florian Duros <florianduros@element.io> Co-authored-by: R Midhun Suresh <hi@midhun.dev> Co-authored-by: dbkr <986903+dbkr@users.noreply.github.com> Co-authored-by: ElementRobot <releases@riot.im> Co-authored-by: dbkr <dbkr@users.noreply.github.com> Co-authored-by: David Baker <dbkr@users.noreply.github.com> Co-authored-by: Michael Telatynski <7t3chguy@gmail.com> Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com> Co-authored-by: David Langley <davidl@element.io> Co-authored-by: Michael Weimann <michaelw@matrix.org> Co-authored-by: Timshel <Timshel@users.noreply.github.com> Co-authored-by: Sahil Silare <32628578+sahil9001@users.noreply.github.com> Co-authored-by: Will Hunt <will@half-shot.uk> Co-authored-by: Hubert Chathi <hubert@uhoreg.ca> Co-authored-by: Andrew Ferrazzutti <andrewf@element.io> Co-authored-by: Robin <robin@robin.town> Co-authored-by: Tulir Asokan <tulir@maunium.net>
This commit is contained in:
committed by
GitHub
parent
2b99496025
commit
c05c429803
@@ -0,0 +1,145 @@
|
||||
/* the 'src' links are relative to the bundle.css, which is in a subdirectory.
|
||||
*/
|
||||
|
||||
/* Inter unexpectedly contains various codepoints which collide with emoji, even
|
||||
when variation-16 is applied to request the emoji variant. From eyeballing
|
||||
the emoji picker, these are: 20e3, 23cf, 24c2, 25a0-25c1, 2665, 2764, 2b06, 2b1c.
|
||||
Therefore we define a unicode-range to load which excludes the glyphs
|
||||
(to avoid having to maintain a fork of Inter). */
|
||||
|
||||
$inter-unicode-range: U+0000-20e2, U+20e4-23ce, U+23d0-24c1, U+24c3-259f, U+25c2-2664, U+2666-2763, U+2765-2b05,
|
||||
U+2b07-2b1b, U+2b1d-10FFFF;
|
||||
|
||||
@font-face {
|
||||
font-family: "Inter";
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-display: swap;
|
||||
unicode-range: $inter-unicode-range;
|
||||
src:
|
||||
url("$(res)/fonts/Inter/Inter-Regular.woff2?v=3.18") format("woff2"),
|
||||
url("$(res)/fonts/Inter/Inter-Regular.woff?v=3.18") format("woff");
|
||||
}
|
||||
@font-face {
|
||||
font-family: "Inter";
|
||||
font-style: italic;
|
||||
font-weight: 400;
|
||||
font-display: swap;
|
||||
unicode-range: $inter-unicode-range;
|
||||
src:
|
||||
url("$(res)/fonts/Inter/Inter-Italic.woff2?v=3.18") format("woff2"),
|
||||
url("$(res)/fonts/Inter/Inter-Italic.woff?v=3.18") format("woff");
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: "Inter";
|
||||
font-style: normal;
|
||||
font-weight: 500;
|
||||
font-display: swap;
|
||||
unicode-range: $inter-unicode-range;
|
||||
src:
|
||||
url("$(res)/fonts/Inter/Inter-Medium.woff2?v=3.18") format("woff2"),
|
||||
url("$(res)/fonts/Inter/Inter-Medium.woff?v=3.18") format("woff");
|
||||
}
|
||||
@font-face {
|
||||
font-family: "Inter";
|
||||
font-style: italic;
|
||||
font-weight: 500;
|
||||
font-display: swap;
|
||||
unicode-range: $inter-unicode-range;
|
||||
src:
|
||||
url("$(res)/fonts/Inter/Inter-MediumItalic.woff2?v=3.18") format("woff2"),
|
||||
url("$(res)/fonts/Inter/Inter-MediumItalic.woff?v=3.18") format("woff");
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: "Inter";
|
||||
font-style: normal;
|
||||
font-weight: 600;
|
||||
font-display: swap;
|
||||
unicode-range: $inter-unicode-range;
|
||||
src:
|
||||
url("$(res)/fonts/Inter/Inter-SemiBold.woff2?v=3.18") format("woff2"),
|
||||
url("$(res)/fonts/Inter/Inter-SemiBold.woff?v=3.18") format("woff");
|
||||
}
|
||||
@font-face {
|
||||
font-family: "Inter";
|
||||
font-style: italic;
|
||||
font-weight: 600;
|
||||
font-display: swap;
|
||||
unicode-range: $inter-unicode-range;
|
||||
src:
|
||||
url("$(res)/fonts/Inter/Inter-SemiBoldItalic.woff2?v=3.18") format("woff2"),
|
||||
url("$(res)/fonts/Inter/Inter-SemiBoldItalic.woff?v=3.18") format("woff");
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: "Inter";
|
||||
font-style: normal;
|
||||
font-weight: 700;
|
||||
font-display: swap;
|
||||
unicode-range: $inter-unicode-range;
|
||||
src:
|
||||
url("$(res)/fonts/Inter/Inter-Bold.woff2?v=3.18") format("woff2"),
|
||||
url("$(res)/fonts/Inter/Inter-Bold.woff?v=3.18") format("woff");
|
||||
}
|
||||
@font-face {
|
||||
font-family: "Inter";
|
||||
font-style: italic;
|
||||
font-weight: 700;
|
||||
font-display: swap;
|
||||
unicode-range: $inter-unicode-range;
|
||||
src:
|
||||
url("$(res)/fonts/Inter/Inter-BoldItalic.woff2?v=3.18") format("woff2"),
|
||||
url("$(res)/fonts/Inter/Inter-BoldItalic.woff?v=3.18") format("woff");
|
||||
}
|
||||
|
||||
/* latin-ext */
|
||||
@font-face {
|
||||
font-family: "Inconsolata";
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
src:
|
||||
local("Inconsolata Regular"),
|
||||
local("Inconsolata-Regular"),
|
||||
url("$(res)/fonts/Inconsolata/QldKNThLqRwH-OJ1UHjlKGlX5qhExfHwNJU.woff2") format("woff2");
|
||||
unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
||||
}
|
||||
/* latin */
|
||||
@font-face {
|
||||
font-family: "Inconsolata";
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-display: swap;
|
||||
src:
|
||||
local("Inconsolata Regular"),
|
||||
local("Inconsolata-Regular"),
|
||||
url("$(res)/fonts/Inconsolata/QldKNThLqRwH-OJ1UHjlKGlZ5qhExfHw.woff2") format("woff2");
|
||||
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC,
|
||||
U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
||||
}
|
||||
/* latin-ext */
|
||||
@font-face {
|
||||
font-family: "Inconsolata";
|
||||
font-style: normal;
|
||||
font-weight: 700;
|
||||
font-display: swap;
|
||||
src:
|
||||
local("Inconsolata Bold"),
|
||||
local("Inconsolata-Bold"),
|
||||
url("$(res)/fonts/Inconsolata/QldXNThLqRwH-OJ1UHjlKGHiw71n5_zaDpwm80E.woff2") format("woff2");
|
||||
unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
||||
}
|
||||
/* latin */
|
||||
@font-face {
|
||||
font-family: "Inconsolata";
|
||||
font-style: normal;
|
||||
font-weight: 700;
|
||||
font-display: swap;
|
||||
src:
|
||||
local("Inconsolata Bold"),
|
||||
local("Inconsolata-Bold"),
|
||||
url("$(res)/fonts/Inconsolata/QldXNThLqRwH-OJ1UHjlKGHiw71p5_zaDpwm.woff2") format("woff2");
|
||||
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC,
|
||||
U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
||||
}
|
||||
@@ -0,0 +1,379 @@
|
||||
:root {
|
||||
/* This is set to Twemoji when the user opts into the bundled emoji font */
|
||||
--emoji-font-family: "";
|
||||
}
|
||||
|
||||
/* Nunito and Inter lacks combining diacritics, so these will fall through
|
||||
to the next font. Helevetica's diacritics sometimes do not combine
|
||||
nicely (on OSX, at least) and result in a huge horizontal mess.
|
||||
Arial empirically gets it right, hence prioritising Arial here. */
|
||||
/* Noto Color Emoji contains digits, in fixed-width, therefore causing
|
||||
digits in flowed text to stand out.
|
||||
TODO: Consider putting all emoji fonts to the end rather than the front. */
|
||||
$font-family: "Inter", var(--emoji-font-family), "Apple Color Emoji", "Segoe UI Emoji", "Arial", "Helvetica", sans-serif,
|
||||
"Noto Color Emoji";
|
||||
|
||||
$monospace-font-family: "Inconsolata", var(--emoji-font-family), "Apple Color Emoji", "Segoe UI Emoji", "Courier",
|
||||
monospace, "Noto Color Emoji";
|
||||
|
||||
/* Colors from Figma Compound https://www.figma.com/file/X4XTH9iS2KGJ2wFKDqkyed/Compound?node-id=559%3A120 */
|
||||
/* ******************** */
|
||||
$primary-content: var(--cpd-color-text-primary);
|
||||
$secondary-content: var(--cpd-color-text-secondary);
|
||||
$tertiary-content: var(--cpd-color-gray-800);
|
||||
$quaternary-content: var(--cpd-color-gray-600);
|
||||
$quinary-content: var(--cpd-color-gray-400);
|
||||
|
||||
$system: var(--cpd-color-bg-subtle-primary);
|
||||
$system-transparent: #e1e6ec00;
|
||||
$background: var(--cpd-color-bg-canvas-default);
|
||||
$overlay-background: var(--cpd-color-alpha-gray-1300);
|
||||
|
||||
$panels: var(--cpd-color-bg-subtle-secondary);
|
||||
$panel-actions: var(--cpd-color-alpha-gray-300);
|
||||
|
||||
$separator: var(--cpd-color-gray-400);
|
||||
|
||||
$accent: var(--cpd-color-text-action-accent);
|
||||
$alert: var(--cpd-color-text-critical-primary);
|
||||
$links: var(--cpd-color-text-link-external);
|
||||
$link-external: var(--cpd-color-text-link-external);
|
||||
|
||||
$username-variant1-color: var(--cpd-color-text-decorative-1);
|
||||
$username-variant2-color: var(--cpd-color-text-decorative-2);
|
||||
$username-variant3-color: var(--cpd-color-text-decorative-3);
|
||||
$username-variant4-color: var(--cpd-color-text-decorative-4);
|
||||
$username-variant5-color: var(--cpd-color-text-decorative-5);
|
||||
$username-variant6-color: var(--cpd-color-text-decorative-6);
|
||||
/* ******************** */
|
||||
|
||||
/**
|
||||
* Creating a `semantic` color scale. This will not be needed with the new
|
||||
* visual language, but necessary during the transition period
|
||||
* This abstract the `green` away from where accent shades are used
|
||||
* Take: `background: rgba($accent, 0.1);`
|
||||
* would be transformed to: `background: $accent-300;`
|
||||
*
|
||||
* To use under very rare circumstances, always prefer the semantics defined
|
||||
* in https://compound.element.io/?path=/docs/tokens-semantic-colors--docs
|
||||
*/
|
||||
$accent-100: var(--cpd-color-green-100);
|
||||
$accent-200: var(--cpd-color-green-200);
|
||||
$accent-300: var(--cpd-color-green-300);
|
||||
$accent-400: var(--cpd-color-green-400);
|
||||
$accent-500: var(--cpd-color-green-500);
|
||||
$accent-600: var(--cpd-color-green-600);
|
||||
$accent-700: var(--cpd-color-green-700);
|
||||
$accent-800: var(--cpd-color-green-800);
|
||||
$accent-900: var(--cpd-color-green-900);
|
||||
$accent-1000: var(--cpd-color-green-1000);
|
||||
$accent-1100: var(--cpd-color-green-1100);
|
||||
$accent-1200: var(--cpd-color-green-1200);
|
||||
$accent-1300: var(--cpd-color-green-1300);
|
||||
$accent-1400: var(--cpd-color-green-1400);
|
||||
|
||||
/* Reused Figma non-compound colors */
|
||||
/* ******************** */
|
||||
$inverted-bg-color: var(--cpd-color-bg-action-primary-rest);
|
||||
$header-panel-bg-color: var(--cpd-color-bg-subtle-primary);
|
||||
$header-panel-bg-hover: var(--cpd-color-gray-200);
|
||||
/* ******************** */
|
||||
|
||||
/* Theme specific colors */
|
||||
/* ******************** */
|
||||
$icon-button-color: var(--cpd-color-icon-tertiary);
|
||||
/* ******************** */
|
||||
|
||||
/* Colors that aren't in Figma and are theme specific - we need to get rid of these */
|
||||
/* ******************** */
|
||||
$selection-fg-color: $background;
|
||||
$yellow-background: var(--cpd-color-yellow-200);
|
||||
$secondary-accent-color: #f2f5f8;
|
||||
$button-fg-color: $background;
|
||||
$neutral-badge-color: #dbdbdb;
|
||||
$strong-input-border-color: var(--cpd-color-border-interactive-primary);
|
||||
$preview-widget-bar-color: var(--cpd-color-bg-subtle-primary);
|
||||
$accent-fg-color: #f4f6fa;
|
||||
$accent-alt: var(--cpd-color-text-link-external);
|
||||
$info-plinth-fg-color: var(--cpd-color-gray-900);
|
||||
/* ******************** */
|
||||
|
||||
/* Colors that aren't in Figma - we need to get rid of these */
|
||||
/* ******************** */
|
||||
$dark-panel-bg-color: var(--cpd-color-bg-subtle-secondary);
|
||||
$muted-fg-color: #61708b;
|
||||
$light-fg-color: #747474;
|
||||
$focus-bg-color: $preview-widget-bar-color;
|
||||
$info-plinth-bg-color: #f7f7f7;
|
||||
$event-selected-color: var(--cpd-color-bg-subtle-secondary);
|
||||
$topleftmenu-color: #212121;
|
||||
$roomtopic-color: #9e9e9e;
|
||||
$spacePanel-bg-color: rgba(232, 232, 232, 0.77);
|
||||
$panel-gradient: rgba(242, 245, 248, 0), rgba(242, 245, 248, 1);
|
||||
$h3-color: #3d3b39;
|
||||
$event-highlight-bg-color: $yellow-background;
|
||||
$header-panel-text-primary-color: #91a1c0;
|
||||
/* ******************** */
|
||||
|
||||
/* Blockquote */
|
||||
/* ******************** */
|
||||
$blockquote-bar-color: var(--cpd-color-border-interactive-primary);
|
||||
/* ******************** */
|
||||
|
||||
/* Tooltip */
|
||||
/* ******************** */
|
||||
$tooltip-timeline-bg-color: $inverted-bg-color;
|
||||
$tooltip-timeline-fg-color: $background;
|
||||
/* ******************** */
|
||||
|
||||
/* Widget */
|
||||
/* ******************** */
|
||||
$widget-menu-bar-bg-color: $secondary-accent-color;
|
||||
$widget-body-bg-color: $background;
|
||||
/* ******************** */
|
||||
|
||||
/* Menu */
|
||||
/* ******************** */
|
||||
$menu-border-color: #e7e7e7;
|
||||
$menu-bg-color: $background;
|
||||
$menu-box-shadow-color: rgba(118, 131, 156, 0.6);
|
||||
$menu-selected-color: #f5f8fa;
|
||||
/* ******************** */
|
||||
|
||||
/* Settings */
|
||||
/* ******************** */
|
||||
$settings-grey-fg-color: #a2a2a2;
|
||||
$settings-subsection-fg-color: $muted-fg-color;
|
||||
/* ******************** */
|
||||
|
||||
/* Room */
|
||||
/* ******************** */
|
||||
$room-icon-unread-color: var(--cpd-color-icon-tertiary);
|
||||
/* ******************** */
|
||||
|
||||
/* RoomHeader */
|
||||
/* ******************** */
|
||||
$roomheader-addroom-bg-color: rgba(92, 100, 112, 0.2);
|
||||
$roomheader-addroom-fg-color: #5c6470;
|
||||
/* ******************** */
|
||||
|
||||
/* Rich-text-editor */
|
||||
/* ******************** */
|
||||
$pill-bg-color: var(--cpd-color-bg-action-primary-rest);
|
||||
$pill-hover-bg-color: var(--cpd-color-bg-action-primary-hovered);
|
||||
$pill-press-bg-color: var(--cpd-color-bg-action-primary-pressed);
|
||||
$rte-bg-color: #e9e9e9;
|
||||
$rte-code-bg-color: rgba(0, 0, 0, 0.04);
|
||||
/* ******************** */
|
||||
|
||||
/* Presence */
|
||||
/* ******************** */
|
||||
$presence-away: #d9b072;
|
||||
/* not using a compound color here for now as we want to have the same color in
|
||||
light and dark theme. Until we have a non-symetrical token for it, let's keep
|
||||
it hardcoded to the following value */
|
||||
$presence-offline: #e3e8f0;
|
||||
$presence-busy: $alert;
|
||||
/* ******************** */
|
||||
|
||||
/* Inputs */
|
||||
/* ******************** */
|
||||
$input-border-color: $menu-border-color;
|
||||
$input-darker-bg-color: $quinary-content;
|
||||
$input-darker-fg-color: #9fa9ba;
|
||||
$input-lighter-bg-color: $secondary-accent-color;
|
||||
$input-underline-color: rgba(151, 151, 151, 0.5);
|
||||
$input-fg-color: rgba(74, 74, 74, 0.9);
|
||||
$input-placeholder: var(--cpd-color-text-placeholder);
|
||||
/* ******************** */
|
||||
|
||||
/* Dialog */
|
||||
/* ******************** */
|
||||
$dialog-title-fg-color: var(--cpd-color-text-primary);
|
||||
$dialog-backdrop-color: #030c1b4d;
|
||||
$dialog-close-fg-color: $icon-button-color;
|
||||
$dialog-close-external-color: $background;
|
||||
/* ******************** */
|
||||
|
||||
/* ImageBody */
|
||||
/* ******************** */
|
||||
$imagebody-giflabel: rgba(0, 0, 0, 0.7);
|
||||
$imagebody-giflabel-border: rgba(0, 0, 0, 0.2);
|
||||
$imagebody-giflabel-color: $accent-fg-color;
|
||||
/* ******************** */
|
||||
|
||||
/* RoomList */
|
||||
/* ******************** */
|
||||
$roomlist-bg-color: rgba(245, 245, 245, 0.9);
|
||||
$roomsublist-skeleton-ui-bg: linear-gradient(180deg, $background 0%, #ffffff00 100%);
|
||||
$roomtile-default-badge-bg-color: var(--cpd-color-icon-secondary);
|
||||
/* ******************** */
|
||||
|
||||
/* e2e */
|
||||
/* ******************** */
|
||||
$e2e-verified-color: var(--cpd-color-icon-success-primary);
|
||||
$e2e-warning-color: var(--cpd-color-icon-critical-primary);
|
||||
$e2e-verified-color-light: var(--cpd-color-green-300);
|
||||
$e2e-warning-color-light: var(--cpd-color-red-300);
|
||||
/* ******************** */
|
||||
|
||||
/* Tabbed views */
|
||||
/* ******************** */
|
||||
$tab-label-fg-color: $secondary-content;
|
||||
$tab-label-active-fg-color: $primary-content;
|
||||
/* ******************** */
|
||||
|
||||
/* Buttons */
|
||||
/* ******************** */
|
||||
$button-primary-fg-color: $background;
|
||||
$button-secondary-bg-color: $accent-fg-color;
|
||||
$button-danger-fg-color: $background;
|
||||
$button-danger-disabled-fg-color: $background;
|
||||
$button-danger-disabled-bg-color: #f5b6bb; /* TODO: Verify color */
|
||||
/* ******************** */
|
||||
|
||||
/* Toggle switch */
|
||||
/* ******************** */
|
||||
$togglesw-off-color: #c1c9d6;
|
||||
$togglesw-ball-color: var(--cpd-color-bg-action-primary-rest);
|
||||
/* ******************** */
|
||||
|
||||
/* Authpage */
|
||||
/* ******************** */
|
||||
$authpage-primary-color: #232f32;
|
||||
$authpage-bg-color: #2e3649;
|
||||
$authpage-modal-bg-color: $roomlist-bg-color;
|
||||
$authpage-focus-bg-color: $focus-bg-color;
|
||||
$authpage-lang-color: $secondary-content;
|
||||
$authpage-primary-color: $primary-content;
|
||||
$authpage-secondary-color: $secondary-content;
|
||||
/* ******************** */
|
||||
|
||||
/* Message action bar */
|
||||
/* ******************** */
|
||||
$message-action-bar-bg-color: $background;
|
||||
$message-action-bar-fg-color: $primary-content;
|
||||
$message-action-bar-border-color: #e9edf1;
|
||||
$message-action-bar-hover-border-color: $focus-bg-color;
|
||||
/* ******************** */
|
||||
|
||||
/* Reaction row */
|
||||
/* ******************** */
|
||||
$reaction-row-button-hover-border-color: $focus-bg-color;
|
||||
$reaction-row-button-selected-bg-color: #e9fff9;
|
||||
/* ******************** */
|
||||
|
||||
/* Voice messages */
|
||||
/* ******************** */
|
||||
/* These two don't change between themes. They are the $alert, but we don't want */
|
||||
/* custom themes to affect them by accident. */
|
||||
$voice-record-stop-symbol-color: #ff5b55;
|
||||
$voice-record-live-circle-color: #ff5b55;
|
||||
$voice-record-stop-border-color: $quinary-content;
|
||||
$voice-record-icon-color: $tertiary-content;
|
||||
/* ******************** */
|
||||
|
||||
/* Bubble tiles */
|
||||
/* ******************** */
|
||||
$eventbubble-self-bg: var(--cpd-color-green-300);
|
||||
$eventbubble-others-bg: var(--cpd-color-gray-300);
|
||||
$eventbubble-bg-hover: var(--cpd-color-bg-subtle-secondary);
|
||||
/* ******************** */
|
||||
|
||||
/* Lightbox */
|
||||
/* ******************** */
|
||||
/* not using a compound color here for now as we want to have the same color in
|
||||
light and dark theme. Until we have a non-symetrical token for it, let's keep
|
||||
it hardcoded to the following value */
|
||||
$lightbox-fg-color: #fff;
|
||||
$lightbox-background-bg-color: #000;
|
||||
$lightbox-background-bg-opacity: 0.95;
|
||||
/* ******************** */
|
||||
|
||||
/* VoIP */
|
||||
/* ******************** */
|
||||
$call-view-button-on-foreground: $secondary-content;
|
||||
$call-view-button-on-background: $background;
|
||||
$call-view-button-off-foreground: $background;
|
||||
$call-view-button-off-background: $secondary-content;
|
||||
$call-view-content-background: #21262c;
|
||||
|
||||
$video-feed-secondary-background: #394049; /* XXX: Color from dark theme */
|
||||
$voipcall-plinth-color: $system;
|
||||
|
||||
/* All of these are from dark theme */
|
||||
$call-system: #21262c;
|
||||
$call-background: #15191e;
|
||||
$call-primary-content: #ffffff;
|
||||
/* This one is from light theme */
|
||||
$call-light-quaternary-content: #c1c6cd;
|
||||
/* ******************** */
|
||||
|
||||
/* One-off colors */
|
||||
/* ******************** */
|
||||
$progressbar-bg-color: var(--cpd-color-gray-200);
|
||||
$kbd-border-color: $strong-input-border-color;
|
||||
$visual-bell-bg-color: #faa;
|
||||
$event-timestamp-color: var(--cpd-color-text-secondary);
|
||||
$composer-shadow-color: rgba(0, 0, 0, 0.04);
|
||||
$breadcrumb-placeholder-bg-color: #e8eef5;
|
||||
$theme-button-bg-color: $quinary-content;
|
||||
$resend-button-divider-color: $input-darker-bg-color;
|
||||
$inlinecode-border-color: $quinary-content;
|
||||
$inlinecode-background-color: $system;
|
||||
$codeblock-background-color: $header-panel-bg-color;
|
||||
$scrollbar-thumb-color: rgba(0, 0, 0, 0.2);
|
||||
$selected-color: $secondary-accent-color;
|
||||
/* ******************** */
|
||||
|
||||
/* One-off global colors - these apply to both themes */
|
||||
/* ******************** */
|
||||
$pinned-color: $tertiary-content;
|
||||
$avatar-initial-color: $background;
|
||||
$primary-hairline-color: transparent;
|
||||
$secondary-hairline-color: var(--cpd-color-gray-300);
|
||||
$focus-brightness: 105%;
|
||||
/* ******************** */
|
||||
|
||||
/* blur amounts for left left panel (only for element theme) */
|
||||
/* ******************** */
|
||||
:root {
|
||||
--lp-background-blur: 40px;
|
||||
}
|
||||
|
||||
/* ******************** */
|
||||
|
||||
/* Icon URLs */
|
||||
/* ******************** */
|
||||
$copy-button-url: "@vector-im/compound-design-tokens/icons/copy.svg";
|
||||
/* ******************** */
|
||||
|
||||
/* Location sharing */
|
||||
/* ******************** */
|
||||
$location-marker-color: var(--cpd-color-icon-on-solid-primary);
|
||||
$location-live-color: var(--cpd-color-purple-900);
|
||||
$location-live-secondary-color: var(--cpd-color-purple-600);
|
||||
/* ******************** */
|
||||
|
||||
/* Voice Broadcast */
|
||||
/* ******************** */
|
||||
$live-badge-color: var(--cpd-color-icon-on-solid-primary);
|
||||
/* ******************** */
|
||||
|
||||
body {
|
||||
color-scheme: light;
|
||||
}
|
||||
|
||||
/* ******************** */
|
||||
|
||||
/* diff highlight colors */
|
||||
/* ******************** */
|
||||
.hljs-addition {
|
||||
background: var(--cpd-color-green-500);
|
||||
}
|
||||
|
||||
.hljs-deletion {
|
||||
background: var(--cpd-color-red-500);
|
||||
}
|
||||
|
||||
/* ******************** */
|
||||
@@ -0,0 +1,15 @@
|
||||
/* sidebar blurred avatar background */
|
||||
//
|
||||
/* if backdrop-filter is supported, */
|
||||
/* set the user avatar (if any) as a background so */
|
||||
/* it can be blurred by the tag panel and room list */
|
||||
|
||||
.mx_RoomSublist_showNButton {
|
||||
background-color: transparent !important;
|
||||
}
|
||||
|
||||
a:hover,
|
||||
a:link,
|
||||
a:visited {
|
||||
text-decoration: none;
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
/* Path from root SCSS file (such as `light.pcss`) to `res` dir in the source tree */
|
||||
/* This value is overridden by external themes in `element-web`. */
|
||||
$res: ../../..;
|
||||
@@ -0,0 +1,8 @@
|
||||
@import "../../../../res/css/_font-sizes.pcss";
|
||||
@import "_paths.pcss";
|
||||
@import "_fonts.pcss";
|
||||
@import "_light.pcss";
|
||||
@import "_mods.pcss";
|
||||
@import "../../../../res/css/_components.pcss";
|
||||
@import url("highlight.js/styles/atom-one-light.min.css");
|
||||
@import url("github-markdown-css/github-markdown-light.css");
|
||||
Reference in New Issue
Block a user