
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.
@team23/design-system
Advanced tools
A set of (S)CSS Rules for basic styling that should be a common base for all projects in TEAM23 SE.
A set of (S)CSS Rules for basic styling that should be a common base for all projects in TEAM23 SE.
npm i @team23/design-system
@import '@team23/design-system/theme'; only once in your main style file to have access to all global classes and placeholders.
@import '@team23/design-system/utilities'; in every file you want to use some helper mixins or functions
Every variable from the variables folder can be overridden for each app individually.
/* Import all variables and utilities */
$base-size: 1rem;
$spacing-xs: 4rem;
$color-mapping-for-utilities: (
grey: #888,
);
$color-mapping-for-background: (
primary: (
heading: yellow,
),
);
@import '@team23/design-system/utilities';
@import '@team23/design-system/theme';
Note: you cannot import the utilities before overwriting the variables.
theme/
|
|- abstracts/
| |- _color.scss # mixins to work with colors
| |- _spacing.scss # mixins to work with spacing
| |- _typography.scss # mixins to work with typography
|
|- ui/
| |- _base.scss # global styling that might want to stay in the design system
| |- _color.scss # utility classes to work with color
| |- _reset.scss # base styling to reset browser defaults
| |- _spacing.scss # utility classes to work with spacing
| |- _typography.scss # utility classes to work with typography
|
|- variables/
| |- _base.scss # base css variables
| |- _color.scss # variables to define available colors (e.g. colors and mappings)
| |- _spacing.scss # variables to define available spacings (e.g. sizes and names)
| |- _typography.scss # variables to define typography (e.g. font-sizes and family)
|
|- vendors/
| |- _primeflex.scss # primeflex integration with some required variables
| |- (_primeng.scss) # all variables used for the prime frameworks (not ready yet, not part of the default import)
|
|- utilities # a collection of all utilities. can be imported seperately
|- index # all classes to import once in your app
A collection of classes and CSS Variables to style the color/background-color.
<div class="color-error"></div>
<div class="background-primary"></div>
A collection of classes and mixins to style the font-size/weight/style.
<div class="heading-large"></div>
<div class="text"></div>
A collection of classes and one mixin to style spacings (margin/padding).
<div class="p-m"></div>
<div class="-mt-xxl"></div>
To quickly create layouts we decided to use some utility classes. Therefor we do use parts of Primeflex:
There are different ways to use the different aspects of the design system in your custom component styles
Since colors are defined using css variables you can use them directly when needed:
.card {
color: var(--color-text-on-secondary);
background-color: var(--background-secondary);
}
Since spacing classes are generated based on a config it is not possible to include them directly. There is one mixin for all spacings:
.card {
@include set-spacing(pt-m);
@include set-spacing(pl-m);
}
Since typography is defined explicitly it's not possible to use only one mixin. There is one mixin for every typography type
.card {
@include text-small;
@include text-bold;
}
FAQs
A set of (S)CSS Rules for basic styling that should be a common base for all projects in TEAM23 SE.
The npm package @team23/design-system receives a total of 113 weekly downloads. As such, @team23/design-system popularity was classified as not popular.
We found that @team23/design-system demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 7 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.