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 .

    1. /**
    2. * This will add a default black version of and an additional white version when .icon-white is applied
    3. @mixin icon-black-white($icon, $dir, $version, $core: false)
    4. // Examples
    5. @include icon-black-white('add', 'actions', 1, true);
    6. .icon-add {
    7. @include icon-color('add', 'actions', $color-black, 1, true);
    8. }
    9. .icon-add-white,
    10. .icon-add.icon-white {
    11. }