
Security News
minimatch Patches 3 High-Severity ReDoS Vulnerabilities
minimatch patched three high-severity ReDoS vulnerabilities that can stall the Node.js event loop, and Socket has released free certified patches.
@veecode-platform/backstage-plugin-theme
Advanced tools
A set of theming options for MUI Material UI and Backstage that look more similar to PatternFly.
It also includes a Storybook and a Storybook test-runner for automatic visual regression tests.
Returns all testable themes (incl. the backstage default color scheme and older RHDH versions):
getAllThemes: () => AppTheme[]useAllThemes: () => AppTheme[]Returns the latest, not released RHDH light and dark theme for your backstage/RHDH instance:
getThemes: () => AppTheme[]useThemes: () => AppTheme[]useLoaderTheme: () => MUIv5.Themenpm install @red-hat-developer-hub/backstage-plugin-theme
or
yarn add @red-hat-developer-hub/backstage-plugin-theme
Install the dependency with
yarn workspace app add @red-hat-developer-hub/backstage-plugin-theme
In packages/app/src/components/DynamicRoot/DynamicRoot.tsx
import { useThemes } from '@red-hat-developer-hub/backstage-plugin-theme';
// ...
const themes = useThemes();
// ...
app.current = createApp({
apis: [...staticApis, ...remoteApis],
// ... remove defaultThemes from here:
themes,
components: defaultAppComponents,
});
Install the dependency with
yarn workspace app add @red-hat-developer-hub/backstage-plugin-theme
Update packages/app/src/App.tsx and apply the themes to createApp:
import { getThemes } from '@red-hat-developer-hub/backstage-plugin-theme';
// ...
const app = createApp({
apis,
// ...
themes: getThemes(),
Install the dependency with
yarn workspace <plugin-root or plugin-name> add @red-hat-developer-hub/backstage-plugin-theme
Add to your */dev/index.tsx:
import { getAllThemes } from '@red-hat-developer-hub/backstage-plugin-theme';
// ...
createDevApp()
.registerPlugin(...)
.addThemes(getAllThemes())
.addPage({
// ...
})
.render();
yarn linkClone the rhdh theme and run npm link in it:
cd red-hat-developer-hub-theme
yarn link
To use this link you can cd any other repository:
cd ../backstage-plugins
yarn link @red-hat-developer-hub/backstage-plugin-theme
By: RHDH
FAQs
VeeCode Developer Hub Theme by RHDH
The npm package @veecode-platform/backstage-plugin-theme receives a total of 1 weekly downloads. As such, @veecode-platform/backstage-plugin-theme popularity was classified as not popular.
We found that @veecode-platform/backstage-plugin-theme demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 3 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
minimatch patched three high-severity ReDoS vulnerabilities that can stall the Node.js event loop, and Socket has released free certified patches.

Research
/Security News
Socket uncovered 26 malicious npm packages tied to North Korea's Contagious Interview campaign, retrieving a live 9-module infostealer and RAT from the adversary's C2.

Research
An impersonated golang.org/x/crypto clone exfiltrates passwords, executes a remote shell stager, and delivers a Rekoobe backdoor on Linux.