diff --git a/docs/getting-started/customizing.md b/docs/getting-started/customizing.md index 3fa0f7447..135da3779 100644 --- a/docs/getting-started/customizing.md +++ b/docs/getting-started/customizing.md @@ -116,7 +116,7 @@ To customize a default animation, use the `setDefaultAnimation()` method. The fu This example will make all dialogs use a custom show animation. ```js -import { setDefaultAnimation } from '/dist/utilities/animation-registry.js'; +import { setDefaultAnimation } from '@shoelace-style/shoelace/dist/utilities/animation-registry.js'; // Change the default animation for all dialogs setDefaultAnimation('dialog.show', { @@ -135,7 +135,7 @@ If you only want to target a single component, use the `setAnimation()` method i In this example, only the target dialog will use a custom show animation. ```js -import { setAnimation } from '/dist/utilities/animation-registry.js'; +import { setAnimation } from '@shoelace-style/shoelace/dist/utilities/animation-registry.js'; // Change the animation for a single dialog const dialog = document.querySelector('#my-dialog');