Skip to content

Drop / inline prepend() SCSS function #1385

@chalin

Description

@chalin

Consider dropping prepend(), in favor of using join() directly:

@function prepend($list, $value) {
@return join($value, $list);
}

In doing so we can eliminate https://github.com/google/docsy/blob/main/assets/scss/support/_functions.scss.

AFAICT, there is only one instance of the call to prepend() in Docsy SCSS.

The other function that was in this file (color-diff()) was removed by:

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions