Skip to content

Commit

Permalink
#1766 Fixed ibm/plex errors in console (#1767)
Browse files Browse the repository at this point in the history
Signed-off-by: Neha Gokhale <[email protected]>
Co-authored-by: Matt Howard <[email protected]>
  • Loading branch information
nmgokhale and matthoward366 authored Mar 27, 2024
1 parent db677b1 commit 8c4f133
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 30 deletions.
11 changes: 10 additions & 1 deletion canvas_modules/harness/Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,15 @@ module.exports = function(grunt) {
dest: ".build"
}]
},
fonts: {
files: [{
expand: true,
flatten: false,
cwd: "./node_modules/@ibm/plex",
src: ["IBM-Plex*/**"],
dest: ".build/fonts"
}]
},
styleguide: {
files: [{
expand: true,
Expand Down Expand Up @@ -115,7 +124,7 @@ module.exports = function(grunt) {
grunt.loadNpmTasks("grunt-contrib-copy");
grunt.registerTask("lint", ["eslint", "jsonlint", "yamllint"]);

var buildTasks = ["clean", "lint", "sass", "copy:graphics", "copy:styleguide"];
var buildTasks = ["clean", "lint", "sass", "copy:graphics", "copy:styleguide", "copy:fonts"];
if (IS_PRODUCTION) {
buildTasks = buildTasks.concat(["webpack"]);
}
Expand Down

This file was deleted.

This file was deleted.

4 changes: 3 additions & 1 deletion canvas_modules/harness/assets/styles/common.scss
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,6 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
@use "@carbon/react" as *;
@use "@carbon/react" as * with (
$font-path: "/fonts"
);

0 comments on commit 8c4f133

Please sign in to comment.