Skip to content

Commit

Permalink
Synced Config visuals
Browse files Browse the repository at this point in the history
  • Loading branch information
cagataycivici committed Nov 28, 2023
1 parent 9b2565b commit e82a968
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/app/showcase/layout/config/app.config.component.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<p-sidebar [visible]="isActive" (visibleChange)="onVisibleChange($event)" position="right"
styleClass="layout-config w-full sm:w-26rem layout-config">
styleClass="layout-config w-full sm:w-26rem">
<div class="p-2">
<section class="pb-4 flex align-items-center justify-content-between border-bottom-1 surface-border">
<span class="text-xl font-semibold">Scale</span>
Expand Down
9 changes: 7 additions & 2 deletions src/assets/showcase/styles/layout/_config.scss
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,17 @@
}
}
}
}

&.layout-light {

.layout-light {
.layout-config {
background: var(--surface-overlay);
}
}

&.layout-dark {
.layout-dark {
.layout-config {
background: var(rgba(0,0,0,.3));
border: 0 none;
}
Expand Down

1 comment on commit e82a968

@vercel
Copy link

@vercel vercel bot commented on e82a968 Nov 28, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.