quasar-ui-blurr-mode
v0.0.4
Published
Blurr Mode is a supplemental display mode designed to obscure specific content such as NSFW material or distracting elements by applying a blur effect across targeted UI areas. While maintaining basic readability and structure, this mode helps protect use
Readme
Component BlurrMode
Compatible with Quasar UI v2 and Vue 3.
Component BlurrMode
This component provide a base steel for a blurr mode in your app.
body.body--blurr
img
filter: blur(12px) !important
pointer-events: none !important
-webkit-user-select: none !important
user-select: none !important
.q-blurr-content
filter: blur(4px) !important
pointer-events: none !important
-webkit-user-select: none !important
user-select: none !important
Usage
Quasar CLI project
Install the App Extension.
OR:
Create and register a boot file:
import Vue from 'vue'
import Plugin from 'quasar-ui-blurr-mode'
import 'quasar-ui-blurr-mode/dist/index.css'
Vue.use(Plugin, { ssrContext }) // ctx._meta used by SSROR:
<style src="quasar-ui-blurr-mode/dist/index.css"></style>Setup
$ yarnDeveloping
# start dev in SPA mode
$ yarn dev
# start dev in UMD mode
$ yarn dev:umd
# start dev in SSR mode
$ yarn dev:ssr
# start dev in Cordova iOS mode
$ yarn dev:ios
# start dev in Cordova Android mode
$ yarn dev:android
# start dev in Electron mode
$ yarn dev:electronBuilding package
$ yarn buildAdding Testing Components
in the ui/dev/src/pages you can add Vue files to test your component/directive. When using yarn dev to build the UI, any pages in that location will automatically be picked up by dynamic routing and added to the test page.
Adding Assets
If you have a component that has assets, like language or icon-sets, you will need to provide these for UMD. In the ui/build/script.javascript.js file, you will find a couple of commented out commands that call addAssets. Uncomment what you need and add your assets to have them be built and put into the ui/dist folder.
Donate
If you appreciate the work that went into this, please consider donating to Quasar.
License
MIT (c) Xavier4492 [email protected]
