From 54a65b2ea706830474b4394c1d083ac30306e890 Mon Sep 17 00:00:00 2001 From: Manon Carbonnel Date: Thu, 12 Oct 2023 17:35:00 +0200 Subject: [PATCH] fix(sass): fixing imports and case error --- .stylelintignore | 1 + package.json | 2 +- packages/themes/blue-jeans/.stylelintignore | 1 + packages/themes/blue-jeans/src/fonts/index.scss | 1 - packages/themes/blue-jeans/src/index.scss | 2 +- 5 files changed, 4 insertions(+), 3 deletions(-) create mode 100644 .stylelintignore create mode 100644 packages/themes/blue-jeans/.stylelintignore diff --git a/.stylelintignore b/.stylelintignore new file mode 100644 index 0000000000..dfc4e8235c --- /dev/null +++ b/.stylelintignore @@ -0,0 +1 @@ +packages/themes/blue-jeans/src/fonts/family/base64-fonts.scss diff --git a/package.json b/package.json index b14212cb2a..7a11a4ed5f 100644 --- a/package.json +++ b/package.json @@ -43,7 +43,7 @@ "lerna:ls:pl": "lerna ls -pl", "lint": "eslint '*/**/*.{js,ts,tsx}'", "lint:scss": "lerna run lint:scss", - "lint:scss:report": "stylelint 'packages/themes/*/src/**/!(base64-fonts)*.scss' 'packages/components/**/*.scss' --custom-formatter node_modules/stylelint-formatter-html > stylelint-report.html", + "lint:scss:report": "stylelint 'packages/themes/*/src/**/*.scss' 'packages/components/**/*.scss' --custom-formatter node_modules/stylelint-formatter-html > stylelint-report.html", "list:releases": "lerna run list:releases", "ods:graduate": "yarn ods:release:prepare && yarn version:graduate", "ods:major": "yarn ods:release:prepare && yarn version:major", diff --git a/packages/themes/blue-jeans/.stylelintignore b/packages/themes/blue-jeans/.stylelintignore new file mode 100644 index 0000000000..059d7f0f97 --- /dev/null +++ b/packages/themes/blue-jeans/.stylelintignore @@ -0,0 +1 @@ +src/fonts/family/base64-fonts.scss diff --git a/packages/themes/blue-jeans/src/fonts/index.scss b/packages/themes/blue-jeans/src/fonts/index.scss index 34fae6247d..ec6e4ab081 100644 --- a/packages/themes/blue-jeans/src/fonts/index.scss +++ b/packages/themes/blue-jeans/src/fonts/index.scss @@ -3,6 +3,5 @@ * Here is the whole typography system we are using in the OVHcloud universe. * It contains its definition, and the related behaviour around it. */ -@import 'family/index'; @import 'sizes'; @import 'weights'; diff --git a/packages/themes/blue-jeans/src/index.scss b/packages/themes/blue-jeans/src/index.scss index 756014582e..6fbcf44faf 100644 --- a/packages/themes/blue-jeans/src/index.scss +++ b/packages/themes/blue-jeans/src/index.scss @@ -7,7 +7,7 @@ @import './spacing/index'; :root { - --ods-font-family: 'Source Sans Pro', 'Trebuchet MS', Arial, 'Segoe UI', sans-serif; + --ods-font-family: 'Source Sans Pro', 'Trebuchet MS', arial, 'Segoe UI', sans-serif; --ods-toggle-transition-slider: 0.3s; --ods-toggle-animation-checking-shadow: steam 3s linear infinite; --ods-accordion-animation-opening: toggle 0.3s;