Skip to content

Commit

Permalink
some markdown fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Zewed committed Jan 28, 2024
1 parent 0ca00ff commit 04d3b23
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
@use "@/styles/Colors.module.scss";
@use "@/styles/Spacings.module.scss";
@use "@/styles/Typography.module.scss";

.markdown {
p {
Expand All @@ -23,6 +24,18 @@
white-space-collapse: collapse;
}
}

h1 {
@include Typography.H1;
}

h2 {
@include Typography.H2;
}

h3 {
@include Typography.H3;
}
}

.user {
Expand Down
2 changes: 1 addition & 1 deletion frontend/app/search/page.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
align-items: center;

.quivr_text {
@include Typography.H1;
@include Typography.Big;

.quivr_text_primary {
color: Colors.$primary;
Expand Down
21 changes: 18 additions & 3 deletions frontend/styles/_Typography.module.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,19 @@
@mixin Big {
font-weight: 500;
font-size: 36px;
}

@mixin H1 {
font-weight: 500;
font-size: 36px;
}
font-weight: 600;
font-size: 20px;
}

@mixin H2 {
font-weight: 600;
font-size: 18px;
}

@mixin H3 {
font-weight: 500;
font-size: 16px;
}

0 comments on commit 04d3b23

Please sign in to comment.