
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
@ttoss/theme
Advanced tools
Pre-built themes and theme creation utilities for the ttoss Design System. Provides complete visual personalities for React applications using design tokens and Theme UI integration.
pnpm add @ttoss/theme @ttoss/react-icons
import { ThemeProvider } from '@ttoss/ui';
import { BruttalTheme } from '@ttoss/theme/Bruttal';
export const App = () => (
<ThemeProvider theme={BruttalTheme}>
<YourAppContent />
</ThemeProvider>
);
import { createTheme } from '@ttoss/theme';
export const MyTheme = createTheme({
colors: {
primary: '#007acc',
secondary: '#6c757d',
background: '#ffffff',
text: '#212529',
},
fonts: {
body: '"Inter", sans-serif',
heading: '"Poppins", sans-serif',
},
});
Bold, high-contrast design with sharp aesthetics
import { BruttalTheme, BruttalFonts, BrutalIcons } from '@ttoss/theme/Bruttal';
// Complete theme with semantic tokens
<ThemeProvider theme={BruttalTheme}>
// Typography: Atkinson Hyperlegible, Work Sans
// Colors: Deep charcoal (#292C2a), bright blue (#0469E3)
// Style: Minimal border radius, sharp corners
Soft, friendly design with rounded elements
import { OcaTheme, OcaFonts, OcaIcons } from '@ttoss/theme/Oca';
// Soft contrasts and warm palette
<ThemeProvider theme={OcaTheme}>
// Typography: Source Sans Pro, approachable fonts
// Colors: Soft black (#111827), bright green (#03FF7A)
// Style: Generous border radius, comfortable spacing
Foundation theme with core tokens only
import { defaultTheme } from '@ttoss/theme/default';
// Base tokens without semantic mapping
// Use as foundation for custom themes
Each theme provides:
createTheme(theme, base?)Creates a new theme by merging configuration with a base theme.
import { createTheme, defaultTheme } from '@ttoss/theme';
const customTheme = createTheme(
{
// Your theme overrides
colors: { primary: '#custom-color' },
},
defaultTheme
); // Optional base theme
Parameters:
theme: Theme - Theme configuration objectbase?: Theme - Base theme to extend (defaults to defaultTheme)Returns: Complete Theme object for use with ThemeProvider
import { createTheme } from '@ttoss/theme';
export const BrandTheme = createTheme({
// 1. Define core brand values
colors: {
primary: '#your-brand-primary',
secondary: '#your-brand-secondary',
},
// 2. Configure semantic tokens
colors: {
action: {
background: {
primary: { default: 'primary' },
secondary: { default: 'secondary' },
},
},
},
// 3. Customize component styles
buttons: {
primary: {
backgroundColor: 'action.background.primary.default',
borderRadius: 'lg',
},
},
});
import { BruttalTheme, BruttalFonts } from '@ttoss/theme/Bruttal';
// Fonts are automatically loaded when using pre-built themes
// For custom themes, handle font loading separately
export const App = () => (
<ThemeProvider theme={BruttalTheme} fonts={BruttalFonts}>
<YourApp />
</ThemeProvider>
);
FAQs
Theme for packages.
The npm package @ttoss/theme receives a total of 483 weekly downloads. As such, @ttoss/theme popularity was classified as not popular.
We found that @ttoss/theme demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 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
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.