
Security News
Next.js Patches Critical Middleware Vulnerability (CVE-2025-29927)
Next.js has patched a critical vulnerability (CVE-2025-29927) that allowed attackers to bypass middleware-based authorization checks in self-hosted apps.
@madgex/design-system
Advanced tools
A work-in progress Design System for building a UI for Madgex products.
A work-in progress Design System for building a UI for Madgex products.
NOTE: Right now you'll need to be authenticated on npm under the Madgex account.
npm install @madgex/design-system --save
You'll need to import the Madgex DS styles into your project scss file.
Use the DS tokens to change DS variables.
e.g. import the Madgex DS to your Sass file & overload variables:
$mds-color-primary: #ff0000; // my primary brand colour is RED
$mds-size-font-md: 20px; // my base font-size is 20px
@import 'node_modules/@madgex/design-system/src/scss/index.scss';
If you're wanting to use the Madgex DS components from a hapi.js+vision+Nunjucks setup you'll need to include the Madgex DS in the Nunjucks pathing:
engines: {
njk: {
compile: (src, options) => {
const template = Nunjucks.compile(src, options.environment);
return (context) => {
return template.render(context);
};
},
prepare: (options, next) => {
options.compileOptions.environment = Nunjucks.configure(
[
Path.join(options.path),
'node_modules/@madgex/design-system/',
'node_modules/@madgex/design-system/src/',
'node_modules/@madgex/design-system/src/components/',
],
{ watch: false }
);
return next();
},
},
},
Then you should be able to use components as such:
{% extends "template.njk" %} {# a base template is available in the DS #}
{% from "button/_macro.njk" import Button %} {# load the DS button component #}
{% block content %}
<p>My new project homepage</p>
{# Use the Madgex DS button! #}
{{
Button({
text: 'Click me!'
})
}}
{% endblock %}
Note you'll need the scss for the component styles.
With every commit to master
the build server attempts to create a new version using semantic-release and deploys to npm as @madgex/design-system.
FAQs
A work-in progress Design System for building a UI for Madgex products.
The npm package @madgex/design-system receives a total of 453 weekly downloads. As such, @madgex/design-system popularity was classified as not popular.
We found that @madgex/design-system demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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
Next.js has patched a critical vulnerability (CVE-2025-29927) that allowed attackers to bypass middleware-based authorization checks in self-hosted apps.
Security News
A survey of 500 cybersecurity pros reveals high pay isn't enough—lack of growth and flexibility is driving attrition and risking organizational security.
Product
Socket, the leader in open source security, is now available on Google Cloud Marketplace for simplified procurement and enhanced protection against supply chain attacks.