@frontify/fondue 12.10.3 → 13.0.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (26) hide show
  1. package/dist/legacyTokens.tailwind.config.d.ts +2 -0
  2. package/{tailwind.config.ts → dist/legacyTokens.tailwind.config.js} +10 -15
  3. package/dist/packages/charts/style.css +1 -1
  4. package/dist/packages/components/style.css +1 -1
  5. package/dist/packages/tokens/css/base.css +313 -0
  6. package/dist/packages/tokens/fondue-tokens.js +1 -1
  7. package/dist/packages/tokens/fondue-tokens.umd.cjs +1 -1
  8. package/dist/packages/tokens/json/all-tokens.json +1903 -0
  9. package/dist/packages/tokens/json/colors.json +756 -0
  10. package/dist/packages/tokens/json/semantic.json +415 -0
  11. package/dist/packages/tokens/json/utilities.json +730 -0
  12. package/dist/packages/tokens/legacy/deprecatedBaseTokens.css +321 -0
  13. package/dist/packages/tokens/legacy/deprecatedTailwindConfig.d.ts +2 -0
  14. package/dist/packages/tokens/legacy/deprecatedTailwindConfig.ts +213 -0
  15. package/dist/packages/tokens/legacy/tools/replaceLegacyTokens.ts +176 -0
  16. package/dist/packages/tokens/legacy/tools/replacements.ts +422 -0
  17. package/dist/packages/tokens/tailwind/tailwind.config.d.ts +2 -0
  18. package/dist/packages/tokens/tailwind/tailwind.config.js +10 -0
  19. package/dist/packages/tokens/themes/themes.module.css +385 -0
  20. package/dist/packages/tokens/themes/themes.module.css.d.ts +2 -0
  21. package/dist/style.css +1 -1
  22. package/package.json +11 -10
  23. package/dist/packages/tokens/style.css +0 -1
  24. package/dist/packages/tokens/tailwind.config.js +0 -28
  25. package/dist/packages/tokens/theme/themes.module.css +0 -468
  26. package/dist/packages/tokens/theme/themes.module.css.d.ts +0 -13
@@ -0,0 +1,2 @@
1
+ declare module '*';
2
+ export {};
@@ -1,18 +1,11 @@
1
1
  /* (c) Copyright Frontify Ltd., all rights reserved. */
2
2
 
3
- // @ts-expect-error Untyped
4
- import frontifyTailwindConfig from '@frontify/fondue-tokens/tailwind';
3
+ import legacyFondueTailwindConfig from '@frontify/fondue-tokens/legacy/tailwind';
5
4
  import tailwindForm from '@tailwindcss/forms';
6
- import { type Config } from 'tailwindcss';
7
5
 
8
6
  export default {
9
- presets: [frontifyTailwindConfig as Config],
10
- content: ['./src/**/*.{js,ts,tsx}'],
11
- plugins: [
12
- tailwindForm({
13
- strategy: 'class',
14
- }),
15
- ],
7
+ presets: [legacyFondueTailwindConfig],
8
+ prefix: 'tw-',
16
9
  theme: {
17
10
  extend: {
18
11
  outline: {
@@ -27,9 +20,6 @@ export default {
27
20
  big: '0px 25px 80px 0px rgba(80, 80, 80, 0.20)',
28
21
  none: 'none',
29
22
  },
30
- ringColor: {
31
- blue: '#4196fb',
32
- },
33
23
  colors: {
34
24
  transparent: 'transparent',
35
25
  current: 'currentColor',
@@ -94,7 +84,7 @@ export default {
94
84
  },
95
85
  },
96
86
  fontFamily: {
97
- sans: ['var(--body-family-stack)'],
87
+ sans: ['var(--typography-font-family-primary)'],
98
88
  mono: ['Menlo', 'Courier', 'monospace'],
99
89
  },
100
90
  fontSize: {
@@ -121,4 +111,9 @@ export default {
121
111
  '2xl': '1536px',
122
112
  },
123
113
  },
124
- } satisfies Config;
114
+ plugins: [
115
+ tailwindForm({
116
+ strategy: 'class',
117
+ }),
118
+ ],
119
+ };