diff --git a/assets/frontmatter-128x128.png b/assets/frontmatter-128x128.png deleted file mode 100644 index 1c42ed41..00000000 Binary files a/assets/frontmatter-128x128.png and /dev/null differ diff --git a/assets/frontmatter-mag-min.png b/assets/frontmatter-mag-min.png deleted file mode 100644 index bf66fe0d..00000000 Binary files a/assets/frontmatter-mag-min.png and /dev/null differ diff --git a/assets/frontmatter-mag-min.svg b/assets/frontmatter-mag-min.svg deleted file mode 100644 index 0f778b79..00000000 --- a/assets/frontmatter-mag-min.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/frontmatter-mag.svg b/assets/frontmatter-mag.svg deleted file mode 100644 index 0f778b79..00000000 --- a/assets/frontmatter-mag.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/frontmatter-panel-old.png b/assets/frontmatter-panel-old.png deleted file mode 100644 index 2d4a4ffb..00000000 Binary files a/assets/frontmatter-panel-old.png and /dev/null differ diff --git a/assets/frontmatter-panel.png b/assets/frontmatter-panel.png deleted file mode 100644 index b0f2f068..00000000 Binary files a/assets/frontmatter-panel.png and /dev/null differ diff --git a/assets/frontmatter-short-min.png b/assets/frontmatter-short-min.png deleted file mode 100644 index 3dfecc48..00000000 Binary files a/assets/frontmatter-short-min.png and /dev/null differ diff --git a/assets/frontmatter-short-min.svg b/assets/frontmatter-short-min.svg index 05ad2382..c7e9ebbd 100644 --- a/assets/frontmatter-short-min.svg +++ b/assets/frontmatter-short-min.svg @@ -1,16 +1,17 @@ - + - - - - + + s-4.7,30.3-6.6,41.6l-15.1,84.9l-5.7,32l-74.3,406.4h-80.1l-69.7-351c-9.5-46.2-17.9-93.1-25.4-140.8s-14.2-97.6-20.3-149.9 + l-34.3,641.6H529.6L602.2,151.2z"/> + + + + + + diff --git a/assets/frontmatter-teal-128x128.png b/assets/frontmatter-teal-128x128.png index 0c62d274..e7d58d57 100644 Binary files a/assets/frontmatter-teal-128x128.png and b/assets/frontmatter-teal-128x128.png differ diff --git a/assets/frontmatter-teal-min.svg b/assets/frontmatter-teal-min.svg deleted file mode 100644 index 22571b3c..00000000 --- a/assets/frontmatter-teal-min.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/frontmatter.png b/assets/frontmatter.png deleted file mode 100644 index f6338d14..00000000 Binary files a/assets/frontmatter.png and /dev/null differ diff --git a/assets/frontmatter.svg b/assets/frontmatter.svg deleted file mode 100644 index 6d9f7e94..00000000 --- a/assets/frontmatter.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/icons/frontmatter-dark.svg b/assets/icons/frontmatter-dark.svg deleted file mode 100644 index dc46fe08..00000000 --- a/assets/icons/frontmatter-dark.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/icons/frontmatter-light.svg b/assets/icons/frontmatter-light.svg deleted file mode 100644 index e53d4c64..00000000 --- a/assets/icons/frontmatter-light.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/assets/icons/frontmatter-short-dark.svg b/assets/icons/frontmatter-short-dark.svg index be58baa5..c7e9ebbd 100644 --- a/assets/icons/frontmatter-short-dark.svg +++ b/assets/icons/frontmatter-short-dark.svg @@ -1,12 +1,17 @@ - + - - - + + s-4.7,30.3-6.6,41.6l-15.1,84.9l-5.7,32l-74.3,406.4h-80.1l-69.7-351c-9.5-46.2-17.9-93.1-25.4-140.8s-14.2-97.6-20.3-149.9 + l-34.3,641.6H529.6L602.2,151.2z"/> + + + + + + diff --git a/assets/icons/frontmatter-short-light.svg b/assets/icons/frontmatter-short-light.svg index 874be8f6..55d4603f 100644 --- a/assets/icons/frontmatter-short-light.svg +++ b/assets/icons/frontmatter-short-light.svg @@ -1,12 +1,17 @@ - + - - + s-4.7,30.3-6.6,41.6l-15.1,84.9l-5.7,32l-74.3,406.4h-80.1l-69.7-351c-9.5-46.2-17.9-93.1-25.4-140.8s-14.2-97.6-20.3-149.9 + l-34.3,641.6H529.6L602.2,151.2z"/> + + + + + + diff --git a/assets/icons/frontmatter-small-dark.svg b/assets/icons/frontmatter-small-dark.svg index 4154f969..7ab41634 100644 --- a/assets/icons/frontmatter-small-dark.svg +++ b/assets/icons/frontmatter-small-dark.svg @@ -8,4 +8,4 @@ c-0.6-11.7-0.9-21.3-0.9-29L988.3,571l-2.8-114.6c0-0.8,0-2.5-0.3-5.1s-0.5-6.1-0.9-10.6l-2.8,18.7c-3,22.1-5.8,41.4-8.3,57.9 c-2.5,16.5-4.7,30.3-6.6,41.6l-15.1,84.9l-5.7,32l-74.3,406.4h-80.1l-69.7-351c-9.5-46.2-17.9-93.1-25.4-140.8 c-7.5-47.7-14.2-97.6-20.3-149.9l-34.3,641.6H529.6L602.2,151.2z"/> - + \ No newline at end of file diff --git a/src/commands/Preview.ts b/src/commands/Preview.ts index c7ae7132..90c063e3 100644 --- a/src/commands/Preview.ts +++ b/src/commands/Preview.ts @@ -71,8 +71,8 @@ export class Preview { ); webView.iconPath = { - dark: Uri.file(join(extensionPath, 'assets/frontmatter-dark.svg')), - light: Uri.file(join(extensionPath, 'assets/frontmatter.svg')) + dark: Uri.file(join(extensionPath, 'assets/icons/frontmatter-short-dark.svg')), + light: Uri.file(join(extensionPath, 'assets/icons/frontmatter-short-light.svg')) } const localhostUrl = await env.asExternalUri( diff --git a/src/panelWebView/components/Icons/FrontMatterIcon.tsx b/src/panelWebView/components/Icons/FrontMatterIcon.tsx index 3aa53268..6cf85181 100644 --- a/src/panelWebView/components/Icons/FrontMatterIcon.tsx +++ b/src/panelWebView/components/Icons/FrontMatterIcon.tsx @@ -6,6 +6,45 @@ export interface IFrontMatterIconProps { export const FrontMatterIcon: React.FunctionComponent = ({className}: React.PropsWithChildren) => { return ( - + + + + + + + + + + + + + + + + + + + + + + + + ); }; \ No newline at end of file