Socket
Book a DemoInstallSign in
Socket

@digdir/designsystemet-theme

Package Overview
Dependencies
Maintainers
5
Versions
136
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@digdir/designsystemet-theme - npm Package Compare versions

Comparing version

to
0.0.0-suggestion-multiple-intersection-props-20250821115151

brand/types.d.ts

24

brand/colors.d.ts

@@ -1,10 +0,20 @@

import type {} from '@digdir/designsystemet-react/colors';
/* This file is deprecated and will be removed in a future release. Use types.d.ts instead */
/* build: v1.1.5 */
import type {} from '@digdir/designsystemet/types';
declare module '@digdir/designsystemet-react/colors' {
export interface MainAndSupportColors {
'accent': never;
'brand1': never;
'brand2': never;
'brand3': never;
// Augment types based on theme
declare module '@digdir/designsystemet/types' {
export interface ColorDefinitions {
accent: never;
brand1: never;
brand2: never;
brand3: never;
neutral: never;
}
export interface SeverityColorDefinitions {
info: never;
success: never;
warning: never;
danger: never;
}
}
{
"name": "@digdir/designsystemet-theme",
"version": "0.0.0-next-20250710132619",
"version": "0.0.0-suggestion-multiple-intersection-props-20250821115151",
"description": "Predefined themes for Designsystemet",

@@ -14,3 +14,3 @@ "author": "Designsystemet team",

".": {
"types": "./src/themes/colors.d.ts",
"types": "./src/themes/types.d.ts",
"default": "./src/themes/designsystemet.css"

@@ -36,3 +36,3 @@ },

"rimraf": "^6.0.1",
"@digdir/designsystemet": "^0.0.0-next-20250710132619"
"@digdir/designsystemet": "^0.0.0-suggestion-multiple-intersection-props-20250821115151"
},

@@ -39,0 +39,0 @@ "scripts": {

@@ -1,5 +0,8 @@

import type {} from '@digdir/designsystemet-react/colors';
/* This file is deprecated and will be removed in a future release. Use types.d.ts instead */
/* build: v1.1.5 */
import type {} from '@digdir/designsystemet/types';
declare module '@digdir/designsystemet-react/colors' {
export interface MainAndSupportColors {
// Augment types based on theme
declare module '@digdir/designsystemet/types' {
export interface ColorDefinitions {
accent: never;

@@ -9,3 +12,10 @@ brand1: never;

brand3: never;
neutral: never;
}
export interface SeverityColorDefinitions {
info: never;
success: never;
warning: never;
danger: never;
}
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.