Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please vote for your favorite theme. 请为你喜欢的主题风格投票。 #75

Open
lonnywong opened this issue Jan 21, 2024 · 3 comments

Comments

@lonnywong
Copy link
Member

trzsz-ssh ( tssh ) provides a series of themes for you to choose

  • Please vote for your favorite theme. The theme with the highest number of votes will be set as the default theme.

  • If your favorite theme is not the default theme, you can configure it in ~/.tssh.conf.

    PromptThemeLayout = table
    
  • You can customize the theme colors in ~/.tssh.conf. No need to configure all the colors, just the colors you want to adjust.

    PromptThemeColors = {"active_host": "magenta|bold", "inactive_host": "magenta"}
    
  • Welcome to create more beautiful themes, and submit your themes to PR.

  • If you want to comment, please open a new issue and do not quote this issue. Comments here will be deleted, to make rooms for new themes.

trzsz-ssh ( tssh ) 提供了一系列主题风格供您选择

  • 请为您最喜欢的主题风格投票。得票数最高的主题风格将被设置为默认主题。

  • 如果您喜欢的主题风格不是默认主题,您可以在 ~/.tssh.conf 中进行配置。

    PromptThemeLayout = table
    
  • 您可以在 ~/.tssh.conf 中自定义主题颜色。不需要配置所有颜色,只需配置想要调整的颜色即可。

    PromptThemeColors = {"active_host": "magenta|bold", "inactive_host": "magenta"}
    
  • 欢迎您来创造更多更好看的主题风格,并将您的主题风格提交至 PR。

  • 如果你想要评论,请开一个新的 issue,且不要引用此 issue。在此 issue 直接评论会被删除,为新主题风格留出空间。

@lonnywong lonnywong pinned this issue Jan 21, 2024
@lonnywong
Copy link
Member Author

tiny 小巧风

  • PromptThemeLayout = tiny

    tiny theme

  • Supported custom colors and default values. You can configure them to PromptThemeColors in one line.

  • 支持自定义的颜色和默认值。您可以将它们配置到 PromptThemeColors 中( 要求配置成一行 )。

    {
      "help_tips": "faint",
      "shortcuts": "faint",
      "label_icon": "blue",
      "label_text": "default",
      "cursor_icon": "green|bold",
      "active_selected": "green|bold",
      "active_alias": "cyan|bold",
      "active_host": "magenta|bold",
      "active_group": "blue|bold",
      "inactive_selected": "green|bold",
      "inactive_alias": "cyan",
      "inactive_host": "magenta",
      "inactive_group": "blue",
      "details_title": "default",
      "details_name": "faint",
      "details_value": "default"
    }
  • Supported color enumerations. Can be concatenated with |.

  • 支持的颜色枚举,可用 | 连接多个颜色枚举。

    default
    black
    red
    green
    yellow
    blue
    magenta
    cyan
    white
    bgBlack
    bgRed
    bgGreen
    bgYellow
    bgBlue
    bgMagenta
    bgCyan
    bgWhite
    bold
    faint
    italic
    underline
    

@lonnywong
Copy link
Member Author

simple 简约风

  • PromptThemeLayout = simple

    simple theme

  • Supported custom colors and default values are exactly same as the tiny theme.

  • 支持自定义的颜色和默认值与 tiny 小巧风 完全相同。

@lonnywong
Copy link
Member Author

table 表格风

  • PromptThemeLayout = table

    table theme

  • Supported custom colors and default values. You can configure them to PromptThemeColors in one line.

  • 支持自定义的颜色和默认值。您可以将它们配置到 PromptThemeColors 中( 要求配置成一行 )。

    {
      "help_tips": "faint",
      "shortcuts": "faint",
      "table_header": "10",
      "default_alias": "6",
      "default_host": "5",
      "default_group": "4",
      "selected_icon": "2",
      "selected_alias": "14",
      "selected_host": "13",
      "selected_group": "12",
      "default_border": "8",
      "selected_border": "10",
      "details_name": "4",
      "details_value": "3",
      "details_border": "8"
    }
  • For supported color enumerations, please refer to lipgloss, except help_tips and shortcuts are same as the tiny theme.

  • 支持的颜色枚举请参考 lipgloss,除了 help_tipsshortcutstiny 小巧风 相同。

@trzsz trzsz deleted a comment from boomker Jan 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant