@db-ui/foundations
Advanced tools
Comparing version 0.7.2 to 0.7.3
{ | ||
"name": "@db-ui/foundations", | ||
"version": "0.7.2", | ||
"version": "0.7.3", | ||
"type": "module", | ||
@@ -11,6 +11,5 @@ "description": "Provides basic tokens and assets based on DB UX Design System (Version 3).", | ||
"license": "DB Design License", | ||
"bin": { | ||
"@db-ui/foundations": "build/index.js" | ||
}, | ||
"main": "build.js", | ||
"main": "./build/index.js", | ||
"module": "./build/index.js", | ||
"types": "./build/index.d.ts", | ||
"files": [ | ||
@@ -28,3 +27,3 @@ "assets", | ||
"build:06_ide": "cpr ide build/ide -o", | ||
"build:06_ts": "cpr scripts/public build/ts -o", | ||
"build:06_ts": "tsc", | ||
"clean": "rm -rf build", | ||
@@ -51,3 +50,3 @@ "copy-build": "npm-run-all copy-build:*", | ||
"@csstools/normalize.css": "12.1.1", | ||
"@db-ux/icon-font-tools": "0.3.0", | ||
"@db-ux/icon-font-tools": "0.3.2", | ||
"cpr": "3.0.1", | ||
@@ -61,2 +60,3 @@ "cssnano": "^7.0.6", | ||
"tsx": "^4.19.2", | ||
"typescript": "^5.4.5", | ||
"vite": "^6.0.11" | ||
@@ -63,0 +63,0 @@ }, |
@@ -202,5 +202,17 @@ # @db-ui/foundations | ||
Check the required imports for [CSS](https://db-ui.github.io/mono/review/main/foundations/readme?current=css) to enable all tokens and defaults. | ||
#### Tailwind v4 | ||
```css | ||
@import "tailwindcss"; | ||
@import "@db-ui/foundations/build/tailwind/theme/index.css"; | ||
``` | ||
#### Tailwind v3 | ||
> **Note:** In Tailwind v4 you can use the config with `@config "tailwind.config.[js|ts]";` inside your `.css` file as well. | ||
After this you can extend your tailwind config like this: | ||
#### Javascript | ||
##### Javascript | ||
@@ -227,3 +239,3 @@ ```javascript | ||
#### Typescript | ||
##### Typescript | ||
@@ -230,0 +242,0 @@ ```typescript |
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
2664162
261
22511
352
12