mirror of
https://github.com/sass/sass.git
synced 2024-09-21 10:37:22 +00:00
[Module System] Resolve built-in global functions and mixins
This commit is contained in:
parent
74111b4f57
commit
724f34875c
@ -4,6 +4,8 @@
|
||||
rather than after. This ensures that the clause with unbounded length comes
|
||||
last if both are present.
|
||||
|
||||
* Describe how to resolve built-in global functions and mixins.
|
||||
|
||||
## Draft 5
|
||||
|
||||
* Drop the `lighten()`, `darken()`, `saturate()`, `desaturate()`, `opacify()`,
|
||||
|
@ -1355,6 +1355,13 @@ type `type`, and an [import context](#import-context) `import`:
|
||||
* Otherwise, if `member-uses` contains a single module, return the member of
|
||||
type `type` named `name` in that module.
|
||||
|
||||
* Otherwise, if the implementation defines a global member `member` of type
|
||||
`type` named `name`, return that member.
|
||||
|
||||
> This includes the global functions and mixins defined as part of the Sass
|
||||
> spec, and may also include other members defined through the
|
||||
> implementation's host language API.
|
||||
|
||||
* Otherwise, return null.
|
||||
|
||||
### Forwarding Modules
|
||||
|
Loading…
Reference in New Issue
Block a user