diff --git a/Build/4bitcss.build.ps1 b/Build/4bitcss.build.ps1 index fe2f70dd3..a60dd4fa6 100644 --- a/Build/4bitcss.build.ps1 +++ b/Build/4bitcss.build.ps1 @@ -77,14 +77,18 @@ foreach ($jsonFile in $jsonFiles) { $jsonPath = (Join-Path $pwd json) # Export the theme to /css (so that repo-based CDNs have a logical link) $jsonObject | Export-4BitCSS -OutputPath $cssPath -OutVariable colorSchemeCssFile - $jsonObject | Export-4BitJSON -OutputPath $jsonPath -OutVariable colorSchemeJsonFile + $jsonObject | Export-4BitJSON -OutputPath ( + Join-Path $jsonPath "$colorSchemeFileName.json" + ) -OutVariable colorSchemeJsonFile $ColorSchemePath = Join-Path $docsPath $colorSchemeFileName if (-not (Test-Path $ColorSchemePath)) { $null = New-Item -ItemType Directory -Path $ColorSchemePath } # Then export it again to /docs (so the GitHub page works) $jsonObject | Export-4BitCSS -OutputPath $ColorSchemePath - $jsonObject | Export-4BitJSON -OutputPath $jsonPath + $jsonObject | Export-4BitJSON -OutputPath ( + Join-Path $ColorSchemePath "$colorSchemeFileName.json" + ) -OutVariable colorSchemeJsonFile $dotTextPath = Join-Path $ColorSchemePath "$colorSchemeFileName.txt" $distinctColors -join ';' | Set-Content -Path $dotTextPath -Encoding utf8 Get-Item -Path $dotTextPath diff --git a/json b/json deleted file mode 100644 index 73faf8120..000000000 --- a/json +++ /dev/null @@ -1 +0,0 @@ -{"name":"Terminal Basic","black":"#000000","red":"#990000","green":"#00a600","yellow":"#999900","blue":"#0000b2","purple":"#b200b2","cyan":"#00a6b2","white":"#bfbfbf","brightBlack":"#666666","brightRed":"#e50000","brightGreen":"#00d900","brightYellow":"#e5e500","brightBlue":"#0000ff","brightPurple":"#e500e5","brightCyan":"#00e5e5","brightWhite":"#e5e5e5","background":"#ffffff","foreground":"#000000","cursor":"#7f7f7f","selection":"#a4c9ff","Credits":null} \ No newline at end of file