@likec4/styles 1.38.0 → 1.39.0

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.
package/README.md CHANGED
@@ -23,8 +23,8 @@ export default defineConfig({
23
23
  jsxFramework: 'react',
24
24
  include: [
25
25
  './src/**/*.{js,jsx,ts,tsx}',
26
- // TODO: will be replaced with ship info
27
- '../diagram/src/**/*.{js,jsx,ts,tsx}',
26
+ // Include likec4 diagram source code to get the styles
27
+ 'node_modules/@likec4/diagram/panda.buildinfo.json',
28
28
  ],
29
29
  })
30
30
  ```
package/dev.ts CHANGED
@@ -1,19 +1,14 @@
1
+ import likec4preset from '@likec4/style-preset'
1
2
  import {
2
3
  pluginRemoveNegativeSpacing,
3
4
  pluginStrictTokensScope,
4
5
  } from '@pandabox/panda-plugins'
5
6
  import { type Config, defineConfig as pandaDefineConfig } from '@pandacss/dev'
6
- import likec4preset from './preset'
7
7
 
8
- export function defineConfig(config: Config) {
8
+ export function defineConfig(config: Omit<Config, 'importMap' | 'presets' | 'plugins'>) {
9
9
  return pandaDefineConfig({
10
10
  // Whether to use css reset
11
- importMap: {
12
- css: '@likec4/styles/css',
13
- recipes: '@likec4/styles/recipes',
14
- patterns: '@likec4/styles/patterns',
15
- jsx: '@likec4/styles/jsx',
16
- },
11
+ importMap: '@likec4/styles',
17
12
  presets: [
18
13
  likec4preset,
19
14
  ],
@@ -967,14 +967,6 @@ declare const theme: {
967
967
  };
968
968
  };
969
969
  semanticTokens: {
970
- fontSizes: {
971
- likec4: {
972
- textSize: {
973
- description: string;
974
- value: string;
975
- };
976
- };
977
- };
978
970
  colors: {
979
971
  likec4: {
980
972
  background: {