@brickslab./token-contract 2.0.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.
Files changed (2) hide show
  1. package/dist/contract.css +128 -0
  2. package/package.json +23 -0
@@ -0,0 +1,128 @@
1
+ :root {
2
+ /* Align items */
3
+ --align-items-center: center;
4
+
5
+ --color-bg: #ffffff;
6
+ --color-fg: #0b1220;
7
+ --color-muted: #52607a;
8
+ /* couleur de marque par défaut ; rouge perle dans la charte */
9
+ --color-brand: #CC4A48;
10
+ /* semantic status colors */
11
+ --color-success: #4ADE80;
12
+ --color-warning: #F59E0B;
13
+ --color-error: #CC4A48;
14
+ --color-info: #3B82F6;
15
+ --color-transparent: transparent;
16
+
17
+ /* Border style */
18
+ --border-solid: solid;
19
+ --border-dotted: dotted;
20
+ --border-double: double;
21
+
22
+ /* Border width */
23
+ --border-xm: 1px;
24
+ --border-sm: 2px;
25
+ --border-md: 4px;
26
+
27
+ /* Blur Variables */
28
+ --blur-min: 1;
29
+ --blur-medium: 2;
30
+ --blur-high: 3;
31
+ --blur-extra: 4;
32
+ --blur-max: 5;
33
+
34
+ /* Clamp content */
35
+ --clamp-content: clamp(220px, 25vw, 320px);
36
+
37
+ /* Display style */
38
+ --display-flex: flex;
39
+
40
+ /* fontsize variables */
41
+ --fontsize-2xs: 10px;
42
+ --fontsize-xs: 12px;
43
+ --fontsize-sm: 14px;
44
+ --fontsize-medium: 16px;
45
+ --fontsize-lg: clamp(18px, 5vw, 48px);
46
+ --fontsize-xl: clamp(20px, 5vw, 48px);
47
+ --fontsize-2xl: clamp(24px, 5vw, 48px);
48
+ --fontsize-3xl: clamp(30px, 5vw, 48px);
49
+ --fontsize-4xl: clamp(36px, 5vw, 48px);
50
+ --fontsize-5xl: clamp(32px, 5vw, 48px);
51
+
52
+ /* fontweight variables */
53
+ --fontweight-thin: 100;
54
+ --fontweight-normal: 400;
55
+ --fontweight-extralight: 200;
56
+ --fontweight-light: 300;
57
+ --fontweight-medium: 500;
58
+ --fontweight-semibold: 600;
59
+ --fontweight-bold: 700;
60
+ --fontweight-extrabold: 800;
61
+ --fontweight-black: 900;
62
+
63
+ /* height */
64
+ --height-xm: 1px;
65
+ --height-sm: 8px;
66
+ --height-md: 32px;
67
+ --height-input: 38px;
68
+ --height-lg: 42px;
69
+ --height-xl: 62px;
70
+ --height-2xl: 150px;
71
+
72
+ /* Margin Variables */
73
+ --margin-sm: 4px;
74
+ --margin-md: 8px;
75
+ --margin-lg: 12px;
76
+
77
+ /* Padding Variables */
78
+ --padding-sm: 4px;
79
+ --padding-md: 8px;
80
+ --padding-lg: 12px;
81
+
82
+ /* Border radius */
83
+ --radius-sm: 6px;
84
+ --radius-md: 12px;
85
+ --radius-lg: 16px;
86
+ --radius-full: 999px;
87
+
88
+ /* Spacing for marging and padding */
89
+ --space-1: 2px;
90
+ --space-1-5: 4px;
91
+ --space-2: 8px;
92
+ --space-3: 12px;
93
+ --space-4: 16px;
94
+ --space-5: 20px;
95
+ --space-6: 24px;
96
+ --space-7: 28px;
97
+ --space-8: 32px;
98
+ --space-10: 40px;
99
+ --space-12: 48px;
100
+ --space-15: 60px;
101
+ --space-20: 80px;
102
+
103
+ /* Shadows style for boxShadow */
104
+ --shadow-1: 0 1px 2px rgba(0, 0, 0, 0.06);
105
+ --shadow-2: 0 10px 30px rgba(0, 0, 0, 0.10);
106
+
107
+ /* Transition animation */
108
+ --transition-bg: background 0.2s ease;
109
+ --transition-all: all 0.2s ease;
110
+
111
+ /* Focus ring — accessibility (interactive components) */
112
+ --focus-ring: 0 0 0 3px rgba(204, 74, 72, 0.25);
113
+
114
+ /* z-index — stacking contexts */
115
+ --z-base: 0;
116
+ --z-dropdown: 100;
117
+ --z-modal: 1000;
118
+
119
+ /* width */
120
+ --widht-4xl: 100%;
121
+
122
+ /* z-drawer */
123
+ --z-drawer: 50;
124
+ }
125
+
126
+ .card-hover:hover {
127
+ box-shadow: var(--shadow-2)
128
+ }
package/package.json ADDED
@@ -0,0 +1,23 @@
1
+ {
2
+ "name": "@brickslab./token-contract",
3
+ "version": "2.0.0",
4
+ "private": false,
5
+ "type": "module",
6
+ "files": [
7
+ "dist"
8
+ ],
9
+ "repository": {
10
+ "type": "git",
11
+ "url": "https://github.com/brickslab/brickslab-v1.git"
12
+ },
13
+ "publishConfig": {
14
+ "registry": "https://registry.npmjs.org/",
15
+ "access": "public"
16
+ },
17
+ "scripts": {
18
+ "build": "node -e \"const fs=require('fs');fs.mkdirSync('dist',{recursive:true});fs.copyFileSync('src/contract.css','dist/contract.css')\"",
19
+ "clean": "node -e \"const fs=require('fs');fs.rmSync('dist',{recursive:true,force:true})\"",
20
+ "lint": "echo \"skip\"",
21
+ "typecheck": "echo \"skip\""
22
+ }
23
+ }