@expressive-code/plugin-frames
Advanced tools
Comparing version 0.19.0 to 0.19.1
@@ -40,5 +40,4 @@ // src/index.ts | ||
}); | ||
const dotsColor = toRgbaString(framesStyles.terminalTitlebarDotsForeground); | ||
const dotsSvg = [ | ||
`<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 16' preserveAspectRatio='xMidYMid meet' fill='${dotsColor}'>`, | ||
`<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 16' preserveAspectRatio='xMidYMid meet'>`, | ||
`<circle cx='8' cy='8' r='8'/>`, | ||
@@ -166,6 +165,12 @@ `<circle cx='30' cy='8' r='8'/>`, | ||
&::before { | ||
content: ${terminalTitlebarDots}; | ||
content: ''; | ||
background-color: ${framesStyles.terminalTitlebarDotsForeground}; | ||
-webkit-mask-image: ${terminalTitlebarDots}; | ||
-webkit-mask-repeat: no-repeat; | ||
mask-image: ${terminalTitlebarDots}; | ||
mask-repeat: no-repeat; | ||
position: absolute; | ||
left: ${coreStyles.uiPaddingInline}; | ||
width: 2.1rem; | ||
height: ${2.1 / 60 * 16}rem; | ||
line-height: 0; | ||
@@ -172,0 +177,0 @@ } |
{ | ||
"name": "@expressive-code/plugin-frames", | ||
"version": "0.19.0", | ||
"version": "0.19.1", | ||
"description": "Frames plugin for Expressive Code. Wraps code blocks in a styled editor or terminal frame with support for titles, multiple tabs and more.", | ||
@@ -26,3 +26,3 @@ "keywords": [], | ||
"dependencies": { | ||
"@expressive-code/core": "^0.19.0", | ||
"@expressive-code/core": "^0.19.1", | ||
"hastscript": "^7.2.0" | ||
@@ -29,0 +29,0 @@ }, |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
167163
1863