AddSwatchesLightAndShadow.js
A straightforward script for animators. Color palette is used to determine the current fill color. A prompt will appear asking you to name the color, after which it will be added to the swatch palette, along with the highlight and shadow for that color. Feel free to experiment with the values to find the percentages that work best for you.