Ring

You can specify ring width and ring offset width globally for all Vueless components.

vueless.config.js
export default {
  ring: 6, /* default -> 4 (pixels) */
  ringOffset: 4, /* default -> 0 (pixels) */
  /* offset colors */
  ringOffsetColorLight: "#ffffff", /* default -> white */
  ringOffsetColorDark: "#111827",  /* default -> gray-900 */
}

It may be possible to set any of value in pixels but we highly recommend stick to the Tailwind CSS ring width and ring offset width values.

Custom tailwind classes

To implement dynamic ring styling has been created custom Tailwind CSS class ring-dynamic, ring-offset-dynamic and ring-offset-color-dynamic. So, feel free to add it into you components when you need to have same ring styling somewhere in your project.

Last updated