
Product
Unify Your Security Stack with Socket Basics
A single platform for static analysis, secrets detection, container scanning, and CVE checks—built on trusted open source tools, ready to run out of the box.
@daimler/productkit-core
Advanced tools
Product Kit Core provides design tokens according to the Mercedes-Benz Tech Innovation styleguide
Product Kit Core provides design tokens according to the Mercedes-Benz Tech Innovation styleguide. These tokens are used to create an export that can be used on web platforms using material design. The export is created with a build tool that is called Style Dictionary.
You can use the export to apply the styling by yourself or use one of the following implementations:
The export can be extended to support other platforms like iOS or Android. Feel free to open an issue or provide a pull request with the desired export.
Note that you must have node (and npm) installed.
You can get the style dictionary for web as package through npm:
npm install @daimler/productkit-core
Styles for web can be found in the dist
directory. Feel free to contribute any missing platforms.
If you don't want to use the npm package clone the repository and get the files from the dist
directory directly.
You can access a wide variety of color, typography, component, layout, opacity, size or shape tokens for css
, javascript
or sass
.
A typical token looks like this (css):
--color-application-primary: var(--color-brand-goldentainoi-300);
This color tokens references another token. Note application
and brand
in the token names. You should only use application
tokens in your code. These application
tokens are created so they can be used in common styling use case scenarios in your application.
Note that you don't need to implement Product Kit Core yourself in order to get styled components like buttons or textfields. You can use component libraries which are already styled with Product Kit Core for Angular (Angular Material), React (MUI) and Vue (Vuetify). Even if your use case is mainly static sites without much user interaction we recommend you use a framework like MUI (React).
We welcome any contributions. If you want to contribute to this project, please read the contributing guide.
Please read our Code of Conduct as it is our base for interaction.
This project is licensed under the MIT LICENSE.
Please visit https://www.mercedes-benz-techinnovation.com/en/imprint/ for information on the provider.
Notice: Before you use the program in productive use, please take all necessary precautions, e.g. testing and verifying the program with regard to your specific use. The program was tested solely for our own use cases, which might differ from yours.
FAQs
Product Kit Core provides design tokens according to the Mercedes-Benz Tech Innovation styleguide
We found that @daimler/productkit-core demonstrated a not healthy version release cadence and project activity because the last version was released 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
A single platform for static analysis, secrets detection, container scanning, and CVE checks—built on trusted open source tools, ready to run out of the box.
Product
Socket is launching experimental protection for the Hugging Face ecosystem, scanning for malware and malicious payload injections inside model files to prevent silent AI supply chain attacks.
Research
/Security News
The Socket Threat Research Team uncovered a coordinated campaign that floods the Chrome Web Store with 131 rebranded clones of a WhatsApp Web automation extension to spam Brazilian users.