├── .editorconfig ├── .gitattributes ├── .gitignore ├── .vscode ├── extensions.json └── settings.json ├── LICENSE ├── PSScriptAnalyzerSettings.psd1 ├── README.md ├── bin └── concfg.ps1 ├── lib ├── commands.ps1 ├── core.ps1 ├── getopt.ps1 ├── help.ps1 ├── presets.ps1 └── shortcut.ps1 ├── libexec ├── clean.ps1 ├── export.ps1 ├── help.ps1 ├── import.ps1 ├── presets.ps1 ├── search.ps1 └── tokencolor.ps1 ├── preset_examples ├── 3024.png ├── README.md ├── apathy.png ├── ashes.png ├── atelier-cave-light.png ├── atelier-cave.png ├── atelier-dune-light.png ├── atelier-dune.png ├── atelier-estuary-light.png ├── atelier-estuary.png ├── atelier-forest-light.png ├── atelier-forest.png ├── atelier-heath-light.png ├── atelier-heath.png ├── atelier-lakeside-light.png ├── atelier-lakeside.png ├── atelier-plateau-light.png ├── atelier-plateau.png ├── atelier-savanna-light.png ├── atelier-savanna.png ├── atelier-seaside-light.png ├── atelier-seaside.png ├── atelier-sulphurpool-light.png ├── atelier-sulphurpool.png ├── back-to-the-code.png ├── bespin.png ├── bombyx.png ├── brewer.png ├── bright.png ├── brushtrees-dark.png ├── brushtrees.png ├── chalk.png ├── circus.png ├── classic-dark.png ├── classic-light.png ├── cmd-default.png ├── cmd-legacy.png ├── codeschool.png ├── cupcake.png ├── cupertino.png ├── darktooth.png ├── default-dark.png ├── default-light.png ├── dracula.png ├── eighties.png ├── embers.png ├── flat.png ├── github.png ├── google-dark.png ├── google-light.png ├── grayscale-dark.png ├── grayscale-light.png ├── greenscreen.png ├── gruvbox-dark-hard.png ├── gruvbox-dark-medium.png ├── gruvbox-dark-pale.png ├── gruvbox-dark-soft.png ├── gruvbox-light-hard.png ├── gruvbox-light-medium.png ├── gruvbox-light-soft.png ├── harmonic-dark.png ├── harmonic-light.png ├── hopscotch.png ├── icy.png ├── irblack.png ├── isotope.png ├── macintosh.png ├── marrakesh.png ├── materia.png ├── material-darker.png ├── material-lighter.png ├── material-palenight.png ├── material.png ├── mellow-purple.png ├── mexico-light.png ├── mocha.png ├── monokai.png ├── mountain.png ├── nord.png ├── ocean.png ├── oceanicnext.png ├── one-light.png ├── onedark.png ├── outrun-dark.png ├── paraiso.png ├── phd.png ├── pico.png ├── pop.png ├── porple.png ├── powershell-default.png ├── powershell-legacy.png ├── railscasts.png ├── rebecca.png ├── seoul256.png ├── seti.png ├── shapeshifter.png ├── solarflare.png ├── solarized-dark.png ├── solarized-light.png ├── spacemacs.png ├── summerfruit-dark.png ├── summerfruit-light.png ├── tomorrow-night.png ├── tomorrow.png ├── tube.png ├── twilight.png ├── ubuntu.png ├── unikitty-dark.png ├── unikitty-light.png ├── vs-code-dark-plus.png ├── woodland.png ├── xcode-dusk.png └── zenburn.png ├── presets ├── 3024.json ├── apathy.json ├── ashes.json ├── atelier-cave-light.json ├── atelier-cave.json ├── atelier-dune-light.json ├── atelier-dune.json ├── atelier-estuary-light.json ├── atelier-estuary.json ├── atelier-forest-light.json ├── atelier-forest.json ├── atelier-heath-light.json ├── atelier-heath.json ├── atelier-lakeside-light.json ├── atelier-lakeside.json ├── atelier-plateau-light.json ├── atelier-plateau.json ├── atelier-savanna-light.json ├── atelier-savanna.json ├── atelier-seaside-light.json ├── atelier-seaside.json ├── atelier-sulphurpool-light.json ├── atelier-sulphurpool.json ├── back-to-the-code.json ├── basic-reset.json ├── basic.json ├── bespin.json ├── bombyx.json ├── brewer.json ├── bright.json ├── brushtrees-dark.json ├── brushtrees.json ├── chalk.json ├── circus.json ├── classic-dark.json ├── classic-light.json ├── cmd-default.json ├── cmd-legacy.json ├── codeschool.json ├── cupcake.json ├── cupertino.json ├── darktooth.json ├── default-dark.json ├── default-light.json ├── dracula.json ├── eighties.json ├── embers.json ├── flat.json ├── github.json ├── google-dark.json ├── google-light.json ├── grayscale-dark.json ├── grayscale-light.json ├── greenscreen.json ├── gruvbox-dark-hard.json ├── gruvbox-dark-medium.json ├── gruvbox-dark-pale.json ├── gruvbox-dark-soft.json ├── gruvbox-light-hard.json ├── gruvbox-light-medium.json ├── gruvbox-light-soft.json ├── harmonic-dark.json ├── harmonic-light.json ├── hopscotch.json ├── icy.json ├── irblack.json ├── isotope.json ├── macintosh.json ├── marrakesh.json ├── materia.json ├── material-darker.json ├── material-lighter.json ├── material-palenight.json ├── material.json ├── mellow-purple.json ├── mexico-light.json ├── mocha.json ├── monokai.json ├── mountain.json ├── nord.json ├── ocean.json ├── oceanicnext.json ├── one-light.json ├── onedark.json ├── outrun-dark.json ├── paraiso.json ├── phd.json ├── pico.json ├── pop.json ├── porple.json ├── powershell-default.json ├── powershell-legacy.json ├── railscasts.json ├── rebecca.json ├── seoul256.json ├── seti.json ├── shapeshifter.json ├── snazzy.json ├── solarflare.json ├── solarized-dark.json ├── solarized-light.json ├── spacemacs.json ├── summerfruit-dark.json ├── summerfruit-light.json ├── tomorrow-night.json ├── tomorrow.json ├── tube.json ├── twilight.json ├── ubuntu.json ├── unikitty-dark.json ├── unikitty-light.json ├── vs-code-dark-plus.json ├── woodland.json ├── xcode-dusk.json └── zenburn.json ├── scripts ├── cpsg.py ├── outcolors.ps1 ├── readme.jinja2 └── setcolors.ps1 └── test ├── 00.Concfg-Linting.Tests.ps1 └── 01.Concfg-Shortcuts.Tests.ps1 /.editorconfig: -------------------------------------------------------------------------------- 1 | root = true 2 | 3 | [*] 4 | charset = utf-8 5 | end_of_line = crlf 6 | indent_size = 4 7 | indent_style = space 8 | insert_final_newline = true 9 | trim_trailing_whitespace = true 10 | -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | # Set attributes so Windows EOL gets maintained 2 | *.png binary 3 | *.json text eol=crlf 4 | *.ps1 text eol=crlf 5 | *.md text eol=crlf 6 | *.py text eol=crlf 7 | *.jinja2 text eol=crlf 8 | LICENSE text eol=crlf 9 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | __pycache__ 2 | -------------------------------------------------------------------------------- /.vscode/extensions.json: -------------------------------------------------------------------------------- 1 | { 2 | "recommendations": [ 3 | "EditorConfig.EditorConfig", 4 | "ms-vscode.PowerShell" 5 | ] 6 | } 7 | -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- 1 | { 2 | "powershell.scriptAnalysis.settingsPath": "PSScriptAnalyzerSettings.psd1", 3 | "powershell.codeFormatting.alignPropertyValuePairs": true, 4 | "powershell.codeFormatting.ignoreOneLineBlock": true, 5 | "editor.rulers": [ 6 | 80, 7 | 120 8 | ] 9 | } 10 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2016-present Luke Sampson 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /PSScriptAnalyzerSettings.psd1: -------------------------------------------------------------------------------- 1 | # The PowerShell Script Analyzer will generate a warning 2 | # diagnostic record for this file due to a bug - 3 | # https://github.com/PowerShell/PSScriptAnalyzer/issues/472 4 | @{ 5 | # Only diagnostic records of the specified severity will be generated. 6 | # Uncomment the following line if you only want Errors and Warnings but 7 | # not Information diagnostic records. 8 | Severity = @('Error','Warning') 9 | 10 | # Analyze **only** the following rules. Use IncludeRules when you want 11 | # to invoke only a small subset of the defualt rules. 12 | # IncludeRules = @('PSAvoidDefaultValueSwitchParameter', 13 | # 'PSMisleadingBacktick', 14 | # 'PSMissingModuleManifestField', 15 | # 'PSReservedCmdletChar', 16 | # 'PSReservedParams', 17 | # 'PSShouldProcess', 18 | # 'PSUseApprovedVerbs', 19 | # 'PSAvoidUsingCmdletAliases', 20 | # 'PSUseDeclaredVarsMoreThanAssignments') 21 | 22 | # Do not analyze the following rules. Use ExcludeRules when you have 23 | # commented out the IncludeRules settings above and want to include all 24 | # the default rules except for those you exclude below. 25 | # Note: if a rule is in both IncludeRules and ExcludeRules, the rule 26 | # will be excluded. 27 | ExcludeRules = @( 28 | # Currently Scoop widely uses Write-Host to output colored text. 29 | 'PSAvoidUsingWriteHost', 30 | # Temporarily allow uses of Invoke-Expression, 31 | # this command is used by some core functions and hard to be removed. 32 | 'PSAvoidUsingInvokeExpression', 33 | # PSUseDeclaredVarsMoreThanAssignments doesn't currently work due to: 34 | # https://github.com/PowerShell/PSScriptAnalyzer/issues/636 35 | 'PSUseDeclaredVarsMoreThanAssignments', 36 | # Do not check functions whose verbs change system state 37 | 'PSUseShouldProcessForStateChangingFunctions' 38 | ) 39 | } 40 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # concfg 2 | 3 | [![license][license-badge]](LICENSE) [![screenshots-svg]][screenshots-url] [![edit-online-svg]][edit-online-url] 4 | 5 | `concfg` is a utility to import and export Windows console settings like fonts and colors. 6 | 7 | > [!IMPORTANT] 8 | > 9 | > * Console settings can be overridden by program- or shortcut-specific 10 | > settings stored in the registry or in the .lnk file itself. Concfg can 11 | > attempt to clean these up for you by removing registry settings that 12 | > might conflict and removing console properties from .lnk files in known 13 | > directories. `concfg import` will prompt you to clean these up after 14 | > an import, or you can run `concfg clean` at any time. 15 | > 16 | > * PowerShell's syntax highlighting isn't compatible with Base16's 17 | > conventions by default. To set syntax highlighting to colors 18 | > consistent with Base16's conventions, use `concfg tokencolor` 19 | > sub-command to modify the syntax highlighting colors. 20 | 21 | ## Install 22 | 23 | If you have [Scoop], you can install concfg with: 24 | 25 | ``` 26 | scoop install concfg 27 | ``` 28 | 29 | If you don't, you can download a zip of this repository, 30 | and add `bin\concfg.ps1` to your PATH. 31 | 32 | ## Usage 33 | 34 | ### Using built-in presets 35 | 36 | 1. Use a color scheme, for example use the [Solarized] dark color presets: 37 | 38 | ``` 39 | concfg import solarized-dark 40 | ``` 41 | 42 | 2. Add some opinioned settings (optional) 43 | 44 | ``` 45 | concfg import basic 46 | ``` 47 | 48 | This will import some opinioned non-color settings, such as fontFace and fontSize, etc. 49 | 50 | ```json 51 | { 52 | "font_face": "Lucida Console", 53 | "font_true_type": true, 54 | "font_size": "0x14", 55 | "font_weight": 400, 56 | "cursor_size": "small", 57 | "window_size": "80x25", 58 | "screen_buffer_size": "80x1000", 59 | "command_history_length": 50, 60 | "num_history_buffers": 4, 61 | "quick_edit": false, 62 | "insert_mode": true, 63 | "fullscreen": false, 64 | "load_console_IME": true 65 | } 66 | ``` 67 | 68 | You can also import multiple presets at once, the later sources will override settings from the earlier ones. 69 | 70 | ``` 71 | concfg import solarized-dark basic 72 | ``` 73 | 74 | 3. If you want to revert to the default cmd color preset: 75 | 76 | ``` 77 | concfg import cmd-default 78 | ``` 79 | 80 | Or the default powershell color preset: 81 | 82 | ``` 83 | concfg import powershell-default 84 | ``` 85 | 86 | If you imported non-color settings such as fontFace, and you want to reset them: 87 | 88 | ``` 89 | concfg import basic-reset 90 | ``` 91 | 92 | **Note**: Since concfg will clean all program- or shortcut-specific settings 93 | stored in the registry or in the .lnk file. So when you import a color preset, 94 | all console applications (cmd.exe/powershell.exe) will use the same preset. 95 | You can not set cmd.exe to use `cmd-default` while set powershell 96 | to use `powershell-default`. That means when you import `powershell-default`, 97 | your cmd.exe will also become powershell-blue. This is a known issue and proper behavior. 98 | 99 | There are two default cmd color presets `cmd-default` and `cmd-legacy`, 100 | please read [this article] to see the difference. And because of this, there are 101 | also two default powershell presets `powershell-default` and `powershell-legacy`. 102 | 103 | ### Importing settings from a URL 104 | 105 | ``` 106 | concfg import https://raw.githubusercontent.com/lukesampson/concfg/master/presets/solarized-light.json 107 | ``` 108 | 109 | This URL happens to be one of the built in presets. 110 | It's just an example of importing a URL. 111 | The easy way to get Solarized light would be `concfg import solarized-light` 112 | 113 | ### Making your own settings to save or share 114 | 115 | ``` 116 | concfg export 117 | ``` 118 | 119 | ## Help 120 | 121 | Type `concfg` without parameters to see the usage info. 122 | 123 | ## Credits 124 | 125 | * Thanks to [Stephen Edgar] for adding support for [Chris Kempson]'s [base16] color 126 | settings. 127 | * Thanks to [Anant Anand Gupta] and MindzGroup Technologies for the online preview 128 | and edit website. 129 | * Concfg uses Ethan Schoonover's [Solarized] color theme. 130 | 131 | ## License 132 | 133 | MIT 134 | 135 | [license-badge]: https://img.shields.io/github/license/lukesampson/concfg?style=flat&logo=spdx 136 | [screenshots-svg]: https://img.shields.io/badge/Preview-Screenshots-0067B8.svg?style=flat&logo=githubpages 137 | [screenshots-url]: preset_examples/README.md 138 | [edit-online-svg]: https://img.shields.io/badge/Edit-Online-0067B8.svg?style=flat&logo=githubpages 139 | [edit-online-url]: https://chawyehsu.github.io/concfg/ 140 | [Scoop]: https://scoop.sh/ 141 | [Solarized]: https://ethanschoonover.com/solarized/ 142 | [this article]: https://blogs.msdn.microsoft.com/commandline/2017/08/02/updating-the-windows-console-colors/ 143 | [Stephen Edgar]: https://github.com/ntwb 144 | [Chris Kempson]: https://github.com/chriskempson 145 | [base16]: https://github.com/chriskempson/base16 146 | [Anant Anand Gupta]: https://github.com/anantanandgupta 147 | -------------------------------------------------------------------------------- /bin/concfg.ps1: -------------------------------------------------------------------------------- 1 | #Requires -Version 3 2 | Param($cmd) 3 | 4 | . "$PSScriptRoot\..\lib\core.ps1" 5 | . "$PSScriptRoot\..\lib\commands.ps1" 6 | 7 | $commands = commands 8 | 9 | if (@($null, '-h', '--help') -contains $cmd) { 10 | exec 'help' $args 11 | } elseif ($commands -contains $cmd) { 12 | exec $cmd $args 13 | } else { 14 | "concfg: '$cmd' isn't a concfg command. See 'concfg help'" 15 | exit 1 16 | } 17 | 18 | exit 0 19 | -------------------------------------------------------------------------------- /lib/commands.ps1: -------------------------------------------------------------------------------- 1 | function command_files { 2 | Get-ChildItem ("$PSScriptRoot\..\libexec") | Where-Object { 3 | $_.Name.EndsWith('.ps1') 4 | } 5 | } 6 | 7 | function commands { 8 | command_files | ForEach-Object { command_name $_ } 9 | } 10 | 11 | function command_name($filename) { 12 | return [System.IO.Path]::GetFileNameWithoutExtension($filename.Name) 13 | } 14 | 15 | function exec($cmd, $arguments) { 16 | & ("$PSScriptRoot\..\libexec\$cmd.ps1") @arguments 17 | } 18 | -------------------------------------------------------------------------------- /lib/core.ps1: -------------------------------------------------------------------------------- 1 | # registry reference: 2 | # http://technet.microsoft.com/en-us/library/cc978570.aspx 3 | # 4 | # setting NT_CONSOLE_PROPS (not implemented): 5 | # http://sourcewarp.blogspot.com.au/2012/06/windows-powershell-shortcut-ishelllink.html 6 | 7 | $colors = 'black,dark_blue,dark_green,dark_cyan,dark_red,dark_magenta,dark_yellow,gray,dark_gray,blue,green,cyan,red,magenta,yellow,white'.Split(',') 8 | 9 | $map = @{ 10 | 'FontFamily'=@('font_true_type', 'font_type') 11 | 'FaceName'=@('font_face', 'string') 12 | 'FontSize'=@('font_size', 'dim') 13 | 'FontWeight'=@('font_weight','int') 14 | 'CursorSize'=@('cursor_size','cursor') 15 | 'QuickEdit'=@('quick_edit', 'bool') 16 | 'ScreenBufferSize'=@('screen_buffer_size', 'dim') 17 | 'WindowPosition'=@('window_position', 'dim') 18 | 'WindowSize'=@('window_size', 'dim') 19 | 'PopupColors'=@('popup_colors', 'fg_bg') 20 | 'ScreenColors'=@('screen_colors', 'fg_bg') 21 | 'FullScreen'=@('fullscreen','bool') 22 | 'HistoryBufferSize'=@('command_history_length','int') 23 | 'NumberOfHistoryBuffers'=@('num_history_buffers','int') 24 | 'InsertMode'=@('insert_mode','bool') 25 | 'LoadConIme'=@('load_console_IME','bool') 26 | 'HistoryNoDup'=@('command_history_no_duplication', 'bool') 27 | 'WindowAlpha'=@('window_alpha', 'int') 28 | } 29 | 30 | for ($i = 0; $i -lt $colors.length; $i++) { 31 | $map.Add("ColorTable$($i.tostring('00'))", @($colors[$i], 'color')) 32 | } 33 | 34 | $reverse_map = @{} 35 | foreach ($key in $map.Keys) { 36 | $name, $type = $map[$key] 37 | $reverse_map.Add($name, @($key, $type)) 38 | } 39 | -------------------------------------------------------------------------------- /lib/getopt.ps1: -------------------------------------------------------------------------------- 1 | # adapted from http://hg.python.org/cpython/file/2.7/Lib/getopt.py 2 | # argv: 3 | # array of arguments 4 | # shortopts: 5 | # string of single-letter options. options that take a parameter 6 | # should be follow by ':' 7 | # longopts: 8 | # array of strings that are long-form options. options that take 9 | # a parameter should end with '=' 10 | # returns @(opts hash, remaining_args array, error string) 11 | function getopt($argv, $shortopts, $longopts) { 12 | $opts = @{}; $rem = @() 13 | 14 | function err($msg) { 15 | $opts, $rem, $msg 16 | } 17 | 18 | # ensure these are arrays 19 | $argv = @($argv) 20 | $longopts = @($longopts) 21 | 22 | for($i = 0; $i -lt $argv.length; $i++) { 23 | $arg = $argv[$i] 24 | # don't try to parse array arguments 25 | if($arg -is [array]) { $rem += ,$arg; continue } 26 | if($arg -is [int]) { $rem += $arg; continue } 27 | 28 | if($arg.startswith('--')) { 29 | $name = $arg.substring(2) 30 | 31 | $longopt = $longopts | Where-Object { $_ -match "^$name=?$" } 32 | 33 | if($longopt) { 34 | if($longopt.endswith('=')) { # requires arg 35 | if($i -eq $argv.length - 1) { 36 | return err "option --$name requires an argument" 37 | } 38 | $opts.$name = $argv[++$i] 39 | } else { 40 | $opts.$name = $true 41 | } 42 | } else { 43 | return err "option --$name not recognized" 44 | } 45 | } elseif($arg.startswith('-') -and $arg -ne '-') { 46 | for($j = 1; $j -lt $arg.length; $j++) { 47 | $letter = $arg[$j].tostring() 48 | 49 | if($shortopts -match "$letter`:?") { 50 | $shortopt = $matches[0] 51 | if($shortopt[1] -eq ':') { 52 | if($j -ne $arg.length -1 -or $i -eq $argv.length - 1) { 53 | return err "option -$letter requires an argument" 54 | } 55 | $opts.$letter = $argv[++$i] 56 | } else { 57 | $opts.$letter = $true 58 | } 59 | } else { 60 | return err "option -$letter not recognized" 61 | } 62 | } 63 | } else { 64 | $rem += $arg 65 | } 66 | } 67 | 68 | $opts, $rem 69 | } 70 | -------------------------------------------------------------------------------- /lib/help.ps1: -------------------------------------------------------------------------------- 1 | function usage($text) { 2 | $text | Select-String '(?m)^# Usage: ([^\n]*)$' | ForEach-Object { 3 | "Usage: " + $_.matches[0].groups[1].value 4 | } 5 | } 6 | 7 | function summary($text) { 8 | $text | Select-String '(?m)^# Summary: ([^\n]*)$' | ForEach-Object { 9 | $_.matches[0].groups[1].value 10 | } 11 | } 12 | 13 | function help($text) { 14 | $help_lines = $text | Select-String '(?ms)^# Help:(.(?!^[^#]))*' | ForEach-Object { 15 | $_.matches[0].value 16 | } 17 | $help_lines -replace '(?ms)^#\s?(Help: )?', '' 18 | } 19 | 20 | function my_usage { 21 | # gets usage for the calling script 22 | usage (Get-Content $MyInvocation.PSCommandPath -Raw) 23 | } 24 | -------------------------------------------------------------------------------- /lib/presets.ps1: -------------------------------------------------------------------------------- 1 | function Get-BuiltinPreset { 2 | $presets = @() 3 | Get-ChildItem "$PSScriptRoot\..\presets" | ForEach-Object { 4 | $presets += [System.IO.Path]::GetFileNameWithoutExtension($_.Name) 5 | } 6 | return $presets 7 | } 8 | 9 | function Format-PresetOutput($presets) { 10 | Write-Output ($presets | Format-Wide { $_ } -AutoSize -Force | Out-String).Trim() 11 | } 12 | -------------------------------------------------------------------------------- /lib/shortcut.ps1: -------------------------------------------------------------------------------- 1 | Add-Type -TypeDefinition @' 2 | using System; 3 | using System.Runtime.InteropServices; 4 | using System.Runtime.InteropServices.ComTypes; 5 | 6 | namespace Concfg { 7 | public class ShortcutManager { 8 | public static void ResetConsoleProperties(string path) { 9 | if (!System.IO.File.Exists(path)) { return; } 10 | 11 | var lnk = new ShellLink(); 12 | var data = (IShellLinkDataList)lnk; 13 | var file = (IPersistFile)lnk; 14 | 15 | file.Load(path, 2 /* STGM_READWRITE */); 16 | data.RemoveDataBlock( 0xA0000002 /* NT_CONSOLE_PROPS_SIG */); 17 | file.Save(path, true); 18 | 19 | Marshal.ReleaseComObject(data); 20 | Marshal.ReleaseComObject(file); 21 | Marshal.ReleaseComObject(lnk); 22 | } 23 | } 24 | [ComImport, Guid("00021401-0000-0000-C000-000000000046")] 25 | class ShellLink { } 26 | [ComImport, Guid("45e2b4ae-b1c3-11d0-b92f-00a0c90312e1"), 27 | InterfaceType(ComInterfaceType.InterfaceIsIUnknown)] 28 | interface IShellLinkDataList { 29 | void AddDataBlock(IntPtr pDataBlock); 30 | void CopyDataBlock(uint dwSig, out IntPtr ppDataBlock); 31 | void RemoveDataBlock(uint dwSig); 32 | void GetFlags(out uint pdwFlags); 33 | void SetFlags(uint dwFlags); 34 | } 35 | } 36 | '@ 37 | 38 | function Test-IsPowershellShortcut($path) { 39 | if (!(Test-IsShortcut $path)) { return $false } 40 | 41 | $shell = New-Object -COMObject WScript.Shell -Strict 42 | $shortcut = $shell.CreateShortcut("$(Resolve-Path $path)") 43 | 44 | # Test if the shortcut's target is powershell.exe or pwsh.exe 45 | $result = ($shortcut.TargetPath -eq "$PSHOME\powershell.exe") -or ` 46 | ($shortcut.TargetPath -eq "$PSHOME\pwsh.exe") -or ` 47 | ($shortcut.TargetPath -eq "$env:WINDIR\system32\WindowsPowerShell\v1.0\powershell.exe") -or ` 48 | ($shortcut.TargetPath -eq "$env:WINDIR\syswow64\WindowsPowerShell\v1.0\powershell.exe") 49 | [Runtime.Interopservices.Marshal]::ReleaseComObject($shortcut) | Out-Null 50 | 51 | return $result 52 | } 53 | 54 | function Test-IsShortcut($path) { 55 | # $path does not exist. 56 | if (!(Test-Path -LiteralPath $path)) { return $false } 57 | # $path is not a valid shortcut (.lnk) file. 58 | if ([System.IO.Path]::GetExtension($path) -ne ".lnk") { return $false } 59 | return $true 60 | } 61 | 62 | function Remove-Property($path) { 63 | if (!(Test-IsShortcut $path)) { return $false } 64 | 65 | $path = "$(Resolve-Path $path)" 66 | try { 67 | [Concfg.ShortcutManager]::ResetConsoleProperties($path) 68 | Write-Output "Reset console properties of shortcut '$path'" 69 | } catch [UnauthorizedAccessException] { 70 | Write-Warning "admin permission is required to remove console props from '$path'" 71 | } 72 | } 73 | 74 | function Reset-PowerShellShortcut($dir) { 75 | if (!(Test-Path $dir)) { return } 76 | 77 | Get-ChildItem $dir | ForEach-Object { 78 | if ($_.PsIsContainer) { 79 | Reset-PowerShellShortcut $_.FullName 80 | } else { 81 | $path = $_.FullName 82 | if (Test-IsPowershellShortcut $path) { 83 | Remove-Property $path 84 | } 85 | } 86 | } 87 | } 88 | -------------------------------------------------------------------------------- /libexec/clean.ps1: -------------------------------------------------------------------------------- 1 | # Usage: concfg clean 2 | # Summary: Clean overrides from the registry and .lnk files 3 | # Help: Cleans any program-specific overrides from the registry. 4 | # 5 | # Background: The Console will save program-specific overrides to 6 | # the registry and sometimes shortcut files when you edit 7 | # the console properties directly. These overrides can 8 | # prevent your concfg settings from working properly. 9 | # Using concfg clean can remove all these overrides. 10 | . "$PSScriptRoot\..\lib\shortcut.ps1" 11 | 12 | function Clear-AllOverride { 13 | # 1. clean console registry 14 | if (Test-Path 'HKCU:\Console') { 15 | Get-ChildItem 'HKCU:\Console' | ForEach-Object { 16 | Write-Output "Removing 'Registry::$($_.Name)'" 17 | Remove-Item "Registry::$($_.Name)" 18 | } 19 | } 20 | 21 | # 2. clean powershell .lnk files 22 | @( 23 | "$env:ALLUSERSPROFILE\Microsoft\Windows\Start Menu\Programs", 24 | "$env:USERPROFILE\AppData\Roaming\Microsoft\Internet Explorer\Quick Launch\User Pinned\StartMenu", 25 | "$env:USERPROFILE\AppData\Roaming\Microsoft\Internet Explorer\Quick Launch\User Pinned\TaskBar", 26 | "$env:USERPROFILE\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Windows PowerShell" 27 | ) | ForEach-Object { Reset-PowerShellShortcut $_ } 28 | } 29 | 30 | # entry 31 | Clear-AllOverride 32 | -------------------------------------------------------------------------------- /libexec/export.ps1: -------------------------------------------------------------------------------- 1 | # Usage: concfg export [path] 2 | # Summary: Export console settings as JSON 3 | # Help: If a file path is supplied, your console settings will be written directly to it. 4 | # 5 | # If no path is supplied, writes the settings to standard output. 6 | Param($path) 7 | 8 | function decode($val, $type) { 9 | switch($type) { 10 | 'bool' { [bool]$val } 11 | 'color' { 12 | $bytes = [bitconverter]::getbytes($val) 13 | [array]::reverse($bytes) 14 | $int = [bitconverter]::toint32($bytes, 0) 15 | 16 | '#' + $int.tostring('x8').substring(0,6) 17 | } 18 | 'cursor' { 19 | switch($val) { 20 | 0x19 { 'small' } 21 | 0x32 { 'medium' } 22 | 0x64 { 'large' } 23 | } 24 | } 25 | 'fg_bg' { 26 | $hex = $val.tostring('x2') 27 | $bg_i = [convert]::toint32($hex[0],16) 28 | $fg_i = [convert]::toint32($hex[1],16) 29 | $bg = $colors[$bg_i] 30 | $fg = $colors[$fg_i] 31 | "$fg,$bg" 32 | } 33 | 'font_type' { ($val -gt 0) } 34 | 'int' { $val } 35 | 'string' { $val } 36 | 'dim' { 37 | $bytes = [bitconverter]::getbytes($val) 38 | $width = [bitconverter]::toint16($bytes[0..2], 0) 39 | $height = [bitconverter]::toint16($bytes, 2) 40 | "$($width)x$($height)" 41 | } 42 | } 43 | } 44 | 45 | function export_json { 46 | $props = @{} 47 | (Get-ItemProperty 'HKCU:\Console').PSObject.Properties | Sort-Object name | ForEach-Object { 48 | $name, $type = $map[$_.Name] 49 | if ($name) { 50 | $props.Add($name, (decode $_.Value $type)) 51 | } 52 | } 53 | 54 | $props | ConvertTo-Json 55 | } 56 | 57 | $json = export_json 58 | if ($path) { 59 | $json | Out-File $path -Encoding utf8 60 | Write-Host "console settings exported to $(Split-Path $path -Leaf)" -f DarkGreen 61 | } else { 62 | $json 63 | } 64 | -------------------------------------------------------------------------------- /libexec/help.ps1: -------------------------------------------------------------------------------- 1 | # Usage: concfg help 2 | # Summary: Show help for a command 3 | Param($cmd) 4 | 5 | . "$PSScriptRoot\..\lib\core.ps1" 6 | . "$PSScriptRoot\..\lib\commands.ps1" 7 | . "$PSScriptRoot\..\lib\help.ps1" 8 | 9 | function print_help($cmd) { 10 | $file = Get-Content ("$PSScriptRoot\$cmd.ps1") -Raw 11 | 12 | $usage = usage $file 13 | $summary = summary $file 14 | $help = help $file 15 | 16 | if ($usage) { "$usage" } 17 | if ($help) { "`n$help" } 18 | } 19 | 20 | function print_summaries { 21 | $summaries = @{} 22 | 23 | command_files | ForEach-Object { 24 | $command = command_name $_ 25 | $summary = summary (Get-Content $_.FullName -Raw ) 26 | if (!($summary)) { $summary = '' } 27 | $summaries.Add("$command ", $summary) # add padding 28 | } 29 | 30 | ($summaries.GetEnumerator() | Sort-Object name | Format-Table -HideTableHeaders -AutoSize -Wrap | Out-String).TrimEnd() 31 | } 32 | 33 | $commands = commands 34 | 35 | if (!($cmd)) { 36 | "Usage: concfg [' to get help for a specific command." 41 | } elseif ($commands -contains $cmd) { 42 | print_help $cmd 43 | } else { 44 | "concfg help: no such command '$cmd'"; exit 1 45 | } 46 | 47 | exit 0 48 | -------------------------------------------------------------------------------- /libexec/import.ps1: -------------------------------------------------------------------------------- 1 | # Usage: concfg import [options] || 2 | # Summary: Import console settings from a JSON file 3 | # Help: e.g. concfg import solarized 4 | # 5 | # You can import multiple sources at once, e.g. 6 | # concfg import solarized-light small 7 | # 8 | # This will import the 'solarized-light' preset and the 'small' preset. 9 | # When importing multiple sources, the later sources will override settings 10 | # from the earlier ones. 11 | # 12 | # Options: 13 | # -n, --non-interactive don't prompt for input 14 | # -y, --yes accpet prompts automatically 15 | . "$PSScriptRoot\..\lib\core.ps1" 16 | . "$PSScriptRoot\..\lib\help.ps1" 17 | . "$PSScriptRoot\..\lib\getopt.ps1" 18 | . "$PSScriptRoot\..\lib\presets.ps1" 19 | 20 | function encode($val, $type) { 21 | switch($type) { 22 | 'bool' { 23 | if ($val) { 24 | 1 25 | } else { 26 | 0 27 | } 28 | } 29 | 'color' { 30 | if ($val -notmatch '^#[\da-f]{6}$') { 31 | Write-Host "ERROR: invalid color '$val', should be in hex format, e.g. #000000" -f DarkRed 32 | exit 1 33 | } 34 | $num = [System.Convert]::ToInt32($val.Substring(1,6), 16) 35 | $bytes = [System.BitConverter]::GetBytes($num) 36 | for ($i = 3; $i -gt 0; $i--) { 37 | $bytes[$i] = $bytes[$i - 1] 38 | } 39 | $bytes[0] = 0 40 | [Array]::Reverse($bytes) 41 | [System.BitConverter]::ToInt32($bytes, 0) 42 | } 43 | 'cursor' { 44 | switch($val) { 45 | 'small' { 0x19 } 46 | 'medium' { 0x32 } 47 | 'large' { 0x64 } 48 | default { 49 | Write-Host "WARNING: invalid cursor_size '$val', defaulting to 'small'" -f DarkYellow 50 | 0x19 51 | } 52 | } 53 | } 54 | 'fg_bg' { 55 | $fg,$bg = $val.Split(',') 56 | if (!$fg -or !$bg) { 57 | Write-Host "invalid foreground,background: $val" -f DarkRed 58 | exit 1 59 | } 60 | $fg_i = $colors.IndexOf($fg) 61 | $bg_i = $colors.IndexOf($bg) 62 | if ($fg_i -eq -1) { 63 | Write-Host "invalid foreground color: $fg" -f DarkRed 64 | exit 1 65 | } 66 | if ($bg_i -eq -1) { 67 | Write-Host "invalid background color: $bg" -f DarkRed 68 | exit 1 69 | } 70 | $bg_i * 16 + $fg_i 71 | } 72 | 'font_type' { 73 | if ($val) { 74 | 54 75 | } else { 76 | 0 77 | } 78 | } 79 | 'int' { 80 | $val 81 | } 82 | 'string' { 83 | $val 84 | } 85 | 'dim' { 86 | if ($val -notmatch '^\d+x\d+$') { 87 | Write-Host "invalid dimensions '$val'" -f DarkRed 88 | exit 1 89 | } 90 | $width, $height = $val.Split('x') | ForEach-Object { 91 | [Int16]::Parse($_) 92 | } 93 | $width_b = [System.BitConverter]::GetBytes($width) 94 | $height_b = [System.BitConverter]::GetBytes($height) 95 | [Byte[]]$bytes = @($width_b[0], $width_b[1], $height_b[0], $height_b[1]) 96 | [System.BitConverter]::ToInt32($bytes, 0) 97 | } 98 | } 99 | } 100 | 101 | function Get-PresetJson($src) { 102 | # remote preset file url 103 | if ($src -match '^https?://') { 104 | return (New-Object System.Net.WebClient).DownloadString($src) 105 | } 106 | 107 | # local preset file path 108 | if ((Test-Path $src) -and $src.EndsWith('.json')) { 109 | return Get-Content $src -Raw 110 | } 111 | 112 | # built-in preset 113 | if (!$src.EndsWith('.json')) { 114 | $builtinPresets = Get-BuiltinPreset 115 | if ($builtinPresets.Contains($src)) { 116 | return Get-Content "$PSScriptRoot\..\presets\$src.json" -Raw 117 | } 118 | } 119 | } 120 | 121 | function Import-PresetFromJson($json) { 122 | $props = $json | ConvertFrom-Json 123 | 124 | # encode everything first before setting registry values, in case 125 | # anything goes wrong 126 | $encoded = @{} 127 | 128 | $props.PSObject.Properties | ForEach-Object { 129 | $key, $type = $reverse_map[$_.Name] 130 | $val = $_.Value 131 | if ($key) { 132 | $encoded[$key] = (encode $val $type) 133 | } 134 | } 135 | 136 | if (!(Test-Path 'HKCU:\Console')) { 137 | New-Item 'HKCU:\Console' | Out-Null 138 | } 139 | 140 | $encoded.Keys | ForEach-Object { 141 | Set-ItemProperty 'HKCU:\Console' $_ $encoded[$_] 142 | } 143 | } 144 | 145 | # flattens $args in case commas were used to separate sources 146 | function get_sources($inputArgs) { 147 | $sources = @() 148 | $inputArgs | ForEach-Object { 149 | $sources += [String]$_ 150 | } 151 | return $sources 152 | } 153 | 154 | # entry 155 | $opts, $args, $err = getopt $args 'yn' @('yes', 'non-interactive') 156 | $optNonInteractive = $opts['non-interactive'] -or $opts.n 157 | $optYes = $opts['yes'] -or $opts.y 158 | 159 | if ($err) { 160 | Write-Output "concfg: ERROR: $err" 161 | my_usage 162 | exit 1 163 | } 164 | 165 | if ($args.length -eq 0) { 166 | Write-Output "concfg: ERROR: source missing" 167 | my_usage 168 | exit 1 169 | } 170 | 171 | $srcs = @(get_sources $args) 172 | foreach ($source in $srcs) { 173 | $json = Get-PresetJson $source 174 | if (!$json) { 175 | Write-Output "concfg: ERROR: couldn't load settings from $source" 176 | exit 1 177 | } 178 | 179 | Import-PresetFromJson $json 180 | Write-Host "Console settings were imported from '$source'" -f DarkGreen 181 | } 182 | 183 | if (!$optNonInteractive) { 184 | if ($optYes) { 185 | & "$PSScriptRoot\clean.ps1" 186 | if ($PSVersionTable.PSEdition -eq 'Core') { 187 | Start-Process "$PSHOME\pwsh.exe" -ArgumentList "-NoLogo" 188 | } else { 189 | Start-Process "powershell.exe" -ArgumentList "-NoLogo" 190 | } 191 | } else { 192 | $yn = Read-Host "Overrides in the registry and shortcut files might interfere with your concfg settings. Would you like to find and remove them? (Y/n)" 193 | if (!$yn -or ($yn -like 'y*')) { 194 | & "$PSScriptRoot\clean.ps1" 195 | } else { 196 | Write-Output "If you change your mind later you can run 'concfg clean' to remove overrides." 197 | } 198 | 199 | $yn = Read-Host "`nWould you like to open a new console to see the changes? (Y/n)" 200 | if (!$yn -or ($yn -like 'y*')) { 201 | if ($PSVersionTable.PSEdition -eq 'Core') { 202 | Start-Process "$PSHOME\pwsh.exe" -ArgumentList "-NoLogo" 203 | } else { 204 | Start-Process "powershell.exe" -ArgumentList "-NoLogo" 205 | } 206 | } 207 | } 208 | } else { 209 | Write-Output "Please start a new console to see changes." 210 | Write-Output "You may also need to run 'concfg clean' to remove overrides from the registry and shortcut files." 211 | } 212 | -------------------------------------------------------------------------------- /libexec/presets.ps1: -------------------------------------------------------------------------------- 1 | # Usage: concfg presets 2 | # Summary: List builtin available presets 3 | # Help: Lists the presets that are available for the 'concfg import' command 4 | . "$PSScriptRoot\..\lib\presets.ps1" 5 | 6 | $result = Get-BuiltinPreset 7 | 8 | Write-Output "Available presets:" 9 | Format-PresetOutput($result) 10 | -------------------------------------------------------------------------------- /libexec/search.ps1: -------------------------------------------------------------------------------- 1 | # Usage: concfg search 2 | # Summary: Search builtin presets with given preset name 3 | Param($preset) 4 | . "$PSScriptRoot\..\lib\help.ps1" 5 | . "$PSScriptRoot\..\lib\presets.ps1" 6 | 7 | if (!($preset)) { 8 | my_usage 9 | exit 1 10 | } 11 | 12 | $builtinPresets = Get-BuiltinPreset 13 | $result = @() 14 | 15 | $builtinPresets | ForEach-Object { 16 | if ($_ -match "$preset") { 17 | $result += $_ 18 | } 19 | } 20 | 21 | if ($result) { 22 | Format-PresetOutput($result) 23 | } else { 24 | Write-Output "No preset name is similar to '$preset'." 25 | } 26 | -------------------------------------------------------------------------------- /libexec/tokencolor.ps1: -------------------------------------------------------------------------------- 1 | # Usage: concfg tokencolor [options] | 2 | # Summary: Correct PSReadline command line token color mappings 3 | # Help: e.g. concfg tokencolor enable 4 | # 5 | # Background: This script is used to set syntax highlighting colors 6 | # of the PSReadline module, and affect the colors of command line 7 | # (only command line tokens, not prompt). It"s an enhancement, 8 | # not decisive factor to theming. The color of tokens is determined by 9 | # what theme you use. If you use solorized_dark, this script will automatically 10 | # use solorized_dark mapping colours to improve the colors of command line, 11 | # make them easier to be recognized and looks better. 12 | # 13 | # Since we use base16 for building themes, we follow base16's styling 14 | # guidelines(https://github.com/chriskempson/base16/blob/master/styling.md) 15 | # to configure token colours, for example: 16 | # Keyword -> base0E 17 | # String -> base0B 18 | # 19 | # You have to install PSReadline module before you do it. 20 | # If you are on Windows 10, PSReadLine is already installed. More information: 21 | # https://github.com/lzybkr/PSReadLine#installation 22 | # Options: 23 | # --non-interactive, -n: don't prompt Output 24 | . "$PSScriptRoot\..\lib\help.ps1" 25 | . "$PSScriptRoot\..\lib\getopt.ps1" 26 | 27 | function enable($non_interactive) { 28 | # Enable for current process 29 | settokencolor $non_interactive 30 | 31 | # Find $Profile 32 | if(!(test-path $profile)) { 33 | $profile_dir = split-path $profile 34 | if(!(test-path $profile_dir)) { mkdir $profile_dir > $null } 35 | '' > $profile 36 | } 37 | $text = Get-Content $profile 38 | 39 | if (!$non_interactive) { 40 | if($null -eq ($text | Select-String 'concfg tokencolor')) { 41 | Write-Output 'Adding concfg tokencolor to your powershell profile...' 42 | 43 | # read and write whole profile to avoid problems with line endings and encodings 44 | $new_profile = @($text) + "try { `$null = Get-Command concfg -ea stop; concfg tokencolor -n enable } catch { }" 45 | $new_profile > $profile 46 | } else { 47 | if ($null -eq ($text | Select-String 'concfg tokencolor -n disable')) { 48 | Write-Output 'It looks like you have enabled tokencolor in your powershell profile, skipped' 49 | } else { 50 | $new_profile = $text.Replace("concfg tokencolor -n disable", "concfg tokencolor -n enable") 51 | $new_profile > $profile 52 | } 53 | } 54 | } 55 | } 56 | 57 | function disable($non_interactive) { 58 | # Find $Profile 59 | if(!(test-path $profile)) { 60 | $profile_dir = split-path $profile 61 | if(!(test-path $profile_dir)) { mkdir $profile_dir > $null } 62 | '' > $profile 63 | } 64 | 65 | $text = Get-Content $profile 66 | if($null -eq ($text | Select-String 'concfg tokencolor')) { 67 | # DO NOTHING 68 | } else { 69 | $new_profile = $text.Replace("concfg tokencolor -n enable", "concfg tokencolor -n disable") 70 | $new_profile > $profile 71 | } 72 | 73 | # Disable for current process 74 | resettokencolor $non_interactive 75 | } 76 | 77 | function getpsreadline($non_interactive) { 78 | # Return already imported PSReadLine module 79 | $psreadline = Get-Module -Name 'PSReadLine' 80 | if ($psreadline) { 81 | return $psreadline 82 | } 83 | 84 | # Try to find PSReadLine when not yet imported (potentially slow!) 85 | $psreadline = Get-Module -Name 'PSReadLine' -ListAvailable 86 | if ($psreadline) { 87 | return $psreadline 88 | } 89 | 90 | if (!$non_interactive) { 91 | Write-Output 'ERROR: The PSReadLine module is required to use token colors.' 92 | } 93 | 94 | exit 1 95 | } 96 | 97 | function settokencolor($non_interactive) { 98 | $psreadline = getpsreadline $non_interactive 99 | 100 | # PSReadLine 1 101 | if ($psreadline.Version.Major -eq 1) { 102 | # Reset 103 | Set-PSReadlineOption -ResetTokenColors 104 | 105 | $options = Get-PSReadlineOption 106 | # Token Foreground # base16 colors 107 | $options.CommandForegroundColor = "DarkBlue" # base0D 108 | $options.CommentForegroundColor = "Yellow" # base03 109 | $options.KeywordForegroundColor = "DarkMagenta" # base0E 110 | $options.MemberForegroundColor = "DarkBlue" # base0D 111 | $options.NumberForegroundColor = "Red" # base09 112 | $options.OperatorForegroundColor = "DarkCyan" # base0C 113 | $options.ParameterForegroundColor = "Red" # base09 114 | $options.StringForegroundColor = "DarkGreen" # base0B 115 | $options.TypeForegroundColor = "DarkYellow" # base0A 116 | $options.VariableForegroundColor = "DarkRed" # base08 117 | $options.EmphasisForegroundColor = "DarkCyan" # base0C 118 | $options.ErrorForegroundColor = "DarkRed" # base08 119 | } else { 120 | # Token Foreground # base16 colors 121 | Set-PSReadLineOption -Colors @{ 122 | "Command" = [ConsoleColor]::DarkBlue # base0D 123 | "Comment" = [ConsoleColor]::Yellow # base03 124 | "Keyword" = [ConsoleColor]::DarkMagenta # base0E 125 | "Member" = [ConsoleColor]::DarkBlue # base0D 126 | "Number" = [ConsoleColor]::Red # base09 127 | "Operator" = [ConsoleColor]::DarkCyan # base0C 128 | "Parameter" = [ConsoleColor]::Red # base09 129 | "String" = [ConsoleColor]::DarkGreen # base0B 130 | "Type" = [ConsoleColor]::DarkYellow # base0A 131 | "Variable" = [ConsoleColor]::DarkRed # base08 132 | "Emphasis" = [ConsoleColor]::DarkCyan # base0C 133 | "Error" = [ConsoleColor]::DarkRed # base08 134 | } 135 | } 136 | 137 | if (!$non_interactive) { 138 | Write-Output "concfg tokencolor enabled." 139 | } 140 | } 141 | 142 | function resettokencolor($non_interactive) { 143 | # PSReadLine 1 144 | if ($psreadline.Version.Major -eq 1) { 145 | # Reset 146 | Set-PSReadlineOption -ResetTokenColors 147 | } else { 148 | # Default Colors 149 | # https://github.com/PowerShell/PSReadLine/blob/599e1784a96d1acfce8d4d2a561c82b07920ada4/PSReadLine/Cmdlets.cs#L68-L79 150 | Set-PSReadLineOption -Colors @{ 151 | "Command" = [ConsoleColor]::Yellow 152 | "Comment" = [ConsoleColor]::DarkGreen 153 | "Keyword" = [ConsoleColor]::Green 154 | "Member" = [ConsoleColor]::White 155 | "Number" = [ConsoleColor]::White 156 | "Operator" = [ConsoleColor]::DarkGray 157 | "Parameter" = [ConsoleColor]::DarkGray 158 | "String" = [ConsoleColor]::DarkCyan 159 | "Type" = [ConsoleColor]::Gray 160 | "Variable" = [ConsoleColor]::Green 161 | "Emphasis" = [ConsoleColor]::Cyan 162 | "Error" = [ConsoleColor]::Red 163 | } 164 | } 165 | 166 | if (!$non_interactive) { 167 | Write-Output "concfg tokencolor disabled." 168 | } 169 | } 170 | 171 | $opts, $args, $err = getopt $args 'n' @('non-interactive') 172 | 173 | if ($err) { 174 | "concfg: ERROR: $err" 175 | my_usage 176 | exit 1 177 | } 178 | 179 | $non_interactive = $opts['non-interactive'] -or $opts.n 180 | 181 | if ($args.length -eq 0) { 182 | my_usage 183 | exit 1 184 | } else { 185 | if ($args -eq "enable") { 186 | enable $non_interactive 187 | } elseif ($args -eq "disable") { 188 | disable $non_interactive 189 | } else { 190 | my_usage 191 | exit 1 192 | } 193 | } 194 | -------------------------------------------------------------------------------- /preset_examples/3024.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lukesampson/concfg/db879e76427457f72b5c29929da2cd01e966362c/preset_examples/3024.png -------------------------------------------------------------------------------- /preset_examples/README.md: -------------------------------------------------------------------------------- 1 | # Automated Screenshots of concfg built-in Presets 2 | 3 | 4 | ## 3024 5 | 6 | ![3024](./3024.png "3024") 7 | 8 | ## apathy 9 | 10 | ![apathy](./apathy.png "apathy") 11 | 12 | ## ashes 13 | 14 | ![ashes](./ashes.png "ashes") 15 | 16 | ## atelier-cave 17 | 18 | ![atelier-cave](./atelier-cave.png "atelier-cave") 19 | 20 | ## atelier-cave-light 21 | 22 | ![atelier-cave-light](./atelier-cave-light.png "atelier-cave-light") 23 | 24 | ## atelier-dune 25 | 26 | ![atelier-dune](./atelier-dune.png "atelier-dune") 27 | 28 | ## atelier-dune-light 29 | 30 | ![atelier-dune-light](./atelier-dune-light.png "atelier-dune-light") 31 | 32 | ## atelier-estuary 33 | 34 | ![atelier-estuary](./atelier-estuary.png "atelier-estuary") 35 | 36 | ## atelier-estuary-light 37 | 38 | ![atelier-estuary-light](./atelier-estuary-light.png "atelier-estuary-light") 39 | 40 | ## atelier-forest 41 | 42 | ![atelier-forest](./atelier-forest.png "atelier-forest") 43 | 44 | ## atelier-forest-light 45 | 46 | ![atelier-forest-light](./atelier-forest-light.png "atelier-forest-light") 47 | 48 | ## atelier-heath 49 | 50 | ![atelier-heath](./atelier-heath.png "atelier-heath") 51 | 52 | ## atelier-heath-light 53 | 54 | ![atelier-heath-light](./atelier-heath-light.png "atelier-heath-light") 55 | 56 | ## atelier-lakeside 57 | 58 | ![atelier-lakeside](./atelier-lakeside.png "atelier-lakeside") 59 | 60 | ## atelier-lakeside-light 61 | 62 | ![atelier-lakeside-light](./atelier-lakeside-light.png "atelier-lakeside-light") 63 | 64 | ## atelier-plateau 65 | 66 | ![atelier-plateau](./atelier-plateau.png "atelier-plateau") 67 | 68 | ## atelier-plateau-light 69 | 70 | ![atelier-plateau-light](./atelier-plateau-light.png "atelier-plateau-light") 71 | 72 | ## atelier-savanna 73 | 74 | ![atelier-savanna](./atelier-savanna.png "atelier-savanna") 75 | 76 | ## atelier-savanna-light 77 | 78 | ![atelier-savanna-light](./atelier-savanna-light.png "atelier-savanna-light") 79 | 80 | ## atelier-seaside 81 | 82 | ![atelier-seaside](./atelier-seaside.png "atelier-seaside") 83 | 84 | ## atelier-seaside-light 85 | 86 | ![atelier-seaside-light](./atelier-seaside-light.png "atelier-seaside-light") 87 | 88 | ## atelier-sulphurpool 89 | 90 | ![atelier-sulphurpool](./atelier-sulphurpool.png "atelier-sulphurpool") 91 | 92 | ## atelier-sulphurpool-light 93 | 94 | ![atelier-sulphurpool-light](./atelier-sulphurpool-light.png "atelier-sulphurpool-light") 95 | 96 | ## back-to-the-code 97 | 98 | ![back-to-the-code](./back-to-the-code.png "back-to-the-code") 99 | 100 | ## bespin 101 | 102 | ![bespin](./bespin.png "bespin") 103 | 104 | ## bombyx 105 | 106 | ![bombyx](./bombyx.png "bombyx") 107 | 108 | ## brewer 109 | 110 | ![brewer](./brewer.png "brewer") 111 | 112 | ## bright 113 | 114 | ![bright](./bright.png "bright") 115 | 116 | ## brushtrees 117 | 118 | ![brushtrees](./brushtrees.png "brushtrees") 119 | 120 | ## brushtrees-dark 121 | 122 | ![brushtrees-dark](./brushtrees-dark.png "brushtrees-dark") 123 | 124 | ## chalk 125 | 126 | ![chalk](./chalk.png "chalk") 127 | 128 | ## circus 129 | 130 | ![circus](./circus.png "circus") 131 | 132 | ## classic-dark 133 | 134 | ![classic-dark](./classic-dark.png "classic-dark") 135 | 136 | ## classic-light 137 | 138 | ![classic-light](./classic-light.png "classic-light") 139 | 140 | ## cmd-default 141 | 142 | ![cmd-default](./cmd-default.png "cmd-default") 143 | 144 | ## cmd-legacy 145 | 146 | ![cmd-legacy](./cmd-legacy.png "cmd-legacy") 147 | 148 | ## codeschool 149 | 150 | ![codeschool](./codeschool.png "codeschool") 151 | 152 | ## cupcake 153 | 154 | ![cupcake](./cupcake.png "cupcake") 155 | 156 | ## cupertino 157 | 158 | ![cupertino](./cupertino.png "cupertino") 159 | 160 | ## darktooth 161 | 162 | ![darktooth](./darktooth.png "darktooth") 163 | 164 | ## default-dark 165 | 166 | ![default-dark](./default-dark.png "default-dark") 167 | 168 | ## default-light 169 | 170 | ![default-light](./default-light.png "default-light") 171 | 172 | ## dracula 173 | 174 | ![dracula](./dracula.png "dracula") 175 | 176 | ## eighties 177 | 178 | ![eighties](./eighties.png "eighties") 179 | 180 | ## embers 181 | 182 | ![embers](./embers.png "embers") 183 | 184 | ## flat 185 | 186 | ![flat](./flat.png "flat") 187 | 188 | ## github 189 | 190 | ![github](./github.png "github") 191 | 192 | ## google-dark 193 | 194 | ![google-dark](./google-dark.png "google-dark") 195 | 196 | ## google-light 197 | 198 | ![google-light](./google-light.png "google-light") 199 | 200 | ## grayscale-dark 201 | 202 | ![grayscale-dark](./grayscale-dark.png "grayscale-dark") 203 | 204 | ## grayscale-light 205 | 206 | ![grayscale-light](./grayscale-light.png "grayscale-light") 207 | 208 | ## greenscreen 209 | 210 | ![greenscreen](./greenscreen.png "greenscreen") 211 | 212 | ## gruvbox-dark-hard 213 | 214 | ![gruvbox-dark-hard](./gruvbox-dark-hard.png "gruvbox-dark-hard") 215 | 216 | ## gruvbox-dark-medium 217 | 218 | ![gruvbox-dark-medium](./gruvbox-dark-medium.png "gruvbox-dark-medium") 219 | 220 | ## gruvbox-dark-pale 221 | 222 | ![gruvbox-dark-pale](./gruvbox-dark-pale.png "gruvbox-dark-pale") 223 | 224 | ## gruvbox-dark-soft 225 | 226 | ![gruvbox-dark-soft](./gruvbox-dark-soft.png "gruvbox-dark-soft") 227 | 228 | ## gruvbox-light-hard 229 | 230 | ![gruvbox-light-hard](./gruvbox-light-hard.png "gruvbox-light-hard") 231 | 232 | ## gruvbox-light-medium 233 | 234 | ![gruvbox-light-medium](./gruvbox-light-medium.png "gruvbox-light-medium") 235 | 236 | ## gruvbox-light-soft 237 | 238 | ![gruvbox-light-soft](./gruvbox-light-soft.png "gruvbox-light-soft") 239 | 240 | ## harmonic-dark 241 | 242 | ![harmonic-dark](./harmonic-dark.png "harmonic-dark") 243 | 244 | ## harmonic-light 245 | 246 | ![harmonic-light](./harmonic-light.png "harmonic-light") 247 | 248 | ## hopscotch 249 | 250 | ![hopscotch](./hopscotch.png "hopscotch") 251 | 252 | ## icy 253 | 254 | ![icy](./icy.png "icy") 255 | 256 | ## irblack 257 | 258 | ![irblack](./irblack.png "irblack") 259 | 260 | ## isotope 261 | 262 | ![isotope](./isotope.png "isotope") 263 | 264 | ## macintosh 265 | 266 | ![macintosh](./macintosh.png "macintosh") 267 | 268 | ## marrakesh 269 | 270 | ![marrakesh](./marrakesh.png "marrakesh") 271 | 272 | ## materia 273 | 274 | ![materia](./materia.png "materia") 275 | 276 | ## material 277 | 278 | ![material](./material.png "material") 279 | 280 | ## material-darker 281 | 282 | ![material-darker](./material-darker.png "material-darker") 283 | 284 | ## material-lighter 285 | 286 | ![material-lighter](./material-lighter.png "material-lighter") 287 | 288 | ## material-palenight 289 | 290 | ![material-palenight](./material-palenight.png "material-palenight") 291 | 292 | ## mellow-purple 293 | 294 | ![mellow-purple](./mellow-purple.png "mellow-purple") 295 | 296 | ## mexico-light 297 | 298 | ![mexico-light](./mexico-light.png "mexico-light") 299 | 300 | ## mocha 301 | 302 | ![mocha](./mocha.png "mocha") 303 | 304 | ## monokai 305 | 306 | ![monokai](./monokai.png "monokai") 307 | 308 | ## mountain 309 | 310 | ![mountain](./mountain.png "mountain") 311 | 312 | ## nord 313 | 314 | ![nord](./nord.png "nord") 315 | 316 | ## ocean 317 | 318 | ![ocean](./ocean.png "ocean") 319 | 320 | ## oceanicnext 321 | 322 | ![oceanicnext](./oceanicnext.png "oceanicnext") 323 | 324 | ## one-light 325 | 326 | ![one-light](./one-light.png "one-light") 327 | 328 | ## onedark 329 | 330 | ![onedark](./onedark.png "onedark") 331 | 332 | ## outrun-dark 333 | 334 | ![outrun-dark](./outrun-dark.png "outrun-dark") 335 | 336 | ## paraiso 337 | 338 | ![paraiso](./paraiso.png "paraiso") 339 | 340 | ## phd 341 | 342 | ![phd](./phd.png "phd") 343 | 344 | ## pico 345 | 346 | ![pico](./pico.png "pico") 347 | 348 | ## pop 349 | 350 | ![pop](./pop.png "pop") 351 | 352 | ## porple 353 | 354 | ![porple](./porple.png "porple") 355 | 356 | ## powershell-default 357 | 358 | ![powershell-default](./powershell-default.png "powershell-default") 359 | 360 | ## powershell-legacy 361 | 362 | ![powershell-legacy](./powershell-legacy.png "powershell-legacy") 363 | 364 | ## railscasts 365 | 366 | ![railscasts](./railscasts.png "railscasts") 367 | 368 | ## rebecca 369 | 370 | ![rebecca](./rebecca.png "rebecca") 371 | 372 | ## seoul256 373 | 374 | ![seoul256](./seoul256.png "seoul256") 375 | 376 | ## seti 377 | 378 | ![seti](./seti.png "seti") 379 | 380 | ## shapeshifter 381 | 382 | ![shapeshifter](./shapeshifter.png "shapeshifter") 383 | 384 | ## solarflare 385 | 386 | ![solarflare](./solarflare.png "solarflare") 387 | 388 | ## solarized-dark 389 | 390 | ![solarized-dark](./solarized-dark.png "solarized-dark") 391 | 392 | ## solarized-light 393 | 394 | ![solarized-light](./solarized-light.png "solarized-light") 395 | 396 | ## spacemacs 397 | 398 | ![spacemacs](./spacemacs.png "spacemacs") 399 | 400 | ## summerfruit-dark 401 | 402 | ![summerfruit-dark](./summerfruit-dark.png "summerfruit-dark") 403 | 404 | ## summerfruit-light 405 | 406 | ![summerfruit-light](./summerfruit-light.png "summerfruit-light") 407 | 408 | ## tomorrow 409 | 410 | ![tomorrow](./tomorrow.png "tomorrow") 411 | 412 | ## tomorrow-night 413 | 414 | ![tomorrow-night](./tomorrow-night.png "tomorrow-night") 415 | 416 | ## tube 417 | 418 | ![tube](./tube.png "tube") 419 | 420 | ## twilight 421 | 422 | ![twilight](./twilight.png "twilight") 423 | 424 | ## ubuntu 425 | 426 | ![ubuntu](./ubuntu.png "ubuntu") 427 | 428 | ## unikitty-dark 429 | 430 | ![unikitty-dark](./unikitty-dark.png "unikitty-dark") 431 | 432 | ## unikitty-light 433 | 434 | ![unikitty-light](./unikitty-light.png "unikitty-light") 435 | 436 | ## vs-code-dark-plus 437 | 438 | ![vs-code-dark-plus](./vs-code-dark-plus.png "vs-code-dark-plus") 439 | 440 | ## woodland 441 | 442 | ![woodland](./woodland.png "woodland") 443 | 444 | ## xcode-dusk 445 | 446 | ![xcode-dusk](./xcode-dusk.png "xcode-dusk") 447 | 448 | ## zenburn 449 | 450 | ![zenburn](./zenburn.png "zenburn") 451 | -------------------------------------------------------------------------------- /preset_examples/apathy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lukesampson/concfg/db879e76427457f72b5c29929da2cd01e966362c/preset_examples/apathy.png -------------------------------------------------------------------------------- /preset_examples/ashes.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lukesampson/concfg/db879e76427457f72b5c29929da2cd01e966362c/preset_examples/ashes.png -------------------------------------------------------------------------------- /preset_examples/atelier-cave-light.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lukesampson/concfg/db879e76427457f72b5c29929da2cd01e966362c/preset_examples/atelier-cave-light.png -------------------------------------------------------------------------------- /preset_examples/atelier-cave.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lukesampson/concfg/db879e76427457f72b5c29929da2cd01e966362c/preset_examples/atelier-cave.png -------------------------------------------------------------------------------- /preset_examples/atelier-dune-light.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lukesampson/concfg/db879e76427457f72b5c29929da2cd01e966362c/preset_examples/atelier-dune-light.png -------------------------------------------------------------------------------- /preset_examples/atelier-dune.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lukesampson/concfg/db879e76427457f72b5c29929da2cd01e966362c/preset_examples/atelier-dune.png -------------------------------------------------------------------------------- /preset_examples/atelier-estuary-light.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lukesampson/concfg/db879e76427457f72b5c29929da2cd01e966362c/preset_examples/atelier-estuary-light.png -------------------------------------------------------------------------------- /preset_examples/atelier-estuary.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lukesampson/concfg/db879e76427457f72b5c29929da2cd01e966362c/preset_examples/atelier-estuary.png -------------------------------------------------------------------------------- /preset_examples/atelier-forest-light.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lukesampson/concfg/db879e76427457f72b5c29929da2cd01e966362c/preset_examples/atelier-forest-light.png -------------------------------------------------------------------------------- /preset_examples/atelier-forest.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lukesampson/concfg/db879e76427457f72b5c29929da2cd01e966362c/preset_examples/atelier-forest.png -------------------------------------------------------------------------------- /preset_examples/atelier-heath-light.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lukesampson/concfg/db879e76427457f72b5c29929da2cd01e966362c/preset_examples/atelier-heath-light.png -------------------------------------------------------------------------------- /preset_examples/atelier-heath.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lukesampson/concfg/db879e76427457f72b5c29929da2cd01e966362c/preset_examples/atelier-heath.png -------------------------------------------------------------------------------- /preset_examples/atelier-lakeside-light.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lukesampson/concfg/db879e76427457f72b5c29929da2cd01e966362c/preset_examples/atelier-lakeside-light.png -------------------------------------------------------------------------------- /preset_examples/atelier-lakeside.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lukesampson/concfg/db879e76427457f72b5c29929da2cd01e966362c/preset_examples/atelier-lakeside.png -------------------------------------------------------------------------------- /preset_examples/atelier-plateau-light.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lukesampson/concfg/db879e76427457f72b5c29929da2cd01e966362c/preset_examples/atelier-plateau-light.png -------------------------------------------------------------------------------- /preset_examples/atelier-plateau.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lukesampson/concfg/db879e76427457f72b5c29929da2cd01e966362c/preset_examples/atelier-plateau.png -------------------------------------------------------------------------------- /preset_examples/atelier-savanna-light.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lukesampson/concfg/db879e76427457f72b5c29929da2cd01e966362c/preset_examples/atelier-savanna-light.png -------------------------------------------------------------------------------- /preset_examples/atelier-savanna.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lukesampson/concfg/db879e76427457f72b5c29929da2cd01e966362c/preset_examples/atelier-savanna.png -------------------------------------------------------------------------------- /preset_examples/atelier-seaside-light.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lukesampson/concfg/db879e76427457f72b5c29929da2cd01e966362c/preset_examples/atelier-seaside-light.png -------------------------------------------------------------------------------- /preset_examples/atelier-seaside.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lukesampson/concfg/db879e76427457f72b5c29929da2cd01e966362c/preset_examples/atelier-seaside.png -------------------------------------------------------------------------------- /preset_examples/atelier-sulphurpool-light.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lukesampson/concfg/db879e76427457f72b5c29929da2cd01e966362c/preset_examples/atelier-sulphurpool-light.png -------------------------------------------------------------------------------- /preset_examples/atelier-sulphurpool.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lukesampson/concfg/db879e76427457f72b5c29929da2cd01e966362c/preset_examples/atelier-sulphurpool.png -------------------------------------------------------------------------------- /preset_examples/back-to-the-code.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lukesampson/concfg/db879e76427457f72b5c29929da2cd01e966362c/preset_examples/back-to-the-code.png -------------------------------------------------------------------------------- /preset_examples/bespin.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lukesampson/concfg/db879e76427457f72b5c29929da2cd01e966362c/preset_examples/bespin.png -------------------------------------------------------------------------------- /preset_examples/bombyx.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lukesampson/concfg/db879e76427457f72b5c29929da2cd01e966362c/preset_examples/bombyx.png -------------------------------------------------------------------------------- /preset_examples/brewer.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lukesampson/concfg/db879e76427457f72b5c29929da2cd01e966362c/preset_examples/brewer.png -------------------------------------------------------------------------------- /preset_examples/bright.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lukesampson/concfg/db879e76427457f72b5c29929da2cd01e966362c/preset_examples/bright.png -------------------------------------------------------------------------------- /preset_examples/brushtrees-dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lukesampson/concfg/db879e76427457f72b5c29929da2cd01e966362c/preset_examples/brushtrees-dark.png -------------------------------------------------------------------------------- /preset_examples/brushtrees.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lukesampson/concfg/db879e76427457f72b5c29929da2cd01e966362c/preset_examples/brushtrees.png -------------------------------------------------------------------------------- /preset_examples/chalk.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lukesampson/concfg/db879e76427457f72b5c29929da2cd01e966362c/preset_examples/chalk.png -------------------------------------------------------------------------------- /preset_examples/circus.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lukesampson/concfg/db879e76427457f72b5c29929da2cd01e966362c/preset_examples/circus.png -------------------------------------------------------------------------------- /preset_examples/classic-dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lukesampson/concfg/db879e76427457f72b5c29929da2cd01e966362c/preset_examples/classic-dark.png -------------------------------------------------------------------------------- /preset_examples/classic-light.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lukesampson/concfg/db879e76427457f72b5c29929da2cd01e966362c/preset_examples/classic-light.png -------------------------------------------------------------------------------- /preset_examples/cmd-default.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lukesampson/concfg/db879e76427457f72b5c29929da2cd01e966362c/preset_examples/cmd-default.png -------------------------------------------------------------------------------- /preset_examples/cmd-legacy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lukesampson/concfg/db879e76427457f72b5c29929da2cd01e966362c/preset_examples/cmd-legacy.png -------------------------------------------------------------------------------- /preset_examples/codeschool.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lukesampson/concfg/db879e76427457f72b5c29929da2cd01e966362c/preset_examples/codeschool.png -------------------------------------------------------------------------------- /preset_examples/cupcake.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lukesampson/concfg/db879e76427457f72b5c29929da2cd01e966362c/preset_examples/cupcake.png -------------------------------------------------------------------------------- /preset_examples/cupertino.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lukesampson/concfg/db879e76427457f72b5c29929da2cd01e966362c/preset_examples/cupertino.png -------------------------------------------------------------------------------- /preset_examples/darktooth.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lukesampson/concfg/db879e76427457f72b5c29929da2cd01e966362c/preset_examples/darktooth.png -------------------------------------------------------------------------------- /preset_examples/default-dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lukesampson/concfg/db879e76427457f72b5c29929da2cd01e966362c/preset_examples/default-dark.png -------------------------------------------------------------------------------- /preset_examples/default-light.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lukesampson/concfg/db879e76427457f72b5c29929da2cd01e966362c/preset_examples/default-light.png -------------------------------------------------------------------------------- /preset_examples/dracula.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lukesampson/concfg/db879e76427457f72b5c29929da2cd01e966362c/preset_examples/dracula.png -------------------------------------------------------------------------------- /preset_examples/eighties.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lukesampson/concfg/db879e76427457f72b5c29929da2cd01e966362c/preset_examples/eighties.png -------------------------------------------------------------------------------- /preset_examples/embers.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lukesampson/concfg/db879e76427457f72b5c29929da2cd01e966362c/preset_examples/embers.png -------------------------------------------------------------------------------- /preset_examples/flat.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lukesampson/concfg/db879e76427457f72b5c29929da2cd01e966362c/preset_examples/flat.png -------------------------------------------------------------------------------- /preset_examples/github.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lukesampson/concfg/db879e76427457f72b5c29929da2cd01e966362c/preset_examples/github.png -------------------------------------------------------------------------------- /preset_examples/google-dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lukesampson/concfg/db879e76427457f72b5c29929da2cd01e966362c/preset_examples/google-dark.png -------------------------------------------------------------------------------- /preset_examples/google-light.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lukesampson/concfg/db879e76427457f72b5c29929da2cd01e966362c/preset_examples/google-light.png -------------------------------------------------------------------------------- /preset_examples/grayscale-dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lukesampson/concfg/db879e76427457f72b5c29929da2cd01e966362c/preset_examples/grayscale-dark.png -------------------------------------------------------------------------------- /preset_examples/grayscale-light.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lukesampson/concfg/db879e76427457f72b5c29929da2cd01e966362c/preset_examples/grayscale-light.png -------------------------------------------------------------------------------- /preset_examples/greenscreen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lukesampson/concfg/db879e76427457f72b5c29929da2cd01e966362c/preset_examples/greenscreen.png -------------------------------------------------------------------------------- /preset_examples/gruvbox-dark-hard.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lukesampson/concfg/db879e76427457f72b5c29929da2cd01e966362c/preset_examples/gruvbox-dark-hard.png -------------------------------------------------------------------------------- /preset_examples/gruvbox-dark-medium.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lukesampson/concfg/db879e76427457f72b5c29929da2cd01e966362c/preset_examples/gruvbox-dark-medium.png -------------------------------------------------------------------------------- /preset_examples/gruvbox-dark-pale.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lukesampson/concfg/db879e76427457f72b5c29929da2cd01e966362c/preset_examples/gruvbox-dark-pale.png -------------------------------------------------------------------------------- /preset_examples/gruvbox-dark-soft.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lukesampson/concfg/db879e76427457f72b5c29929da2cd01e966362c/preset_examples/gruvbox-dark-soft.png -------------------------------------------------------------------------------- /preset_examples/gruvbox-light-hard.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lukesampson/concfg/db879e76427457f72b5c29929da2cd01e966362c/preset_examples/gruvbox-light-hard.png -------------------------------------------------------------------------------- /preset_examples/gruvbox-light-medium.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lukesampson/concfg/db879e76427457f72b5c29929da2cd01e966362c/preset_examples/gruvbox-light-medium.png -------------------------------------------------------------------------------- /preset_examples/gruvbox-light-soft.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lukesampson/concfg/db879e76427457f72b5c29929da2cd01e966362c/preset_examples/gruvbox-light-soft.png -------------------------------------------------------------------------------- /preset_examples/harmonic-dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lukesampson/concfg/db879e76427457f72b5c29929da2cd01e966362c/preset_examples/harmonic-dark.png -------------------------------------------------------------------------------- /preset_examples/harmonic-light.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lukesampson/concfg/db879e76427457f72b5c29929da2cd01e966362c/preset_examples/harmonic-light.png -------------------------------------------------------------------------------- /preset_examples/hopscotch.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lukesampson/concfg/db879e76427457f72b5c29929da2cd01e966362c/preset_examples/hopscotch.png -------------------------------------------------------------------------------- /preset_examples/icy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lukesampson/concfg/db879e76427457f72b5c29929da2cd01e966362c/preset_examples/icy.png -------------------------------------------------------------------------------- /preset_examples/irblack.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lukesampson/concfg/db879e76427457f72b5c29929da2cd01e966362c/preset_examples/irblack.png -------------------------------------------------------------------------------- /preset_examples/isotope.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lukesampson/concfg/db879e76427457f72b5c29929da2cd01e966362c/preset_examples/isotope.png -------------------------------------------------------------------------------- /preset_examples/macintosh.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lukesampson/concfg/db879e76427457f72b5c29929da2cd01e966362c/preset_examples/macintosh.png -------------------------------------------------------------------------------- /preset_examples/marrakesh.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lukesampson/concfg/db879e76427457f72b5c29929da2cd01e966362c/preset_examples/marrakesh.png -------------------------------------------------------------------------------- /preset_examples/materia.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lukesampson/concfg/db879e76427457f72b5c29929da2cd01e966362c/preset_examples/materia.png -------------------------------------------------------------------------------- /preset_examples/material-darker.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lukesampson/concfg/db879e76427457f72b5c29929da2cd01e966362c/preset_examples/material-darker.png -------------------------------------------------------------------------------- /preset_examples/material-lighter.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lukesampson/concfg/db879e76427457f72b5c29929da2cd01e966362c/preset_examples/material-lighter.png -------------------------------------------------------------------------------- /preset_examples/material-palenight.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lukesampson/concfg/db879e76427457f72b5c29929da2cd01e966362c/preset_examples/material-palenight.png -------------------------------------------------------------------------------- /preset_examples/material.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lukesampson/concfg/db879e76427457f72b5c29929da2cd01e966362c/preset_examples/material.png -------------------------------------------------------------------------------- /preset_examples/mellow-purple.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lukesampson/concfg/db879e76427457f72b5c29929da2cd01e966362c/preset_examples/mellow-purple.png -------------------------------------------------------------------------------- /preset_examples/mexico-light.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lukesampson/concfg/db879e76427457f72b5c29929da2cd01e966362c/preset_examples/mexico-light.png -------------------------------------------------------------------------------- /preset_examples/mocha.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lukesampson/concfg/db879e76427457f72b5c29929da2cd01e966362c/preset_examples/mocha.png -------------------------------------------------------------------------------- /preset_examples/monokai.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lukesampson/concfg/db879e76427457f72b5c29929da2cd01e966362c/preset_examples/monokai.png -------------------------------------------------------------------------------- /preset_examples/mountain.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lukesampson/concfg/db879e76427457f72b5c29929da2cd01e966362c/preset_examples/mountain.png -------------------------------------------------------------------------------- /preset_examples/nord.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lukesampson/concfg/db879e76427457f72b5c29929da2cd01e966362c/preset_examples/nord.png -------------------------------------------------------------------------------- /preset_examples/ocean.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lukesampson/concfg/db879e76427457f72b5c29929da2cd01e966362c/preset_examples/ocean.png -------------------------------------------------------------------------------- /preset_examples/oceanicnext.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lukesampson/concfg/db879e76427457f72b5c29929da2cd01e966362c/preset_examples/oceanicnext.png -------------------------------------------------------------------------------- /preset_examples/one-light.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lukesampson/concfg/db879e76427457f72b5c29929da2cd01e966362c/preset_examples/one-light.png -------------------------------------------------------------------------------- /preset_examples/onedark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lukesampson/concfg/db879e76427457f72b5c29929da2cd01e966362c/preset_examples/onedark.png -------------------------------------------------------------------------------- /preset_examples/outrun-dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lukesampson/concfg/db879e76427457f72b5c29929da2cd01e966362c/preset_examples/outrun-dark.png -------------------------------------------------------------------------------- /preset_examples/paraiso.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lukesampson/concfg/db879e76427457f72b5c29929da2cd01e966362c/preset_examples/paraiso.png -------------------------------------------------------------------------------- /preset_examples/phd.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lukesampson/concfg/db879e76427457f72b5c29929da2cd01e966362c/preset_examples/phd.png -------------------------------------------------------------------------------- /preset_examples/pico.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lukesampson/concfg/db879e76427457f72b5c29929da2cd01e966362c/preset_examples/pico.png -------------------------------------------------------------------------------- /preset_examples/pop.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lukesampson/concfg/db879e76427457f72b5c29929da2cd01e966362c/preset_examples/pop.png -------------------------------------------------------------------------------- /preset_examples/porple.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lukesampson/concfg/db879e76427457f72b5c29929da2cd01e966362c/preset_examples/porple.png -------------------------------------------------------------------------------- /preset_examples/powershell-default.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lukesampson/concfg/db879e76427457f72b5c29929da2cd01e966362c/preset_examples/powershell-default.png -------------------------------------------------------------------------------- /preset_examples/powershell-legacy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lukesampson/concfg/db879e76427457f72b5c29929da2cd01e966362c/preset_examples/powershell-legacy.png -------------------------------------------------------------------------------- /preset_examples/railscasts.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lukesampson/concfg/db879e76427457f72b5c29929da2cd01e966362c/preset_examples/railscasts.png -------------------------------------------------------------------------------- /preset_examples/rebecca.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lukesampson/concfg/db879e76427457f72b5c29929da2cd01e966362c/preset_examples/rebecca.png -------------------------------------------------------------------------------- /preset_examples/seoul256.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lukesampson/concfg/db879e76427457f72b5c29929da2cd01e966362c/preset_examples/seoul256.png -------------------------------------------------------------------------------- /preset_examples/seti.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lukesampson/concfg/db879e76427457f72b5c29929da2cd01e966362c/preset_examples/seti.png -------------------------------------------------------------------------------- /preset_examples/shapeshifter.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lukesampson/concfg/db879e76427457f72b5c29929da2cd01e966362c/preset_examples/shapeshifter.png -------------------------------------------------------------------------------- /preset_examples/solarflare.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lukesampson/concfg/db879e76427457f72b5c29929da2cd01e966362c/preset_examples/solarflare.png -------------------------------------------------------------------------------- /preset_examples/solarized-dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lukesampson/concfg/db879e76427457f72b5c29929da2cd01e966362c/preset_examples/solarized-dark.png -------------------------------------------------------------------------------- /preset_examples/solarized-light.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lukesampson/concfg/db879e76427457f72b5c29929da2cd01e966362c/preset_examples/solarized-light.png -------------------------------------------------------------------------------- /preset_examples/spacemacs.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lukesampson/concfg/db879e76427457f72b5c29929da2cd01e966362c/preset_examples/spacemacs.png -------------------------------------------------------------------------------- /preset_examples/summerfruit-dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lukesampson/concfg/db879e76427457f72b5c29929da2cd01e966362c/preset_examples/summerfruit-dark.png -------------------------------------------------------------------------------- /preset_examples/summerfruit-light.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lukesampson/concfg/db879e76427457f72b5c29929da2cd01e966362c/preset_examples/summerfruit-light.png -------------------------------------------------------------------------------- /preset_examples/tomorrow-night.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lukesampson/concfg/db879e76427457f72b5c29929da2cd01e966362c/preset_examples/tomorrow-night.png -------------------------------------------------------------------------------- /preset_examples/tomorrow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lukesampson/concfg/db879e76427457f72b5c29929da2cd01e966362c/preset_examples/tomorrow.png -------------------------------------------------------------------------------- /preset_examples/tube.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lukesampson/concfg/db879e76427457f72b5c29929da2cd01e966362c/preset_examples/tube.png -------------------------------------------------------------------------------- /preset_examples/twilight.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lukesampson/concfg/db879e76427457f72b5c29929da2cd01e966362c/preset_examples/twilight.png -------------------------------------------------------------------------------- /preset_examples/ubuntu.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lukesampson/concfg/db879e76427457f72b5c29929da2cd01e966362c/preset_examples/ubuntu.png -------------------------------------------------------------------------------- /preset_examples/unikitty-dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lukesampson/concfg/db879e76427457f72b5c29929da2cd01e966362c/preset_examples/unikitty-dark.png -------------------------------------------------------------------------------- /preset_examples/unikitty-light.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lukesampson/concfg/db879e76427457f72b5c29929da2cd01e966362c/preset_examples/unikitty-light.png -------------------------------------------------------------------------------- /preset_examples/vs-code-dark-plus.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lukesampson/concfg/db879e76427457f72b5c29929da2cd01e966362c/preset_examples/vs-code-dark-plus.png -------------------------------------------------------------------------------- /preset_examples/woodland.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lukesampson/concfg/db879e76427457f72b5c29929da2cd01e966362c/preset_examples/woodland.png -------------------------------------------------------------------------------- /preset_examples/xcode-dusk.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lukesampson/concfg/db879e76427457f72b5c29929da2cd01e966362c/preset_examples/xcode-dusk.png -------------------------------------------------------------------------------- /preset_examples/zenburn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lukesampson/concfg/db879e76427457f72b5c29929da2cd01e966362c/preset_examples/zenburn.png -------------------------------------------------------------------------------- /presets/3024.json: -------------------------------------------------------------------------------- 1 | { 2 | "black": "#090300", 3 | "dark_blue": "#3a3432", 4 | "dark_green": "#4a4543", 5 | "dark_cyan": "#5c5855", 6 | "dark_red": "#807d7c", 7 | "dark_magenta": "#a5a2a2", 8 | "dark_yellow": "#d6d5d4", 9 | "gray": "#f7f7f7", 10 | "dark_gray": "#db2d20", 11 | "blue": "#e8bbd0", 12 | "green": "#fded02", 13 | "cyan": "#01a252", 14 | "red": "#b5e4f4", 15 | "magenta": "#01a0e4", 16 | "yellow": "#a16a94", 17 | "white": "#cdab53", 18 | "screen_colors": "dark_magenta,black", 19 | "popup_colors": "dark_red,dark_blue" 20 | } 21 | -------------------------------------------------------------------------------- /presets/apathy.json: -------------------------------------------------------------------------------- 1 | { 2 | "black": "#031A16", 3 | "dark_blue": "#0B342D", 4 | "dark_green": "#184E45", 5 | "dark_cyan": "#2B685E", 6 | "dark_red": "#5F9C92", 7 | "dark_magenta": "#81B5AC", 8 | "dark_yellow": "#A7CEC8", 9 | "gray": "#D2E7E4", 10 | "dark_gray": "#3E9688", 11 | "blue": "#3E7996", 12 | "green": "#3E4C96", 13 | "cyan": "#883E96", 14 | "red": "#963E4C", 15 | "magenta": "#96883E", 16 | "yellow": "#4C963E", 17 | "white": "#3E965B", 18 | "screen_colors": "dark_magenta,black", 19 | "popup_colors": "dark_red,dark_blue" 20 | } 21 | -------------------------------------------------------------------------------- /presets/ashes.json: -------------------------------------------------------------------------------- 1 | { 2 | "black": "#1C2023", 3 | "dark_blue": "#393F45", 4 | "dark_green": "#565E65", 5 | "dark_cyan": "#747C84", 6 | "dark_red": "#ADB3BA", 7 | "dark_magenta": "#C7CCD1", 8 | "dark_yellow": "#DFE2E5", 9 | "gray": "#F3F4F5", 10 | "dark_gray": "#C7AE95", 11 | "blue": "#C7C795", 12 | "green": "#AEC795", 13 | "cyan": "#95C7AE", 14 | "red": "#95AEC7", 15 | "magenta": "#AE95C7", 16 | "yellow": "#C795AE", 17 | "white": "#C79595", 18 | "screen_colors": "dark_magenta,black", 19 | "popup_colors": "dark_red,dark_blue" 20 | } 21 | -------------------------------------------------------------------------------- /presets/atelier-cave-light.json: -------------------------------------------------------------------------------- 1 | { 2 | "black": "#efecf4", 3 | "dark_blue": "#e2dfe7", 4 | "dark_green": "#8b8792", 5 | "dark_cyan": "#7e7887", 6 | "dark_red": "#655f6d", 7 | "dark_magenta": "#585260", 8 | "dark_yellow": "#26232a", 9 | "gray": "#19171c", 10 | "dark_gray": "#be4678", 11 | "blue": "#aa573c", 12 | "green": "#a06e3b", 13 | "cyan": "#2a9292", 14 | "red": "#398bc6", 15 | "magenta": "#576ddb", 16 | "yellow": "#955ae7", 17 | "white": "#bf40bf", 18 | "screen_colors": "dark_magenta,black", 19 | "popup_colors": "dark_red,dark_blue" 20 | } 21 | -------------------------------------------------------------------------------- /presets/atelier-cave.json: -------------------------------------------------------------------------------- 1 | { 2 | "black": "#19171c", 3 | "dark_blue": "#26232a", 4 | "dark_green": "#585260", 5 | "dark_cyan": "#655f6d", 6 | "dark_red": "#7e7887", 7 | "dark_magenta": "#8b8792", 8 | "dark_yellow": "#e2dfe7", 9 | "gray": "#efecf4", 10 | "dark_gray": "#be4678", 11 | "blue": "#aa573c", 12 | "green": "#a06e3b", 13 | "cyan": "#2a9292", 14 | "red": "#398bc6", 15 | "magenta": "#576ddb", 16 | "yellow": "#955ae7", 17 | "white": "#bf40bf", 18 | "screen_colors": "dark_magenta,black", 19 | "popup_colors": "dark_red,dark_blue" 20 | } 21 | -------------------------------------------------------------------------------- /presets/atelier-dune-light.json: -------------------------------------------------------------------------------- 1 | { 2 | "black": "#fefbec", 3 | "dark_blue": "#e8e4cf", 4 | "dark_green": "#a6a28c", 5 | "dark_cyan": "#999580", 6 | "dark_red": "#7d7a68", 7 | "dark_magenta": "#6e6b5e", 8 | "dark_yellow": "#292824", 9 | "gray": "#20201d", 10 | "dark_gray": "#d73737", 11 | "blue": "#b65611", 12 | "green": "#ae9513", 13 | "cyan": "#60ac39", 14 | "red": "#1fad83", 15 | "magenta": "#6684e1", 16 | "yellow": "#b854d4", 17 | "white": "#d43552", 18 | "screen_colors": "dark_magenta,black", 19 | "popup_colors": "dark_red,dark_blue" 20 | } 21 | -------------------------------------------------------------------------------- /presets/atelier-dune.json: -------------------------------------------------------------------------------- 1 | { 2 | "black": "#20201d", 3 | "dark_blue": "#292824", 4 | "dark_green": "#6e6b5e", 5 | "dark_cyan": "#7d7a68", 6 | "dark_red": "#999580", 7 | "dark_magenta": "#a6a28c", 8 | "dark_yellow": "#e8e4cf", 9 | "gray": "#fefbec", 10 | "dark_gray": "#d73737", 11 | "blue": "#b65611", 12 | "green": "#ae9513", 13 | "cyan": "#60ac39", 14 | "red": "#1fad83", 15 | "magenta": "#6684e1", 16 | "yellow": "#b854d4", 17 | "white": "#d43552", 18 | "screen_colors": "dark_magenta,black", 19 | "popup_colors": "dark_red,dark_blue" 20 | } 21 | -------------------------------------------------------------------------------- /presets/atelier-estuary-light.json: -------------------------------------------------------------------------------- 1 | { 2 | "black": "#f4f3ec", 3 | "dark_blue": "#e7e6df", 4 | "dark_green": "#929181", 5 | "dark_cyan": "#878573", 6 | "dark_red": "#6c6b5a", 7 | "dark_magenta": "#5f5e4e", 8 | "dark_yellow": "#302f27", 9 | "gray": "#22221b", 10 | "dark_gray": "#ba6236", 11 | "blue": "#ae7313", 12 | "green": "#a5980d", 13 | "cyan": "#7d9726", 14 | "red": "#5b9d48", 15 | "magenta": "#36a166", 16 | "yellow": "#5f9182", 17 | "white": "#9d6c7c", 18 | "screen_colors": "dark_magenta,black", 19 | "popup_colors": "dark_red,dark_blue" 20 | } 21 | -------------------------------------------------------------------------------- /presets/atelier-estuary.json: -------------------------------------------------------------------------------- 1 | { 2 | "black": "#22221b", 3 | "dark_blue": "#302f27", 4 | "dark_green": "#5f5e4e", 5 | "dark_cyan": "#6c6b5a", 6 | "dark_red": "#878573", 7 | "dark_magenta": "#929181", 8 | "dark_yellow": "#e7e6df", 9 | "gray": "#f4f3ec", 10 | "dark_gray": "#ba6236", 11 | "blue": "#ae7313", 12 | "green": "#a5980d", 13 | "cyan": "#7d9726", 14 | "red": "#5b9d48", 15 | "magenta": "#36a166", 16 | "yellow": "#5f9182", 17 | "white": "#9d6c7c", 18 | "screen_colors": "dark_magenta,black", 19 | "popup_colors": "dark_red,dark_blue" 20 | } 21 | -------------------------------------------------------------------------------- /presets/atelier-forest-light.json: -------------------------------------------------------------------------------- 1 | { 2 | "black": "#f1efee", 3 | "dark_blue": "#e6e2e0", 4 | "dark_green": "#a8a19f", 5 | "dark_cyan": "#9c9491", 6 | "dark_red": "#766e6b", 7 | "dark_magenta": "#68615e", 8 | "dark_yellow": "#2c2421", 9 | "gray": "#1b1918", 10 | "dark_gray": "#f22c40", 11 | "blue": "#df5320", 12 | "green": "#c38418", 13 | "cyan": "#7b9726", 14 | "red": "#3d97b8", 15 | "magenta": "#407ee7", 16 | "yellow": "#6666ea", 17 | "white": "#c33ff3", 18 | "screen_colors": "dark_magenta,black", 19 | "popup_colors": "dark_red,dark_blue" 20 | } 21 | -------------------------------------------------------------------------------- /presets/atelier-forest.json: -------------------------------------------------------------------------------- 1 | { 2 | "black": "#1b1918", 3 | "dark_blue": "#2c2421", 4 | "dark_green": "#68615e", 5 | "dark_cyan": "#766e6b", 6 | "dark_red": "#9c9491", 7 | "dark_magenta": "#a8a19f", 8 | "dark_yellow": "#e6e2e0", 9 | "gray": "#f1efee", 10 | "dark_gray": "#f22c40", 11 | "blue": "#df5320", 12 | "green": "#c38418", 13 | "cyan": "#7b9726", 14 | "red": "#3d97b8", 15 | "magenta": "#407ee7", 16 | "yellow": "#6666ea", 17 | "white": "#c33ff3", 18 | "screen_colors": "dark_magenta,black", 19 | "popup_colors": "dark_red,dark_blue" 20 | } 21 | -------------------------------------------------------------------------------- /presets/atelier-heath-light.json: -------------------------------------------------------------------------------- 1 | { 2 | "black": "#f7f3f7", 3 | "dark_blue": "#d8cad8", 4 | "dark_green": "#ab9bab", 5 | "dark_cyan": "#9e8f9e", 6 | "dark_red": "#776977", 7 | "dark_magenta": "#695d69", 8 | "dark_yellow": "#292329", 9 | "gray": "#1b181b", 10 | "dark_gray": "#ca402b", 11 | "blue": "#a65926", 12 | "green": "#bb8a35", 13 | "cyan": "#918b3b", 14 | "red": "#159393", 15 | "magenta": "#516aec", 16 | "yellow": "#7b59c0", 17 | "white": "#cc33cc", 18 | "screen_colors": "dark_magenta,black", 19 | "popup_colors": "dark_red,dark_blue" 20 | } 21 | -------------------------------------------------------------------------------- /presets/atelier-heath.json: -------------------------------------------------------------------------------- 1 | { 2 | "black": "#1b181b", 3 | "dark_blue": "#292329", 4 | "dark_green": "#695d69", 5 | "dark_cyan": "#776977", 6 | "dark_red": "#9e8f9e", 7 | "dark_magenta": "#ab9bab", 8 | "dark_yellow": "#d8cad8", 9 | "gray": "#f7f3f7", 10 | "dark_gray": "#ca402b", 11 | "blue": "#a65926", 12 | "green": "#bb8a35", 13 | "cyan": "#918b3b", 14 | "red": "#159393", 15 | "magenta": "#516aec", 16 | "yellow": "#7b59c0", 17 | "white": "#cc33cc", 18 | "screen_colors": "dark_magenta,black", 19 | "popup_colors": "dark_red,dark_blue" 20 | } 21 | -------------------------------------------------------------------------------- /presets/atelier-lakeside-light.json: -------------------------------------------------------------------------------- 1 | { 2 | "black": "#ebf8ff", 3 | "dark_blue": "#c1e4f6", 4 | "dark_green": "#7ea2b4", 5 | "dark_cyan": "#7195a8", 6 | "dark_red": "#5a7b8c", 7 | "dark_magenta": "#516d7b", 8 | "dark_yellow": "#1f292e", 9 | "gray": "#161b1d", 10 | "dark_gray": "#d22d72", 11 | "blue": "#935c25", 12 | "green": "#8a8a0f", 13 | "cyan": "#568c3b", 14 | "red": "#2d8f6f", 15 | "magenta": "#257fad", 16 | "yellow": "#6b6bb8", 17 | "white": "#b72dd2", 18 | "screen_colors": "dark_magenta,black", 19 | "popup_colors": "dark_red,dark_blue" 20 | } 21 | -------------------------------------------------------------------------------- /presets/atelier-lakeside.json: -------------------------------------------------------------------------------- 1 | { 2 | "black": "#161b1d", 3 | "dark_blue": "#1f292e", 4 | "dark_green": "#516d7b", 5 | "dark_cyan": "#5a7b8c", 6 | "dark_red": "#7195a8", 7 | "dark_magenta": "#7ea2b4", 8 | "dark_yellow": "#c1e4f6", 9 | "gray": "#ebf8ff", 10 | "dark_gray": "#d22d72", 11 | "blue": "#935c25", 12 | "green": "#8a8a0f", 13 | "cyan": "#568c3b", 14 | "red": "#2d8f6f", 15 | "magenta": "#257fad", 16 | "yellow": "#6b6bb8", 17 | "white": "#b72dd2", 18 | "screen_colors": "dark_magenta,black", 19 | "popup_colors": "dark_red,dark_blue" 20 | } 21 | -------------------------------------------------------------------------------- /presets/atelier-plateau-light.json: -------------------------------------------------------------------------------- 1 | { 2 | "black": "#f4ecec", 3 | "dark_blue": "#e7dfdf", 4 | "dark_green": "#8a8585", 5 | "dark_cyan": "#7e7777", 6 | "dark_red": "#655d5d", 7 | "dark_magenta": "#585050", 8 | "dark_yellow": "#292424", 9 | "gray": "#1b1818", 10 | "dark_gray": "#ca4949", 11 | "blue": "#b45a3c", 12 | "green": "#a06e3b", 13 | "cyan": "#4b8b8b", 14 | "red": "#5485b6", 15 | "magenta": "#7272ca", 16 | "yellow": "#8464c4", 17 | "white": "#bd5187", 18 | "screen_colors": "dark_magenta,black", 19 | "popup_colors": "dark_red,dark_blue" 20 | } 21 | -------------------------------------------------------------------------------- /presets/atelier-plateau.json: -------------------------------------------------------------------------------- 1 | { 2 | "black": "#1b1818", 3 | "dark_blue": "#292424", 4 | "dark_green": "#585050", 5 | "dark_cyan": "#655d5d", 6 | "dark_red": "#7e7777", 7 | "dark_magenta": "#8a8585", 8 | "dark_yellow": "#e7dfdf", 9 | "gray": "#f4ecec", 10 | "dark_gray": "#ca4949", 11 | "blue": "#b45a3c", 12 | "green": "#a06e3b", 13 | "cyan": "#4b8b8b", 14 | "red": "#5485b6", 15 | "magenta": "#7272ca", 16 | "yellow": "#8464c4", 17 | "white": "#bd5187", 18 | "screen_colors": "dark_magenta,black", 19 | "popup_colors": "dark_red,dark_blue" 20 | } 21 | -------------------------------------------------------------------------------- /presets/atelier-savanna-light.json: -------------------------------------------------------------------------------- 1 | { 2 | "black": "#ecf4ee", 3 | "dark_blue": "#dfe7e2", 4 | "dark_green": "#87928a", 5 | "dark_cyan": "#78877d", 6 | "dark_red": "#5f6d64", 7 | "dark_magenta": "#526057", 8 | "dark_yellow": "#232a25", 9 | "gray": "#171c19", 10 | "dark_gray": "#b16139", 11 | "blue": "#9f713c", 12 | "green": "#a07e3b", 13 | "cyan": "#489963", 14 | "red": "#1c9aa0", 15 | "magenta": "#478c90", 16 | "yellow": "#55859b", 17 | "white": "#867469", 18 | "screen_colors": "dark_magenta,black", 19 | "popup_colors": "dark_red,dark_blue" 20 | } 21 | -------------------------------------------------------------------------------- /presets/atelier-savanna.json: -------------------------------------------------------------------------------- 1 | { 2 | "black": "#171c19", 3 | "dark_blue": "#232a25", 4 | "dark_green": "#526057", 5 | "dark_cyan": "#5f6d64", 6 | "dark_red": "#78877d", 7 | "dark_magenta": "#87928a", 8 | "dark_yellow": "#dfe7e2", 9 | "gray": "#ecf4ee", 10 | "dark_gray": "#b16139", 11 | "blue": "#9f713c", 12 | "green": "#a07e3b", 13 | "cyan": "#489963", 14 | "red": "#1c9aa0", 15 | "magenta": "#478c90", 16 | "yellow": "#55859b", 17 | "white": "#867469", 18 | "screen_colors": "dark_magenta,black", 19 | "popup_colors": "dark_red,dark_blue" 20 | } 21 | -------------------------------------------------------------------------------- /presets/atelier-seaside-light.json: -------------------------------------------------------------------------------- 1 | { 2 | "black": "#f4fbf4", 3 | "dark_blue": "#cfe8cf", 4 | "dark_green": "#8ca68c", 5 | "dark_cyan": "#809980", 6 | "dark_red": "#687d68", 7 | "dark_magenta": "#5e6e5e", 8 | "dark_yellow": "#242924", 9 | "gray": "#131513", 10 | "dark_gray": "#e6193c", 11 | "blue": "#87711d", 12 | "green": "#98981b", 13 | "cyan": "#29a329", 14 | "red": "#1999b3", 15 | "magenta": "#3d62f5", 16 | "yellow": "#ad2bee", 17 | "white": "#e619c3", 18 | "screen_colors": "dark_magenta,black", 19 | "popup_colors": "dark_red,dark_blue" 20 | } 21 | -------------------------------------------------------------------------------- /presets/atelier-seaside.json: -------------------------------------------------------------------------------- 1 | { 2 | "black": "#131513", 3 | "dark_blue": "#242924", 4 | "dark_green": "#5e6e5e", 5 | "dark_cyan": "#687d68", 6 | "dark_red": "#809980", 7 | "dark_magenta": "#8ca68c", 8 | "dark_yellow": "#cfe8cf", 9 | "gray": "#f4fbf4", 10 | "dark_gray": "#e6193c", 11 | "blue": "#87711d", 12 | "green": "#98981b", 13 | "cyan": "#29a329", 14 | "red": "#1999b3", 15 | "magenta": "#3d62f5", 16 | "yellow": "#ad2bee", 17 | "white": "#e619c3", 18 | "screen_colors": "dark_magenta,black", 19 | "popup_colors": "dark_red,dark_blue" 20 | } 21 | -------------------------------------------------------------------------------- /presets/atelier-sulphurpool-light.json: -------------------------------------------------------------------------------- 1 | { 2 | "black": "#f5f7ff", 3 | "dark_blue": "#dfe2f1", 4 | "dark_green": "#979db4", 5 | "dark_cyan": "#898ea4", 6 | "dark_red": "#6b7394", 7 | "dark_magenta": "#5e6687", 8 | "dark_yellow": "#293256", 9 | "gray": "#202746", 10 | "dark_gray": "#c94922", 11 | "blue": "#c76b29", 12 | "green": "#c08b30", 13 | "cyan": "#ac9739", 14 | "red": "#22a2c9", 15 | "magenta": "#3d8fd1", 16 | "yellow": "#6679cc", 17 | "white": "#9c637a", 18 | "screen_colors": "dark_magenta,black", 19 | "popup_colors": "dark_red,dark_blue" 20 | } 21 | -------------------------------------------------------------------------------- /presets/atelier-sulphurpool.json: -------------------------------------------------------------------------------- 1 | { 2 | "black": "#202746", 3 | "dark_blue": "#293256", 4 | "dark_green": "#5e6687", 5 | "dark_cyan": "#6b7394", 6 | "dark_red": "#898ea4", 7 | "dark_magenta": "#979db4", 8 | "dark_yellow": "#dfe2f1", 9 | "gray": "#f5f7ff", 10 | "dark_gray": "#c94922", 11 | "blue": "#c76b29", 12 | "green": "#c08b30", 13 | "cyan": "#ac9739", 14 | "red": "#22a2c9", 15 | "magenta": "#3d8fd1", 16 | "yellow": "#6679cc", 17 | "white": "#9c637a", 18 | "screen_colors": "dark_magenta,black", 19 | "popup_colors": "dark_red,dark_blue" 20 | } 21 | -------------------------------------------------------------------------------- /presets/back-to-the-code.json: -------------------------------------------------------------------------------- 1 | { 2 | "black": "#1c1d21", 3 | "dark_blue": "#4FB4D8", 4 | "dark_green": "#1d6608", 5 | "dark_cyan": "#00DCDC", 6 | "dark_red": "#EB3D54", 7 | "dark_magenta": "#9b37e2", 8 | "dark_yellow": "#cd9731", 9 | "gray": "#CBCDD2", 10 | "dark_gray": "#69666d", 11 | "blue": "#79D9F1", 12 | "green": "#5DD8B7", 13 | "cyan": "#FF8A54", 14 | "red": "#f44747", 15 | "magenta": "#b267e6", 16 | "yellow": "#E5CD52", 17 | "white": "#fafafc", 18 | "screen_colors": "gray,black", 19 | "popup_colors": "dark_magenta,white" 20 | } 21 | -------------------------------------------------------------------------------- /presets/basic-reset.json: -------------------------------------------------------------------------------- 1 | { 2 | "font_face": "", 3 | "font_true_type": false, 4 | "font_size": "0x14", 5 | "font_weight": 0, 6 | "cursor_size": "small", 7 | "window_size": "80x25", 8 | "screen_buffer_size": "80x200", 9 | "command_history_length": 50, 10 | "num_history_buffers": 4, 11 | "quick_edit": true, 12 | "insert_mode": true, 13 | "fullscreen": false, 14 | "load_console_IME": true 15 | } 16 | -------------------------------------------------------------------------------- /presets/basic.json: -------------------------------------------------------------------------------- 1 | { 2 | "font_face": "Lucida Console", 3 | "font_true_type": true, 4 | "font_size": "0x14", 5 | "font_weight": 400, 6 | "cursor_size": "small", 7 | "window_size": "80x25", 8 | "screen_buffer_size": "80x1000", 9 | "command_history_length": 50, 10 | "num_history_buffers": 4, 11 | "quick_edit": false, 12 | "insert_mode": true, 13 | "fullscreen": false, 14 | "load_console_IME": true 15 | } 16 | -------------------------------------------------------------------------------- /presets/bespin.json: -------------------------------------------------------------------------------- 1 | { 2 | "black": "#28211c", 3 | "dark_blue": "#36312e", 4 | "dark_green": "#5e5d5c", 5 | "dark_cyan": "#666666", 6 | "dark_red": "#797977", 7 | "dark_magenta": "#8a8986", 8 | "dark_yellow": "#9d9b97", 9 | "gray": "#baae9e", 10 | "dark_gray": "#cf6a4c", 11 | "blue": "#cf7d34", 12 | "green": "#f9ee98", 13 | "cyan": "#54be0d", 14 | "red": "#afc4db", 15 | "magenta": "#5ea6ea", 16 | "yellow": "#9b859d", 17 | "white": "#937121", 18 | "screen_colors": "dark_magenta,black", 19 | "popup_colors": "dark_red,dark_blue" 20 | } 21 | -------------------------------------------------------------------------------- /presets/bombyx.json: -------------------------------------------------------------------------------- 1 | { 2 | "black": "#272a2b", 3 | "dark_blue": "#446c74", 4 | "dark_green": "#8e9966", 5 | "dark_cyan": "#669199", 6 | "dark_red": "#c74438", 7 | "dark_magenta": "#b34d91", 8 | "dark_yellow": "#998b66", 9 | "gray": "#d5cebe", 10 | "dark_gray": "#c2baa8", 11 | "blue": "#3bd8f7", 12 | "green": "#bce52a", 13 | "cyan": "#b8f3ff", 14 | "red": "#ff857a", 15 | "magenta": "#e166b8", 16 | "yellow": "#ffcb47", 17 | "white": "#ebe8e0", 18 | "screen_colors": "gray,black", 19 | "popup_colors": "dark_blue,gray" 20 | } 21 | -------------------------------------------------------------------------------- /presets/brewer.json: -------------------------------------------------------------------------------- 1 | { 2 | "black": "#0c0d0e", 3 | "dark_blue": "#2e2f30", 4 | "dark_green": "#515253", 5 | "dark_cyan": "#737475", 6 | "dark_red": "#959697", 7 | "dark_magenta": "#b7b8b9", 8 | "dark_yellow": "#dadbdc", 9 | "gray": "#fcfdfe", 10 | "dark_gray": "#e31a1c", 11 | "blue": "#e6550d", 12 | "green": "#dca060", 13 | "cyan": "#31a354", 14 | "red": "#80b1d3", 15 | "magenta": "#3182bd", 16 | "yellow": "#756bb1", 17 | "white": "#b15928", 18 | "screen_colors": "dark_magenta,black", 19 | "popup_colors": "dark_red,dark_blue" 20 | } 21 | -------------------------------------------------------------------------------- /presets/bright.json: -------------------------------------------------------------------------------- 1 | { 2 | "black": "#000000", 3 | "dark_blue": "#303030", 4 | "dark_green": "#505050", 5 | "dark_cyan": "#b0b0b0", 6 | "dark_red": "#d0d0d0", 7 | "dark_magenta": "#e0e0e0", 8 | "dark_yellow": "#f5f5f5", 9 | "gray": "#ffffff", 10 | "dark_gray": "#fb0120", 11 | "blue": "#fc6d24", 12 | "green": "#fda331", 13 | "cyan": "#a1c659", 14 | "red": "#76c7b7", 15 | "magenta": "#6fb3d2", 16 | "yellow": "#d381c3", 17 | "white": "#be643c", 18 | "screen_colors": "dark_magenta,black", 19 | "popup_colors": "dark_red,dark_blue" 20 | } 21 | -------------------------------------------------------------------------------- /presets/brushtrees-dark.json: -------------------------------------------------------------------------------- 1 | { 2 | "black": "#485867", 3 | "dark_blue": "#5A6D7A", 4 | "dark_green": "#6D828E", 5 | "dark_cyan": "#8299A1", 6 | "dark_red": "#98AFB5", 7 | "dark_magenta": "#B0C5C8", 8 | "dark_yellow": "#C9DBDC", 9 | "gray": "#E3EFEF", 10 | "dark_gray": "#b38686", 11 | "blue": "#d8bba2", 12 | "green": "#aab386", 13 | "cyan": "#87b386", 14 | "red": "#86b3b3", 15 | "magenta": "#868cb3", 16 | "yellow": "#b386b2", 17 | "white": "#b39f9f", 18 | "screen_colors": "dark_magenta,black", 19 | "popup_colors": "dark_red,dark_blue" 20 | } 21 | -------------------------------------------------------------------------------- /presets/brushtrees.json: -------------------------------------------------------------------------------- 1 | { 2 | "black": "#E3EFEF", 3 | "dark_blue": "#C9DBDC", 4 | "dark_green": "#B0C5C8", 5 | "dark_cyan": "#98AFB5", 6 | "dark_red": "#8299A1", 7 | "dark_magenta": "#6D828E", 8 | "dark_yellow": "#5A6D7A", 9 | "gray": "#485867", 10 | "dark_gray": "#b38686", 11 | "blue": "#d8bba2", 12 | "green": "#aab386", 13 | "cyan": "#87b386", 14 | "red": "#86b3b3", 15 | "magenta": "#868cb3", 16 | "yellow": "#b386b2", 17 | "white": "#b39f9f", 18 | "screen_colors": "dark_magenta,black", 19 | "popup_colors": "dark_red,dark_blue" 20 | } 21 | -------------------------------------------------------------------------------- /presets/chalk.json: -------------------------------------------------------------------------------- 1 | { 2 | "black": "#151515", 3 | "dark_blue": "#202020", 4 | "dark_green": "#303030", 5 | "dark_cyan": "#505050", 6 | "dark_red": "#b0b0b0", 7 | "dark_magenta": "#d0d0d0", 8 | "dark_yellow": "#e0e0e0", 9 | "gray": "#f5f5f5", 10 | "dark_gray": "#fb9fb1", 11 | "blue": "#eda987", 12 | "green": "#ddb26f", 13 | "cyan": "#acc267", 14 | "red": "#12cfc0", 15 | "magenta": "#6fc2ef", 16 | "yellow": "#e1a3ee", 17 | "white": "#deaf8f", 18 | "screen_colors": "dark_magenta,black", 19 | "popup_colors": "dark_red,dark_blue" 20 | } 21 | -------------------------------------------------------------------------------- /presets/circus.json: -------------------------------------------------------------------------------- 1 | { 2 | "black": "#191919", 3 | "dark_blue": "#202020", 4 | "dark_green": "#303030", 5 | "dark_cyan": "#5f5a60", 6 | "dark_red": "#505050", 7 | "dark_magenta": "#a7a7a7", 8 | "dark_yellow": "#808080", 9 | "gray": "#ffffff", 10 | "dark_gray": "#dc657d", 11 | "blue": "#4bb1a7", 12 | "green": "#c3ba63", 13 | "cyan": "#84b97c", 14 | "red": "#4bb1a7", 15 | "magenta": "#639ee4", 16 | "yellow": "#b888e2", 17 | "white": "#b888e2", 18 | "screen_colors": "dark_magenta,black", 19 | "popup_colors": "dark_red,dark_blue" 20 | } 21 | -------------------------------------------------------------------------------- /presets/classic-dark.json: -------------------------------------------------------------------------------- 1 | { 2 | "black": "#151515", 3 | "dark_blue": "#202020", 4 | "dark_green": "#303030", 5 | "dark_cyan": "#505050", 6 | "dark_red": "#B0B0B0", 7 | "dark_magenta": "#D0D0D0", 8 | "dark_yellow": "#E0E0E0", 9 | "gray": "#F5F5F5", 10 | "dark_gray": "#AC4142", 11 | "blue": "#D28445", 12 | "green": "#F4BF75", 13 | "cyan": "#90A959", 14 | "red": "#75B5AA", 15 | "magenta": "#6A9FB5", 16 | "yellow": "#AA759F", 17 | "white": "#8F5536", 18 | "screen_colors": "dark_magenta,black", 19 | "popup_colors": "dark_red,dark_blue" 20 | } 21 | -------------------------------------------------------------------------------- /presets/classic-light.json: -------------------------------------------------------------------------------- 1 | { 2 | "black": "#F5F5F5", 3 | "dark_blue": "#E0E0E0", 4 | "dark_green": "#D0D0D0", 5 | "dark_cyan": "#B0B0B0", 6 | "dark_red": "#505050", 7 | "dark_magenta": "#303030", 8 | "dark_yellow": "#202020", 9 | "gray": "#151515", 10 | "dark_gray": "#AC4142", 11 | "blue": "#D28445", 12 | "green": "#F4BF75", 13 | "cyan": "#90A959", 14 | "red": "#75B5AA", 15 | "magenta": "#6A9FB5", 16 | "yellow": "#AA759F", 17 | "white": "#8F5536", 18 | "screen_colors": "dark_magenta,black", 19 | "popup_colors": "dark_red,dark_blue" 20 | } 21 | -------------------------------------------------------------------------------- /presets/cmd-default.json: -------------------------------------------------------------------------------- 1 | { 2 | "black": "#0c0c0c", 3 | "dark_blue": "#0037da", 4 | "dark_green": "#13a10e", 5 | "dark_cyan": "#3a96dd", 6 | "dark_red": "#c50f1f", 7 | "dark_magenta": "#881798", 8 | "dark_yellow": "#c19c00", 9 | "gray": "#cccccc", 10 | "dark_gray": "#767676", 11 | "blue": "#3b78ff", 12 | "green": "#16c60c", 13 | "cyan": "#61d6d6", 14 | "red": "#e74856", 15 | "magenta": "#b4009e", 16 | "yellow": "#f9f1a5", 17 | "white": "#f2f2f2", 18 | "screen_colors": "gray,black", 19 | "popup_colors": "dark_magenta,white" 20 | } 21 | -------------------------------------------------------------------------------- /presets/cmd-legacy.json: -------------------------------------------------------------------------------- 1 | { 2 | "black": "#000000", 3 | "dark_blue": "#000080", 4 | "dark_green": "#008000", 5 | "dark_cyan": "#008080", 6 | "dark_red": "#800000", 7 | "dark_magenta": "#800080", 8 | "dark_yellow": "#808000", 9 | "gray": "#c0c0c0", 10 | "dark_gray": "#808080", 11 | "blue": "#0000ff", 12 | "green": "#00ff00", 13 | "cyan": "#00ffff", 14 | "red": "#ff0000", 15 | "magenta": "#ff00ff", 16 | "yellow": "#ffff00", 17 | "white": "#ffffff", 18 | "screen_colors": "gray,black", 19 | "popup_colors": "dark_magenta,white" 20 | } 21 | -------------------------------------------------------------------------------- /presets/codeschool.json: -------------------------------------------------------------------------------- 1 | { 2 | "black": "#232c31", 3 | "dark_blue": "#1c3657", 4 | "dark_green": "#2a343a", 5 | "dark_cyan": "#3f4944", 6 | "dark_red": "#84898c", 7 | "dark_magenta": "#9ea7a6", 8 | "dark_yellow": "#a7cfa3", 9 | "gray": "#b5d8f6", 10 | "dark_gray": "#2a5491", 11 | "blue": "#43820d", 12 | "green": "#a03b1e", 13 | "cyan": "#237986", 14 | "red": "#b02f30", 15 | "magenta": "#484d79", 16 | "yellow": "#c59820", 17 | "white": "#c98344", 18 | "screen_colors": "dark_magenta,black", 19 | "popup_colors": "dark_red,dark_blue" 20 | } 21 | -------------------------------------------------------------------------------- /presets/cupcake.json: -------------------------------------------------------------------------------- 1 | { 2 | "black": "#fbf1f2", 3 | "dark_blue": "#f2f1f4", 4 | "dark_green": "#d8d5dd", 5 | "dark_cyan": "#bfb9c6", 6 | "dark_red": "#a59daf", 7 | "dark_magenta": "#8b8198", 8 | "dark_yellow": "#72677E", 9 | "gray": "#585062", 10 | "dark_gray": "#D57E85", 11 | "blue": "#EBB790", 12 | "green": "#DCB16C", 13 | "cyan": "#A3B367", 14 | "red": "#69A9A7", 15 | "magenta": "#7297B9", 16 | "yellow": "#BB99B4", 17 | "white": "#BAA58C", 18 | "screen_colors": "dark_magenta,black", 19 | "popup_colors": "dark_red,dark_blue" 20 | } 21 | -------------------------------------------------------------------------------- /presets/cupertino.json: -------------------------------------------------------------------------------- 1 | { 2 | "black": "#ffffff", 3 | "dark_blue": "#c0c0c0", 4 | "dark_green": "#c0c0c0", 5 | "dark_cyan": "#808080", 6 | "dark_red": "#808080", 7 | "dark_magenta": "#404040", 8 | "dark_yellow": "#404040", 9 | "gray": "#5e5e5e", 10 | "dark_gray": "#c41a15", 11 | "blue": "#eb8500", 12 | "green": "#826b28", 13 | "cyan": "#007400", 14 | "red": "#318495", 15 | "magenta": "#0000ff", 16 | "yellow": "#a90d91", 17 | "white": "#826b28", 18 | "screen_colors": "dark_magenta,black", 19 | "popup_colors": "dark_red,dark_blue" 20 | } 21 | -------------------------------------------------------------------------------- /presets/darktooth.json: -------------------------------------------------------------------------------- 1 | { 2 | "black": "#1D2021", 3 | "dark_blue": "#32302F", 4 | "dark_green": "#504945", 5 | "dark_cyan": "#665C54", 6 | "dark_red": "#928374", 7 | "dark_magenta": "#A89984", 8 | "dark_yellow": "#D5C4A1", 9 | "gray": "#FDF4C1", 10 | "dark_gray": "#FB543F", 11 | "blue": "#FE8625", 12 | "green": "#FAC03B", 13 | "cyan": "#95C085", 14 | "red": "#8BA59B", 15 | "magenta": "#0D6678", 16 | "yellow": "#8F4673", 17 | "white": "#A87322", 18 | "screen_colors": "dark_magenta,black", 19 | "popup_colors": "dark_red,dark_blue" 20 | } 21 | -------------------------------------------------------------------------------- /presets/default-dark.json: -------------------------------------------------------------------------------- 1 | { 2 | "black": "#181818", 3 | "dark_blue": "#282828", 4 | "dark_green": "#383838", 5 | "dark_cyan": "#585858", 6 | "dark_red": "#b8b8b8", 7 | "dark_magenta": "#d8d8d8", 8 | "dark_yellow": "#e8e8e8", 9 | "gray": "#f8f8f8", 10 | "dark_gray": "#ab4642", 11 | "blue": "#dc9656", 12 | "green": "#f7ca88", 13 | "cyan": "#a1b56c", 14 | "red": "#86c1b9", 15 | "magenta": "#7cafc2", 16 | "yellow": "#ba8baf", 17 | "white": "#a16946", 18 | "screen_colors": "dark_magenta,black", 19 | "popup_colors": "dark_red,dark_blue" 20 | } 21 | -------------------------------------------------------------------------------- /presets/default-light.json: -------------------------------------------------------------------------------- 1 | { 2 | "black": "#f8f8f8", 3 | "dark_blue": "#e8e8e8", 4 | "dark_green": "#d8d8d8", 5 | "dark_cyan": "#b8b8b8", 6 | "dark_red": "#585858", 7 | "dark_magenta": "#383838", 8 | "dark_yellow": "#282828", 9 | "gray": "#181818", 10 | "dark_gray": "#ab4642", 11 | "blue": "#dc9656", 12 | "green": "#f7ca88", 13 | "cyan": "#a1b56c", 14 | "red": "#86c1b9", 15 | "magenta": "#7cafc2", 16 | "yellow": "#ba8baf", 17 | "white": "#a16946", 18 | "screen_colors": "dark_magenta,black", 19 | "popup_colors": "dark_red,dark_blue" 20 | } 21 | -------------------------------------------------------------------------------- /presets/dracula.json: -------------------------------------------------------------------------------- 1 | { 2 | "black": "#282936", 3 | "dark_blue": "#3a3c4e", 4 | "dark_green": "#626483", 5 | "dark_cyan": "#4d4f68", 6 | "dark_red": "#62d6e8", 7 | "dark_magenta": "#e9e9f4", 8 | "dark_yellow": "#f1f2f8", 9 | "gray": "#f7f7fb", 10 | "dark_gray": "#ea51b2", 11 | "blue": "#b45bcf", 12 | "green": "#ebff87", 13 | "cyan": "#00f769", 14 | "red": "#a1efe4", 15 | "magenta": "#62d6e8", 16 | "yellow": "#b45bcf", 17 | "white": "#00f769", 18 | "screen_colors": "dark_magenta,black", 19 | "popup_colors": "dark_red,dark_blue" 20 | } 21 | -------------------------------------------------------------------------------- /presets/eighties.json: -------------------------------------------------------------------------------- 1 | { 2 | "black": "#2d2d2d", 3 | "dark_blue": "#393939", 4 | "dark_green": "#515151", 5 | "dark_cyan": "#747369", 6 | "dark_red": "#a09f93", 7 | "dark_magenta": "#d3d0c8", 8 | "dark_yellow": "#e8e6df", 9 | "gray": "#f2f0ec", 10 | "dark_gray": "#f2777a", 11 | "blue": "#f99157", 12 | "green": "#ffcc66", 13 | "cyan": "#99cc99", 14 | "red": "#66cccc", 15 | "magenta": "#6699cc", 16 | "yellow": "#cc99cc", 17 | "white": "#d27b53", 18 | "screen_colors": "dark_magenta,black", 19 | "popup_colors": "dark_red,dark_blue" 20 | } 21 | -------------------------------------------------------------------------------- /presets/embers.json: -------------------------------------------------------------------------------- 1 | { 2 | "black": "#16130F", 3 | "dark_blue": "#2C2620", 4 | "dark_green": "#433B32", 5 | "dark_cyan": "#5A5047", 6 | "dark_red": "#8A8075", 7 | "dark_magenta": "#A39A90", 8 | "dark_yellow": "#BEB6AE", 9 | "gray": "#DBD6D1", 10 | "dark_gray": "#826D57", 11 | "blue": "#828257", 12 | "green": "#6D8257", 13 | "cyan": "#57826D", 14 | "red": "#576D82", 15 | "magenta": "#6D5782", 16 | "yellow": "#82576D", 17 | "white": "#825757", 18 | "screen_colors": "dark_magenta,black", 19 | "popup_colors": "dark_red,dark_blue" 20 | } 21 | -------------------------------------------------------------------------------- /presets/flat.json: -------------------------------------------------------------------------------- 1 | { 2 | "black": "#2C3E50", 3 | "dark_blue": "#34495E", 4 | "dark_green": "#7F8C8D", 5 | "dark_cyan": "#95A5A6", 6 | "dark_red": "#BDC3C7", 7 | "dark_magenta": "#e0e0e0", 8 | "dark_yellow": "#f5f5f5", 9 | "gray": "#ECF0F1", 10 | "dark_gray": "#E74C3C", 11 | "blue": "#E67E22", 12 | "green": "#F1C40F", 13 | "cyan": "#2ECC71", 14 | "red": "#1ABC9C", 15 | "magenta": "#3498DB", 16 | "yellow": "#9B59B6", 17 | "white": "#be643c", 18 | "screen_colors": "dark_magenta,black", 19 | "popup_colors": "dark_red,dark_blue" 20 | } 21 | -------------------------------------------------------------------------------- /presets/github.json: -------------------------------------------------------------------------------- 1 | { 2 | "black": "#ffffff", 3 | "dark_blue": "#f5f5f5", 4 | "dark_green": "#c8c8fa", 5 | "dark_cyan": "#969896", 6 | "dark_red": "#e8e8e8", 7 | "dark_magenta": "#333333", 8 | "dark_yellow": "#ffffff", 9 | "gray": "#ffffff", 10 | "dark_gray": "#ed6a43", 11 | "blue": "#0086b3", 12 | "green": "#795da3", 13 | "cyan": "#183691", 14 | "red": "#183691", 15 | "magenta": "#795da3", 16 | "yellow": "#a71d5d", 17 | "white": "#333333", 18 | "screen_colors": "dark_magenta,black", 19 | "popup_colors": "dark_red,dark_blue" 20 | } 21 | -------------------------------------------------------------------------------- /presets/google-dark.json: -------------------------------------------------------------------------------- 1 | { 2 | "black": "#1d1f21", 3 | "dark_blue": "#282a2e", 4 | "dark_green": "#373b41", 5 | "dark_cyan": "#969896", 6 | "dark_red": "#b4b7b4", 7 | "dark_magenta": "#c5c8c6", 8 | "dark_yellow": "#e0e0e0", 9 | "gray": "#ffffff", 10 | "dark_gray": "#CC342B", 11 | "blue": "#F96A38", 12 | "green": "#FBA922", 13 | "cyan": "#198844", 14 | "red": "#3971ED", 15 | "magenta": "#3971ED", 16 | "yellow": "#A36AC7", 17 | "white": "#3971ED", 18 | "screen_colors": "dark_magenta,black", 19 | "popup_colors": "dark_red,dark_blue" 20 | } 21 | -------------------------------------------------------------------------------- /presets/google-light.json: -------------------------------------------------------------------------------- 1 | { 2 | "black": "#ffffff", 3 | "dark_blue": "#e0e0e0", 4 | "dark_green": "#c5c8c6", 5 | "dark_cyan": "#b4b7b4", 6 | "dark_red": "#969896", 7 | "dark_magenta": "#373b41", 8 | "dark_yellow": "#282a2e", 9 | "gray": "#1d1f21", 10 | "dark_gray": "#CC342B", 11 | "blue": "#F96A38", 12 | "green": "#FBA922", 13 | "cyan": "#198844", 14 | "red": "#3971ED", 15 | "magenta": "#3971ED", 16 | "yellow": "#A36AC7", 17 | "white": "#3971ED", 18 | "screen_colors": "dark_magenta,black", 19 | "popup_colors": "dark_red,dark_blue" 20 | } 21 | -------------------------------------------------------------------------------- /presets/grayscale-dark.json: -------------------------------------------------------------------------------- 1 | { 2 | "black": "#101010", 3 | "dark_blue": "#252525", 4 | "dark_green": "#464646", 5 | "dark_cyan": "#525252", 6 | "dark_red": "#ababab", 7 | "dark_magenta": "#b9b9b9", 8 | "dark_yellow": "#e3e3e3", 9 | "gray": "#f7f7f7", 10 | "dark_gray": "#7c7c7c", 11 | "blue": "#999999", 12 | "green": "#a0a0a0", 13 | "cyan": "#8e8e8e", 14 | "red": "#868686", 15 | "magenta": "#686868", 16 | "yellow": "#747474", 17 | "white": "#5e5e5e", 18 | "screen_colors": "dark_magenta,black", 19 | "popup_colors": "dark_red,dark_blue" 20 | } 21 | -------------------------------------------------------------------------------- /presets/grayscale-light.json: -------------------------------------------------------------------------------- 1 | { 2 | "black": "#f7f7f7", 3 | "dark_blue": "#e3e3e3", 4 | "dark_green": "#b9b9b9", 5 | "dark_cyan": "#ababab", 6 | "dark_red": "#525252", 7 | "dark_magenta": "#464646", 8 | "dark_yellow": "#252525", 9 | "gray": "#101010", 10 | "dark_gray": "#7c7c7c", 11 | "blue": "#999999", 12 | "green": "#a0a0a0", 13 | "cyan": "#8e8e8e", 14 | "red": "#868686", 15 | "magenta": "#686868", 16 | "yellow": "#747474", 17 | "white": "#5e5e5e", 18 | "screen_colors": "dark_magenta,black", 19 | "popup_colors": "dark_red,dark_blue" 20 | } 21 | -------------------------------------------------------------------------------- /presets/greenscreen.json: -------------------------------------------------------------------------------- 1 | { 2 | "black": "#001100", 3 | "dark_blue": "#003300", 4 | "dark_green": "#005500", 5 | "dark_cyan": "#007700", 6 | "dark_red": "#009900", 7 | "dark_magenta": "#00bb00", 8 | "dark_yellow": "#00dd00", 9 | "gray": "#00ff00", 10 | "dark_gray": "#007700", 11 | "blue": "#009900", 12 | "green": "#007700", 13 | "cyan": "#00bb00", 14 | "red": "#005500", 15 | "magenta": "#009900", 16 | "yellow": "#00bb00", 17 | "white": "#005500", 18 | "screen_colors": "dark_magenta,black", 19 | "popup_colors": "dark_red,dark_blue" 20 | } 21 | -------------------------------------------------------------------------------- /presets/gruvbox-dark-hard.json: -------------------------------------------------------------------------------- 1 | { 2 | "black": "#1d2021", 3 | "dark_blue": "#3c3836", 4 | "dark_green": "#504945", 5 | "dark_cyan": "#665c54", 6 | "dark_red": "#bdae93", 7 | "dark_magenta": "#d5c4a1", 8 | "dark_yellow": "#ebdbb2", 9 | "gray": "#fbf1c7", 10 | "dark_gray": "#fb4934", 11 | "blue": "#fe8019", 12 | "green": "#fabd2f", 13 | "cyan": "#b8bb26", 14 | "red": "#8ec07c", 15 | "magenta": "#83a598", 16 | "yellow": "#d3869b", 17 | "white": "#d65d0e", 18 | "screen_colors": "dark_magenta,black", 19 | "popup_colors": "dark_red,dark_blue" 20 | } 21 | -------------------------------------------------------------------------------- /presets/gruvbox-dark-medium.json: -------------------------------------------------------------------------------- 1 | { 2 | "black": "#282828", 3 | "dark_blue": "#3c3836", 4 | "dark_green": "#504945", 5 | "dark_cyan": "#665c54", 6 | "dark_red": "#bdae93", 7 | "dark_magenta": "#d5c4a1", 8 | "dark_yellow": "#ebdbb2", 9 | "gray": "#fbf1c7", 10 | "dark_gray": "#fb4934", 11 | "blue": "#fe8019", 12 | "green": "#fabd2f", 13 | "cyan": "#b8bb26", 14 | "red": "#8ec07c", 15 | "magenta": "#83a598", 16 | "yellow": "#d3869b", 17 | "white": "#d65d0e", 18 | "screen_colors": "dark_magenta,black", 19 | "popup_colors": "dark_red,dark_blue" 20 | } 21 | -------------------------------------------------------------------------------- /presets/gruvbox-dark-pale.json: -------------------------------------------------------------------------------- 1 | { 2 | "black": "#262626", 3 | "dark_blue": "#3a3a3a", 4 | "dark_green": "#4e4e4e", 5 | "dark_cyan": "#8a8a8a", 6 | "dark_red": "#949494", 7 | "dark_magenta": "#dab997", 8 | "dark_yellow": "#d5c4a1", 9 | "gray": "#ebdbb2", 10 | "dark_gray": "#d75f5f", 11 | "blue": "#ff8700", 12 | "green": "#ffaf00", 13 | "cyan": "#afaf00", 14 | "red": "#85ad85", 15 | "magenta": "#83adad", 16 | "yellow": "#d485ad", 17 | "white": "#d65d0e", 18 | "screen_colors": "dark_magenta,black", 19 | "popup_colors": "dark_red,dark_blue" 20 | } 21 | -------------------------------------------------------------------------------- /presets/gruvbox-dark-soft.json: -------------------------------------------------------------------------------- 1 | { 2 | "black": "#32302f", 3 | "dark_blue": "#3c3836", 4 | "dark_green": "#504945", 5 | "dark_cyan": "#665c54", 6 | "dark_red": "#bdae93", 7 | "dark_magenta": "#d5c4a1", 8 | "dark_yellow": "#ebdbb2", 9 | "gray": "#fbf1c7", 10 | "dark_gray": "#fb4934", 11 | "blue": "#fe8019", 12 | "green": "#fabd2f", 13 | "cyan": "#b8bb26", 14 | "red": "#8ec07c", 15 | "magenta": "#83a598", 16 | "yellow": "#d3869b", 17 | "white": "#d65d0e", 18 | "screen_colors": "dark_magenta,black", 19 | "popup_colors": "dark_red,dark_blue" 20 | } 21 | -------------------------------------------------------------------------------- /presets/gruvbox-light-hard.json: -------------------------------------------------------------------------------- 1 | { 2 | "black": "#f9f5d7", 3 | "dark_blue": "#ebdbb2", 4 | "dark_green": "#d5c4a1", 5 | "dark_cyan": "#bdae93", 6 | "dark_red": "#665c54", 7 | "dark_magenta": "#504945", 8 | "dark_yellow": "#3c3836", 9 | "gray": "#282828", 10 | "dark_gray": "#9d0006", 11 | "blue": "#af3a03", 12 | "green": "#b57614", 13 | "cyan": "#79740e", 14 | "red": "#427b58", 15 | "magenta": "#076678", 16 | "yellow": "#8f3f71", 17 | "white": "#d65d0e", 18 | "screen_colors": "dark_magenta,black", 19 | "popup_colors": "dark_red,dark_blue" 20 | } 21 | -------------------------------------------------------------------------------- /presets/gruvbox-light-medium.json: -------------------------------------------------------------------------------- 1 | { 2 | "black": "#fbf1c7", 3 | "dark_blue": "#ebdbb2", 4 | "dark_green": "#d5c4a1", 5 | "dark_cyan": "#bdae93", 6 | "dark_red": "#665c54", 7 | "dark_magenta": "#504945", 8 | "dark_yellow": "#3c3836", 9 | "gray": "#282828", 10 | "dark_gray": "#9d0006", 11 | "blue": "#af3a03", 12 | "green": "#b57614", 13 | "cyan": "#79740e", 14 | "red": "#427b58", 15 | "magenta": "#076678", 16 | "yellow": "#8f3f71", 17 | "white": "#d65d0e", 18 | "screen_colors": "dark_magenta,black", 19 | "popup_colors": "dark_red,dark_blue" 20 | } 21 | -------------------------------------------------------------------------------- /presets/gruvbox-light-soft.json: -------------------------------------------------------------------------------- 1 | { 2 | "black": "#f2e5bc", 3 | "dark_blue": "#ebdbb2", 4 | "dark_green": "#d5c4a1", 5 | "dark_cyan": "#bdae93", 6 | "dark_red": "#665c54", 7 | "dark_magenta": "#504945", 8 | "dark_yellow": "#3c3836", 9 | "gray": "#282828", 10 | "dark_gray": "#9d0006", 11 | "blue": "#af3a03", 12 | "green": "#b57614", 13 | "cyan": "#79740e", 14 | "red": "#427b58", 15 | "magenta": "#076678", 16 | "yellow": "#8f3f71", 17 | "white": "#d65d0e", 18 | "screen_colors": "dark_magenta,black", 19 | "popup_colors": "dark_red,dark_blue" 20 | } 21 | -------------------------------------------------------------------------------- /presets/harmonic-dark.json: -------------------------------------------------------------------------------- 1 | { 2 | "black": "#0b1c2c", 3 | "dark_blue": "#223b54", 4 | "dark_green": "#405c79", 5 | "dark_cyan": "#627e99", 6 | "dark_red": "#aabcce", 7 | "dark_magenta": "#cbd6e2", 8 | "dark_yellow": "#e5ebf1", 9 | "gray": "#f7f9fb", 10 | "dark_gray": "#bf8b56", 11 | "blue": "#bfbf56", 12 | "green": "#8bbf56", 13 | "cyan": "#56bf8b", 14 | "red": "#568bbf", 15 | "magenta": "#8b56bf", 16 | "yellow": "#bf568b", 17 | "white": "#bf5656", 18 | "screen_colors": "dark_magenta,black", 19 | "popup_colors": "dark_red,dark_blue" 20 | } 21 | -------------------------------------------------------------------------------- /presets/harmonic-light.json: -------------------------------------------------------------------------------- 1 | { 2 | "black": "#f7f9fb", 3 | "dark_blue": "#e5ebf1", 4 | "dark_green": "#cbd6e2", 5 | "dark_cyan": "#aabcce", 6 | "dark_red": "#627e99", 7 | "dark_magenta": "#405c79", 8 | "dark_yellow": "#223b54", 9 | "gray": "#0b1c2c", 10 | "dark_gray": "#bf8b56", 11 | "blue": "#bfbf56", 12 | "green": "#8bbf56", 13 | "cyan": "#56bf8b", 14 | "red": "#568bbf", 15 | "magenta": "#8b56bf", 16 | "yellow": "#bf568b", 17 | "white": "#bf5656", 18 | "screen_colors": "dark_magenta,black", 19 | "popup_colors": "dark_red,dark_blue" 20 | } 21 | -------------------------------------------------------------------------------- /presets/hopscotch.json: -------------------------------------------------------------------------------- 1 | { 2 | "black": "#322931", 3 | "dark_blue": "#433b42", 4 | "dark_green": "#5c545b", 5 | "dark_cyan": "#797379", 6 | "dark_red": "#989498", 7 | "dark_magenta": "#b9b5b8", 8 | "dark_yellow": "#d5d3d5", 9 | "gray": "#ffffff", 10 | "dark_gray": "#dd464c", 11 | "blue": "#fd8b19", 12 | "green": "#fdcc59", 13 | "cyan": "#8fc13e", 14 | "red": "#149b93", 15 | "magenta": "#1290bf", 16 | "yellow": "#c85e7c", 17 | "white": "#b33508", 18 | "screen_colors": "dark_magenta,black", 19 | "popup_colors": "dark_red,dark_blue" 20 | } 21 | -------------------------------------------------------------------------------- /presets/icy.json: -------------------------------------------------------------------------------- 1 | { 2 | "black": "#021012", 3 | "dark_blue": "#031619", 4 | "dark_green": "#041f23", 5 | "dark_cyan": "#052e34", 6 | "dark_red": "#064048", 7 | "dark_magenta": "#095b67", 8 | "dark_yellow": "#0c7c8c", 9 | "gray": "#109cb0", 10 | "dark_gray": "#16c1d9", 11 | "blue": "#b3ebf2", 12 | "green": "#80deea", 13 | "cyan": "#4dd0e1", 14 | "red": "#26c6da", 15 | "magenta": "#00bcd4", 16 | "yellow": "#00acc1", 17 | "white": "#0097a7", 18 | "screen_colors": "dark_magenta,black", 19 | "popup_colors": "dark_red,dark_blue" 20 | } 21 | -------------------------------------------------------------------------------- /presets/irblack.json: -------------------------------------------------------------------------------- 1 | { 2 | "black": "#000000", 3 | "dark_blue": "#242422", 4 | "dark_green": "#484844", 5 | "dark_cyan": "#6c6c66", 6 | "dark_red": "#918f88", 7 | "dark_magenta": "#b5b3aa", 8 | "dark_yellow": "#d9d7cc", 9 | "gray": "#fdfbee", 10 | "dark_gray": "#ff6c60", 11 | "blue": "#e9c062", 12 | "green": "#ffffb6", 13 | "cyan": "#a8ff60", 14 | "red": "#c6c5fe", 15 | "magenta": "#96cbfe", 16 | "yellow": "#ff73fd", 17 | "white": "#b18a3d", 18 | "screen_colors": "dark_magenta,black", 19 | "popup_colors": "dark_red,dark_blue" 20 | } 21 | -------------------------------------------------------------------------------- /presets/isotope.json: -------------------------------------------------------------------------------- 1 | { 2 | "black": "#000000", 3 | "dark_blue": "#404040", 4 | "dark_green": "#606060", 5 | "dark_cyan": "#808080", 6 | "dark_red": "#c0c0c0", 7 | "dark_magenta": "#d0d0d0", 8 | "dark_yellow": "#e0e0e0", 9 | "gray": "#ffffff", 10 | "dark_gray": "#ff0000", 11 | "blue": "#ff9900", 12 | "green": "#ff0099", 13 | "cyan": "#33ff00", 14 | "red": "#00ffff", 15 | "magenta": "#0066ff", 16 | "yellow": "#cc00ff", 17 | "white": "#3300ff", 18 | "screen_colors": "dark_magenta,black", 19 | "popup_colors": "dark_red,dark_blue" 20 | } 21 | -------------------------------------------------------------------------------- /presets/macintosh.json: -------------------------------------------------------------------------------- 1 | { 2 | "black": "#000000", 3 | "dark_blue": "#404040", 4 | "dark_green": "#404040", 5 | "dark_cyan": "#808080", 6 | "dark_red": "#808080", 7 | "dark_magenta": "#c0c0c0", 8 | "dark_yellow": "#c0c0c0", 9 | "gray": "#ffffff", 10 | "dark_gray": "#dd0907", 11 | "blue": "#ff6403", 12 | "green": "#fbf305", 13 | "cyan": "#1fb714", 14 | "red": "#02abea", 15 | "magenta": "#0000d3", 16 | "yellow": "#4700a5", 17 | "white": "#90713a", 18 | "screen_colors": "dark_magenta,black", 19 | "popup_colors": "dark_red,dark_blue" 20 | } 21 | -------------------------------------------------------------------------------- /presets/marrakesh.json: -------------------------------------------------------------------------------- 1 | { 2 | "black": "#201602", 3 | "dark_blue": "#302e00", 4 | "dark_green": "#5f5b17", 5 | "dark_cyan": "#6c6823", 6 | "dark_red": "#86813b", 7 | "dark_magenta": "#948e48", 8 | "dark_yellow": "#ccc37a", 9 | "gray": "#faf0a5", 10 | "dark_gray": "#c35359", 11 | "blue": "#b36144", 12 | "green": "#a88339", 13 | "cyan": "#18974e", 14 | "red": "#75a738", 15 | "magenta": "#477ca1", 16 | "yellow": "#8868b3", 17 | "white": "#b3588e", 18 | "screen_colors": "dark_magenta,black", 19 | "popup_colors": "dark_red,dark_blue" 20 | } 21 | -------------------------------------------------------------------------------- /presets/materia.json: -------------------------------------------------------------------------------- 1 | { 2 | "black": "#263238", 3 | "dark_blue": "#2C393F", 4 | "dark_green": "#37474F", 5 | "dark_cyan": "#707880", 6 | "dark_red": "#C9CCD3", 7 | "dark_magenta": "#CDD3DE", 8 | "dark_yellow": "#D5DBE5", 9 | "gray": "#FFFFFF", 10 | "dark_gray": "#EC5F67", 11 | "blue": "#EA9560", 12 | "green": "#FFCC00", 13 | "cyan": "#8BD649", 14 | "red": "#80CBC4", 15 | "magenta": "#89DDFF", 16 | "yellow": "#82AAFF", 17 | "white": "#EC5F67", 18 | "screen_colors": "dark_magenta,black", 19 | "popup_colors": "dark_red,dark_blue" 20 | } 21 | -------------------------------------------------------------------------------- /presets/material-darker.json: -------------------------------------------------------------------------------- 1 | { 2 | "black": "#212121", 3 | "dark_blue": "#303030", 4 | "dark_green": "#353535", 5 | "dark_cyan": "#4A4A4A", 6 | "dark_red": "#B2CCD6", 7 | "dark_magenta": "#EEFFFF", 8 | "dark_yellow": "#EEFFFF", 9 | "gray": "#FFFFFF", 10 | "dark_gray": "#F07178", 11 | "blue": "#F78C6C", 12 | "green": "#FFCB6B", 13 | "cyan": "#C3E88D", 14 | "red": "#89DDFF", 15 | "magenta": "#82AAFF", 16 | "yellow": "#C792EA", 17 | "white": "#FF5370", 18 | "screen_colors": "dark_magenta,black", 19 | "popup_colors": "dark_red,dark_blue" 20 | } 21 | -------------------------------------------------------------------------------- /presets/material-lighter.json: -------------------------------------------------------------------------------- 1 | { 2 | "black": "#FAFAFA", 3 | "dark_blue": "#E7EAEC", 4 | "dark_green": "#CCEAE7", 5 | "dark_cyan": "#CCD7DA", 6 | "dark_red": "#8796B0", 7 | "dark_magenta": "#80CBC4", 8 | "dark_yellow": "#80CBC4", 9 | "gray": "#FFFFFF", 10 | "dark_gray": "#FF5370", 11 | "blue": "#F76D47", 12 | "green": "#FFB62C", 13 | "cyan": "#91B859", 14 | "red": "#39ADB5", 15 | "magenta": "#6182B8", 16 | "yellow": "#7C4DFF", 17 | "white": "#E53935", 18 | "screen_colors": "dark_magenta,black", 19 | "popup_colors": "dark_red,dark_blue" 20 | } 21 | -------------------------------------------------------------------------------- /presets/material-palenight.json: -------------------------------------------------------------------------------- 1 | { 2 | "black": "#292D3E", 3 | "dark_blue": "#444267", 4 | "dark_green": "#32374D", 5 | "dark_cyan": "#676E95", 6 | "dark_red": "#8796B0", 7 | "dark_magenta": "#959DCB", 8 | "dark_yellow": "#959DCB", 9 | "gray": "#FFFFFF", 10 | "dark_gray": "#F07178", 11 | "blue": "#F78C6C", 12 | "green": "#FFCB6B", 13 | "cyan": "#C3E88D", 14 | "red": "#89DDFF", 15 | "magenta": "#82AAFF", 16 | "yellow": "#C792EA", 17 | "white": "#FF5370", 18 | "screen_colors": "dark_magenta,black", 19 | "popup_colors": "dark_red,dark_blue" 20 | } 21 | -------------------------------------------------------------------------------- /presets/material.json: -------------------------------------------------------------------------------- 1 | { 2 | "black": "#263238", 3 | "dark_blue": "#2E3C43", 4 | "dark_green": "#314549", 5 | "dark_cyan": "#546E7A", 6 | "dark_red": "#B2CCD6", 7 | "dark_magenta": "#EEFFFF", 8 | "dark_yellow": "#EEFFFF", 9 | "gray": "#FFFFFF", 10 | "dark_gray": "#F07178", 11 | "blue": "#F78C6C", 12 | "green": "#FFCB6B", 13 | "cyan": "#C3E88D", 14 | "red": "#89DDFF", 15 | "magenta": "#82AAFF", 16 | "yellow": "#C792EA", 17 | "white": "#FF5370", 18 | "screen_colors": "dark_magenta,black", 19 | "popup_colors": "dark_red,dark_blue" 20 | } 21 | -------------------------------------------------------------------------------- /presets/mellow-purple.json: -------------------------------------------------------------------------------- 1 | { 2 | "black": "#1e0528", 3 | "dark_blue": "#1A092D", 4 | "dark_green": "#331354", 5 | "dark_cyan": "#320f55", 6 | "dark_red": "#873582", 7 | "dark_magenta": "#ffeeff", 8 | "dark_yellow": "#ffeeff", 9 | "gray": "#f8c0ff", 10 | "dark_gray": "#00d9e9", 11 | "blue": "#aa00a3", 12 | "green": "#955ae7", 13 | "cyan": "#05cb0d", 14 | "red": "#b900b1", 15 | "magenta": "#550068", 16 | "yellow": "#8991bb", 17 | "white": "#4d6fff", 18 | "screen_colors": "dark_magenta,black", 19 | "popup_colors": "dark_red,dark_blue" 20 | } 21 | -------------------------------------------------------------------------------- /presets/mexico-light.json: -------------------------------------------------------------------------------- 1 | { 2 | "black": "#f8f8f8", 3 | "dark_blue": "#e8e8e8", 4 | "dark_green": "#d8d8d8", 5 | "dark_cyan": "#b8b8b8", 6 | "dark_red": "#585858", 7 | "dark_magenta": "#383838", 8 | "dark_yellow": "#282828", 9 | "gray": "#181818", 10 | "dark_gray": "#ab4642", 11 | "blue": "#dc9656", 12 | "green": "#f79a0e", 13 | "cyan": "#538947", 14 | "red": "#4b8093", 15 | "magenta": "#7cafc2", 16 | "yellow": "#96609e", 17 | "white": "#a16946", 18 | "screen_colors": "dark_magenta,black", 19 | "popup_colors": "dark_red,dark_blue" 20 | } 21 | -------------------------------------------------------------------------------- /presets/mocha.json: -------------------------------------------------------------------------------- 1 | { 2 | "black": "#3B3228", 3 | "dark_blue": "#534636", 4 | "dark_green": "#645240", 5 | "dark_cyan": "#7e705a", 6 | "dark_red": "#b8afad", 7 | "dark_magenta": "#d0c8c6", 8 | "dark_yellow": "#e9e1dd", 9 | "gray": "#f5eeeb", 10 | "dark_gray": "#cb6077", 11 | "blue": "#d28b71", 12 | "green": "#f4bc87", 13 | "cyan": "#beb55b", 14 | "red": "#7bbda4", 15 | "magenta": "#8ab3b5", 16 | "yellow": "#a89bb9", 17 | "white": "#bb9584", 18 | "screen_colors": "dark_magenta,black", 19 | "popup_colors": "dark_red,dark_blue" 20 | } 21 | -------------------------------------------------------------------------------- /presets/monokai.json: -------------------------------------------------------------------------------- 1 | { 2 | "black": "#272822", 3 | "dark_blue": "#383830", 4 | "dark_green": "#49483e", 5 | "dark_cyan": "#75715e", 6 | "dark_red": "#a59f85", 7 | "dark_magenta": "#f8f8f2", 8 | "dark_yellow": "#f5f4f1", 9 | "gray": "#f9f8f5", 10 | "dark_gray": "#f92672", 11 | "blue": "#fd971f", 12 | "green": "#f4bf75", 13 | "cyan": "#a6e22e", 14 | "red": "#a1efe4", 15 | "magenta": "#66d9ef", 16 | "yellow": "#ae81ff", 17 | "white": "#cc6633", 18 | "screen_colors": "dark_magenta,black", 19 | "popup_colors": "dark_red,dark_blue" 20 | } 21 | -------------------------------------------------------------------------------- /presets/mountain.json: -------------------------------------------------------------------------------- 1 | { 2 | "dark_gray": "#FFFFFF", 3 | "dark_blue": "#1460D2", 4 | "dark_green": "#38DE21", 5 | "dark_cyan": "#00BBBB", 6 | "dark_red": "#FF0000", 7 | "dark_magenta": "#FF005D", 8 | "dark_yellow": "#FFE50A", 9 | "black": "#132738", 10 | "gray": "#C5C8C6", 11 | "blue": "#5555FF", 12 | "green": "#3BD01D", 13 | "cyan": "#6AE3FA", 14 | "red": "#F40E17", 15 | "magenta": "#FF55FF", 16 | "yellow": "#EDC809", 17 | "white": "#FFFFFF", 18 | "screen_colors": "white,black", 19 | "popup_colors": "dark_magenta,gray" 20 | } 21 | -------------------------------------------------------------------------------- /presets/nord.json: -------------------------------------------------------------------------------- 1 | { 2 | "black": "#2E3440", 3 | "dark_blue": "#3B4252", 4 | "dark_green": "#434C5E", 5 | "dark_cyan": "#4C566A", 6 | "dark_red": "#D8DEE9", 7 | "dark_magenta": "#E5E9F0", 8 | "dark_yellow": "#ECEFF4", 9 | "gray": "#8FBCBB", 10 | "dark_gray": "#88C0D0", 11 | "blue": "#81A1C1", 12 | "green": "#5E81AC", 13 | "cyan": "#BF616A", 14 | "red": "#D08770", 15 | "magenta": "#EBCB8B", 16 | "yellow": "#A3BE8C", 17 | "white": "#B48EAD", 18 | "screen_colors": "dark_magenta,black", 19 | "popup_colors": "dark_red,dark_blue" 20 | } 21 | -------------------------------------------------------------------------------- /presets/ocean.json: -------------------------------------------------------------------------------- 1 | { 2 | "black": "#2b303b", 3 | "dark_blue": "#343d46", 4 | "dark_green": "#4f5b66", 5 | "dark_cyan": "#65737e", 6 | "dark_red": "#a7adba", 7 | "dark_magenta": "#c0c5ce", 8 | "dark_yellow": "#dfe1e8", 9 | "gray": "#eff1f5", 10 | "dark_gray": "#bf616a", 11 | "blue": "#d08770", 12 | "green": "#ebcb8b", 13 | "cyan": "#a3be8c", 14 | "red": "#96b5b4", 15 | "magenta": "#8fa1b3", 16 | "yellow": "#b48ead", 17 | "white": "#ab7967", 18 | "screen_colors": "dark_magenta,black", 19 | "popup_colors": "dark_red,dark_blue" 20 | } 21 | -------------------------------------------------------------------------------- /presets/oceanicnext.json: -------------------------------------------------------------------------------- 1 | { 2 | "black": "#1B2B34", 3 | "dark_blue": "#343D46", 4 | "dark_green": "#4F5B66", 5 | "dark_cyan": "#65737E", 6 | "dark_red": "#A7ADBA", 7 | "dark_magenta": "#C0C5CE", 8 | "dark_yellow": "#CDD3DE", 9 | "gray": "#D8DEE9", 10 | "dark_gray": "#EC5f67", 11 | "blue": "#F99157", 12 | "green": "#FAC863", 13 | "cyan": "#99C794", 14 | "red": "#5FB3B3", 15 | "magenta": "#6699CC", 16 | "yellow": "#C594C5", 17 | "white": "#AB7967", 18 | "screen_colors": "dark_magenta,black", 19 | "popup_colors": "dark_red,dark_blue" 20 | } 21 | -------------------------------------------------------------------------------- /presets/one-light.json: -------------------------------------------------------------------------------- 1 | { 2 | "black": "#fafafa", 3 | "dark_blue": "#f0f0f1", 4 | "dark_green": "#e5e5e6", 5 | "dark_cyan": "#a0a1a7", 6 | "dark_red": "#696c77", 7 | "dark_magenta": "#383a42", 8 | "dark_yellow": "#202227", 9 | "gray": "#090a0b", 10 | "dark_gray": "#ca1243", 11 | "blue": "#d75f00", 12 | "green": "#c18401", 13 | "cyan": "#50a14f", 14 | "red": "#0184bc", 15 | "magenta": "#4078f2", 16 | "yellow": "#a626a4", 17 | "white": "#986801", 18 | "screen_colors": "dark_magenta,black", 19 | "popup_colors": "dark_red,dark_blue" 20 | } 21 | -------------------------------------------------------------------------------- /presets/onedark.json: -------------------------------------------------------------------------------- 1 | { 2 | "black": "#282c34", 3 | "dark_blue": "#353b45", 4 | "dark_green": "#3e4451", 5 | "dark_cyan": "#545862", 6 | "dark_red": "#565c64", 7 | "dark_magenta": "#abb2bf", 8 | "dark_yellow": "#b6bdca", 9 | "gray": "#c8ccd4", 10 | "dark_gray": "#e06c75", 11 | "blue": "#d19a66", 12 | "green": "#e5c07b", 13 | "cyan": "#98c379", 14 | "red": "#56b6c2", 15 | "magenta": "#61afef", 16 | "yellow": "#c678dd", 17 | "white": "#be5046", 18 | "screen_colors": "dark_magenta,black", 19 | "popup_colors": "dark_red,dark_blue" 20 | } 21 | -------------------------------------------------------------------------------- /presets/outrun-dark.json: -------------------------------------------------------------------------------- 1 | { 2 | "black": "#00002A", 3 | "dark_blue": "#20204A", 4 | "dark_green": "#30305A", 5 | "dark_cyan": "#50507A", 6 | "dark_red": "#B0B0DA", 7 | "dark_magenta": "#D0D0FA", 8 | "dark_yellow": "#E0E0FF", 9 | "gray": "#F5F5FF", 10 | "dark_gray": "#FF4242", 11 | "blue": "#FC8D28", 12 | "green": "#F3E877", 13 | "cyan": "#59F176", 14 | "red": "#0EF0F0", 15 | "magenta": "#66B0FF", 16 | "yellow": "#F10596", 17 | "white": "#F003EF", 18 | "screen_colors": "dark_magenta,black", 19 | "popup_colors": "dark_red,dark_blue" 20 | } 21 | -------------------------------------------------------------------------------- /presets/paraiso.json: -------------------------------------------------------------------------------- 1 | { 2 | "black": "#2f1e2e", 3 | "dark_blue": "#41323f", 4 | "dark_green": "#4f424c", 5 | "dark_cyan": "#776e71", 6 | "dark_red": "#8d8687", 7 | "dark_magenta": "#a39e9b", 8 | "dark_yellow": "#b9b6b0", 9 | "gray": "#e7e9db", 10 | "dark_gray": "#ef6155", 11 | "blue": "#f99b15", 12 | "green": "#fec418", 13 | "cyan": "#48b685", 14 | "red": "#5bc4bf", 15 | "magenta": "#06b6ef", 16 | "yellow": "#815ba4", 17 | "white": "#e96ba8", 18 | "screen_colors": "dark_magenta,black", 19 | "popup_colors": "dark_red,dark_blue" 20 | } 21 | -------------------------------------------------------------------------------- /presets/phd.json: -------------------------------------------------------------------------------- 1 | { 2 | "black": "#061229", 3 | "dark_blue": "#2a3448", 4 | "dark_green": "#4d5666", 5 | "dark_cyan": "#717885", 6 | "dark_red": "#9a99a3", 7 | "dark_magenta": "#b8bbc2", 8 | "dark_yellow": "#dbdde0", 9 | "gray": "#ffffff", 10 | "dark_gray": "#d07346", 11 | "blue": "#f0a000", 12 | "green": "#fbd461", 13 | "cyan": "#99bf52", 14 | "red": "#72b9bf", 15 | "magenta": "#5299bf", 16 | "yellow": "#9989cc", 17 | "white": "#b08060", 18 | "screen_colors": "dark_magenta,black", 19 | "popup_colors": "dark_red,dark_blue" 20 | } 21 | -------------------------------------------------------------------------------- /presets/pico.json: -------------------------------------------------------------------------------- 1 | { 2 | "black": "#000000", 3 | "dark_blue": "#1d2b53", 4 | "dark_green": "#7e2553", 5 | "dark_cyan": "#008751", 6 | "dark_red": "#ab5236", 7 | "dark_magenta": "#5f574f", 8 | "dark_yellow": "#c2c3c7", 9 | "gray": "#fff1e8", 10 | "dark_gray": "#ff004d", 11 | "blue": "#ffa300", 12 | "green": "#fff024", 13 | "cyan": "#00e756", 14 | "red": "#29adff", 15 | "magenta": "#83769c", 16 | "yellow": "#ff77a8", 17 | "white": "#ffccaa", 18 | "screen_colors": "dark_magenta,black", 19 | "popup_colors": "dark_red,dark_blue" 20 | } 21 | -------------------------------------------------------------------------------- /presets/pop.json: -------------------------------------------------------------------------------- 1 | { 2 | "black": "#000000", 3 | "dark_blue": "#202020", 4 | "dark_green": "#303030", 5 | "dark_cyan": "#505050", 6 | "dark_red": "#b0b0b0", 7 | "dark_magenta": "#d0d0d0", 8 | "dark_yellow": "#e0e0e0", 9 | "gray": "#ffffff", 10 | "dark_gray": "#eb008a", 11 | "blue": "#f29333", 12 | "green": "#f8ca12", 13 | "cyan": "#37b349", 14 | "red": "#00aabb", 15 | "magenta": "#0e5a94", 16 | "yellow": "#b31e8d", 17 | "white": "#7a2d00", 18 | "screen_colors": "dark_magenta,black", 19 | "popup_colors": "dark_red,dark_blue" 20 | } 21 | -------------------------------------------------------------------------------- /presets/porple.json: -------------------------------------------------------------------------------- 1 | { 2 | "black": "#292c36", 3 | "dark_blue": "#333344", 4 | "dark_green": "#474160", 5 | "dark_cyan": "#65568a", 6 | "dark_red": "#b8b8b8", 7 | "dark_magenta": "#d8d8d8", 8 | "dark_yellow": "#e8e8e8", 9 | "gray": "#f8f8f8", 10 | "dark_gray": "#f84547", 11 | "blue": "#d28e5d", 12 | "green": "#efa16b", 13 | "cyan": "#95c76f", 14 | "red": "#64878f", 15 | "magenta": "#8485ce", 16 | "yellow": "#b74989", 17 | "white": "#986841", 18 | "screen_colors": "dark_magenta,black", 19 | "popup_colors": "dark_red,dark_blue" 20 | } 21 | -------------------------------------------------------------------------------- /presets/powershell-default.json: -------------------------------------------------------------------------------- 1 | { 2 | "black": "#0c0c0c", 3 | "dark_blue": "#0037da", 4 | "dark_green": "#13a10e", 5 | "dark_cyan": "#3a96dd", 6 | "dark_red": "#c50f1f", 7 | "dark_magenta": "#012456", 8 | "dark_yellow": "#eeedf0", 9 | "gray": "#cccccc", 10 | "dark_gray": "#767676", 11 | "blue": "#3b78ff", 12 | "green": "#16c60c", 13 | "cyan": "#61d6d6", 14 | "red": "#e74856", 15 | "magenta": "#b4009e", 16 | "yellow": "#f9f1a5", 17 | "white": "#f2f2f2", 18 | "screen_colors": "dark_yellow,dark_magenta", 19 | "popup_colors": "dark_cyan,white" 20 | } 21 | -------------------------------------------------------------------------------- /presets/powershell-legacy.json: -------------------------------------------------------------------------------- 1 | { 2 | "black": "#000000", 3 | "dark_blue": "#000080", 4 | "dark_green": "#008000", 5 | "dark_cyan": "#008080", 6 | "dark_red": "#800000", 7 | "dark_magenta": "#012456", 8 | "dark_yellow": "#eeedf0", 9 | "gray": "#c0c0c0", 10 | "dark_gray": "#808080", 11 | "blue": "#0000ff", 12 | "green": "#00ff00", 13 | "cyan": "#00ffff", 14 | "red": "#ff0000", 15 | "magenta": "#ff00ff", 16 | "yellow": "#ffff00", 17 | "white": "#ffffff", 18 | "screen_colors": "dark_yellow,dark_magenta", 19 | "popup_colors": "dark_cyan,white" 20 | } 21 | -------------------------------------------------------------------------------- /presets/railscasts.json: -------------------------------------------------------------------------------- 1 | { 2 | "black": "#2b2b2b", 3 | "dark_blue": "#272935", 4 | "dark_green": "#3a4055", 5 | "dark_cyan": "#5a647e", 6 | "dark_red": "#d4cfc9", 7 | "dark_magenta": "#e6e1dc", 8 | "dark_yellow": "#f4f1ed", 9 | "gray": "#f9f7f3", 10 | "dark_gray": "#da4939", 11 | "blue": "#cc7833", 12 | "green": "#ffc66d", 13 | "cyan": "#a5c261", 14 | "red": "#519f50", 15 | "magenta": "#6d9cbe", 16 | "yellow": "#b6b3eb", 17 | "white": "#bc9458", 18 | "screen_colors": "dark_magenta,black", 19 | "popup_colors": "dark_red,dark_blue" 20 | } 21 | -------------------------------------------------------------------------------- /presets/rebecca.json: -------------------------------------------------------------------------------- 1 | { 2 | "black": "#292a44", 3 | "dark_blue": "#663399", 4 | "dark_green": "#383a62", 5 | "dark_cyan": "#666699", 6 | "dark_red": "#a0a0c5", 7 | "dark_magenta": "#f1eff8", 8 | "dark_yellow": "#ccccff", 9 | "gray": "#53495d", 10 | "dark_gray": "#a0a0c5", 11 | "blue": "#efe4a1", 12 | "green": "#ae81ff", 13 | "cyan": "#6dfedf", 14 | "red": "#8eaee0", 15 | "magenta": "#2de0a7", 16 | "yellow": "#7aa5ff", 17 | "white": "#ff79c6", 18 | "screen_colors": "dark_magenta,black", 19 | "popup_colors": "dark_red,dark_blue" 20 | } 21 | -------------------------------------------------------------------------------- /presets/seoul256.json: -------------------------------------------------------------------------------- 1 | { 2 | "black": "#4E4E4E", 3 | "dark_blue": "#85ADD4", 4 | "dark_green": "#5F865F", 5 | "dark_cyan": "#87AFAF", 6 | "dark_red": "#D68787", 7 | "dark_magenta": "#D7AFAF", 8 | "dark_yellow": "#D8AF5F", 9 | "gray": "#D0D0D0", 10 | "dark_gray": "#626262", 11 | "blue": "#ADD4FB", 12 | "green": "#87AF87", 13 | "cyan": "#87D7D7", 14 | "red": "#D75F87", 15 | "magenta": "#FFAFAF", 16 | "yellow": "#FFD787", 17 | "white": "#E4E4E4", 18 | "screen_colors": "white,black", 19 | "popup_colors": "dark_red,dark_blue" 20 | } 21 | -------------------------------------------------------------------------------- /presets/seti.json: -------------------------------------------------------------------------------- 1 | { 2 | "black": "#151718", 3 | "dark_blue": "#282a2b", 4 | "dark_green": "#3B758C", 5 | "dark_cyan": "#41535B", 6 | "dark_red": "#43a5d5", 7 | "dark_magenta": "#d6d6d6", 8 | "dark_yellow": "#eeeeee", 9 | "gray": "#ffffff", 10 | "dark_gray": "#Cd3f45", 11 | "blue": "#db7b55", 12 | "green": "#e6cd69", 13 | "cyan": "#9fca56", 14 | "red": "#55dbbe", 15 | "magenta": "#55b5db", 16 | "yellow": "#a074c4", 17 | "white": "#8a553f", 18 | "screen_colors": "dark_magenta,black", 19 | "popup_colors": "dark_red,dark_blue" 20 | } 21 | -------------------------------------------------------------------------------- /presets/shapeshifter.json: -------------------------------------------------------------------------------- 1 | { 2 | "black": "#f9f9f9", 3 | "dark_blue": "#e0e0e0", 4 | "dark_green": "#ababab", 5 | "dark_cyan": "#555555", 6 | "dark_red": "#343434", 7 | "dark_magenta": "#102015", 8 | "dark_yellow": "#040404", 9 | "gray": "#000000", 10 | "dark_gray": "#e92f2f", 11 | "blue": "#e09448", 12 | "green": "#dddd13", 13 | "cyan": "#0ed839", 14 | "red": "#23edda", 15 | "magenta": "#3b48e3", 16 | "yellow": "#f996e2", 17 | "white": "#69542d", 18 | "screen_colors": "dark_magenta,black", 19 | "popup_colors": "dark_red,dark_blue" 20 | } 21 | -------------------------------------------------------------------------------- /presets/snazzy.json: -------------------------------------------------------------------------------- 1 | { 2 | "black": "#282a36", 3 | "dark_blue": "#268bd2", 4 | "dark_green": "#859900", 5 | "dark_cyan": "#2aa198", 6 | "dark_red": "#dc322f", 7 | "dark_magenta": "#d33682", 8 | "dark_yellow": "#b58900", 9 | "gray": "#686868", 10 | "dark_gray": "#839496", 11 | "blue": "#57c7ff", 12 | "green": "#5af78e", 13 | "cyan": "#9aedfe", 14 | "red": "#ff5c57", 15 | "magenta": "#ff6ac1", 16 | "yellow": "#f3f99d", 17 | "white": "#f1f1f0", 18 | "screen_colors": "white,black", 19 | "popup_colors": "yellow,white" 20 | } 21 | -------------------------------------------------------------------------------- /presets/solarflare.json: -------------------------------------------------------------------------------- 1 | { 2 | "black": "#18262F", 3 | "dark_blue": "#222E38", 4 | "dark_green": "#586875", 5 | "dark_cyan": "#667581", 6 | "dark_red": "#85939E", 7 | "dark_magenta": "#A6AFB8", 8 | "dark_yellow": "#E8E9ED", 9 | "gray": "#F5F7FA", 10 | "dark_gray": "#EF5253", 11 | "blue": "#E66B2B", 12 | "green": "#E4B51C", 13 | "cyan": "#7CC844", 14 | "red": "#52CBB0", 15 | "magenta": "#33B5E1", 16 | "yellow": "#A363D5", 17 | "white": "#D73C9A", 18 | "screen_colors": "dark_magenta,black", 19 | "popup_colors": "dark_red,dark_blue" 20 | } 21 | -------------------------------------------------------------------------------- /presets/solarized-dark.json: -------------------------------------------------------------------------------- 1 | { 2 | "black": "#002b36", 3 | "dark_blue": "#18567f", 4 | "dark_green": "#5a6600", 5 | "dark_cyan": "#1d6d66", 6 | "dark_red": "#a82725", 7 | "dark_magenta": "#8c2559", 8 | "dark_yellow": "#7f5f00", 9 | "gray": "#93a1a1", 10 | "dark_gray": "#586e75", 11 | "blue": "#268bd2", 12 | "green": "#859900", 13 | "cyan": "#2aa198", 14 | "red": "#dc322f", 15 | "magenta": "#d33682", 16 | "yellow": "#b58900", 17 | "white": "#fdf6e3", 18 | "screen_colors": "gray,black", 19 | "popup_colors": "black,gray" 20 | } 21 | -------------------------------------------------------------------------------- /presets/solarized-light.json: -------------------------------------------------------------------------------- 1 | { 2 | "black": "#fdf6e3", 3 | "dark_blue": "#268bd2", 4 | "dark_green": "#859900", 5 | "dark_cyan": "#2aa198", 6 | "dark_red": "#dc322f", 7 | "dark_magenta": "#d33682", 8 | "dark_yellow": "#b58900", 9 | "gray": "#586e75", 10 | "dark_gray": "#93a1a1", 11 | "blue": "#18567f", 12 | "green": "#5a6600", 13 | "cyan": "#1d6d66", 14 | "red": "#a82725", 15 | "magenta": "#8c2559", 16 | "yellow": "#7f5f00", 17 | "white": "#002b36", 18 | "screen_colors": "gray,black", 19 | "popup_colors": "black,gray" 20 | } 21 | -------------------------------------------------------------------------------- /presets/spacemacs.json: -------------------------------------------------------------------------------- 1 | { 2 | "black": "#1f2022", 3 | "dark_blue": "#282828", 4 | "dark_green": "#444155", 5 | "dark_cyan": "#585858", 6 | "dark_red": "#b8b8b8", 7 | "dark_magenta": "#a3a3a3", 8 | "dark_yellow": "#e8e8e8", 9 | "gray": "#f8f8f8", 10 | "dark_gray": "#f2241f", 11 | "blue": "#ffa500", 12 | "green": "#b1951d", 13 | "cyan": "#67b11d", 14 | "red": "#2d9574", 15 | "magenta": "#4f97d7", 16 | "yellow": "#a31db1", 17 | "white": "#b03060", 18 | "screen_colors": "dark_magenta,black", 19 | "popup_colors": "dark_red,dark_blue" 20 | } 21 | -------------------------------------------------------------------------------- /presets/summerfruit-dark.json: -------------------------------------------------------------------------------- 1 | { 2 | "black": "#151515", 3 | "dark_blue": "#202020", 4 | "dark_green": "#303030", 5 | "dark_cyan": "#505050", 6 | "dark_red": "#B0B0B0", 7 | "dark_magenta": "#D0D0D0", 8 | "dark_yellow": "#E0E0E0", 9 | "gray": "#FFFFFF", 10 | "dark_gray": "#FF0086", 11 | "blue": "#FD8900", 12 | "green": "#ABA800", 13 | "cyan": "#00C918", 14 | "red": "#1FAAAA", 15 | "magenta": "#3777E6", 16 | "yellow": "#AD00A1", 17 | "white": "#CC6633", 18 | "screen_colors": "dark_magenta,black", 19 | "popup_colors": "dark_red,dark_blue" 20 | } 21 | -------------------------------------------------------------------------------- /presets/summerfruit-light.json: -------------------------------------------------------------------------------- 1 | { 2 | "black": "#FFFFFF", 3 | "dark_blue": "#E0E0E0", 4 | "dark_green": "#D0D0D0", 5 | "dark_cyan": "#B0B0B0", 6 | "dark_red": "#000000", 7 | "dark_magenta": "#101010", 8 | "dark_yellow": "#151515", 9 | "gray": "#202020", 10 | "dark_gray": "#FF0086", 11 | "blue": "#FD8900", 12 | "green": "#ABA800", 13 | "cyan": "#00C918", 14 | "red": "#1FAAAA", 15 | "magenta": "#3777E6", 16 | "yellow": "#AD00A1", 17 | "white": "#CC6633", 18 | "screen_colors": "dark_magenta,black", 19 | "popup_colors": "dark_red,dark_blue" 20 | } 21 | -------------------------------------------------------------------------------- /presets/tomorrow-night.json: -------------------------------------------------------------------------------- 1 | { 2 | "black": "#1d1f21", 3 | "dark_blue": "#282a2e", 4 | "dark_green": "#373b41", 5 | "dark_cyan": "#969896", 6 | "dark_red": "#b4b7b4", 7 | "dark_magenta": "#c5c8c6", 8 | "dark_yellow": "#e0e0e0", 9 | "gray": "#ffffff", 10 | "dark_gray": "#cc6666", 11 | "blue": "#de935f", 12 | "green": "#f0c674", 13 | "cyan": "#b5bd68", 14 | "red": "#8abeb7", 15 | "magenta": "#81a2be", 16 | "yellow": "#b294bb", 17 | "white": "#a3685a", 18 | "screen_colors": "dark_magenta,black", 19 | "popup_colors": "dark_red,dark_blue" 20 | } 21 | -------------------------------------------------------------------------------- /presets/tomorrow.json: -------------------------------------------------------------------------------- 1 | { 2 | "black": "#ffffff", 3 | "dark_blue": "#e0e0e0", 4 | "dark_green": "#d6d6d6", 5 | "dark_cyan": "#8e908c", 6 | "dark_red": "#969896", 7 | "dark_magenta": "#4d4d4c", 8 | "dark_yellow": "#282a2e", 9 | "gray": "#1d1f21", 10 | "dark_gray": "#c82829", 11 | "blue": "#f5871f", 12 | "green": "#eab700", 13 | "cyan": "#718c00", 14 | "red": "#3e999f", 15 | "magenta": "#4271ae", 16 | "yellow": "#8959a8", 17 | "white": "#a3685a", 18 | "screen_colors": "dark_magenta,black", 19 | "popup_colors": "dark_red,dark_blue" 20 | } 21 | -------------------------------------------------------------------------------- /presets/tube.json: -------------------------------------------------------------------------------- 1 | { 2 | "black": "#231f20", 3 | "dark_blue": "#1c3f95", 4 | "dark_green": "#5a5758", 5 | "dark_cyan": "#737171", 6 | "dark_red": "#959ca1", 7 | "dark_magenta": "#d9d8d8", 8 | "dark_yellow": "#e7e7e8", 9 | "gray": "#ffffff", 10 | "dark_gray": "#ee2e24", 11 | "blue": "#f386a1", 12 | "green": "#ffd204", 13 | "cyan": "#00853e", 14 | "red": "#85cebc", 15 | "magenta": "#009ddc", 16 | "yellow": "#98005d", 17 | "white": "#b06110", 18 | "screen_colors": "dark_magenta,black", 19 | "popup_colors": "dark_red,dark_blue" 20 | } 21 | -------------------------------------------------------------------------------- /presets/twilight.json: -------------------------------------------------------------------------------- 1 | { 2 | "black": "#1e1e1e", 3 | "dark_blue": "#323537", 4 | "dark_green": "#464b50", 5 | "dark_cyan": "#5f5a60", 6 | "dark_red": "#838184", 7 | "dark_magenta": "#a7a7a7", 8 | "dark_yellow": "#c3c3c3", 9 | "gray": "#ffffff", 10 | "dark_gray": "#cf6a4c", 11 | "blue": "#cda869", 12 | "green": "#f9ee98", 13 | "cyan": "#8f9d6a", 14 | "red": "#afc4db", 15 | "magenta": "#7587a6", 16 | "yellow": "#9b859d", 17 | "white": "#9b703f", 18 | "screen_colors": "dark_magenta,black", 19 | "popup_colors": "dark_red,dark_blue" 20 | } 21 | -------------------------------------------------------------------------------- /presets/ubuntu.json: -------------------------------------------------------------------------------- 1 | { 2 | "black": "#4e9a06", 3 | "dark_blue": "#3465a4", 4 | "dark_green": "#300a24", 5 | "dark_cyan": "#06989a", 6 | "dark_red": "#cc0000", 7 | "dark_magenta": "#75507b", 8 | "dark_yellow": "#c4a000", 9 | "gray": "#d3d7cf", 10 | "dark_gray": "#555753", 11 | "blue": "#729fcf", 12 | "green": "#8ae234", 13 | "cyan": "#34e2e2", 14 | "red": "#ef2929", 15 | "magenta": "#ad7fa8", 16 | "yellow": "#fce94f", 17 | "white": "#eeeeee", 18 | "screen_colors": "white,dark_green", 19 | "popup_colors": "dark_green,white" 20 | } 21 | -------------------------------------------------------------------------------- /presets/unikitty-dark.json: -------------------------------------------------------------------------------- 1 | { 2 | "black": "#2e2a31", 3 | "dark_blue": "#4a464d", 4 | "dark_green": "#666369", 5 | "dark_cyan": "#838085", 6 | "dark_red": "#9f9da2", 7 | "dark_magenta": "#bcbabe", 8 | "dark_yellow": "#d8d7da", 9 | "gray": "#f5f4f7", 10 | "dark_gray": "#d8137f", 11 | "blue": "#d65407", 12 | "green": "#dc8a0e", 13 | "cyan": "#17ad98", 14 | "red": "#149bda", 15 | "magenta": "#796af5", 16 | "yellow": "#bb60ea", 17 | "white": "#c720ca", 18 | "screen_colors": "dark_magenta,black", 19 | "popup_colors": "dark_red,dark_blue" 20 | } 21 | -------------------------------------------------------------------------------- /presets/unikitty-light.json: -------------------------------------------------------------------------------- 1 | { 2 | "black": "#ffffff", 3 | "dark_blue": "#e1e1e2", 4 | "dark_green": "#c4c3c5", 5 | "dark_cyan": "#a7a5a8", 6 | "dark_red": "#89878b", 7 | "dark_magenta": "#6c696e", 8 | "dark_yellow": "#4f4b51", 9 | "gray": "#322d34", 10 | "dark_gray": "#d8137f", 11 | "blue": "#d65407", 12 | "green": "#dc8a0e", 13 | "cyan": "#17ad98", 14 | "red": "#149bda", 15 | "magenta": "#775dff", 16 | "yellow": "#aa17e6", 17 | "white": "#e013d0", 18 | "screen_colors": "dark_magenta,black", 19 | "popup_colors": "dark_red,dark_blue" 20 | } 21 | -------------------------------------------------------------------------------- /presets/vs-code-dark-plus.json: -------------------------------------------------------------------------------- 1 | { 2 | "black": "#1e1e1e", 3 | "dark_blue": "#6796e6", 4 | "dark_green": "#608b4e", 5 | "dark_cyan": "#569cd6", 6 | "dark_red": "#f44747", 7 | "dark_magenta": "#646695", 8 | "dark_yellow": "#d7ba7d", 9 | "gray": "#d4d4d4", 10 | "dark_gray": "#808080", 11 | "blue": "#9cdcfe", 12 | "green": "#8db07b", 13 | "cyan": "#4ec9b0", 14 | "red": "#d16969", 15 | "magenta": "#c586c0", 16 | "yellow": "#dcdcaa", 17 | "white": "#eeeeee", 18 | "screen_colors": "gray,black", 19 | "popup_colors": "dark_cyan,white" 20 | } 21 | -------------------------------------------------------------------------------- /presets/woodland.json: -------------------------------------------------------------------------------- 1 | { 2 | "black": "#231e18", 3 | "dark_blue": "#302b25", 4 | "dark_green": "#48413a", 5 | "dark_cyan": "#9d8b70", 6 | "dark_red": "#b4a490", 7 | "dark_magenta": "#cabcb1", 8 | "dark_yellow": "#d7c8bc", 9 | "gray": "#e4d4c8", 10 | "dark_gray": "#d35c5c", 11 | "blue": "#ca7f32", 12 | "green": "#e0ac16", 13 | "cyan": "#b7ba53", 14 | "red": "#6eb958", 15 | "magenta": "#88a4d3", 16 | "yellow": "#bb90e2", 17 | "white": "#b49368", 18 | "screen_colors": "dark_magenta,black", 19 | "popup_colors": "dark_red,dark_blue" 20 | } 21 | -------------------------------------------------------------------------------- /presets/xcode-dusk.json: -------------------------------------------------------------------------------- 1 | { 2 | "black": "#282B35", 3 | "dark_blue": "#3D4048", 4 | "dark_green": "#53555D", 5 | "dark_cyan": "#686A71", 6 | "dark_red": "#7E8086", 7 | "dark_magenta": "#939599", 8 | "dark_yellow": "#A9AAAE", 9 | "gray": "#BEBFC2", 10 | "dark_gray": "#B21889", 11 | "blue": "#786DC5", 12 | "green": "#438288", 13 | "cyan": "#DF0002", 14 | "red": "#00A0BE", 15 | "magenta": "#790EAD", 16 | "yellow": "#B21889", 17 | "white": "#C77C48", 18 | "screen_colors": "dark_magenta,black", 19 | "popup_colors": "dark_red,dark_blue" 20 | } 21 | -------------------------------------------------------------------------------- /presets/zenburn.json: -------------------------------------------------------------------------------- 1 | { 2 | "black": "#3f3f3f", 3 | "dark_blue": "#404040", 4 | "dark_green": "#606060", 5 | "dark_cyan": "#4f4f4f", 6 | "dark_red": "#808080", 7 | "dark_magenta": "#dcdccc", 8 | "dark_yellow": "#c0c0c0", 9 | "gray": "#ffffff", 10 | "dark_gray": "#dca3a3", 11 | "blue": "#dfaf8f", 12 | "green": "#e0cf9f", 13 | "cyan": "#5f7f5f", 14 | "red": "#93e0e3", 15 | "magenta": "#7cb8bb", 16 | "yellow": "#dc8cc3", 17 | "white": "#000000", 18 | "screen_colors": "dark_magenta,black", 19 | "popup_colors": "dark_red,dark_blue" 20 | } 21 | -------------------------------------------------------------------------------- /scripts/cpsg.py: -------------------------------------------------------------------------------- 1 | """ 2 | cpsg.py 3 | ~~~~~~ 4 | Concfg Preset Screenshot Generator 5 | 6 | Only works in pure powershell/pwsh session, does not work in terminal like cmder. 7 | 8 | Prerequisites: 9 | Python3.4+, Pillow, jinja2, pywin32 10 | """ 11 | import os 12 | import sys 13 | import glob 14 | import time 15 | import shutil 16 | import argparse 17 | import win32gui 18 | import subprocess 19 | import win32process 20 | from PIL import ImageGrab 21 | from jinja2 import Template 22 | 23 | LEGACY_PWSH = False 24 | SCRIPT_DIR = os.path.dirname(os.path.realpath(__file__)) 25 | PRESETS_DIR = os.path.join(SCRIPT_DIR, os.pardir, 'presets') 26 | PRESET_EXAMPLES_DIR = os.path.join(SCRIPT_DIR, os.pardir, 'preset_examples') 27 | SKIP_LIST = ['basic', 'basic-reset'] 28 | 29 | 30 | def get_hwnds_for_pid(pid): 31 | def callback(hwnd, hwnds): 32 | if win32gui.IsWindowVisible(hwnd) and win32gui.IsWindowEnabled(hwnd): 33 | _, found_pid = win32process.GetWindowThreadProcessId(hwnd) 34 | if found_pid == pid: 35 | hwnds.append(hwnd) 36 | return True 37 | hwnds = [] 38 | win32gui.EnumWindows(callback, hwnds) 39 | return hwnds 40 | 41 | 42 | def get_presets(): 43 | files = glob.glob(os.path.join(PRESETS_DIR, '*.json')) 44 | presets = [] 45 | 46 | for item in files: 47 | presets.append((os.path.splitext(os.path.basename(item))[0], item)) 48 | 49 | # preset pair list [(name, path), (name, path), ...] 50 | return presets 51 | 52 | 53 | def gens_for_preset(preset): 54 | exe = 'powershell' if LEGACY_PWSH else 'pwsh' 55 | 56 | print("Taking screenshot of preset '{0}'...".format(preset[0])) 57 | 58 | # set color preset 59 | pwsh = subprocess.Popen( 60 | '{0} -noprofile -file {1}/setcolors.ps1 -preset {2}'.format(exe, SCRIPT_DIR, preset[1]), 61 | creationflags=subprocess.CREATE_NEW_CONSOLE 62 | ) 63 | # waiting for exit 64 | time.sleep(4.0) 65 | 66 | # print out color table then take screenshot 67 | pwsh = subprocess.Popen( 68 | '{0} -noprofile -noexit -file {1}/outcolors.ps1'.format(exe, SCRIPT_DIR), 69 | creationflags=subprocess.CREATE_NEW_CONSOLE 70 | ) 71 | # waiting for process 72 | time.sleep(2.0) 73 | for hwnd in get_hwnds_for_pid(pwsh.pid): 74 | win32gui.SetForegroundWindow(hwnd) 75 | 76 | bbox = win32gui.GetWindowRect(hwnd) 77 | # remove window box shadow 78 | crop_bbox = (bbox[0]+7, bbox[1], bbox[2]-7, bbox[3]-7) 79 | img = ImageGrab.grab(crop_bbox) 80 | if not os.path.exists(PRESET_EXAMPLES_DIR): 81 | os.makedirs(PRESET_EXAMPLES_DIR) 82 | img.save(os.path.join(PRESET_EXAMPLES_DIR, '{0}.png'.format(preset[0]))) 83 | pwsh.kill() 84 | 85 | 86 | def img_dict(direntry): 87 | return { 88 | 'name': direntry.name.replace('.png', ''), 89 | 'path': direntry.name 90 | } 91 | 92 | 93 | def is_img(direntry): 94 | if direntry.is_file and direntry.name.endswith('.png'): 95 | return True 96 | return False 97 | 98 | 99 | if __name__ == '__main__': 100 | # Usage: python -m cpsg [args] 101 | parser = argparse.ArgumentParser( 102 | description='Concfg Preset Screenshot Generator') 103 | parser.add_argument("-a", "--all", 104 | help="generate screenshot for all presets", 105 | action="store_true") 106 | parser.add_argument("-l", "--legacy", 107 | help="pass this option if you use Windows PowerShell", 108 | action="store_true") 109 | parser.add_argument("-p", "--preset", 110 | help="generate screenshot for single preset") 111 | parser.add_argument("-u", "--update", 112 | help="also update the screenshot README", 113 | action="store_true") 114 | args = parser.parse_args() 115 | 116 | if args.all or args.preset: 117 | 118 | if not shutil.which('colortool.exe'): 119 | print("Make sure you have 'ColorTool' installed.") 120 | sys.exit(0) 121 | 122 | input("NOTICE: Do not have other operations while the script runs, " 123 | "or it will be interrupted when taking screenshots. " 124 | "Hit Enter to continue: ") 125 | 126 | presets = get_presets() 127 | 128 | if args.legacy: 129 | LEGACY_PWSH = True 130 | 131 | if args.all: 132 | for item in presets: 133 | # skip non-color presets 134 | if not item[0] in SKIP_LIST: 135 | gens_for_preset(item) 136 | elif args.preset: 137 | # skip non-color presets 138 | if not args.preset in SKIP_LIST: 139 | match = [item for item in presets if item[0] == args.preset] 140 | if len(match): 141 | gens_for_preset(match[0]) 142 | else: 143 | print("No preset named '{0}'.".format(args.preset)) 144 | sys.exit(0) 145 | 146 | if args.update: 147 | print('Updating screenshots README.md...') 148 | # Get template 149 | with open(os.path.join(SCRIPT_DIR, 'readme.jinja2')) as templateData: 150 | template = Template(templateData.read()) 151 | 152 | # Get images 153 | images = [img_dict(direntry) for direntry in os.scandir(PRESET_EXAMPLES_DIR) if is_img(direntry)] 154 | images.sort(key=lambda x: x['name']) 155 | 156 | # Generate README 157 | with open(os.path.join(PRESET_EXAMPLES_DIR, 'README.md'), 'w') as readme: 158 | readme.write(template.render(images=images)) 159 | else: 160 | parser.print_help() 161 | sys.exit(0) 162 | -------------------------------------------------------------------------------- /scripts/outcolors.ps1: -------------------------------------------------------------------------------- 1 | [Threading.Thread]::CurrentThread.CurrentUICulture = 'en-US' 2 | $Host.UI.RawUI.WindowTitle = "PowerShell" 3 | colortool.exe -c 4 | Set-Location c:\ 5 | -------------------------------------------------------------------------------- /scripts/readme.jinja2: -------------------------------------------------------------------------------- 1 | # Automated Screenshots of concfg built-in Presets 2 | 3 | {% for image in images %} 4 | ## {{ image.name }} 5 | 6 | ![{{ image.name }}](./{{ image.path }} "{{ image.name }}") 7 | {% endfor %} 8 | -------------------------------------------------------------------------------- /scripts/setcolors.ps1: -------------------------------------------------------------------------------- 1 | param ( 2 | [string]$preset = "" 3 | ) 4 | 5 | concfg clean 6 | concfg import -n $preset 7 | -------------------------------------------------------------------------------- /test/00.Concfg-Linting.Tests.ps1: -------------------------------------------------------------------------------- 1 | $repo_dir = (Get-Item $MyInvocation.MyCommand.Path).directory.parent.FullName 2 | 3 | Describe "PSScriptAnalyzer" { 4 | $scoop_modules = Get-ChildItem $repo_dir -Recurse -Include *.psd1, *.psm1, *.ps1 5 | $scoop_modules = $scoop_modules | Where-Object { $_.DirectoryName -notlike '*\supporting*' -and $_.DirectoryName -notlike '*\test*' } 6 | $scoop_modules = $scoop_modules | Select-Object -ExpandProperty Directory -Unique 7 | 8 | Context "Checking ScriptAnalyzer" { 9 | It "Invoke-ScriptAnalyzer Cmdlet should exist" { 10 | { Get-Command Invoke-ScriptAnalyzer -ErrorAction Stop } | Should Not Throw 11 | } 12 | It "PSScriptAnalyzerSettings.ps1 should exist" { 13 | Test-Path "$repo_dir\PSScriptAnalyzerSettings.psd1" | Should Be $true 14 | } 15 | It "There should be files to test" { 16 | $scoop_modules.Count | Should Not Be 0 17 | } 18 | } 19 | 20 | $linting_settings = Get-Item -Path "$repo_dir\PSScriptAnalyzerSettings.psd1" 21 | 22 | Context "Linting all *.psd1, *.psm1 and *.ps1 files" { 23 | foreach($directory in $scoop_modules) { 24 | $analysis = Invoke-ScriptAnalyzer -Path $directory.FullName -Settings $linting_settings.FullName 25 | It "Should pass: $directory" { 26 | $analysis.Count | Should Be 0 27 | } 28 | if($analysis) { 29 | foreach($result in $analysis) { 30 | switch -wildCard ($result.ScriptName) { 31 | '*.psm1' { $type = 'Module' } 32 | '*.ps1' { $type = 'Script' } 33 | '*.psd1' { $type = 'Manifest' } 34 | } 35 | Write-Host -f Yellow " [*] $($result.Severity): $($result.Message)" 36 | Write-Host -f Yellow " $($result.RuleName) in $type`: $directory\$($result.ScriptName):$($result.Line)" 37 | } 38 | } 39 | } 40 | } 41 | } 42 | -------------------------------------------------------------------------------- /test/01.Concfg-Shortcuts.Tests.ps1: -------------------------------------------------------------------------------- 1 | . "$PSScriptRoot\..\lib\shortcut.ps1" 2 | 3 | $real_path = "$env:USERPROFILE\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Windows PowerShell\Windows PowerShell.lnk" 4 | $fake_not_exist = "asdf" 5 | $fale_not_shortcut = "C:\windows\notepad.exe" 6 | 7 | Describe "Project Code" { 8 | Context "Checking Shortcut Utilities" { 9 | It "First path should be a Powershell shortcut" { 10 | (Test-IsPowershellShortcut $real_path) | Should Be $true 11 | } 12 | It "Second path should not be a Powershell shortcut" { 13 | !(Test-IsPowershellShortcut $fake_not_exist) | Should Be $true 14 | } 15 | It "Third path should not be a Powershell shortcut" { 16 | !(Test-IsPowershellShortcut $fale_not_shortcut) | Should Be $true 17 | } 18 | It "Remove console properties from first path should work" { 19 | (Remove-Property $real_path) | Should Be $true 20 | } 21 | It "Remove console properties from second path should not work" { 22 | !(Remove-Property $fake_not_exist) | Should Be $true 23 | } 24 | It "Remove console properties from third path should not work" { 25 | !(Remove-Property $fale_not_shortcut) | Should Be $true 26 | } 27 | } 28 | } 29 | --------------------------------------------------------------------------------