microsoft / terminal

The new Windows Terminal and the original Windows console host, all in the same place!
MIT License
95.93k stars 8.35k forks source link

ColorSchemes and Profiles repo #5546

Closed ghost closed 4 years ago

ghost commented 4 years ago

I found my self spending some time trying to configure a cool profile and ended up with a Fallout-ish looking terminal. I would like to share this and, also, see what people can offer. So the idea is basically a repository or ""place"" to upload and download profiles and color schemes.

Sorry if this have been already addressed, I've been looking but failed to find something.

zadjii-msft commented 4 years ago

So we don't have our own gallery that we maintain, but there is TerminalSplash.com that I've left open as a tab for a long while now. I think it's pretty cool. I'm not really sure how well maintained it is.

https://github.com/mbadolato/iTerm2-Color-Schemes is also the definitive terminal color scheme repo IMO. That's just for schemes and isn't specific to the Windows Terminal.

Having some sort of gallery would probably be even more important once #3327 lands too. I don't think we could maintain it, but I'd love to have one 😄

AlikanakelaKarwowski commented 4 years ago

@zadjii-msft how do i set a specific color scheme from terminalsplash (ie like afteglow 40m)? No matter what theme i use for Ubuntu, when ever i do a ls command the directorys are unreadable cause the directory colors are in some horrible shade of green and the text is in blue and its literally impossible to read.

any help or resources would be greatly apreciated

zadjii-msft commented 4 years ago

Sure, could you share what your settings.json looks like currently?

AlikanakelaKarwowski commented 4 years ago
// This file was initially generated by Windows Terminal 0.11.1121.0
// It should still be usable in newer versions, but newer versions might have additional
// settings, help text, or changes that you will not see unless you clear this file
// and let us generate a new one for you.

// To view the default settings, hold "alt" while clicking on the "Settings" button.
// For documentation on these settings, see: https://aka.ms/terminal-documentation
{
  "$schema": "https://aka.ms/terminal-profiles-schema",

  "defaultProfile": "{2c4de342-38b7-51cf-b940-2309a097f518}",

  // You can add more global application settings here.
  // To learn more about global settings, visit https://aka.ms/terminal-global-settings

  // If enabled, selections are automatically copied to your clipboard.
  "copyOnSelect": false,

  // If enabled, formatted data is also copied to your clipboard
  "copyFormatting": false,

  // A profile specifies a command to execute paired with information about how it should look and feel.
  // Each one of them will appear in the 'New Tab' dropdown,
  //   and can be invoked from the commandline with `wt.exe -p xxx`
  // To learn more about profiles, visit https://aka.ms/terminal-profile-settings
  "profiles": [
    {
      "acrylicOpacity": 0.5,
      "background": "#012456",
      "closeOnExit": true,
      "colorScheme": "Campbell",
      "commandline": "powershell.exe",
      "cursorColor": "#FFFFFF",
      "cursorShape": "bar",
      "fontFace": "Consolas",
      "fontSize": 10,
      "guid": "{61c54bbd-c2c6-5271-96e7-009a87ff44bf}",
      "historySize": 9001,
      "icon": "ms-appx:///ProfileIcons/{61c54bbd-c2c6-5271-96e7-009a87ff44bf}.png",
      "name": "Windows PowerShell",
      "padding": "0, 0, 0, 0",
      "snapOnInput": true,
      "startingDirectory": "%USERPROFILE%",
      "useAcrylic": false
    },
    {
      "acrylicOpacity": 0.75,
      "closeOnExit": true,
      "colorScheme": "Campbell",
      "commandline": "cmd.exe",
      "cursorColor": "#FFFFFF",
      "cursorShape": "bar",
      "fontFace": "Consolas",
      "fontSize": 10,
      "guid": "{0caa0dad-35be-5f56-a8ff-afceeeaa6101}",
      "historySize": 9001,
      "icon": "ms-appx:///ProfileIcons/{0caa0dad-35be-5f56-a8ff-afceeeaa6101}.png",
      "name": "cmd",
      "padding": "0, 0, 0, 0",
      "snapOnInput": true,
      "startingDirectory": "%USERPROFILE%",
      "useAcrylic": true
    },
    {
      "acrylicOpacity": 0.59999999999999998,
      "closeOnExit": false,
      "colorScheme": "Vintage",
      "commandline": "Azure",
      "connectionType": "{d9fcfdfa-a479-412c-83b7-c5640e61cd62}",
      "cursorColor": "#FFFFFF",
      "cursorShape": "bar",
      "fontFace": "Consolas",
      "fontSize": 10,
      "guid": "{b453ae62-4e3d-5e58-b989-0a998ec441b8}",
      "historySize": 9001,
      "icon": "ms-appx:///ProfileIcons/{b453ae62-4e3d-5e58-b989-0a998ec441b8}.png",
      "name": "Azure Cloud Shell",
      "padding": "0, 0, 0, 0",
      "snapOnInput": true,
      "startingDirectory": "%USERPROFILE%",
      "useAcrylic": true
    },
    {
      "acrylicOpacity": 0.5,
      "closeOnExit": true,
      "colorScheme": "Afterglow",
      "commandline": "wsl.exe -d Ubuntu",
      "cursorColor": "#FFFFFF",
      "cursorShape": "bar",
      "fontFace": "Consolas",
      "fontSize": 10,
      "guid": "{2c4de342-38b7-51cf-b940-2309a097f518}",
      "historySize": 9001,
      "icon": "ms-appx:///ProfileIcons/{9acb9455-ca41-5af7-950f-6bca1bc9722f}.png",
      "name": "Ubuntu",
      "padding": "0, 0, 0, 0",
      "snapOnInput": true,
      "startingDirectory": "D:\\Github\\",
      "useAcrylic": false
    }
  ],
  "schemes": [
    {
      "background": "#0C0C0C",
      "black": "#0C0C0C",
      "blue": "#0037DA",
      "brightBlack": "#767676",
      "brightBlue": "#3B78FF",
      "brightCyan": "#61D6D6",
      "brightGreen": "#16C60C",
      "brightPurple": "#B4009E",
      "brightRed": "#E74856",
      "brightWhite": "#F2F2F2",
      "brightYellow": "#F9F1A5",
      "cyan": "#3A96DD",
      "foreground": "#CCCCCC",
      "green": "#13A10E",
      "name": "Campbell",
      "purple": "#881798",
      "red": "#C50F1F",
      "white": "#CCCCCC",
      "yellow": "#C19C00"
    },
    {
      "background": "#000000",
      "black": "#000000",
      "blue": "#000080",
      "brightBlack": "#808080",
      "brightBlue": "#0000FF",
      "brightCyan": "#00FFFF",
      "brightGreen": "#00FF00",
      "brightPurple": "#FF00FF",
      "brightRed": "#FF0000",
      "brightWhite": "#FFFFFF",
      "brightYellow": "#FFFF00",
      "cyan": "#008080",
      "foreground": "#C0C0C0",
      "green": "#008000",
      "name": "Vintage",
      "purple": "#800080",
      "red": "#800000",
      "white": "#C0C0C0",
      "yellow": "#808000"
    },
    {
      "background": "#282C34",
      "black": "#282C34",
      "blue": "#61AFEF",
      "brightBlack": "#5A6374",
      "brightBlue": "#61AFEF",
      "brightCyan": "#56B6C2",
      "brightGreen": "#98C379",
      "brightPurple": "#C678DD",
      "brightRed": "#E06C75",
      "brightWhite": "#DCDFE4",
      "brightYellow": "#E5C07B",
      "cyan": "#56B6C2",
      "foreground": "#DCDFE4",
      "green": "#98C379",
      "name": "One Half Dark",
      "purple": "#C678DD",
      "red": "#E06C75",
      "white": "#DCDFE4",
      "yellow": "#E5C07B"
    },
    {
      "background": "#FAFAFA",
      "black": "#383A42",
      "blue": "#0184BC",
      "brightBlack": "#4F525D",
      "brightBlue": "#61AFEF",
      "brightCyan": "#56B5C1",
      "brightGreen": "#98C379",
      "brightPurple": "#C577DD",
      "brightRed": "#DF6C75",
      "brightWhite": "#FFFFFF",
      "brightYellow": "#E4C07A",
      "cyan": "#0997B3",
      "foreground": "#383A42",
      "green": "#50A14F",
      "name": "One Half Light",
      "purple": "#A626A4",
      "red": "#E45649",
      "white": "#FAFAFA",
      "yellow": "#C18301"
    },
    {
      "background": "#002B36",
      "black": "#073642",
      "blue": "#268BD2",
      "brightBlack": "#002B36",
      "brightBlue": "#839496",
      "brightCyan": "#93A1A1",
      "brightGreen": "#586E75",
      "brightPurple": "#6C71C4",
      "brightRed": "#CB4B16",
      "brightWhite": "#FDF6E3",
      "brightYellow": "#657B83",
      "cyan": "#2AA198",
      "foreground": "#839496",
      "green": "#859900",
      "name": "Solarized Dark",
      "purple": "#D33682",
      "red": "#DC322F",
      "white": "#EEE8D5",
      "yellow": "#B58900"
    },
    {
      "background": "#FDF6E3",
      "black": "#073642",
      "blue": "#268BD2",
      "brightBlack": "#002B36",
      "brightBlue": "#839496",
      "brightCyan": "#93A1A1",
      "brightGreen": "#586E75",
      "brightPurple": "#6C71C4",
      "brightRed": "#CB4B16",
      "brightWhite": "#FDF6E3",
      "brightYellow": "#657B83",
      "cyan": "#2AA198",
      "foreground": "#657B83",
      "green": "#859900",
      "name": "Solarized Light",
      "purple": "#D33682",
      "red": "#DC322F",
      "white": "#EEE8D5",
      "yellow": "#B58900"
    },
    {
      "name": "Afterglow",
      "black": "#000000",
      "red": "#f6188f",
      "green": "#1ebb2b",
      "yellow": "#fdf834",
      "blue": "#000000",
      "purple": "#f85a21",
      "cyan": "#12c3e2",
      "white": "#ffffff",
      "brightBlack": "#000000",
      "brightRed": "#f841a0",
      "brightGreen": "#25c141",
      "brightYellow": "#fdf454",
      "brightBlue": "#2f9ded",
      "brightPurple": "#f97137",
      "brightCyan": "#19cde6",
      "brightWhite": "#ffffff",
      "background": "#000000",
      "foreground": "#dad9c7"
    }
  ],

  // Add custom keybindings to this array.
  // To unbind a key combination from your defaults.json, set the command to "unbound".
  // To learn more about keybindings, visit https://aka.ms/terminal-keybindings
  "keybindings": [
    // Copy and paste are bound to Ctrl+Shift+C and Ctrl+Shift+V in your defaults.json.
    // These two lines additionally bind them to Ctrl+C and Ctrl+V.
    // To learn more about selection, visit https://aka.ms/terminal-selection
    {
      "command": {
        "action": "copy",
        "singleLine": false
      },
      "keys": "ctrl+c"
    },
    {
      "command": "paste",
      "keys": "ctrl+v"
    },

    // Press Ctrl+Shift+F to open the search box
    {
      "command": "find",
      "keys": "ctrl+shift+f"
    },

    // Press Alt+Shift+D to open a new pane.
    // - "split": "auto" makes this pane open in the direction that provides the most surface area.
    // - "splitMode": "duplicate" makes the new pane use the focused pane's profile.
    // To learn more about panes, visit https://aka.ms/terminal-panes
    {
      "command": {
        "action": "splitPane",
        "split": "auto",
        "splitMode": "duplicate"
      },
      "keys": "alt+shift+d"
    }
  ]
}

@zadjii-msft Thanks

AlikanakelaKarwowski commented 4 years ago

https://i.imgur.com/cmmHTKj.png is a picture of what im talking about when i type ls into the ubuntu terminal. Its highly unreadable.

zadjii-msft commented 4 years ago

I mean, that looks like what I'd expect from that theme. From TerminalSplash, the theme is supposed to look like: image

Note the blue-on-green color here: image

Compared with your screenshot: image

The blue-on-green has always been a bit of a problem for ls, coming up with themes that work with that color selection is notoriously hard. I'd look at using LS_COLORS to change those colors, or using something similar

AlikanakelaKarwowski commented 4 years ago

ok, is there a way to specify colors of certain text? like my working directory is a blue color, files are that lite green color, the username is the same green as the files, etc...

The color of the user is tied to the same property that the color of the file is. Specifically the "brightGreen": color property is the one that is tied to both.

I would very much appreciate a way to customize how certain files/folders/attributes/ are colored and displayed, and having either a setting to do that or a tool to set colors of things would be helpful

outside of LS_COLORS is there any other tools you can think of that would let me customize this? LS_COLORS worked but the colors were awkward

zadjii-msft commented 4 years ago

You don't have to use that particular palette, that's just one that's particularily robust. This StackOverflow post has some great details.

DHowett-MSFT commented 4 years ago

With regards to the initial thread, I actually think this is somewhere the community can really shine. I love TerminalSplash.com, and I think that we should elevate our compatriots here. That does, however, mean that I'm going to close this issue out on our repo as there's no actionable work for us in the near-term for the actual Terminal product. :smile: