Utility API docs: Add @import functions, variables to the examples.
Created by: iatek
Utility API docs: Add @import
functions, variables to the examples.
Since _utilities
references, _variables
, and _variables
references _functions
, in order to use the API you must import like..
@import "bootstrap/scss/functions";
@import "bootstrap/scss/variables";
@import "bootstrap/scss/utilities";
$utilities: map-merge(
$utilities,
(
"cursor": (
property: cursor,
class: cursor,
responsive: true,
values: auto pointer grab,
)
)
);
Should this be mention in the Using the API section, perhaps explain in the text that says "Make sure our _utilities.scss is imported first,"? Or, simply add the correct @imports
in each of the examples?