You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: maintenance/projects/js-themes-toolkit-v10-x/packages/bs3-bs4-compat/README.md
+30-4Lines changed: 30 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -31,17 +31,17 @@ In order for sass to compile correctly, you must import them correctly so that i
31
31
-[`_components.scss`](scss/_components_.scss): This file imports all component specific style overrides.
32
32
-[`_variables.scss`](scss/_variables.scss): This file contains variables for toggling specific compat components off.
33
33
34
-
_Note: all three compat files are imported into main.scss in that specific order._
35
-
36
34
### Adding to a Theme
37
35
38
-
You need to import the `.scss` files into your theme. Below is an example of adding it to the styled and classic themes in DXP.
36
+
You need to import the `.scss` files into your theme. If you are using any Bootstrap 3 or Lexicon 1.x mixins in `_clay_custom.scss`, make sure to import it. Below is an example of adding it to the styled and classic themes in DXP.
After making this change and deploying to your DXP bundle, you should see the compatibility layer working.
68
+
If your `_custom.scss` file relies on Liferay's media query mixins, Bootstrap 3, or Lexicon 1.x, the build may fail due to missing imports. You will need to change the imports like so:
0 commit comments