Merge pull request #20701 from overleaf/jel-styled-latex-cms

[web] Render new styled text option

GitOrigin-RevId: 5e9ae7825fdd0daa5a1ea81345a0bc5d3a86ce5c
This commit is contained in:
Jessica Lawshe 2024-09-30 08:59:31 -05:00 committed by Copybot
parent 4b7f58861a
commit 138f99fe49
2 changed files with 16 additions and 0 deletions

View file

@ -61,6 +61,8 @@ $ceil: #9597c9;
$caramel: #f9d38f; $caramel: #f9d38f;
$dark-jungle-green: #0f271a; $dark-jungle-green: #0f271a;
$sapphire-blue: #4354a3; $sapphire-blue: #4354a3;
$purple-bright: #939aff;
$green-bright: #13c965;
/* ====== Semantic Sass color variables ====== */ /* ====== Semantic Sass color variables ====== */
$bg-light-primary: $white; $bg-light-primary: $white;
@ -178,6 +180,8 @@ $link-ui-visited-dark: $blue-40;
--caramel: #{$caramel}; --caramel: #{$caramel};
--dark-jungle-green: #{$dark-jungle-green}; --dark-jungle-green: #{$dark-jungle-green};
--sapphire-blue: #{$sapphire-blue}; --sapphire-blue: #{$sapphire-blue};
--green-bright: #{$green-bright};
--purple-bright: #{$purple-bright};
/* ====== Semantic CSS color variables ====== */ /* ====== Semantic CSS color variables ====== */
--bg-light-primary: var(--white); --bg-light-primary: var(--white);

View file

@ -204,6 +204,18 @@
} }
} }
.font-size-display-xs {
@include display-xs;
}
.text-purple-bright {
color: var(--purple-bright);
}
.text-green-bright {
color: var(--green-bright);
}
.card { .card {
--bs-card-bg: var(--neutral-10); --bs-card-bg: var(--neutral-10);
--bs-card-border-radius: var(--border-radius-large); --bs-card-border-radius: var(--border-radius-large);