diff --git a/sites/fast-website/package.json b/sites/fast-website/package.json index 0d561533187..1176d803967 100644 --- a/sites/fast-website/package.json +++ b/sites/fast-website/package.json @@ -15,6 +15,7 @@ "mini-css-extract-plugin": "^0.9.0", "optimize-css-assets-webpack-plugin": "^5.0.3", "prettier": "2.0.2", + "svg-inline-loader": "^0.8.2", "terser-webpack-plugin": "^3.0.1", "ts-loader": "^7.0.2", "typescript": "^3.8.3", diff --git a/sites/fast-website/src/app/components/color-swatch/color-swatch.styles.ts b/sites/fast-website/src/app/components/color-swatch/color-swatch.styles.ts index eb700115b26..f61e136dfef 100644 --- a/sites/fast-website/src/app/components/color-swatch/color-swatch.styles.ts +++ b/sites/fast-website/src/app/components/color-swatch/color-swatch.styles.ts @@ -5,7 +5,7 @@ import { neutralOutlineHoverBehavior, neutralOutlineRestBehavior, } from "@microsoft/fast-components"; -import { heightNumber } from "@microsoft/fast-components/dist/styles/size"; +import { heightNumber } from "@microsoft/fast-components/dist/esm/styles/size"; import { SystemColors } from "@microsoft/fast-web-utilities"; import { display, diff --git a/sites/fast-website/src/app/components/fast-frame/fast-frame.styles.ts b/sites/fast-website/src/app/components/fast-frame/fast-frame.styles.ts index d5f7aa353df..dbca5f8991d 100644 --- a/sites/fast-website/src/app/components/fast-frame/fast-frame.styles.ts +++ b/sites/fast-website/src/app/components/fast-frame/fast-frame.styles.ts @@ -107,12 +107,8 @@ export const FastFrameStyles = css` grid-column: 2; } - .icon-cut { - fill: var(--accent-foreground-cut-rest); - } - .icon { - fill: var(--neutral-foreground-rest); + fill: currentColor; } .sample-control { diff --git a/sites/fast-website/src/app/components/fast-frame/fast-frame.template.ts b/sites/fast-website/src/app/components/fast-frame/fast-frame.template.ts index 755ff005d0b..a16e99a97dc 100644 --- a/sites/fast-website/src/app/components/fast-frame/fast-frame.template.ts +++ b/sites/fast-website/src/app/components/fast-frame/fast-frame.template.ts @@ -1,78 +1,30 @@ +import { StandardLuminance } from "@microsoft/fast-components-styles-msft"; import { html, repeat } from "@microsoft/fast-element"; +import ContextIcon from "svg/icon-context.svg"; +import ContrastIcon from "svg/icon-contrast.svg"; +import DownloadIcon from "svg/icon-download.svg"; +import PaletteIcon from "svg/icon-palette.svg"; +import PlayIcon from "svg/icon-play.svg"; +import ScreenIcon from "svg/icon-screen.svg"; +import ShareIcon from "svg/icon-share.svg"; +import SwatchesIcon from "svg/icon-swatches.svg"; import { FastFrame } from "./fast-frame"; -import { StandardLuminance } from "@microsoft/fast-components-styles-msft"; -import { accentPalette } from "@microsoft/fast-components/dist/fast-design-system"; -import { FASTRadio } from "@microsoft/fast-components"; export const FastFrameTemplate = html`