@snowpact/react-tanstack-query-table 1.7.0 → 1.7.2

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/README.md CHANGED
@@ -107,43 +107,28 @@ Override CSS variables to match your design. Variables use `@property` so they w
107
107
 
108
108
  ```css
109
109
  :root {
110
- /* Base colors */
111
- --snow-table-background: #ffffff;
112
- --snow-table-foreground: #0a0a0a;
113
- --snow-table-border: #e5e5e5; /* Table borders, row separators */
114
- --snow-table-input-border: #e5e5e5; /* Inputs, buttons, dropdowns */
115
- --snow-table-active-ring: #a3a3a3;
116
-
117
- /* UI-specific colors */
118
- --snow-table-header: #f5f5f5; /* Table headers, tab list */
119
- --snow-table-hover: #f5f5f5; /* Hover states */
120
- --snow-table-skeleton: #f5f5f5; /* Skeleton loader */
121
- --snow-table-placeholder: #a3a3a3; /* Input placeholders */
122
- --snow-table-muted: #737373; /* Secondary text (counts, pagination, inactive tabs) */
123
-
124
- /* Optional (transparent/inherited by default) */
125
- --snow-table-row-even: #fafafa; /* Alternating rows - zebra striping */
126
- --snow-table-action-button: #f0f0f0; /* Action button background */
127
-
128
- /* Other */
110
+ --snow-table-background: #ffffff; /* Main background */
111
+ --snow-table-foreground: #0a0a0a; /* Main text color */
112
+ --snow-table-primary: #525252; /* Accent (focus rings, active states) */
113
+ --snow-table-muted: #737373; /* Secondary text */
114
+ --snow-table-surface: #f5f5f5; /* Headers, hover, skeleton */
115
+ --snow-table-border: #e5e5e5; /* All borders */
129
116
  --snow-table-radius: 0.375rem;
117
+
118
+ /* Optional */
119
+ --snow-table-row-even: transparent;
130
120
  --snow-table-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
131
121
  }
132
122
 
133
- /* Dark mode example */
123
+ /* Dark mode */
134
124
  .dark {
135
125
  --snow-table-background: #1a1a2e;
136
126
  --snow-table-foreground: #eaeaea;
127
+ --snow-table-primary: #3b82f6;
128
+ --snow-table-muted: #a0a0a0;
129
+ --snow-table-surface: #16213e;
137
130
  --snow-table-border: #0f3460;
138
- --snow-table-input-border: #0f3460;
139
- --snow-table-active-ring: #3b82f6;
140
- --snow-table-header: #16213e;
141
- --snow-table-hover: #16213e;
142
- --snow-table-skeleton: #16213e;
143
131
  --snow-table-row-even: #1f1f3a;
144
- --snow-table-placeholder: #6b7280;
145
- --snow-table-muted: #a0a0a0;
146
- --snow-table-action-button: #16213e;
147
132
  }
148
133
  ```
149
134