Security News
38% of CISOs Fear They’re Not Moving Fast Enough on AI
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
@loophq/design-system
Advanced tools
npm i -S @loophq/design-system focus-visible
Focus-visible is a polyfill for the :focus-visible pseudo-class and needs to be installed as a peer dependency. Vue 2.6 is also a peer dependency, we're assuming you have that installed already. :)
In your entry point (src/main.js for a standard vue-cli project), put these two lines at the top:
import 'focus-visible';
import '@loophq/design-system/dist/loop-design-system.css';
focus-visible
is used to manage all focus styles. If you don't include this line, the library will fall back to the browser focus styles. The CSS file needs to be included, it contains all of the CSS custom properties for the design system. If you'd like to change a variable (there are a few theme variables), we recommend importing this file here as a base and then overwriting it in your own global css file.
Components can be imported via named imports:
import { BaseCard } from '@loophq/design-system';
To import all and register globally (not recommended), put this in your main.js:
import LoopComponents from '@loophq/design-system';
Vue.use(LoopComponents);
npm i
This spins up a local storybook server and runs unit tests in parallel, recompiling and rerunning relevant tests where needed.
npm run dev
npm run library:build
npm run library:publish -- <version>
npm run build-storybook
FAQs
## Installation (into another repo)
The npm package @loophq/design-system receives a total of 0 weekly downloads. As such, @loophq/design-system popularity was classified as not popular.
We found that @loophq/design-system demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 19 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
Research
Security News
Socket researchers uncovered a backdoored typosquat of BoltDB in the Go ecosystem, exploiting Go Module Proxy caching to persist undetected for years.
Security News
Company News
Socket is joining TC54 to help develop standards for software supply chain security, contributing to the evolution of SBOMs, CycloneDX, and Package URL specifications.