Re:Building your color palette
by albedoa on Saturday November 10, 2018 @07:40PM
(#18424363)
That function call is an alias for: map-get(map-get($palettes, 'blue'), light)
Which, in a language with dot accessors, could be accessed like: $palette.blue.light
I don't think he means that the function call is odd but rather that it's odd that you have to create and call a function to be as concise. Some of the oldest and longest Sass issue threads are about this missing feature.
Which, in a language with dot accessors, could be accessed like: $palette.blue.light
I don't think he means that the function call is odd but rather that it's odd that you have to create and call a function to be as concise. Some of the oldest and longest Sass issue threads are about this missing feature.