@mekari/pixel3-theme 0.0.6-dev.1 → 0.0.6-dev.3

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.
@@ -1,79 +1,54 @@
1
1
  declare const spacing: {
2
2
  0: {
3
3
  value: string;
4
- description: string;
5
- };
6
- 0.25: {
7
- value: string;
8
- description: string;
9
4
  };
10
5
  0.5: {
11
6
  value: string;
12
- description: string;
13
7
  };
14
8
  1: {
15
9
  value: string;
16
- description: string;
17
10
  };
18
11
  1.5: {
19
12
  value: string;
20
- description: string;
21
13
  };
22
14
  2: {
23
15
  value: string;
24
- description: string;
25
- };
26
- 2.5: {
27
- value: string;
28
- description: string;
29
16
  };
30
17
  3: {
31
18
  value: string;
32
- description: string;
33
19
  };
34
20
  4: {
35
21
  value: string;
36
- description: string;
37
22
  };
38
23
  5: {
39
24
  value: string;
40
- description: string;
41
25
  };
42
26
  6: {
43
27
  value: string;
44
- description: string;
45
28
  };
46
29
  8: {
47
30
  value: string;
48
- description: string;
49
31
  };
50
32
  12: {
51
33
  value: string;
52
- description: string;
53
34
  };
54
35
  16: {
55
36
  value: string;
56
- description: string;
57
37
  };
58
38
  20: {
59
39
  value: string;
60
- description: string;
61
40
  };
62
41
  24: {
63
42
  value: string;
64
- description: string;
65
43
  };
66
44
  32: {
67
45
  value: string;
68
- description: string;
69
46
  };
70
47
  40: {
71
48
  value: string;
72
- description: string;
73
49
  };
74
50
  64: {
75
51
  value: string;
76
- description: string;
77
52
  };
78
53
  };
79
54
 
@@ -9,27 +9,21 @@ declare const fonts: {
9
9
  declare const fontSizes: {
10
10
  xs: {
11
11
  value: string;
12
- description: string;
13
12
  };
14
13
  sm: {
15
14
  value: string;
16
- description: string;
17
15
  };
18
16
  md: {
19
17
  value: string;
20
- description: string;
21
18
  };
22
19
  lg: {
23
20
  value: string;
24
- description: string;
25
21
  };
26
22
  xl: {
27
23
  value: string;
28
- description: string;
29
24
  };
30
25
  '2xl': {
31
26
  value: string;
32
- description: string;
33
27
  };
34
28
  };
35
29
  declare const fontWeights: {
@@ -46,31 +40,24 @@ declare const fontWeights: {
46
40
  declare const lineHeights: {
47
41
  xs: {
48
42
  value: number;
49
- description: string;
50
43
  };
51
44
  sm: {
52
45
  value: number;
53
- description: string;
54
46
  };
55
47
  md: {
56
48
  value: number;
57
- description: string;
58
49
  };
59
50
  lg: {
60
51
  value: number;
61
- description: string;
62
52
  };
63
53
  xl: {
64
54
  value: number;
65
- description: string;
66
55
  };
67
56
  '2xl': {
68
57
  value: number;
69
- description: string;
70
58
  };
71
59
  '3xl': {
72
60
  value: number;
73
- description: string;
74
61
  };
75
62
  };
76
63
  declare const letterSpacings: {
@@ -9,27 +9,21 @@ declare const fonts: {
9
9
  declare const fontSizes: {
10
10
  xs: {
11
11
  value: string;
12
- description: string;
13
12
  };
14
13
  sm: {
15
14
  value: string;
16
- description: string;
17
15
  };
18
16
  md: {
19
17
  value: string;
20
- description: string;
21
18
  };
22
19
  lg: {
23
20
  value: string;
24
- description: string;
25
21
  };
26
22
  xl: {
27
23
  value: string;
28
- description: string;
29
24
  };
30
25
  '2xl': {
31
26
  value: string;
32
- description: string;
33
27
  };
34
28
  };
35
29
  declare const fontWeights: {
@@ -46,31 +40,24 @@ declare const fontWeights: {
46
40
  declare const lineHeights: {
47
41
  xs: {
48
42
  value: number;
49
- description: string;
50
43
  };
51
44
  sm: {
52
45
  value: number;
53
- description: string;
54
46
  };
55
47
  md: {
56
48
  value: number;
57
- description: string;
58
49
  };
59
50
  lg: {
60
51
  value: number;
61
- description: string;
62
52
  };
63
53
  xl: {
64
54
  value: number;
65
- description: string;
66
55
  };
67
56
  '2xl': {
68
57
  value: number;
69
- description: string;
70
58
  };
71
59
  '3xl': {
72
60
  value: number;
73
- description: string;
74
61
  };
75
62
  };
76
63
  declare const letterSpacings: {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@mekari/pixel3-theme",
3
3
  "description": "Theme for mekari pixel 3",
4
- "version": "0.0.6-dev.1",
4
+ "version": "0.0.6-dev.3",
5
5
  "main": "dist/index.js",
6
6
  "license": "MIT",
7
7
  "files": [
@@ -9,13 +9,13 @@
9
9
  "src"
10
10
  ],
11
11
  "dependencies": {
12
- "@pandacss/dev": "^0.24.1"
12
+ "@pandacss/dev": "^0.29.1"
13
13
  },
14
14
  "peerDependencies": {
15
15
  "vue": "^3.4.9"
16
16
  },
17
17
  "devDependencies": {
18
- "@pandacss/types": "^0.24.1",
18
+ "@pandacss/types": "^0.29.1",
19
19
  "vue": "^3.4.9"
20
20
  },
21
21
  "publishConfig": {
@@ -3,7 +3,7 @@ import { defineSlotRecipe } from '@pandacss/dev'
3
3
  const broadcastSlotRecipe = defineSlotRecipe({
4
4
  className: 'broadcast',
5
5
  jsx: ['MpBroadcast', 'mp-broadcast'],
6
- slots: ['root', 'container', 'wrapper', 'icon', 'content', 'textLink', 'action', 'close'],
6
+ slots: ['root', 'container', 'wrapper', 'icon', 'label', 'textLink', 'action', 'close'],
7
7
  base: {
8
8
  root: {
9
9
  width: 'full',
@@ -46,22 +46,22 @@ const broadcastSlotRecipe = defineSlotRecipe({
46
46
  announcement: {
47
47
  container: { backgroundColor: 'stone.400' },
48
48
  icon: { color: 'white' },
49
- content: { color: 'white' },
49
+ label: { color: 'white' },
50
50
  textLink: { color: 'white' }
51
51
  },
52
52
  information: {
53
53
  container: { backgroundColor: 'violet.400' },
54
54
  icon: { color: 'white' },
55
- content: { color: 'white' },
55
+ label: { color: 'white' },
56
56
  textLink: { color: 'white' }
57
57
  },
58
58
  important: {
59
59
  container: { backgroundColor: 'amber.100' },
60
60
  icon: { color: 'dark' },
61
- content: { color: 'dark' },
61
+ label: { color: 'dark' },
62
62
  textLink: { color: 'dark' }
63
63
  }
64
- },
64
+ }
65
65
  },
66
66
  compoundVariants: [],
67
67
  defaultVariants: {
@@ -2,30 +2,27 @@ import { defineTokens } from '@pandacss/dev'
2
2
 
3
3
  export const colors = defineTokens.colors({
4
4
  currentcolor: {
5
- value: 'currentcolor',
6
- description: 'Need to add this for Icon usage'
5
+ value: 'currentcolor'
7
6
  },
8
- dark: { value: '#232933', description: 'Default or primary text color' },
7
+ dark: { value: '#232933' },
9
8
  white: {
10
- value: '#FFFFFF',
11
- description: 'Background color in components such as Card, Modal, and Popover'
9
+ value: '#FFFFFF'
12
10
  },
13
- background: { value: '#F1F5F9', description: 'For use as background page' },
11
+ background: { value: '#F1F5F9' },
14
12
  overlay: {
15
- value: 'rgba(22, 26, 32, 0.8)',
16
- description: 'For use as overlay'
13
+ value: 'rgba(22, 26, 32, 0.8)'
17
14
  },
18
15
  brand: {
19
- capital: { value: '#2F5573', description: 'Mekari Capital' },
20
- esign: { value: '#00C853', description: 'Mekari e-Sign' },
21
- expense: { value: '#183883', description: 'Mekari Expense' },
22
- flex: { value: '#7C4DFF', description: 'Mekari Flex' },
23
- jurnal: { value: '#40C3FF', description: 'Mekari Jurnal' },
24
- klikpajak: { value: '#FF9100', description: 'Mekari Klikpajak' },
25
- mekari: { value: '#651FFF', description: 'Mekari' },
26
- qontak: { value: '#2979FF', description: 'Mekari Qontak' },
27
- talenta: { value: '#F22929', description: 'Mekari Talenta' },
28
- university: { value: '#448AFF', description: 'Mekari University' }
16
+ capital: { value: '#2F5573' },
17
+ esign: { value: '#00C853' },
18
+ expense: { value: '#183883' },
19
+ flex: { value: '#7C4DFF' },
20
+ jurnal: { value: '#40C3FF' },
21
+ klikpajak: { value: '#FF9100' },
22
+ mekari: { value: '#651FFF' },
23
+ qontak: { value: '#2979FF' },
24
+ talenta: { value: '#F22929' },
25
+ university: { value: '#448AFF' }
29
26
  },
30
27
  whiteAlpha: {
31
28
  50: { value: 'rgba(255, 255, 255, 0.04)' },
@@ -53,22 +50,17 @@ export const colors = defineTokens.colors({
53
50
  },
54
51
  gray: {
55
52
  25: {
56
- value: '#F8F9FB',
57
- description: 'Background color in table header component'
53
+ value: '#F8F9FB'
58
54
  },
59
55
  50: {
60
- value: '#EDF0F2',
61
- description: 'Disabled background color in components such as Input and Select backgrounds'
56
+ value: '#EDF0F2'
62
57
  },
63
- 100: { value: '#D0D6DD', description: 'Default stroke color or divider' },
58
+ 100: { value: '#D0D6DD' },
64
59
  400: {
65
- value: '#8B95A5',
66
- description:
67
- 'Disabled and placeholder text color, icon or in components such as hover state Input, Select and stroke in Popover'
60
+ value: '#8B95A5'
68
61
  },
69
62
  600: {
70
- value: '#626B79',
71
- description: 'Description text color and default color for outline icon'
63
+ value: '#626B79'
72
64
  }
73
65
  },
74
66
  blue: {
@@ -2,10 +2,10 @@ import { defineTokens } from '@pandacss/dev'
2
2
 
3
3
  export const radii = defineTokens.radii({
4
4
  none: { value: '0' },
5
- xs: { value: '0.125rem', description: '2px' },
6
- sm: { value: '0.25rem', description: '4px' },
7
- md: { value: '0.375rem', description: '6px' },
8
- lg: { value: '0.5rem', description: '8px' },
9
- xl: { value: '0.75rem', description: '12px' },
5
+ xs: { value: '0.125rem' },
6
+ sm: { value: '0.25rem' },
7
+ md: { value: '0.375rem' },
8
+ lg: { value: '0.5rem' },
9
+ xl: { value: '0.75rem' },
10
10
  full: { value: '50%' }
11
11
  })
@@ -1,30 +1,29 @@
1
1
  import { defineTokens } from '@pandacss/dev'
2
2
 
3
3
  export const sizes = defineTokens.sizes({
4
- 0: { value: '0', description: '0px' },
5
- 0.25: { value: '0.0625rem', description: '1px' },
6
- 0.5: { value: '0.125rem', description: '2px' },
7
- 1: { value: '0.25rem', description: '4px' },
8
- 1.5: { value: '0.375rem', description: '6px' },
9
- 2: { value: '0.5rem', description: '8px' },
10
- 2.5: { value: '0.625rem', description: '10px' },
11
- 3: { value: '0.75rem', description: '12px' },
12
- 4: { value: '1rem', description: '16px' },
13
- 5: { value: '1.25rem', description: '20px' },
14
- 6: { value: '1.5rem', description: '24px' },
15
- 7: { value: '1.75rem', description: '28px' },
16
- 7.5: { value: '1.875rem', description: '30px' },
17
- 8: { value: '2rem', description: '32px' },
18
- 9: { value: '2.25rem', description: '36px' },
19
- 9.5: { value: '2.375rem', description: '38px' },
20
- 10: { value: '2.5rem', description: '40px' },
21
- 11: { value: '2.75rem', description: '44px' },
22
- 12: { value: '3rem', description: '48px' },
23
- 16: { value: '4rem', description: '64px' },
24
- 20: { value: '5rem', description: '80px' },
25
- 22: { value: '5.5rem', description: '96px' },
26
- 56: { value: '14rem', description: '224px' },
27
- 65: { value: '17.5rem', description: '280px' },
4
+ 0: { value: '0' },
5
+ 0.25: { value: '0.0625rem' },
6
+ 0.5: { value: '0.125rem' },
7
+ 1: { value: '0.25rem' },
8
+ 2: { value: '0.5rem' },
9
+ 2.5: { value: '0.625rem' },
10
+ 3: { value: '0.75rem' },
11
+ 4: { value: '1rem' },
12
+ 5: { value: '1.25rem' },
13
+ 6: { value: '1.5rem' },
14
+ 7: { value: '1.75rem' },
15
+ 7.5: { value: '1.875rem' },
16
+ 8: { value: '2rem' },
17
+ 9: { value: '2.25rem' },
18
+ 9.5: { value: '2.375rem' },
19
+ 10: { value: '2.5rem' },
20
+ 11: { value: '2.75rem' },
21
+ 12: { value: '3rem' },
22
+ 16: { value: '4rem' },
23
+ 20: { value: '5rem' },
24
+ 22: { value: '5.5rem' },
25
+ 56: { value: '14rem' },
26
+ 65: { value: '17.5rem' },
28
27
  full: { value: '100%' },
29
- sm: {value: '24rem'}
28
+ sm: { value: '24rem' }
30
29
  })
@@ -1,23 +1,21 @@
1
1
  import { defineTokens } from '@pandacss/dev'
2
2
 
3
3
  export const spacing = defineTokens.spacing({
4
- 0: { value: '0', description: '0px' },
5
- 0.25: { value: '0.0625rem', description: '1px' },
6
- 0.5: { value: '0.125rem', description: '2px' },
7
- 1: { value: '0.25rem', description: '4px' },
8
- 1.5: { value: '0.375rem', description: '6px' },
9
- 2: { value: '0.5rem', description: '8px' },
10
- 2.5: { value: '0.625rem', description: '10px' },
11
- 3: { value: '0.75rem', description: '12px' },
12
- 4: { value: '1rem', description: '16px' },
13
- 5: { value: '1.3rem', description: '20px' },
14
- 6: { value: '1.5rem', description: '24px' },
15
- 8: { value: '2rem', description: '32px' },
16
- 12: { value: '3rem', description: '48px' },
17
- 16: { value: '4rem', description: '64px' },
18
- 20: { value: '5rem', description: '80px' },
19
- 24: { value: '6rem', description: '96px' },
20
- 32: { value: '8rem', description: '128px' },
21
- 40: { value: '10rem', description: '160px' },
22
- 64: { value: '16rem', description: '256px' }
4
+ 0: { value: '0' },
5
+ 0.5: { value: '0.125rem' },
6
+ 1: { value: '0.25rem' },
7
+ 1.5: { value: '0.375rem' },
8
+ 2: { value: '0.5rem' },
9
+ 3: { value: '0.75rem' },
10
+ 4: { value: '1rem' },
11
+ 5: { value: '1.3rem' },
12
+ 6: { value: '1.5rem' },
13
+ 8: { value: '2rem' },
14
+ 12: { value: '3rem' },
15
+ 16: { value: '4rem' },
16
+ 20: { value: '5rem' },
17
+ 24: { value: '6rem' },
18
+ 32: { value: '8rem' },
19
+ 40: { value: '10rem' },
20
+ 64: { value: '16rem' }
23
21
  })
@@ -11,12 +11,12 @@ export const fonts = defineTokens.fonts({
11
11
  })
12
12
 
13
13
  export const fontSizes = defineTokens.fontSizes({
14
- xs: { value: '0.625rem', description: '10px' },
15
- sm: { value: '0.75rem', description: '12px' },
16
- md: { value: '0.875rem', description: '14px' },
17
- lg: { value: '1rem', description: '16px' },
18
- xl: { value: '1.25rem', description: '20px' },
19
- '2xl': { value: '1.5rem', description: '24px' }
14
+ xs: { value: '0.625rem' },
15
+ sm: { value: '0.75rem' },
16
+ md: { value: '0.875rem' },
17
+ lg: { value: '1rem' },
18
+ xl: { value: '1.25rem' },
19
+ '2xl': { value: '1.5rem' }
20
20
  })
21
21
 
22
22
  export const fontWeights = defineTokens.fontWeights({
@@ -26,13 +26,13 @@ export const fontWeights = defineTokens.fontWeights({
26
26
  })
27
27
 
28
28
  export const lineHeights = defineTokens.lineHeights({
29
- xs: { value: 1.2, description: '12px/10px' },
30
- sm: { value: 1.34, description: '16px/12px or 32px/24px' },
31
- md: { value: 1.4, description: '28px/20px' },
32
- lg: { value: 1.429, description: '20px/14px' },
33
- xl: { value: 1.5, description: '24px/16px' },
34
- '2xl': { value: 1.67, description: '20px/12px' },
35
- '3xl': { value: 1.71, description: '24px/14px' }
29
+ xs: { value: 1.2 },
30
+ sm: { value: 1.34 },
31
+ md: { value: 1.4 },
32
+ lg: { value: 1.429 },
33
+ xl: { value: 1.5 },
34
+ '2xl': { value: 1.67 },
35
+ '3xl': { value: 1.71 }
36
36
  })
37
37
 
38
38
  export const letterSpacings = defineTokens.letterSpacings({