Apply prettier formatting

This commit is contained in:
Michael Weimann 2022-12-12 12:24:14 +01:00
parent 1cac306093
commit 526645c791
No known key found for this signature in database
GPG key ID: 53F535A266BB9584
1576 changed files with 65385 additions and 62478 deletions

View file

@ -20,20 +20,20 @@
/* the 'src' links are relative to the bundle.css, which is in a subdirectory.
*/
@font-face {
font-family: 'Nunito';
font-family: "Nunito";
font-style: normal;
font-weight: 400;
src: url('$(res)/fonts/Nunito/Nunito-Regular.ttf') format('truetype');
src: url("$(res)/fonts/Nunito/Nunito-Regular.ttf") format("truetype");
}
@font-face {
font-family: 'Nunito';
font-family: "Nunito";
font-style: normal;
font-weight: 600;
src: url('$(res)/fonts/Nunito/Nunito-SemiBold.ttf') format('truetype');
src: url("$(res)/fonts/Nunito/Nunito-SemiBold.ttf") format("truetype");
}
@font-face {
font-family: 'Nunito';
font-family: "Nunito";
font-style: normal;
font-weight: 700;
src: url('$(res)/fonts/Nunito/Nunito-Bold.ttf') format('truetype');
src: url("$(res)/fonts/Nunito/Nunito-Bold.ttf") format("truetype");
}

View file

@ -10,9 +10,11 @@
/* 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: 'Nunito', 'Twemoji', 'Apple Color Emoji', 'Segoe UI Emoji', 'STIXGeneral', 'Arial', 'Helvetica', sans-serif, 'Noto Color Emoji';
$font-family: "Nunito", "Twemoji", "Apple Color Emoji", "Segoe UI Emoji", "STIXGeneral", "Arial", "Helvetica",
sans-serif, "Noto Color Emoji";
$monospace-font-family: 'Inconsolata', 'Twemoji', 'Apple Color Emoji', 'Segoe UI Emoji', 'STIXGeneral', 'Courier', monospace, 'Noto Color Emoji';
$monospace-font-family: "Inconsolata", "Twemoji", "Apple Color Emoji", "Segoe UI Emoji", "STIXGeneral", "Courier",
monospace, "Noto Color Emoji";
/* unified palette */
/* try to use these colors when possible */
@ -127,7 +129,7 @@ $roomheader-addroom-bg-color: #91a1c0;
$roomheader-addroom-fg-color: $accent-fg-color;
$icon-button-color: #91a1c0;
$roomtopic-color: #9e9e9e;
$room-icon-unread-color: #737D8C;
$room-icon-unread-color: #737d8c;
/* ******************** */
@ -138,24 +140,24 @@ $roomtile-selected-bg-color: #fff;
$presence-away: #d9b072;
$presence-offline: #e3e8f0;
$presence-busy: #FF5B55;
$presence-busy: #ff5b55;
/* Legacy theme backports */
$accent: #0DBD8B;
$alert: #FF5B55;
$accent: #0dbd8b;
$alert: #ff5b55;
$links: #0086e6;
$primary-content: $primary-fg-color;
$secondary-content: $secondary-fg-color;
$tertiary-content: $tertiary-fg-color;
$quaternary-content: #6F7882;
$quaternary-content: #6f7882;
$quinary-content: $quaternary-content;
$system: #F4F6FA;
$system-transparent: rgba($system, 0.0); /* XXX: workaround for Safari 15.3 linear-gradient bug */
$system: #f4f6fa;
$system-transparent: rgba($system, 0); /* XXX: workaround for Safari 15.3 linear-gradient bug */
$background: $primary-bg-color;
$overlay-background: rgba($background, 0.85);
$panels: rgba($system, 0.9);
$panel-base: #8D97A5; /* This color is not intended for use in the app */
$panel-base: #8d97a5; /* This color is not intended for use in the app */
$panel-selected: rgba($tertiary-content, 0.3);
$panel-hover: rgba($tertiary-content, 0.1);
$panel-actions: $roomtile-selected-bg-color;
@ -175,14 +177,14 @@ $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;
$call-view-content-background: #21262c;
$video-feed-secondary-background: #394049; /* XXX: Color from dark theme */
/* All of these are from dark theme */
$call-lobby-system: #21262C;
$call-lobby-background: #15191E;
$call-lobby-primary-content: #FFFFFF;
$call-lobby-system: #21262c;
$call-lobby-background: #15191e;
$call-lobby-primary-content: #ffffff;
$username-variant1-color: #368bd6;
$username-variant2-color: #ac3ba8;
@ -275,7 +277,7 @@ $breadcrumb-placeholder-bg-color: #e8eef5;
/* See non-legacy _light for variable information */
$voice-record-stop-symbol-color: #ff4b55;
$voice-record-live-circle-color: #ff4b55;
$voice-record-stop-border-color: #E3E8F0;
$voice-record-stop-border-color: #e3e8f0;
$voice-record-icon-color: $tertiary-fg-color;
/* FontSlider colors */
@ -286,10 +288,10 @@ $composer-shadow-color: tranparent;
$codeblock-background-color: $header-panel-bg-color;
/* Bubble tiles */
$eventbubble-self-bg: #F0FBF8;
$eventbubble-self-bg: #f0fbf8;
$eventbubble-others-bg: $system;
$eventbubble-bg-hover: #FAFBFD;
$eventbubble-reply-color: #C1C6CD;
$eventbubble-bg-hover: #fafbfd;
$eventbubble-reply-color: #c1c6cd;
/* pinned events indicator */
$pinned-color: $tertiary-content;