Skip to content

Commit 456b8e7

Browse files
gerjanvangeestdaKmoR
authored andcommitted
fix(mdjs-preview): add css variable to border-color of viewer
1 parent 0d7ea01 commit 456b8e7

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

.changeset/strange-houses-protect.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@mdjs/mdjs-preview': patch
3+
---
4+
5+
Add css variable to style border-color of the mdjs-viewer

packages/mdjs-preview/src/MdJsPreview.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -686,11 +686,11 @@ export class MdJsPreview extends ScopedElementsMixin(LitElement) {
686686
}
687687
688688
:host(:not([device-mode])) #wrapper {
689-
border: 2px solid #4caf50;
689+
border: 2px solid var(--primary-lines-color, #4caf50);
690690
}
691691
692692
iframe {
693-
border: 2px solid #4caf50;
693+
border: 2px solid var(--primary-lines-color, #4caf50);
694694
background: #fff;
695695
}
696696

0 commit comments

Comments
 (0)