import { isDarkMode } from "https://deno.land/x/xbar@v2.1.0/src/accessibility.ts";
returns true if XBARDarkMode is enabled. allways returns false if 'env' permission has not been previously granted.
x/xbar/src/accessibility.ts>isDarkMode
import { isDarkMode } from "https://deno.land/x/xbar@v2.1.0/src/accessibility.ts";
returns true if XBARDarkMode is enabled. allways returns false if 'env' permission has not been previously granted.