SCSS
App developers should use CSS4 variables so you get the values which Nextcloud defines. This way you can be sure that the theming and accessibility app can dynamically adjust the values.
SCSS icon mixins
Some SCSS mixins and functions are employed to add and manage SVG icons.
More information about the .
/**
* This will add a default black version of and an additional white version when .icon-white is applied
@mixin icon-black-white($icon, $dir, $version, $core: false)
// Examples
@include icon-black-white('add', 'actions', 1, true);
.icon-add {
@include icon-color('add', 'actions', $color-black, 1, true);
}
.icon-add-white,
.icon-add.icon-white {
}