Skip to content

Commit

Permalink
Define global background color (#312)
Browse files Browse the repository at this point in the history
* Define body background color

* Move Bgcolor declaration into its own file

* Update content-test.ts
  • Loading branch information
jeffdaley authored Aug 28, 2023
1 parent 497f46f commit c83dbdc
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 2 deletions.
1 change: 1 addition & 0 deletions web/app/styles/app.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

@use "./variables";

@use "./body";
@use "./animations";
@use "./typography";

Expand Down
11 changes: 11 additions & 0 deletions web/app/styles/body.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
.ember-application {
@apply bg-color-page-primary;
}

.secondary-screen {
@apply bg-color-page-faint;

.ember-application {
@apply bg-color-page-faint;
}
}
2 changes: 1 addition & 1 deletion web/app/templates/authenticate.hbs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{{! @glint-nocheck: not typesafe yet }}
{{page-title "Authenticate"}}
{{set-body-class "bg-color-page-faint"}}
{{set-body-class "secondary-screen"}}

<div
class="relative flex min-h-full flex-1 flex-col items-center justify-center py-12"
Expand Down
2 changes: 1 addition & 1 deletion web/app/templates/authenticated/document.hbs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{{page-title (or @model.doc.title "Document")}}
{{set-body-class "bg-color-page-faint"}}
{{set-body-class "secondary-screen"}}

<Document
@document={{@model.doc}}
Expand Down

0 comments on commit c83dbdc

Please sign in to comment.