Skip to content
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

Could not directly access parent ruleset’s property #19

Closed
evadne opened this issue Apr 30, 2010 · 2 comments
Closed

Could not directly access parent ruleset’s property #19

evadne opened this issue Apr 30, 2010 · 2 comments

Comments

@evadne
Copy link

evadne commented Apr 30, 2010

This is a reduced test case:

.calendar {

    background-color: rgb(245, 245, 245);

    h2 {

        :before {

            background-color: .calendar['background-color'];

        }

    }

}
@cloudhead
Copy link
Member

Have you found accessors useful?

I decided not to port them to less.js, because they weren't seeing much use, ie: in most cases people use variables to share values.

@evadne
Copy link
Author

evadne commented Apr 30, 2010

Understood. We use them sparingly and rarely so moving to global variables is a plausible thing to do. Accessors are somehow difficult to find.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants