@aristobyte-ui/utils 1.0.25 → 1.0.27

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aristobyte-ui/utils",
3
3
  "description": "A collection of shared utility functions for AristoByte projects, designed to provide reusable helpers, streamline common operations, and ensure consistency across applications and packages.",
4
- "version": "1.0.25",
4
+ "version": "1.0.27",
5
5
  "license": "MIT",
6
6
  "private": false,
7
7
  "main": "dist/index.js",
@@ -35,7 +35,8 @@
35
35
  "aristobyte"
36
36
  ],
37
37
  "files": [
38
- "dist"
38
+ "dist",
39
+ "styles"
39
40
  ],
40
41
  "publishConfig": {
41
42
  "access": "public"
@@ -44,6 +45,10 @@
44
45
  ".": {
45
46
  "import": "./dist/index.mjs",
46
47
  "require": "./dist/index.js"
48
+ },
49
+ "./styles/settings": {
50
+ "import": "./dist/styles/_settings.scss",
51
+ "require": "./dist/styles/_settings.scss"
47
52
  }
48
53
  },
49
54
  "scripts": {
@@ -62,8 +67,8 @@
62
67
  "tsup": "^8.5.0"
63
68
  },
64
69
  "devDependencies": {
65
- "@aristobyte-ui/eslint-config": "^1.0.25",
66
- "@aristobyte-ui/typescript-config": "^1.0.25",
70
+ "@aristobyte-ui/eslint-config": "^1.0.27",
71
+ "@aristobyte-ui/typescript-config": "^1.0.27",
67
72
  "@turbo/gen": "^2.5.0",
68
73
  "@types/node": "^24.3.0",
69
74
  "@types/react": "19.1.0",
@@ -0,0 +1,183 @@
1
+ // =========================================== //
2
+ // AristoByte UI - Style Settings //
3
+ // =========================================== //
4
+
5
+ // === Design Tokens — Color Palette === //
6
+
7
+ // Base
8
+ $white: #ffffff;
9
+ $black: #000000;
10
+ $transparent: transparent;
11
+
12
+ // === Black Transparent Scale === //
13
+ $black-transparent-100: rgba(0, 0, 0, 0.1);
14
+ $black-transparent-200: rgba(0, 0, 0, 0.2);
15
+ $black-transparent-300: rgba(0, 0, 0, 0.3);
16
+ $black-transparent-400: rgba(0, 0, 0, 0.4);
17
+ $black-transparent-500: rgba(0, 0, 0, 0.5);
18
+ $black-transparent-600: rgba(0, 0, 0, 0.6);
19
+ $black-transparent-700: rgba(0, 0, 0, 0.7);
20
+ $black-transparent-800: rgba(0, 0, 0, 0.8);
21
+ $black-transparent-900: rgba(0, 0, 0, 0.9);
22
+
23
+ // === Black Transparent Scale === //
24
+ $white-transparent-100: rgba(255, 255, 255, 0.1);
25
+ $white-transparent-200: rgba(255, 255, 255, 0.2);
26
+ $white-transparent-300: rgba(255, 255, 255, 0.3);
27
+ $white-transparent-400: rgba(255, 255, 255, 0.4);
28
+ $white-transparent-500: rgba(255, 255, 255, 0.5);
29
+ $white-transparent-600: rgba(255, 255, 255, 0.6);
30
+ $white-transparent-700: rgba(255, 255, 255, 0.7);
31
+ $white-transparent-800: rgba(255, 255, 255, 0.8);
32
+ $white-transparent-900: rgba(255, 255, 255, 0.9);
33
+
34
+ // === Neutral Scale (Grey) === //
35
+ $grey-50: #f9fafb;
36
+ $grey-100: #f3f4f6;
37
+ $grey-200: #e5e7eb;
38
+ $grey-300: #d1d5db;
39
+ $grey-400: #9ca3af;
40
+ $grey-500: #6b7280;
41
+ $grey-600: #4b5563;
42
+ $grey-700: #374151;
43
+ $grey-800: #1f2937;
44
+ $grey-900: #111827;
45
+
46
+ // === Primary Scale (Blue) === //
47
+ $blue-50: #eff6ff;
48
+ $blue-100: #dbeafe;
49
+ $blue-200: #bfdbfe;
50
+ $blue-300: #93c5fd;
51
+ $blue-400: #60a5fa;
52
+ $blue-500: #3b82f6;
53
+ $blue-600: #2563eb; // Main
54
+ $blue-700: #1d4ed8; // Hover
55
+ $blue-800: #1e40af;
56
+ $blue-900: #1e3a8a;
57
+
58
+ // === Secondary Scale (Indigo) === //
59
+ $indigo-50: #eef2ff;
60
+ $indigo-100: #e0e7ff;
61
+ $indigo-200: #c7d2fe;
62
+ $indigo-300: #a5b4fc;
63
+ $indigo-400: #818cf8;
64
+ $indigo-500: #6366f1;
65
+ $indigo-600: #4f46e5; // Main
66
+ $indigo-700: #4338ca; // Hover
67
+
68
+ // === Error Scale (Red) === //
69
+ $red-50: #fef2f2;
70
+ $red-100: #fee2e2;
71
+ $red-200: #fecaca;
72
+ $red-300: #fca5a5;
73
+ $red-400: #f87171;
74
+ $red-500: #ef4444;
75
+ $red-600: #dc2626; // Main
76
+ $red-700: #b91c1c; // Hover
77
+
78
+ // === Success Scale (Green) === //
79
+ $green-50: #f0fdf4;
80
+ $green-100: #dcfce7;
81
+ $green-200: #bbf7d0;
82
+ $green-300: #86efac;
83
+ $green-400: #4ade80;
84
+ $green-500: #22c55e;
85
+ $green-600: #16a34a; // Main
86
+ $green-700: #15803d; // Hover
87
+
88
+ // === Warning Scale (Amber) === //
89
+ $amber-50: #fffbeb;
90
+ $amber-100: #fef3c7;
91
+ $amber-200: #fde68a;
92
+ $amber-300: #fcd34d;
93
+ $amber-400: #fbbf24;
94
+ $amber-500: #f59e0b;
95
+ $amber-600: #d97706; // Main
96
+ $amber-700: #b45309; // Hover
97
+
98
+ // === Semantic Tokens === //
99
+ $color-default: $grey-800;
100
+ $color-default-hover: $grey-900;
101
+ $color-default-disabled: rgba($color-default, 0.5);
102
+
103
+ $color-primary: $blue-600;
104
+ $color-primary-hover: $blue-700;
105
+ $color-primary-disabled: rgba($color-primary, 0.5);
106
+
107
+ $color-secondary: $indigo-600;
108
+ $color-secondary-hover: $indigo-700;
109
+ $color-secondary-disabled: rgba($color-secondary, 0.5);
110
+
111
+ $color-error: $red-600;
112
+ $color-error-hover: $red-700;
113
+ $color-error-disabled: rgba($color-error, 0.5);
114
+
115
+ $color-success: $green-600;
116
+ $color-success-hover: $green-700;
117
+ $color-success-disabled: rgba($color-success, 0.5);
118
+
119
+ $color-warning: $amber-600;
120
+ $color-warning-hover: $amber-700;
121
+ $color-warning-disabled: rgba($color-warning, 0.5);
122
+
123
+ $text-color-white: $white;
124
+ $text-color-black: $black;
125
+ $text-color-white-disabled: rgba($white, 0.5);
126
+ $text-color-black-disabled: rgba($black, 0.5);
127
+
128
+ // === Shadows === //
129
+ $shadow-sm: 0 1px 2px 0 rgba($black, 0.05);
130
+ $shadow-md:
131
+ 0 4px 6px -1px rgba($black, 0.1),
132
+ 0 2px 4px -1px rgba($black, 0.06);
133
+ $shadow-lg:
134
+ 0 10px 15px -3px rgba($black, 0.1),
135
+ 0 4px 6px -2px rgba($black, 0.05);
136
+
137
+ // === Font families === //
138
+ $font-family-sans: "Inter", sans-serif;
139
+ $font-family-serif: "Georgia", serif;
140
+ $font-family-mono: "Fira Code", monospace;
141
+
142
+ // === Font weights === //
143
+ $font-weight-regular: 400;
144
+ $font-weight-medium: 500;
145
+ $font-weight-semibold: 600;
146
+ $font-weight-bold: 700;
147
+
148
+ // === Line heights === //
149
+ $line-height-tight: 1.2;
150
+ $line-height-snug: 1.375;
151
+ $line-height-normal: 1.5;
152
+ $line-height-loose: 1.625;
153
+
154
+ // === Font Sizes — Semantic Tokens === //
155
+
156
+ // === Titles === //
157
+ $font-size-hero: 3rem; // 48px
158
+ $font-size-title-1: 2.25rem; // 36px
159
+ $font-size-title-2: 1.875rem; // 30px
160
+ $font-size-title-3: 1.5rem; // 24px
161
+
162
+ // === Subtitles === //
163
+ $font-size-subtitle-1: 1.25rem; // 20px
164
+ $font-size-subtitle-2: 1.125rem; // 18px
165
+
166
+ // === Body text === //
167
+ $font-size-body-lg: 1rem; // 16px
168
+ $font-size-body-md: 0.9375rem; // 15px
169
+ $font-size-body-sm: 0.875rem; // 14px
170
+
171
+ // === Captions / Descriptions === //
172
+ $font-size-caption: 0.75rem; // 12px
173
+ $font-size-footnote: 0.6875rem; // 11px
174
+
175
+ // === Buttons === //
176
+ $font-size-button-lg: 1rem; // 16px
177
+ $font-size-button-md: 0.875rem; // 14px
178
+ $font-size-button-sm: 0.75rem; // 12px
179
+
180
+ // === Animations === //
181
+
182
+ $cubic-bezier-primary: cubic-bezier(0.55, -0.19, 0.59, 0.95);
183
+ $cubic-bezier-secondary: cubic-bezier(0.175, 0.885, 0.32, 1.275);