In this theme mixin I got the dark and light theme values by extracting theme from the `$themes` variable using the `map-get` [SASS map function](https://sass-lang.com/documentation/modules/map "sass map function"). Then I used another mixin `@mixin themeProperty($theme, $property, $color, $additionalPropertiesPositionIsFront, $additionalProperties)` to create the css rule `<property>: <value>` using the values received from the invocation. Inside it I did the concatenation between the additional properties and the color value (if necessary) using the `+` operator and the [SASS unquote function](https://sass-lang.com/documentation/modules/string "sass unquote function") to remove the string quote and have in output from the mixin a standard css rule. The `themeProperty` is invoked two times, one for the default value with the light time, and another one inside the `@media (prefers-color-scheme: dark)` query. Below you can find the code of these two new mixin.
0 commit comments