From 665a36aafddd1fdd63cbfa7b249a53fbbcdbad2f Mon Sep 17 00:00:00 2001 From: James Pogran Date: Fri, 6 Sep 2024 09:23:23 -0400 Subject: [PATCH] Add terraform version file icon This commit adds the HashiCorp icon for terraform version files. The icon is a black HashiCorp logo on a white background for dark themes and a white HashiCorp logo on a black background for light themes. --- .../unreleased/ENHANCEMENTS-20240906-093703.yaml | 6 ++++++ assets/icons/HashiCorp_Icon_Black_RGB.svg | 5 +++++ assets/icons/HashiCorp_Icon_White_RGB.svg | 5 +++++ package.json | 13 +++++++++++++ 4 files changed, 29 insertions(+) create mode 100644 .changes/unreleased/ENHANCEMENTS-20240906-093703.yaml create mode 100644 assets/icons/HashiCorp_Icon_Black_RGB.svg create mode 100644 assets/icons/HashiCorp_Icon_White_RGB.svg diff --git a/.changes/unreleased/ENHANCEMENTS-20240906-093703.yaml b/.changes/unreleased/ENHANCEMENTS-20240906-093703.yaml new file mode 100644 index 000000000..707a023eb --- /dev/null +++ b/.changes/unreleased/ENHANCEMENTS-20240906-093703.yaml @@ -0,0 +1,6 @@ +kind: ENHANCEMENTS +body: Add icon for .terraform-version file +time: 2024-09-06T09:37:03.371934-04:00 +custom: + Issue: "1836" + Repository: vscode-terraform diff --git a/assets/icons/HashiCorp_Icon_Black_RGB.svg b/assets/icons/HashiCorp_Icon_Black_RGB.svg new file mode 100644 index 000000000..ec6d80db5 --- /dev/null +++ b/assets/icons/HashiCorp_Icon_Black_RGB.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/assets/icons/HashiCorp_Icon_White_RGB.svg b/assets/icons/HashiCorp_Icon_White_RGB.svg new file mode 100644 index 000000000..403a104c4 --- /dev/null +++ b/assets/icons/HashiCorp_Icon_White_RGB.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/package.json b/package.json index fedd87bb4..ae4064d25 100644 --- a/package.json +++ b/package.json @@ -103,6 +103,19 @@ "light": "assets/icons/terraform_stacks.svg" } }, + { + "id": "terraform-version", + "aliases": [ + "Terraform Version" + ], + "extensions": [ + ".terraform-version" + ], + "icon": { + "light": "./assets/icons/HashiCorp_Icon_Black_RGB.svg", + "dark": "./assets/icons/HashiCorp_Icon_White_RGB.svg" + } + }, { "id": "json", "extensions": [