keystone_ui-styles 0.1.2 → 0.3.0

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 87e84f0077ed42c944b353e674f80f8b0908a8b484c6eb41d7c6d06ba3eb2b00
4
- data.tar.gz: 3c5dc79a04c6797a213ce267e359be2c0070b0eb85227f7d9a965eb4825a6b17
3
+ metadata.gz: 7dfc9c1e8fd98e2b97039633a4ba9a98a93dff44aa1c1f142bf4e698caaa6a3c
4
+ data.tar.gz: d7ae197f9b001b614a21adffde2e6749f8d65a0b28ed5b499d810b643782a7bb
5
5
  SHA512:
6
- metadata.gz: 9f2807502e8e818a4e81611a12a7a7bbaa32dfcc2c82e02ba035f0f9e7e6601863b8921dc9edf46f44c9eae84b5dbd095a122dbd04f3c0c55d910ee9e70839d0
7
- data.tar.gz: 9733130752a45c8908a592126bcef14a7f4caaaa6272b05475b17390be70e89120ae57f00c2d0376fe91ab4c578871b63ffb03a9e9261a0a0d8091a29cf4ab6a
6
+ metadata.gz: b05744f6be44453d6a58c60302577fec5c2b70001e7379e481be2ed8c62a77be37a788291b850f9a20508968fac59236a51d11fdb358b9cfe7f0c998767ad310
7
+ data.tar.gz: f8737adb7d92fdfc6814033e6d8f58f4c0ed4491f51e3a566f3d37bcf6b2b97ee0dc328376407d267668c0aff23c93c8290a6c0e0564289720ec74b1fc0cbd86
@@ -4,7 +4,7 @@
4
4
  }
5
5
 
6
6
  @media (prefers-color-scheme: dark) {
7
- &:where(:not([data-theme="light"], [data-theme="light"] *)) {
7
+ &:where(:not([data-theme="light"], [data-theme="light"] *, [data-theme="custom"], [data-theme="custom"] *)) {
8
8
  @slot;
9
9
  }
10
10
  }
@@ -34,6 +34,35 @@
34
34
  --color-surface-800: #27272a;
35
35
  --color-surface-900: #18181b;
36
36
  --color-surface-950: #09090b;
37
+
38
+ --color-custom-background: #ffffff;
39
+ --color-custom-text: #18181b;
40
+ }
41
+
42
+ [data-theme="custom"] {
43
+ --color-white: var(--color-custom-background);
44
+ --color-gray-50: color-mix(in oklab, var(--color-custom-text) 3%, var(--color-custom-background));
45
+ --color-gray-100: color-mix(in oklab, var(--color-custom-text) 6%, var(--color-custom-background));
46
+ --color-gray-200: color-mix(in oklab, var(--color-custom-text) 12%, var(--color-custom-background));
47
+ --color-gray-300: color-mix(in oklab, var(--color-custom-text) 20%, var(--color-custom-background));
48
+ --color-gray-400: color-mix(in oklab, var(--color-custom-text) 40%, var(--color-custom-background));
49
+ --color-gray-500: color-mix(in oklab, var(--color-custom-text) 55%, var(--color-custom-background));
50
+ --color-gray-600: color-mix(in oklab, var(--color-custom-text) 68%, var(--color-custom-background));
51
+ --color-gray-700: color-mix(in oklab, var(--color-custom-text) 78%, var(--color-custom-background));
52
+ --color-gray-800: color-mix(in oklab, var(--color-custom-text) 87%, var(--color-custom-background));
53
+ --color-gray-900: color-mix(in oklab, var(--color-custom-text) 94%, var(--color-custom-background));
54
+ --color-gray-950: color-mix(in oklab, var(--color-custom-text) 100%, var(--color-custom-background));
55
+ --color-zinc-50: color-mix(in oklab, var(--color-custom-text) 3%, var(--color-custom-background));
56
+ --color-zinc-100: color-mix(in oklab, var(--color-custom-text) 6%, var(--color-custom-background));
57
+ --color-zinc-200: color-mix(in oklab, var(--color-custom-text) 12%, var(--color-custom-background));
58
+ --color-zinc-300: color-mix(in oklab, var(--color-custom-text) 20%, var(--color-custom-background));
59
+ --color-zinc-400: color-mix(in oklab, var(--color-custom-text) 40%, var(--color-custom-background));
60
+ --color-zinc-500: color-mix(in oklab, var(--color-custom-text) 55%, var(--color-custom-background));
61
+ --color-zinc-600: color-mix(in oklab, var(--color-custom-text) 68%, var(--color-custom-background));
62
+ --color-zinc-700: color-mix(in oklab, var(--color-custom-text) 78%, var(--color-custom-background));
63
+ --color-zinc-800: color-mix(in oklab, var(--color-custom-text) 87%, var(--color-custom-background));
64
+ --color-zinc-900: color-mix(in oklab, var(--color-custom-text) 94%, var(--color-custom-background));
65
+ --color-zinc-950: color-mix(in oklab, var(--color-custom-text) 100%, var(--color-custom-background));
37
66
  }
38
67
 
39
68
  @layer components {
@@ -96,4 +125,180 @@
96
125
  .ks-checkbox {
97
126
  @apply rounded border-gray-300 text-accent-600 focus:ring-accent-500 dark:border-zinc-600 dark:bg-zinc-900;
98
127
  }
128
+
129
+ .ks-page {
130
+ @apply px-4 py-4 sm:px-6 lg:px-8;
131
+ }
132
+
133
+ .ks-page-sm {
134
+ @apply max-w-2xl mx-auto;
135
+ }
136
+
137
+ .ks-page-md {
138
+ @apply max-w-4xl mx-auto;
139
+ }
140
+
141
+ .ks-page-lg {
142
+ @apply max-w-6xl mx-auto;
143
+ }
144
+
145
+ .ks-page-xl {
146
+ @apply max-w-7xl mx-auto;
147
+ }
148
+
149
+ .ks-page-offset-sm {
150
+ @apply pt-12;
151
+ }
152
+
153
+ .ks-page-offset-md {
154
+ @apply pt-16;
155
+ }
156
+
157
+ .ks-page-offset-lg {
158
+ @apply pt-20;
159
+ }
160
+
161
+ .ks-page-offset-xl {
162
+ @apply pt-24;
163
+ }
164
+
165
+ .ks-page-header {
166
+ @apply hidden sm:block mb-6 sm:flex sm:items-center sm:justify-between;
167
+ }
168
+
169
+ .ks-page-header-title {
170
+ @apply text-2xl font-bold text-gray-900 dark:text-white;
171
+ }
172
+
173
+ .ks-page-header-subtitle {
174
+ @apply mt-1 text-sm text-gray-500 dark:text-gray-400;
175
+ }
176
+
177
+ .ks-page-header-actions {
178
+ @apply hidden sm:block mt-4 sm:mt-0 sm:ml-4 flex-shrink-0;
179
+ }
180
+
181
+ .ks-section-sm {
182
+ @apply mt-4;
183
+ }
184
+
185
+ .ks-section-md {
186
+ @apply mt-6;
187
+ }
188
+
189
+ .ks-section-lg {
190
+ @apply mt-8;
191
+ }
192
+
193
+ .ks-section-header {
194
+ @apply flex items-center justify-between mb-4;
195
+ }
196
+
197
+ .ks-section-title {
198
+ @apply text-lg font-semibold text-gray-900 dark:text-white;
199
+ }
200
+
201
+ .ks-section-subtitle {
202
+ @apply mt-1 text-sm text-gray-500 dark:text-gray-400;
203
+ }
204
+
205
+ .ks-section-action {
206
+ @apply text-sm text-accent-600 hover:text-accent-900 dark:text-accent-400 dark:hover:text-accent-300;
207
+ }
208
+
209
+ .ks-card {
210
+ @apply overflow-hidden rounded-lg border border-gray-200 bg-white dark:bg-zinc-900 dark:border-zinc-700;
211
+ }
212
+
213
+ .ks-card-edge {
214
+ @apply overflow-hidden border-y border-gray-200 bg-white sm:rounded-lg sm:border-x dark:bg-zinc-900 dark:border-zinc-700;
215
+ }
216
+
217
+ .ks-card-body {
218
+ @apply px-4 py-4 sm:px-6 sm:pt-6 sm:pb-4;
219
+ }
220
+
221
+ .ks-card-title {
222
+ @apply text-lg font-semibold text-gray-900 dark:text-white m-0;
223
+ }
224
+
225
+ .ks-card-summary {
226
+ @apply mt-1 text-sm text-gray-500 dark:text-gray-400 mb-0;
227
+ }
228
+
229
+ .ks-card-cta {
230
+ @apply px-4 pb-4 sm:px-6 sm:pb-6;
231
+ }
232
+
233
+ .ks-card-link {
234
+ @apply text-sm font-medium no-underline text-accent-600 hover:text-accent-900 dark:text-accent-400;
235
+ }
236
+
237
+ .ks-alert {
238
+ @apply rounded-md p-4;
239
+ }
240
+
241
+ .ks-alert-info {
242
+ @apply bg-accent-50 text-accent-800 dark:bg-accent-900/30 dark:text-accent-300;
243
+ }
244
+
245
+ .ks-alert-success {
246
+ @apply bg-green-50 text-green-800 dark:bg-green-900/30 dark:text-green-300;
247
+ }
248
+
249
+ .ks-alert-warning {
250
+ @apply bg-yellow-50 text-yellow-800 dark:bg-yellow-900/30 dark:text-yellow-300;
251
+ }
252
+
253
+ .ks-alert-error {
254
+ @apply bg-red-50 text-red-800 dark:bg-red-900/30 dark:text-red-300;
255
+ }
256
+
257
+ .ks-alert-body {
258
+ @apply flex;
259
+ }
260
+
261
+ .ks-alert-content {
262
+ @apply flex-1;
263
+ }
264
+
265
+ .ks-alert-title {
266
+ @apply font-semibold;
267
+ }
268
+
269
+ .ks-alert-message {
270
+ @apply text-sm;
271
+ }
272
+
273
+ .ks-alert-message-titled {
274
+ @apply text-sm mt-1;
275
+ }
276
+
277
+ .ks-alert-dismiss {
278
+ @apply ml-auto -mr-1.5 -mt-1.5 inline-flex rounded-md p-1.5 focus:outline-none focus:ring-2 focus:ring-offset-2 cursor-pointer;
279
+ }
280
+
281
+ .ks-badge {
282
+ @apply inline-flex items-center rounded-full px-2 py-1 text-xs font-medium;
283
+ }
284
+
285
+ .ks-badge-neutral {
286
+ @apply bg-gray-100 text-gray-700 dark:bg-zinc-700 dark:text-gray-300;
287
+ }
288
+
289
+ .ks-badge-success {
290
+ @apply bg-green-100 text-green-700 dark:bg-green-900/50 dark:text-green-400;
291
+ }
292
+
293
+ .ks-badge-danger {
294
+ @apply bg-red-100 text-red-700 dark:bg-red-900/50 dark:text-red-400;
295
+ }
296
+
297
+ .ks-badge-warning {
298
+ @apply bg-yellow-100 text-yellow-700 dark:bg-yellow-900/50 dark:text-yellow-400;
299
+ }
300
+
301
+ .ks-badge-info {
302
+ @apply bg-accent-100 text-accent-700 dark:bg-accent-900/50 dark:text-accent-400;
303
+ }
99
304
  }
@@ -2,6 +2,6 @@
2
2
 
3
3
  module KeystoneUi
4
4
  module Styles
5
- VERSION = "0.1.2"
5
+ VERSION = "0.3.0"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: keystone_ui-styles
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tyler Schneider
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2026-09-14 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: railties
@@ -48,7 +47,6 @@ metadata:
48
47
  bug_tracker_uri: https://github.com/DYB-Development/keystone_ui-styles/issues
49
48
  documentation_uri: https://github.com/DYB-Development/keystone_ui-styles#readme
50
49
  rubygems_mfa_required: 'true'
51
- post_install_message:
52
50
  rdoc_options: []
53
51
  require_paths:
54
52
  - lib
@@ -63,8 +61,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
63
61
  - !ruby/object:Gem::Version
64
62
  version: '0'
65
63
  requirements: []
66
- rubygems_version: 3.5.16
67
- signing_key:
64
+ rubygems_version: 4.0.20
68
65
  specification_version: 4
69
66
  summary: Shared CSS for keystone_ui and keystone_ui-react.
70
67
  test_files: []