@tapcart/mobile-components 0.1.7 → 0.1.8

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.
@@ -0,0 +1,146 @@
1
+ @tailwind base;
2
+ @tailwind components;
3
+ @tailwind utilities;
4
+
5
+ @layer base {
6
+ *::-webkit-scrollbar {
7
+ display: none;
8
+ }
9
+ * {
10
+ -ms-overflow-style: none; /* IE and Edge */
11
+ scrollbar-width: none; /* Firefox */
12
+ }
13
+
14
+ :root {
15
+ --background: 0 0% 100%;
16
+ --foreground: 222.2 47.4% 11.2%;
17
+
18
+ --muted: 210 40% 96.1%;
19
+ --muted-foreground: 215.4 16.3% 46.9%;
20
+
21
+ --popover: 0 0% 100%;
22
+ --popover-foreground: 222.2 47.4% 11.2%;
23
+
24
+ --card: 0 0% 100%;
25
+ --card-foreground: 222.2 47.4% 11.2%;
26
+
27
+ --border: 214.3 31.8% 91.4%;
28
+ --input: 214.3 31.8% 91.4%;
29
+
30
+ --primary: 222.2 47.4% 11.2%;
31
+ --primary-foreground: 210 40% 98%;
32
+
33
+ --secondary: 210 40% 96.1%;
34
+ --secondary-foreground: 222.2 47.4% 11.2%;
35
+
36
+ --accent: 210 40% 96.1%;
37
+ --accent-foreground: 222.2 47.4% 11.2%;
38
+
39
+ --destructive: 0 100% 50%;
40
+ --destructive-foreground: 210 40% 98%;
41
+
42
+ --ring: 215 20.2% 65.1%;
43
+
44
+ --radius: 0.5rem;
45
+
46
+ --coreColors-pageColor: #ffffff;
47
+ --coreColors-shadow: #000000;
48
+ --coreColors-brandColorPrimary: #000000;
49
+ --coreColors-headerBackground: #ffffffff;
50
+ --coreColors-inputBackground: #ffffffff;
51
+ --coreColors-modalBackground: #ffffffff;
52
+ --coreColors-tabBar: #ffffffff;
53
+ --coreColors-dividingLines: #e3e3e3ff;
54
+ --coreColors-shadowsEnabled: "true";
55
+ --coreColors-primaryIcon: #121212ff;
56
+ --coreColors-secondaryIcon: #727272ff;
57
+ --coreColors-headerIcon: #121212ff;
58
+
59
+ --textColors-primaryColor: #121212ff;
60
+ --textColors-secondaryColor: #727272ff;
61
+ --textColors-pageTitle: #121212ff;
62
+ --textColors-legalText: #727272;
63
+ --textColors-productTitle: #727272;
64
+ --textColors-priceText: #121212ff;
65
+ --textColors-strikethroughPriceText: #727272ff;
66
+ --textColors-salePriceText: #d91e18ff;
67
+
68
+ --buttonColors-primaryText: #ffffff;
69
+ --buttonColors-primaryFill: #000000;
70
+ --buttonColors-primaryOutline: #000000;
71
+ --buttonColors-primaryShadow: #ffffff;
72
+ --buttonColors-disabled: #707070;
73
+ --buttonColors-secondaryText: #000000;
74
+ --buttonColors-secondaryFill: #ffffff;
75
+ --buttonColors-secondaryOutline: #000000;
76
+ --buttonColors-secondaryShadow: #ffffff;
77
+
78
+ --stateColors-disabled: #707070;
79
+ --stateColors-error: #d91e18ff;
80
+
81
+ --stateColors-subscriptions: #008000ff;
82
+ --stateColors-favorites: #d91e18ff;
83
+ --stateColors-reviews: #ffaf02ff;
84
+ --stateColors-success: #008000ff;
85
+ --stateColors-warning: #ffaf02ff;
86
+ --stateColors-skeleton: #e3e3e3ff;
87
+
88
+ --productImage-aspectRatio: "2:3";
89
+ --productImage-scaling: cover;
90
+ --productImage-isCustom: "false";
91
+ }
92
+ .productImages-scaling {
93
+ object-fit: var(--productImage-scaling);
94
+ }
95
+
96
+ /*.dark {*/
97
+ /* --background: 222.2 84% 4.9%;*/
98
+ /* --foreground: 210 40% 98%;*/
99
+ /* --card: 222.2 84% 4.9%;*/
100
+ /* --card-foreground: 210 40% 98%;*/
101
+ /* --popover: 222.2 84% 4.9%;*/
102
+ /* --popover-foreground: 210 40% 98%;*/
103
+ /* --primary: 210 40% 98%;*/
104
+ /* --primary-foreground: 222.2 47.4% 11.2%;*/
105
+ /* --secondary: 217.2 32.6% 17.5%;*/
106
+ /* --secondary-foreground: 210 40% 98%;*/
107
+ /* --muted: 217.2 32.6% 17.5%;*/
108
+ /* --muted-foreground: 215 20.2% 65.1%;*/
109
+ /* --accent: 217.2 32.6% 17.5%;*/
110
+ /* --accent-foreground: 210 40% 98%;*/
111
+ /* --destructive: 0 62.8% 30.6%;*/
112
+ /* --destructive-foreground: 210 40% 98%;*/
113
+ /* --border: 217.2 32.6% 17.5%;*/
114
+ /* --input: 217.2 32.6% 17.5%;*/
115
+ /* --ring: 212.7 26.8% 83.9;*/
116
+ /*}*/
117
+ }
118
+
119
+ @layer base {
120
+ * {
121
+ @apply border-border;
122
+ }
123
+ body {
124
+ @apply bg-background text-foreground;
125
+ font-feature-settings: "rlig" 1, "calt" 1;
126
+ }
127
+ }
128
+
129
+ @layer utilities {
130
+ /* Hide scrollbar for Chrome, Safari and Opera */
131
+ .no-scrollbar *::-webkit-scrollbar {
132
+ display: none;
133
+ }
134
+ /* Hide scrollbar for IE, Edge and Firefox */
135
+ .no-scrollbar * {
136
+ -ms-overflow-style: none; /* IE and Edge */
137
+ scrollbar-width: none; /* Firefox */
138
+ }
139
+ .container {
140
+ padding-right: 16px;
141
+ padding-left: 16px;
142
+ }
143
+ *:hover {
144
+ text-decoration-line: unset !important;
145
+ }
146
+ }
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- // component exports
1
+ // component export
2
2
  export * from "./components/ui/button";
3
3
  export * from "./components/ui/input";
4
4
  export * from "./components/ui/aspect-ratio";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tapcart/mobile-components",
3
- "version": "0.1.7",
3
+ "version": "0.1.8",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/index.esm.js",
6
6
  "types": "dist/index.d.ts",