@omnikit-js/ui 0.5.4 → 0.5.5

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/styles.css CHANGED
@@ -2145,6 +2145,26 @@
2145
2145
  }
2146
2146
  }
2147
2147
  }
2148
+ [data-slot="card"] {
2149
+ background-color: transparent !important;
2150
+ border: none !important;
2151
+ box-shadow: none !important;
2152
+ }
2153
+ .pricing-card {
2154
+ background-color: rgba(255, 255, 255, 0.05) !important;
2155
+ border: 1px solid rgba(255, 255, 255, 0.1) !important;
2156
+ border-radius: 0.75rem !important;
2157
+ }
2158
+ .pricing-card.current {
2159
+ border-color: #3b82f6 !important;
2160
+ background-color: rgba(59, 130, 246, 0.1) !important;
2161
+ }
2162
+ @media (prefers-color-scheme: dark) {
2163
+ .pricing-card {
2164
+ background-color: rgba(31, 41, 55, 0.5) !important;
2165
+ border-color: rgba(255, 255, 255, 0.1) !important;
2166
+ }
2167
+ }
2148
2168
  span.omnikit-price-text {
2149
2169
  font-size: 2rem !important;
2150
2170
  line-height: 1 !important;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@omnikit-js/ui",
3
- "version": "0.5.4",
3
+ "version": "0.5.5",
4
4
  "description": "A SaaS billing component for Next.js with Stripe integration",
5
5
  "main": "src/index.ts",
6
6
  "module": "src/index.ts",
@@ -1,5 +1,32 @@
1
1
  @import "./globals.css";
2
2
 
3
+ /* Override card styles to remove large borders */
4
+ [data-slot="card"] {
5
+ background-color: transparent !important;
6
+ border: none !important;
7
+ box-shadow: none !important;
8
+ }
9
+
10
+ /* Specific styles for pricing cards */
11
+ .pricing-card {
12
+ background-color: rgba(255, 255, 255, 0.05) !important;
13
+ border: 1px solid rgba(255, 255, 255, 0.1) !important;
14
+ border-radius: 0.75rem !important;
15
+ }
16
+
17
+ .pricing-card.current {
18
+ border-color: #3b82f6 !important;
19
+ background-color: rgba(59, 130, 246, 0.1) !important;
20
+ }
21
+
22
+ /* Dark mode pricing card styles */
23
+ @media (prefers-color-scheme: dark) {
24
+ .pricing-card {
25
+ background-color: rgba(31, 41, 55, 0.5) !important;
26
+ border-color: rgba(255, 255, 255, 0.1) !important;
27
+ }
28
+ }
29
+
3
30
  /* Essential component-specific styles only */
4
31
 
5
32
  /* Pricing text styles */