@docmd/ui 0.6.4 → 0.6.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -43,8 +43,10 @@ code.hljs {
43
43
  .hljs-name,
44
44
  .hljs-section,
45
45
  .hljs-selector-tag,
46
- .hljs-subst {
47
- color: #e06c75
46
+ .hljs-subst,
47
+ .hljs-operator,
48
+ .hljs-punctuation {
49
+ color: #c678dd
48
50
  }
49
51
 
50
52
  .hljs-literal {
@@ -43,8 +43,10 @@ code.hljs {
43
43
  .hljs-name,
44
44
  .hljs-section,
45
45
  .hljs-selector-tag,
46
- .hljs-subst {
47
- color: #e45649
46
+ .hljs-subst,
47
+ .hljs-operator,
48
+ .hljs-punctuation {
49
+ color: #a626a4
48
50
  }
49
51
 
50
52
  .hljs-literal {
@@ -989,6 +989,31 @@ body.has-menubar-header .docmd-menubar {
989
989
  width: 100%;
990
990
  }
991
991
 
992
+ .docmd-embed {
993
+ margin: 1.5rem auto;
994
+ border-radius: var(--docmd-radius-lg, 12px);
995
+ max-width: 100%;
996
+ display: block;
997
+ }
998
+ iframe.docmd-embed {
999
+ width: 100%;
1000
+ aspect-ratio: 16 / 9;
1001
+ border: none !important;
1002
+ }
1003
+ iframe.docmd-embed[data-short="true"] {
1004
+ aspect-ratio: 9 / 16;
1005
+ max-width: 400px;
1006
+ }
1007
+ blockquote.docmd-embed {
1008
+ width: 100%;
1009
+ border: none !important;
1010
+ display: flex;
1011
+ justify-content: center;
1012
+ }
1013
+ .docmd-embed-fallback {
1014
+ margin: 1.5rem 0;
1015
+ display: flex;
1016
+ }
992
1017
  .version-dropdown-toggle {
993
1018
  display: flex;
994
1019
  align-items: center;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@docmd/ui",
3
- "version": "0.6.4",
3
+ "version": "0.6.6",
4
4
  "description": "Base UI templates and assets for docmd.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",