Skip to content

Commit

Permalink
Color recipe cleanup (microsoft#18732)
Browse files Browse the repository at this point in the history
Removed old color recipes and moved vNext.
  • Loading branch information
bheston authored and PeterDraex committed Aug 6, 2021
1 parent f294551 commit 6d59f3b
Show file tree
Hide file tree
Showing 89 changed files with 1,056 additions and 5,425 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "minor",
"comment": "Removed old color recipes and moved vNext.",
"packageName": "@fluentui/web-components",
"email": "[email protected]",
"dependentChangeType": "patch"
}
29 changes: 0 additions & 29 deletions packages/web-components/build/generate-default-palettes.js

This file was deleted.

1,320 changes: 583 additions & 737 deletions packages/web-components/docs/api-report.md

Large diffs are not rendered by default.

3 changes: 1 addition & 2 deletions packages/web-components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"clean": "node ./build/clean.js dist",
"doc": "api-extractor run --local",
"doc:ci": "api-extractor run --local",
"build": "yarn generate-default-palettes && tsc -p ./tsconfig.json && rollup -c && npm run doc",
"build": "tsc -p ./tsconfig.json && rollup -c && npm run doc",
"dev": "tsc -p ./tsconfig.json -w",
"tdd": "npm run dev & npm run test-chrome:watch",
"prepare": "yarn clean && yarn build",
Expand All @@ -36,7 +36,6 @@
"code-style": "npm run prettier && npm run lint",
"start": "start-storybook -p 6006",
"build-storybook": "build-storybook",
"generate-default-palettes": "node -r esm build/generate-default-palettes.js",
"test": "yarn doc:ci && yarn test-chrome:verbose",
"test-node": "mocha --reporter min --exit dist/esm/__test__/setup-node.js './dist/esm/**/*.spec.js'",
"test-node:verbose": "mocha --reporter spec --exit dist/esm/__test__/setup-node.js './dist/esm/**/*.spec.js'",
Expand Down
4 changes: 2 additions & 2 deletions packages/web-components/src/card/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ import { composedParent, Card as FoundationCard, cardTemplate as template } from
import { attr, Notifier, Observable } from '@microsoft/fast-element';
import { parseColorHexRGB } from '@microsoft/fast-colors';
import { fillColor, neutralFillLayerRecipe, neutralPalette } from '../design-tokens';
import { Swatch, SwatchRGB } from '../color-vNext/swatch';
import { PaletteRGB } from '../color-vNext/palette';
import { Swatch, SwatchRGB } from '../color/swatch';
import { PaletteRGB } from '../color/palette';
import { cardStyles as styles } from './card.styles';

/**
Expand Down
143 changes: 0 additions & 143 deletions packages/web-components/src/color-vNext/palette.ts

This file was deleted.

This file was deleted.

File renamed without changes.
118 changes: 0 additions & 118 deletions packages/web-components/src/color/accent-fill.spec.ts

This file was deleted.

Loading

0 comments on commit 6d59f3b

Please sign in to comment.