keystone_ui-looks 0.1.0 → 0.2.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: 64615c55947214329b53d8783e297ded4a9e7be3b0eeb47ff399e50d750d0018
4
- data.tar.gz: cdaab57241f13caa4615b99d91726e8c8ab25ca5f3b007077d5457d08730a3c6
3
+ metadata.gz: 2664d4b72e776414d9985d6ba66a54ea49ab3d6f0287f11fb811f915eb057d14
4
+ data.tar.gz: 557034579a91256269303b682c47adf1a43f0b5b6b3ad4b5a8c64e20c03c6e84
5
5
  SHA512:
6
- metadata.gz: 764c60b750c9fe6be28105433951700b9f6954e96ff15480f3d517df4e70cf7d503a1aae8a13d22bc19b06fc9a346bc81d8d5fef07020a3dfe43375fd072e158
7
- data.tar.gz: 4fda027d8526c9f284e0a12c95ae20bb5e4a1ed2610f198bb8d34d2120c9c0e779e8788eba3e1ff94c7a8971e73f91c99d0122c8250b068c72235bfd45f29ccb
6
+ metadata.gz: ae449906050953f38af8d3910228b35157b9273195535beab34b98df130358fdd963f6062a055fc8a7995d0603c6cb2d1e284de81d2359c7eb049f09db495057
7
+ data.tar.gz: e825ae77a2f77f350f1ea4c11a75733088c07981026aa55d9c531297ae17dcb3ad0e6ceef4dc3e0adb895a6c7975007371662723ecc029ee811e5e8ee214bc85
@@ -0,0 +1,14 @@
1
+ :root[data-look="compact"] {
2
+ --ks-radius-control: 3px;
3
+ --ks-radius-surface: 3px;
4
+ --ks-color-accent: #0c66e4;
5
+ --ks-color-accent-hover: #0055cc;
6
+ --ks-color-on-fill: #ffffff;
7
+ --ks-border-width: 1px;
8
+ --ks-color-border: #dcdfe4;
9
+ --ks-spacing: 0.2rem;
10
+ --ks-color-accent-dark: #579dff;
11
+ --ks-color-accent-hover-dark: #85b8ff;
12
+ --ks-color-on-fill-dark: #1d2125;
13
+ --ks-color-border-dark: #a6c5e229;
14
+ }
@@ -0,0 +1,16 @@
1
+ :root[data-look="rounded"] {
2
+ --ks-radius-control: 9999px;
3
+ --ks-color-accent: #6750a4;
4
+ --ks-color-accent-hover: #7965af;
5
+ --ks-color-on-fill: #ffffff;
6
+ --ks-shadow-surface: 0 1px 2px rgb(0 0 0 / 0.3), 0 1px 3px 1px rgb(0 0 0 / 0.15);
7
+ --ks-shadow-menu: 0 1px 2px rgb(0 0 0 / 0.3), 0 2px 6px 2px rgb(0 0 0 / 0.15);
8
+ --ks-shadow-overlay: 0 1px 3px rgb(0 0 0 / 0.3), 0 4px 8px 3px rgb(0 0 0 / 0.15);
9
+ --ks-font-weight-strong: 500;
10
+ --ks-font-weight-heading: 500;
11
+ --ks-font-weight-medium: 500;
12
+ --ks-font-body: Roboto, system-ui, sans-serif;
13
+ --ks-color-accent-dark: #d0bcff;
14
+ --ks-color-accent-hover-dark: #e8def8;
15
+ --ks-color-on-fill-dark: #381e72;
16
+ }
@@ -0,0 +1,14 @@
1
+ :root[data-look="soft"] {
2
+ --ks-radius-control: 0.75rem;
3
+ --ks-radius-surface: 1rem;
4
+ --ks-font-body: -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
5
+ --ks-color-border: rgb(0 0 0 / 0.08);
6
+ --ks-spacing: 0.3125rem;
7
+ --ks-color-accent: #007aff;
8
+ --ks-color-accent-hover: #3395ff;
9
+ --ks-color-on-fill: #ffffff;
10
+ --ks-color-border-dark: rgb(255 255 255 / 0.12);
11
+ --ks-color-accent-dark: #0a84ff;
12
+ --ks-color-accent-hover-dark: #409cff;
13
+ --ks-color-on-fill-dark: #ffffff;
14
+ }
@@ -10,6 +10,9 @@ module KeystoneUi
10
10
  initializer "keystone_ui_looks.register" do
11
11
  KeystoneUi.configure do |config|
12
12
  config.register_look :brutalist, root.join("app/assets/tailwind/keystone_ui_looks/brutalist.css")
13
+ config.register_look :compact, root.join("app/assets/tailwind/keystone_ui_looks/compact.css")
14
+ config.register_look :rounded, root.join("app/assets/tailwind/keystone_ui_looks/rounded.css")
15
+ config.register_look :soft, root.join("app/assets/tailwind/keystone_ui_looks/soft.css")
13
16
  end
14
17
  end
15
18
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module KeystoneUi
4
4
  module Looks
5
- VERSION = "0.1.0"
5
+ VERSION = "0.2.0"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: keystone_ui-looks
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tyler Schneider
@@ -47,6 +47,9 @@ extra_rdoc_files: []
47
47
  files:
48
48
  - MIT-LICENSE
49
49
  - app/assets/tailwind/keystone_ui_looks/brutalist.css
50
+ - app/assets/tailwind/keystone_ui_looks/compact.css
51
+ - app/assets/tailwind/keystone_ui_looks/rounded.css
52
+ - app/assets/tailwind/keystone_ui_looks/soft.css
50
53
  - lib/keystone_ui-looks.rb
51
54
  - lib/keystone_ui/looks.rb
52
55
  - lib/keystone_ui/looks/engine.rb