Skip to content

LESS files for custom compilation. Compiler Error #4173

Closed
@ChrisWiGit

Description

@ChrisWiGit

Hi,

im using the less files of ui grid to create my own style.
I stumbled on different problems which I want to explain :

  1. LESS compiler does not work on master-branch/src/less/main.less since the file imports bootstrap into a namespace. This seems not to be supported (a lot of tries difference between a imported namespace and a declared one less/less.js#1895 ). The error is "#ui-grid-twbs > .btn is undefined"
  2. You can find the same error on the ui grid customizer page. http://ui-grid.info/customizer/ at the bottom: Therefore the page doesn't work, too, I think.
  3. I'm not sure, but I cannot find a lot of less variables e.g. "ui-grid-icon-down-dir" anywhere in the git repos (full search in master and branch 3.0.3). These vars are defined in git-branch 3.03/release/ui-gridundefined.css (of course already compiled), however.
    Could you explain how these variables are defined, so I can used them in my less compilation?

Otherwise, great work! 👍

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions