Skip to content

Commit

Permalink
feat: 4bitcss image previews ( Fixes #83 )
Browse files Browse the repository at this point in the history
Using raw.githubusercontent.com
  • Loading branch information
James Brundage committed Oct 19, 2024
1 parent d2ca967 commit ab8a65f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Build/4bitcss.build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,8 @@ foreach ($jsonFile in $jsonFiles) {
# Create a preview file. All we need to change is the stylesheet.
$previewFilePath = Join-Path $ColorSchemePath "$colorSchemeFileName.md"
$colorSchemePreviewName = $colorSchemeName -replace '\s','_' -replace '\+','_plus' -replace '_$'
$imagePreviewUrl = "https://cdn.jsdelivr.net/gh/mbadolato/iTerm2-Color-Schemes@latest/screenshots/$colorSchemePreviewName.png"

$imagePreviewUrl = "https://raw.githubusercontent.com/mbadolato/iTerm2-Color-Schemes/master/screenshots/$colorSchemePreviewName.png"
@"
---
stylesheet: /$colorSchemeFileName/$colorSchemeFileName.css
Expand Down

0 comments on commit ab8a65f

Please sign in to comment.