Skip to content

Commit

Permalink
feat: 4bitcss image previews ( Fixes #83 )
Browse files Browse the repository at this point in the history
Switching back to generating previews with obs and serving them up.  Refreshing preview images.
  • Loading branch information
James Brundage committed Oct 19, 2024
1 parent 307b5f9 commit e7a5ad6
Show file tree
Hide file tree
Showing 35 changed files with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions Build/4bitcss.build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -135,15 +135,13 @@ foreach ($jsonFile in $jsonFiles) {

# Create a preview file. All we need to change is the stylesheet.
$previewFilePath = Join-Path $ColorSchemePath "$colorSchemeFileName.md"
$colorSchemePreviewName = $colorSchemeName.ToLower() -replace '\s','_' -replace '\+','_plus' -replace '_$'

$imagePreviewUrl = "https://raw.githubusercontent.com/mbadolato/iTerm2-Color-Schemes/master/screenshots/$colorSchemePreviewName.png"

@"
---
stylesheet: /$colorSchemeFileName/$colorSchemeFileName.css
colorSchemeName: $colorSchemeName
colorSchemeFileName: $colorSchemeFileName
image: $imagePreviewUrl
image: /$colorSchemeFileName/$colorSchemeFileName.png
description: $colorSchemeName color scheme
permalink: /$colorSchemeFileName/
---
Expand Down
Binary file modified docs/Apple-System-Colors/Apple-System-Colors.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/CutiePro/CutiePro.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/Dimidium/Dimidium.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/Firefly-Traditional/Firefly-Traditional.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/GruvboxLight/GruvboxLight.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/Mellifluous/Mellifluous.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/NvimDark/NvimDark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/NvimLight/NvimLight.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/Oxocarbon/Oxocarbon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/Sugarplum/Sugarplum.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/Vesper/Vesper.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/dayfox/dayfox.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/farmhouse-dark/farmhouse-dark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/farmhouse-light/farmhouse-light.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/flexoki-dark/flexoki-dark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/flexoki-light/flexoki-light.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/gruber-darker/gruber-darker.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/iTerm2-Dark-Background/iTerm2-Dark-Background.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/iTerm2-Default/iTerm2-Default.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/iTerm2-Light-Background/iTerm2-Light-Background.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/iTerm2-Smoooooth/iTerm2-Smoooooth.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/iTerm2-Solarized-Dark/iTerm2-Solarized-Dark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/iTerm2-Solarized-Light/iTerm2-Solarized-Light.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/iTerm2-Tango-Light/iTerm2-Tango-Light.png
Binary file added docs/kurokula/kurokula.png
Binary file modified docs/niji/niji.png
Binary file modified docs/terafox/terafox.png
Binary file added docs/xcodedark/xcodedark.png
Binary file added docs/xcodedarkhc/xcodedarkhc.png
Binary file added docs/xcodelight/xcodelight.png
Binary file added docs/xcodelighthc/xcodelighthc.png
Binary file added docs/xcodewwdc/xcodewwdc.png

0 comments on commit e7a5ad6

Please sign in to comment.