Skip to content

Adding default variables - #313

Closed
Warry wants to merge 1 commit into
less:masterfrom
Warry:master
Closed

Warry wants to merge 1 commit into
less:masterfrom
Warry:master

Conversation

@Warry

@Warry Warry commented Jul 12, 2011

Copy link
Copy Markdown

Hi,

I'm building a component library based on Less, and basically I need to define some default value for some components, in order to keep them independent.

So I've made this modification: by adding "!default" to variable definitions to skip the value if the variable is already defined.

'Hope it could be usefull.

Warry

Edit:
I've to report the modifications in sources, then write tests... sorry.

@Warry Warry closed this Jul 12, 2011
@rowanmanning

Copy link
Copy Markdown

I know this pull request is ridiculously old now, but would like to know why it was closed. It seems like a great feature!

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

Successfully merging this pull request may close these issues.

2 participants