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

feat(prompt): Make non-bold fonts available in prompt #1392

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

martonivan
Copy link

Description

As it was requested in on of the oldest feature requests, some may prefer to use the prompt with non-bold fonts.

The default look and feel was not changed, but three additional variables has been introduced to allow selecting the bold parts of the prompt, all of them with 'true' default value:
+SPACESHIP_PROMPT_SECTION_BOLD="${SPACESHIP_PROMPT_SECTION_BOLD=true}"
+SPACESHIP_PROMPT_PREFIXES_BOLD="${SPACESHIP_PROMPT_PREFIXES_BOLD=true}"
+SPACESHIP_PROMPT_SUFFIXES_BOLD="${SPACESHIP_PROMPT_SUFFIXES_BOLD=true}"

The names are self-explanatory, I believe.

resolve #426

Screenshot

Screenshot

As it was requested in on of the oldest feature requests, some may
prefer to use the prompt with non-bold fonts.

resolve spaceship-prompt#426
@netlify
Copy link

netlify bot commented Sep 22, 2023

Deploy Preview for spaceship-prompt ready!

Name Link
🔨 Latest commit a4e5379
🔍 Latest deploy log https://app.netlify.com/sites/spaceship-prompt/deploys/650f398c9a26bd00083fbacc
😎 Deploy Preview https://deploy-preview-1392--spaceship-prompt.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Add option to print prompt in non-bold font
1 participant