
Product
Introducing Webhook Events for Alert Changes
Add real-time Socket webhook events to your workflows to automatically receive software supply chain alert changes in real time.
@oqton/design-system
Advanced tools
disabled, not isDisabled.Static assets are stored in the public folder. These include things such as static images.
The design system is split into the following categories:
A design system is a set of interconnected patterns and shared practices.
Patterns are the repeating elements that we combine to create the product: things like user flows, interactions, buttons, text fields, icons, colors, typography, microcopy, all of it. If it’s reusable, it goes in the system.
Practices are how we choose to create, capture, share and use those patterns.
Principles provide directions that help make decisions for the system.
This is where we define the attributes for our design-system's theme. It is broken into the following sections:
A theme is constructed from these foundations and then consumed by our code via styled-components and styled-system. See more on themes here
In order to implement components, responsive components, and layouts, we need a tool for managing spacing. For this, we use the following foundational components There are 5 components used for managing our spacing:
position: absoluteposition: relativeposition: fixeddisplay: flexposition: stickyAll design system components should inherit from these foundational components when declaring any sort of margin, padding, width, height, or flex amount.
Components are used to as the building blocks to create the applications interface.
Each design system component should consist of the following files:
Component - <component>.js
<component>Styles.jsStyle declarations - <component>Styles.js
Storybook - <component>.stories.js
Tests - ./__tests__/<component>.test.js
Full theming support by exporting a wrapper component. Also need to use utils.createTheme() to create or merge in any other themes.
import {Theme, utils} from '@oqton/design-system';
<Theme theme={utils.createTheme()} />
If you need to merge in another theme:
<Theme theme={utils.createTheme(anotherTheme)} />
This component provides a theme to all React components underneath itself via the context API. In the render tree all components will have access to the provided theme, even when they are multiple levels deep.
Under development
Workflows try to capture the experience of a user during the interaction with the product.
Utility functions are organised here Each utility function should have a corresponding test suite to describe functionality
This will start docz on port 3001 in development mode
yarn start-docz
Your docz instance will be running on http://localhost:3001.
To view an online Docz site from the develop branch, visit: http://design-system.oqton.ai
This instance is updated automatically upon merging into develop.
Run the tests
yarn test
Run lint
yarn lint
Run lint and attempt to automatically fix issues
yarn fix-lint
Run formatting check
yarn check-formatting
Run formatter
yarn fix-formatting
FAQs
Oqton's design system.
The npm package @oqton/design-system receives a total of 28 weekly downloads. As such, @oqton/design-system popularity was classified as not popular.
We found that @oqton/design-system demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 5 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.

Product
Add real-time Socket webhook events to your workflows to automatically receive software supply chain alert changes in real time.

Security News
ENISA has become a CVE Program Root, giving the EU a central authority for coordinating vulnerability reporting, disclosure, and cross-border response.

Product
Socket now scans OpenVSX extensions, giving teams early detection of risky behaviors, hidden capabilities, and supply chain threats in developer tools.