-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
variable @primary-color is undefined #9
Comments
Can you was resolved? |
I'm seeing this also. AT version: 0.10.3 According to what I've been told here
|
I've discovered some issues that you should resolve to build this scroll for the modern Framework (5+). First issue - remove @primary-color and @button-color from backgroundScroll.less. Actually most of these styles are unused for now (Except .bgscroll-images, .bgscroll-background and .page.bgscroll). Second issue - in the new Framework version some classes has been renamed and for solving this issue you should change the following thing in BackgroundScrollView.js this.offsetTop = $('.navigation').height(); This slight changes allow you to "migrate" for framework Version 5+ Then use ForceRebuild on your project. All previous issues and how to make it works were discovered here. Unfortunately I don't have permissions to create branch and then merge request it to this repository, so I can only advice to fix it by yourself inside the code. P.S. You can find this files in |
Hi Daniel,
thank you for the great extension. Unfortunately, it is not working in my installation. Seeing the error message it is obvious what is the problem, but I don´t know how to solve it. Any ideas welcome. Thank you
Command failed: grunt server-build:prod --outputdir=courses/.../.../build --theme=... --menu=adapt-contrib-boxMenu
Fatal error: {
"message": "variable @primary-color is undefined",
"type": "Name",
"filename": "src/extensions/adapt-backgroundScroll/less/backgroundScroll.less",
"index": 334,
"line": 25,
"column": 13,
"callLine": null,
"extract": [
".bgscroll-body {",
"\tbackground: @primary-color;",
"\tcolor: #ffffff;"
]
}
It is a fresh installation - Authoring Tool (0.10.2 . FrameWork 5.1.0) - Theme Vanilla
The text was updated successfully, but these errors were encountered: