LIL is a Language Make games, nicely

Rules and properties

This is the declarative programming side of LIL. You say "who" receives the values using selectors and give values to properties.

The first thing you'll do is to target the outermost element, which is automatically created for you and is called the root object. We'll use the root selector @root to access it.

@root { //who will be affected
    //properties here
}

Let's add something useful in there. We'll make its background color light gray. Change the code to be like this:

@root {
    background: #E;
}

This is using what's known as a color instruction. The compiler will turn it into an object definition of type @rgb, so what we wrote is a shortcut for this:

@root {
    background: @rgb {
        red: 0.8;
        green: 0.8;
        blue: 0.8;
        alpha: 1.0;
    };
}

If you are asking yourself what those @ mean, it is a character that denotes that we are talking about an object type. So the @rgb means an object of type rgb. But in the case of @root, it represents the root object inside a selector. If that sounds confusing don't worry, it's all very obvious once you get used to it.