keystone_ui-styles 0.1.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 +7 -0
- data/MIT-LICENSE +21 -0
- data/app/assets/tailwind/keystone_ui_styles/engine.css +99 -0
- data/lib/keystone_ui/styles/engine.rb +11 -0
- data/lib/keystone_ui/styles/version.rb +7 -0
- data/lib/keystone_ui/styles.rb +9 -0
- data/lib/keystone_ui-styles.rb +3 -0
- metadata +69 -0
checksums.yaml
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
---
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: 4ba30dde2c6bd62755593f27137d5f15ea9b528e4abb2f0dbcbcf8c362430a09
|
|
4
|
+
data.tar.gz: b1b13e9bcb21cfee04ed142a0088e09f5de0fe98ca3ec69a36612afed0405ac9
|
|
5
|
+
SHA512:
|
|
6
|
+
metadata.gz: 19f7cb095f9b42e95fb0f11f6cca15f23da2e8cbd53118f6ce129fcc87a4ac5b8e4986d29c62e89c63d79c63d968c710119634e5a3cae296d1298024dd319575
|
|
7
|
+
data.tar.gz: 0b26c577d131a3db940e6178b6771c185d76cccb840d907105e7d3c08b5d4703422388e5620ea2da72456b9491ca86e7a900fe0fb2e66cdb72489c86db5fc5f0
|
data/MIT-LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Tyler Schneider
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
@custom-variant dark {
|
|
2
|
+
&:where([data-theme="dark"], [data-theme="dark"] *) {
|
|
3
|
+
@slot;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
@media (prefers-color-scheme: dark) {
|
|
7
|
+
&:where(:not([data-theme="light"], [data-theme="light"] *)) {
|
|
8
|
+
@slot;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
@theme static {
|
|
14
|
+
--color-accent-50: #eff6ff;
|
|
15
|
+
--color-accent-100: #dbeafe;
|
|
16
|
+
--color-accent-200: #bfdbfe;
|
|
17
|
+
--color-accent-300: #93c5fd;
|
|
18
|
+
--color-accent-400: #60a5fa;
|
|
19
|
+
--color-accent-500: #3b82f6;
|
|
20
|
+
--color-accent-600: #2563eb;
|
|
21
|
+
--color-accent-700: #1d4ed8;
|
|
22
|
+
--color-accent-800: #1e40af;
|
|
23
|
+
--color-accent-900: #1e3a8a;
|
|
24
|
+
--color-accent-950: #172554;
|
|
25
|
+
|
|
26
|
+
--color-surface-50: #fafafa;
|
|
27
|
+
--color-surface-100: #f4f4f5;
|
|
28
|
+
--color-surface-200: #e4e4e7;
|
|
29
|
+
--color-surface-300: #d4d4d8;
|
|
30
|
+
--color-surface-400: #a1a1aa;
|
|
31
|
+
--color-surface-500: #71717a;
|
|
32
|
+
--color-surface-600: #52525b;
|
|
33
|
+
--color-surface-700: #3f3f46;
|
|
34
|
+
--color-surface-800: #27272a;
|
|
35
|
+
--color-surface-900: #18181b;
|
|
36
|
+
--color-surface-950: #09090b;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
@layer components {
|
|
40
|
+
.ks-button {
|
|
41
|
+
@apply inline-flex items-center justify-center font-semibold rounded-lg border-0 cursor-pointer no-underline;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.ks-button-primary {
|
|
45
|
+
@apply bg-accent-600 text-white hover:bg-accent-500;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.ks-button-secondary {
|
|
49
|
+
@apply bg-gray-500 text-white hover:bg-gray-400;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.ks-button-danger {
|
|
53
|
+
@apply bg-red-600 text-white hover:bg-red-500;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.ks-button-sm {
|
|
57
|
+
@apply text-sm px-3 py-1.5;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.ks-button-md {
|
|
61
|
+
@apply text-base px-4 py-2;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.ks-button-lg {
|
|
65
|
+
@apply text-lg px-5 py-3;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.ks-panel {
|
|
69
|
+
@apply border border-gray-200 bg-white dark:bg-zinc-900 dark:border-zinc-700;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.ks-input {
|
|
73
|
+
@apply block w-full rounded-md border border-gray-300 bg-white px-3 py-2 text-sm text-gray-900 placeholder:text-gray-400 focus:outline-none focus:ring-1 focus:border-accent-500 focus:ring-accent-500 dark:bg-zinc-900 dark:border-zinc-700 dark:text-white dark:placeholder:text-gray-500 dark:focus:border-accent-400 dark:focus:ring-accent-400;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
.ks-input-disabled {
|
|
77
|
+
@apply cursor-not-allowed bg-gray-50 text-gray-500 dark:bg-zinc-800 dark:text-gray-400;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
.ks-label {
|
|
81
|
+
@apply block text-sm font-medium text-gray-700 dark:text-gray-300;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
.ks-required {
|
|
85
|
+
@apply text-red-500 ml-0.5;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
.ks-hint {
|
|
89
|
+
@apply mt-1 text-sm text-gray-500 dark:text-gray-400;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
.ks-error {
|
|
93
|
+
@apply mt-1 text-sm text-red-600 dark:text-red-400;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
.ks-checkbox {
|
|
97
|
+
@apply rounded border-gray-300 text-accent-600 focus:ring-accent-500 dark:border-zinc-600 dark:bg-zinc-900;
|
|
98
|
+
}
|
|
99
|
+
}
|
metadata
ADDED
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
|
+
name: keystone_ui-styles
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
version: 0.1.0
|
|
5
|
+
platform: ruby
|
|
6
|
+
authors:
|
|
7
|
+
- Tyler Schneider
|
|
8
|
+
autorequire:
|
|
9
|
+
bindir: bin
|
|
10
|
+
cert_chain: []
|
|
11
|
+
date: 2026-09-14 00:00:00.000000000 Z
|
|
12
|
+
dependencies:
|
|
13
|
+
- !ruby/object:Gem::Dependency
|
|
14
|
+
name: railties
|
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
|
16
|
+
requirements:
|
|
17
|
+
- - ">="
|
|
18
|
+
- !ruby/object:Gem::Version
|
|
19
|
+
version: '7.0'
|
|
20
|
+
type: :runtime
|
|
21
|
+
prerelease: false
|
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
23
|
+
requirements:
|
|
24
|
+
- - ">="
|
|
25
|
+
- !ruby/object:Gem::Version
|
|
26
|
+
version: '7.0'
|
|
27
|
+
description: Color variables, light and dark mode, and component classes shared by
|
|
28
|
+
keystone_ui and keystone_ui-react.
|
|
29
|
+
email:
|
|
30
|
+
- tylercschneider@gmail.com
|
|
31
|
+
executables: []
|
|
32
|
+
extensions: []
|
|
33
|
+
extra_rdoc_files: []
|
|
34
|
+
files:
|
|
35
|
+
- MIT-LICENSE
|
|
36
|
+
- app/assets/tailwind/keystone_ui_styles/engine.css
|
|
37
|
+
- lib/keystone_ui-styles.rb
|
|
38
|
+
- lib/keystone_ui/styles.rb
|
|
39
|
+
- lib/keystone_ui/styles/engine.rb
|
|
40
|
+
- lib/keystone_ui/styles/version.rb
|
|
41
|
+
homepage: https://github.com/DYB-Development/keystone_ui-styles
|
|
42
|
+
licenses:
|
|
43
|
+
- MIT
|
|
44
|
+
metadata:
|
|
45
|
+
source_code_uri: https://github.com/DYB-Development/keystone_ui-styles
|
|
46
|
+
changelog_uri: https://github.com/DYB-Development/keystone_ui-styles/blob/main/CHANGELOG.md
|
|
47
|
+
bug_tracker_uri: https://github.com/DYB-Development/keystone_ui-styles/issues
|
|
48
|
+
documentation_uri: https://github.com/DYB-Development/keystone_ui-styles#readme
|
|
49
|
+
rubygems_mfa_required: 'true'
|
|
50
|
+
post_install_message:
|
|
51
|
+
rdoc_options: []
|
|
52
|
+
require_paths:
|
|
53
|
+
- lib
|
|
54
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
55
|
+
requirements:
|
|
56
|
+
- - ">="
|
|
57
|
+
- !ruby/object:Gem::Version
|
|
58
|
+
version: 3.2.0
|
|
59
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
60
|
+
requirements:
|
|
61
|
+
- - ">="
|
|
62
|
+
- !ruby/object:Gem::Version
|
|
63
|
+
version: '0'
|
|
64
|
+
requirements: []
|
|
65
|
+
rubygems_version: 3.5.16
|
|
66
|
+
signing_key:
|
|
67
|
+
specification_version: 4
|
|
68
|
+
summary: Shared CSS for keystone_ui and keystone_ui-react.
|
|
69
|
+
test_files: []
|