@dropi/ui-components 1.0.3 → 1.0.4
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/dist/dropi-tokens.css +152 -0
- package/package.json +2 -2
|
@@ -0,0 +1,152 @@
|
|
|
1
|
+
/* ============================================
|
|
2
|
+
DROPI WEB COMPONENTS - GLOBAL TOKENS
|
|
3
|
+
============================================
|
|
4
|
+
Este archivo contiene SOLO las variables CSS
|
|
5
|
+
necesarias para los Web Components.
|
|
6
|
+
Se incluye automáticamente en el bundle.
|
|
7
|
+
============================================ */
|
|
8
|
+
|
|
9
|
+
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap');
|
|
10
|
+
|
|
11
|
+
:root {
|
|
12
|
+
/* ===== NEUTRAL ===== */
|
|
13
|
+
--White: #ffffff;
|
|
14
|
+
--Neutral-White: #ffffff;
|
|
15
|
+
--Black: #000000;
|
|
16
|
+
|
|
17
|
+
/* ===== GRAY ===== */
|
|
18
|
+
--Gray-50: #f7f8fa;
|
|
19
|
+
--Gray-Gray-50: #f7f8fa;
|
|
20
|
+
--Gray-100: #e6eaf2;
|
|
21
|
+
--Gray-200: #c3c9d9;
|
|
22
|
+
--Gray-gray-200: #c3c9d9;
|
|
23
|
+
--Gray-300: #a3abbf;
|
|
24
|
+
--Gray-Gray-300: #a3abbf;
|
|
25
|
+
--Gray-400: #858ea6;
|
|
26
|
+
--Gray-500: #69738c;
|
|
27
|
+
--Gray-Gray-500: #69738c;
|
|
28
|
+
--Gray-600: #475066;
|
|
29
|
+
--Gray-700: #32394d;
|
|
30
|
+
--Gray-800: #1f2433;
|
|
31
|
+
--Gray-900: #0e111a;
|
|
32
|
+
|
|
33
|
+
/* ===== PRIMARY ===== */
|
|
34
|
+
--Primary-Primary-50: #fef8f2;
|
|
35
|
+
--Primary-Primary-100: #ffecda;
|
|
36
|
+
--Primary-Primary-200: #fcddbd;
|
|
37
|
+
--Primary-Primary-300: #f2bc85;
|
|
38
|
+
--Primary-Primary-400: #f7b46f;
|
|
39
|
+
--Primary-Primary-500: #f49a3d;
|
|
40
|
+
--Primary-Primary-600: #e58017;
|
|
41
|
+
--Primary-Primary-700: #99540f;
|
|
42
|
+
--Primary-Primary-800: #66380a;
|
|
43
|
+
--Primary-Primary-900: #331c05;
|
|
44
|
+
|
|
45
|
+
/* ===== SECONDARY ===== */
|
|
46
|
+
--Secondary-Secondary-50: #f0fafc;
|
|
47
|
+
--Secondary-Secondary-100: #cee8f2;
|
|
48
|
+
--Secondary-Secondary-200: #95d0e5;
|
|
49
|
+
--Secondary-Secondary-300: #62bad9;
|
|
50
|
+
--Secondary-Secondary-400: #33a4cc;
|
|
51
|
+
--Secondary-Secondary-500: #008dbf;
|
|
52
|
+
--Secondary-Secondary-600: #007199;
|
|
53
|
+
--Secondary-Secondary-700: #005573;
|
|
54
|
+
--Secondary-Secondary-800: #00384d;
|
|
55
|
+
--Secondary-Secondary-900: #001c26;
|
|
56
|
+
|
|
57
|
+
/* ===== FEEDBACK ===== */
|
|
58
|
+
--Success-Success-50: #e7f8f3;
|
|
59
|
+
--Success-Success-100: #b3eada;
|
|
60
|
+
--Success-Success-200: #8ee0c8;
|
|
61
|
+
--Success-Success-300: #5bd1af;
|
|
62
|
+
--Success-Success-400: #3bc99f;
|
|
63
|
+
--Success-Success-500: #0abb87;
|
|
64
|
+
--Success-Success-600: #09aa7b;
|
|
65
|
+
--Success-Success-700: #078560;
|
|
66
|
+
--Success-Success-800: #06674a;
|
|
67
|
+
--Success-Success-900: #044f39;
|
|
68
|
+
|
|
69
|
+
--Error-Error-50: #fef0f0;
|
|
70
|
+
--Error-Error-100: #fcd1d1;
|
|
71
|
+
--Error-Error-200: #fababb;
|
|
72
|
+
--Error-Error-300: #f89b9c;
|
|
73
|
+
--Error-Error-400: #f68889;
|
|
74
|
+
--Error-Error-500: #f46a6b;
|
|
75
|
+
--Error-Error-600: #de6061;
|
|
76
|
+
--Error-Error-700: #ad4b4c;
|
|
77
|
+
--Error-Error-800: #863a3b;
|
|
78
|
+
--Error-Error-900: #662d2d;
|
|
79
|
+
|
|
80
|
+
--Info-Info-50: #eef6fe;
|
|
81
|
+
--Info-Info-100: #c9e3fb;
|
|
82
|
+
--Info-Info-200: #afd6f9;
|
|
83
|
+
--Info-Info-300: #8ac3f6;
|
|
84
|
+
--Info-Info-400: #73b7f4;
|
|
85
|
+
--Info-Info-500: #50a5f1;
|
|
86
|
+
--Info-Info-600: #4996db;
|
|
87
|
+
--Info-Info-700: #3975ab;
|
|
88
|
+
--Info-Info-800: #2c5b85;
|
|
89
|
+
--Info-Info-900: #224565;
|
|
90
|
+
|
|
91
|
+
--Warning-Warning-50: #fef8ed;
|
|
92
|
+
--Warning-Warning-100: #fbe8c8;
|
|
93
|
+
--Warning-Warning-200: #f9ddad;
|
|
94
|
+
--Warning-Warning-300: #f6cd87;
|
|
95
|
+
--Warning-Warning-400: #f4c370;
|
|
96
|
+
--Warning-Warning-500: #f1b44c;
|
|
97
|
+
--Warning-Warning-600: #dba445;
|
|
98
|
+
--Warning-Warning-700: #ab8036;
|
|
99
|
+
--Warning-Warning-800: #85632a;
|
|
100
|
+
--Warning-Warning-900: #654c20;
|
|
101
|
+
|
|
102
|
+
/* ===== BORDERS ===== */
|
|
103
|
+
--Border-1: 4px;
|
|
104
|
+
--Border-2: 8px;
|
|
105
|
+
--Border-3: 12px;
|
|
106
|
+
--Border-4: 24px;
|
|
107
|
+
--Border-5: 32px;
|
|
108
|
+
|
|
109
|
+
/* ===== SPACING ===== */
|
|
110
|
+
--Size-1: 4px;
|
|
111
|
+
--Size-2: 8px;
|
|
112
|
+
--Size-3: 12px;
|
|
113
|
+
--Size-4: 16px;
|
|
114
|
+
--Size-5: 24px;
|
|
115
|
+
--Size-6: 32px;
|
|
116
|
+
--Size-7: 40px;
|
|
117
|
+
--Size-8: 48px;
|
|
118
|
+
--Size-9: 56px;
|
|
119
|
+
--Size-10: 64px;
|
|
120
|
+
|
|
121
|
+
/* ===== TYPOGRAPHY ===== */
|
|
122
|
+
--font-family-01: 'Inter', sans-serif;
|
|
123
|
+
--font-size-xxxxl: 36px;
|
|
124
|
+
--font-size-xxxl: 30px;
|
|
125
|
+
--font-size-xxl: 24px;
|
|
126
|
+
--font-size-xl: 20px;
|
|
127
|
+
--font-size-l: 18px;
|
|
128
|
+
--font-size-m: 16px;
|
|
129
|
+
--font-size-s: 14px;
|
|
130
|
+
--font-size-xs: 12px;
|
|
131
|
+
--font-size-xxs: 10px;
|
|
132
|
+
|
|
133
|
+
--lineheight-simple: 110%;
|
|
134
|
+
--lineheight-large: 150%;
|
|
135
|
+
|
|
136
|
+
--font-weight-bold: 700;
|
|
137
|
+
--font-weight-semibold: 600;
|
|
138
|
+
--font-weight-medium: 500;
|
|
139
|
+
--font-weight-regular: 400;
|
|
140
|
+
--font-weight-light: 300;
|
|
141
|
+
|
|
142
|
+
/* ===== SHADOWS ===== */
|
|
143
|
+
--Shadow-small: 0px 0px 12px rgba(0, 0, 0, 0.04);
|
|
144
|
+
--Shadow-medium: 0.5px 4px 8px rgba(0, 0, 0, 0.08);
|
|
145
|
+
--Shadow-large: 0px 4px 16px rgba(0, 0, 0, 0.16);
|
|
146
|
+
--Shadow-icon: 0px 0px 4px rgba(0, 0, 0, 0.16);
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
/* Reset básico para asegurar consistencia */
|
|
150
|
+
* {
|
|
151
|
+
box-sizing: border-box;
|
|
152
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dropi/ui-components",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.4",
|
|
4
4
|
"description": "Dropi UI Components - Framework-agnostic Web Components library built with Angular Elements",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"web-components",
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"private": false,
|
|
15
15
|
"scripts": {
|
|
16
16
|
"build": "ng-packagr -p ng-package.json",
|
|
17
|
-
"copy:tokens": "cp src/styles.scss
|
|
17
|
+
"copy:tokens": "cp src/styles.scss ./dist/dropi-tokens.css",
|
|
18
18
|
"build:complete": "npm run build && npm run copy:tokens"
|
|
19
19
|
},
|
|
20
20
|
"peerDependencies": {
|