2023-06-14 22:10:06 -07:00
|
|
|
import cssBlankPseudoInit from 'css-blank-pseudo/browser'
|
|
|
|
import focusWithinInit from 'postcss-focus-within/browser'
|
|
|
|
import cssHasPseudo from 'css-has-pseudo/browser'
|
|
|
|
import prefersColorSchemeInit from 'css-prefers-color-scheme/browser'
|
|
|
|
|
2023-12-08 20:44:05 -08:00
|
|
|
(async () => {
|
|
|
|
cssBlankPseudoInit()
|
|
|
|
focusWithinInit()
|
|
|
|
cssHasPseudo()
|
|
|
|
prefersColorSchemeInit()
|
2023-06-14 22:10:06 -07:00
|
|
|
|
2023-12-08 20:44:05 -08:00
|
|
|
const focusVisible = document.createElement('script')
|
|
|
|
focusVisible.src = '/node_modules/focus-visible/dist/focus-visible.min.js'
|
|
|
|
document.body.append(focusVisible)
|
|
|
|
})()
|