@lightspeed/design-system-css 29.0.1 → 29.0.2
Sign up to get free protection for your applications and to get access to all the features.
package/package.json
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"name":"@lightspeed/design-system-css","version":"29.0.
|
1
|
+
{"name":"@lightspeed/design-system-css","version":"29.0.2","description":"Lightspeed's Design System in CSS","repository":"https://github.com/lightspeed/helios.git","author":"Lightspeed Commerce Inc.","license":"SEE LICENSE IN LICENSE.md","main":"dist/index.css","publishConfig":{"access":"public"},"files":["src","dist"],"scripts":{"prebuild":"rm -rf dist","build":"yarn lint && yarn build:css && yarn build:retrocompatibility","build:css":"sass --load-path=../../node_modules -q src/index.scss:dist/index.css","build:retrocompatibility":"cp dist/index.css dist/vend-styles.css","watch":"yarn lint && yarn build:css --watch","lint":"yarn stylelint './src/**/*.scss' --config ./stylelint.config.json"},"dependencies":{"@lightspeed/design-system-tokens":"^29.0.2"},"devDependencies":{"stylelint":"^13.5.0","stylelint-scss":"^3.17.2"}}
|
@@ -6,6 +6,7 @@
|
|
6
6
|
/// @param {String} [$_vd-colour-theme=$vd-colour-theme] @deprecated
|
7
7
|
/// @return {Colour<String>} - The retrieved colour for the element
|
8
8
|
@function vd-colour($_vd-colour-element, $_vd-colour-theme: _no_arg_provided_) {
|
9
|
+
@warn "[DEPRECATED] The 'vd-colour' function is deprecated and should not be used. Use 'hs-color' instead with the new unified theme tokens.";
|
9
10
|
@if ($_vd-colour-theme != _no_arg_provided_) {
|
10
11
|
@warn "[colour-functions] Passing a theme as a second argument to vd-colour is deprecated. You should remove it.";
|
11
12
|
}
|