diff --git a/packages/carbon-react/scss/compat/_theme.scss b/packages/carbon-react/scss/compat/_theme.scss new file mode 100644 index 000000000000..6e35001e7a08 --- /dev/null +++ b/packages/carbon-react/scss/compat/_theme.scss @@ -0,0 +1,9 @@ +// Code generated by @carbon/react. DO NOT EDIT. +// +// Copyright IBM Corp. 2018, 2018 +// +// This source code is licensed under the Apache-2.0 license found in the +// LICENSE file in the root directory of this source tree. +// + +@forward '@carbon/styles/scss/compat/theme'; diff --git a/packages/carbon-react/scss/compat/_themes.scss b/packages/carbon-react/scss/compat/_themes.scss new file mode 100644 index 000000000000..7844e4a87a03 --- /dev/null +++ b/packages/carbon-react/scss/compat/_themes.scss @@ -0,0 +1,9 @@ +// Code generated by @carbon/react. DO NOT EDIT. +// +// Copyright IBM Corp. 2018, 2018 +// +// This source code is licensed under the Apache-2.0 license found in the +// LICENSE file in the root directory of this source tree. +// + +@forward '@carbon/styles/scss/compat/themes'; diff --git a/packages/carbon-react/tasks/build-styles.js b/packages/carbon-react/tasks/build-styles.js index 1d6b54fd8331..171e2cfbcd53 100644 --- a/packages/carbon-react/tasks/build-styles.js +++ b/packages/carbon-react/tasks/build-styles.js @@ -449,6 +449,20 @@ async function build() { }, ], }, + { + type: 'directory', + filepath: 'compat', + files: [ + { + type: 'file', + filepath: '_theme.scss', + }, + { + type: 'file', + filepath: '_themes.scss', + }, + ], + }, ], }; const files = collect(styles);