-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Create test stubs for orders endpoints * Add tests for unauthorized access for orders GET endpoints * Commit more progress * Add helper function to extract hx-post value from input element on create order * FIx issue with safe attribute on label affecting inventory items checkbox css * Fix prettier formatting to only run on source and tests * Fix tests broken by correctly removing safe from top component inorder creation * Fix flaky tests
- Loading branch information
1 parent
1b6fb90
commit 89fe66a
Showing
15 changed files
with
1,106 additions
and
6,441 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,43 +1,43 @@ | ||
.center { | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
} | ||
|
||
/* Teal Light scheme (Default) */ | ||
/* Can be forced with data-theme="light" */ | ||
[data-theme="light"], | ||
:root:not([data-theme="dark"]) { | ||
--primary: #00897b; | ||
--primary-hover: #00796b; | ||
--primary-focus: rgba(0, 137, 123, 0.125); | ||
--primary-inverse: #fff; | ||
--primary: #00897b; | ||
--primary-hover: #00796b; | ||
--primary-focus: rgba(0, 137, 123, 0.125); | ||
--primary-inverse: #FFF; | ||
} | ||
|
||
/* Teal Dark scheme (Auto) */ | ||
/* Automatically enabled if user has Dark mode enabled */ | ||
@media only screen and (prefers-color-scheme: dark) { | ||
:root:not([data-theme]) { | ||
--primary: #00897b; | ||
--primary-hover: #009688; | ||
--primary-focus: rgba(0, 137, 123, 0.25); | ||
--primary-inverse: #fff; | ||
} | ||
:root:not([data-theme]) { | ||
--primary: #00897b; | ||
--primary-hover: #009688; | ||
--primary-focus: rgba(0, 137, 123, 0.25); | ||
--primary-inverse: #FFF; | ||
} | ||
} | ||
|
||
/* Teal Dark scheme (Forced) */ | ||
/* Enabled if forced with data-theme="dark" */ | ||
[data-theme="dark"] { | ||
--primary: #00897b; | ||
--primary-hover: #009688; | ||
--primary-focus: rgba(0, 137, 123, 0.25); | ||
--primary-inverse: #fff; | ||
--primary: #00897b; | ||
--primary-hover: #009688; | ||
--primary-focus: rgba(0, 137, 123, 0.25); | ||
--primary-inverse: #FFF; | ||
} | ||
|
||
/* Teal (Common styles) */ | ||
:root { | ||
--form-element-active-border-color: var(--primary); | ||
--form-element-focus-color: var(--primary-focus); | ||
--switch-color: var(--primary-inverse); | ||
--switch-checked-background-color: var(--primary); | ||
--form-element-active-border-color: var(--primary); | ||
--form-element-focus-color: var(--primary-focus); | ||
--switch-color: var(--primary-inverse); | ||
--switch-checked-background-color: var(--primary); | ||
} |
Oops, something went wrong.