Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Define global background color #312

Merged
merged 3 commits into from
Aug 28, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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