diff --git a/src/segments/node.go b/src/segments/node.go index 3910caf8..79fad8f1 100644 --- a/src/segments/node.go +++ b/src/segments/node.go @@ -55,7 +55,7 @@ func (n *Node) loadContext() { return } if n.language.env.HasFiles("yarn.lock") { - n.PackageManagerIcon = n.language.props.GetString(YarnIcon, "\uF61A") + n.PackageManagerIcon = n.language.props.GetString(YarnIcon, "\uF011B") return } if n.language.env.HasFiles("package-lock.json") || n.language.env.HasFiles("package.json") { diff --git a/themes/schema.json b/themes/schema.json index 1e4bd352..53979b8b 100644 --- a/themes/schema.json +++ b/themes/schema.json @@ -1500,7 +1500,7 @@ "type": "string", "title": "Yarn Icon", "description": "Icon/text to use for Yarn", - "default": " \uF61A" + "default": " \uF011B" }, "npm_icon": { "type": "string", diff --git a/website/docs/segments/node.mdx b/website/docs/segments/node.mdx index e3b77423..3e2b1084 100644 --- a/website/docs/segments/node.mdx +++ b/website/docs/segments/node.mdx @@ -33,7 +33,7 @@ import Config from "@site/src/components/Config.js"; | `display_mode` | `string` | | | `version_url_template` | `string` | a go [text/template][go-text-template] [template][templates] that creates the URL of the version info / release notes | | `fetch_package_manager` | `boolean` | define if the current project uses Yarn or NPM - defaults to `false` | -| `yarn_icon` | `string` | the icon/text to display when using Yarn - defaults to ` \uF61A` | +| `yarn_icon` | `string` | the icon/text to display when using Yarn - defaults to ` \uF011B` | | `npm_icon` | `string` | the icon/text to display when using NPM - defaults to ` \uE71E` | ## Template ([info][templates])