Variables have only one “-” at the beginning?!
Is a semicolon or comma needed after the last variable?!
All variables must belong to linear-gradient var(…) ;))
you have spaces in beetween that you don’t need and you forgot to close the var in parentheses. here is the answer:
.bb2b {background:linear-gradient(var(–building-color2) 0%, var(–building-color2) 6%, var(–window-color2) 6%, var(–window-color2) 9%);
width: 100%;
height: 100%;
}