import { computed } from './__federation_expose_Modules-a9c6a6fc.js';

const useDarkProps = {
  dark: {
    type: Boolean,
    default: null
  }
};

function useDark (props, $q) {
  // return isDark
  return computed(() => (
    props.dark === null
      ? $q.dark.isActive
      : props.dark
  ))
}

export { useDark, useDarkProps };
