+export const CheckboxDifferentBackgroundTemplate = (args) => html`
${CheckboxTemplate(args)}
`;
diff --git a/src/components/dialog/bl-dialog.css b/src/components/dialog/bl-dialog.css
index bde2a117..826ab022 100644
--- a/src/components/dialog/bl-dialog.css
+++ b/src/components/dialog/bl-dialog.css
@@ -1,5 +1,5 @@
.container {
- --background-color: var(--bl-color-primary-background);
+ --background-color: var(--bl-color-neutral-full);
display: flex;
flex-direction: column;
@@ -25,8 +25,7 @@
}
.dialog::backdrop {
- background: #273142;
- opacity: 0.7;
+ background-color: #273142b3;
}
.dialog-polyfill {
@@ -39,9 +38,7 @@
align-items: center;
justify-content: center;
z-index: var(--bl-index-dialog);
-
- /* FIXME: Use css variables for alpha colors */
- background: #273142b3;
+ background-color: #273142b3;
}
:host([open]) .dialog-polyfill {
@@ -62,7 +59,7 @@ header bl-button {
header h2 {
font: var(--bl-font-title-1-medium);
- color: var(--bl-color-secondary);
+ color: var(--bl-color-neutral-darker);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
@@ -83,6 +80,7 @@ footer {
}
footer.shadow {
+ /* FIXME: Use variables for sizes */
box-shadow: 0 -4px 15px #27314226;
}
diff --git a/src/components/dialog/bl-dialog.stories.mdx b/src/components/dialog/bl-dialog.stories.mdx
index 07529beb..6aff0b7d 100644
--- a/src/components/dialog/bl-dialog.stories.mdx
+++ b/src/components/dialog/bl-dialog.stories.mdx
@@ -29,7 +29,7 @@ export const dialogOpener = async (event, dialogId) => {
}
export const BasicTemplate = (args) => html`
-
dialogOpener(event, args.id)}" variant="secondary">Open Dialog
+
dialogOpener(event, args.id)}" variant="secondary">Open Dialog
- dialogOpener(event, "basic-dialog")}
+ dialogOpener(event, "dl-basic")}
args={{
- id: 'basic-dialog',
+ id: 'dl-basic',
caption: "Use location service?",
content: 'Let us help determine location. This means sending anonymous location data to us.',
primaryAction: 'Agree',
@@ -157,9 +157,9 @@ To maintain usability level of dialog component:
For long content that does not fit on the page, the dialog action area remains sticky at the bottom of the dialog so that it appears on the page.