formatic 0.1.0 → 0.1.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 141f3404812472271ac7282970a7b86b5c25075760629d5c40ecacc959b39d59
4
- data.tar.gz: 8eb7224e10e771fb2970a26e199fcf34d3da05b65ca957ee40d35990c367b625
3
+ metadata.gz: 6866787fc56a4b98a9b97ffe11a281a767ec813f733eb74d07bcf2b303593725
4
+ data.tar.gz: 7a24c6e8e8fee918e32d0aff8af9eb6de7bbddb5198f8543154372064aaba134
5
5
  SHA512:
6
- metadata.gz: 217d2ff02fe3b2c0ec7c8ff9c8c5169e0c0896ac34912688ac4c512f8c9a2a53ad771ca92ae20b5362651ac36ecdf96ef6960863b0618c627972b04a05a97aca
7
- data.tar.gz: c044f04c04f9b0dc206f4c4066849dad6ea13d0f1feba6f463e91c35198e471b3a7d91f45b21b9b96ba22ff2c4814371b128e8474377415431fc85bc715091a7
6
+ metadata.gz: 6faf76d25ab2a7aebf6dede0ede2157c946aa392bb4f34d9408c6c8f963ff7e6358a1385ffd2b2bed86e048f2d895d9140cb4feeb394546d297b28451ed6e008
7
+ data.tar.gz: abe246213380bf455eb1f678d5c285a9d79cd463db8233ffd8d6acef66303cbc5d9546f6308490e2dba87b9d0cbcf6c46ce3be170d1d0168bcbc85354c5b4688
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  ## [Unreleased]
2
2
 
3
- ## [0.1.0] - 2023-08-24
3
+ ## [0.1.1] - 2025-03-23
4
+
5
+ - Fix a load error
6
+
7
+ ## [0.1.0] - 2025-03-23
4
8
 
5
9
  - Initial release
@@ -1,5 +1,6 @@
1
1
  @use "iglu/font-size"
2
2
  @use "formatic/settings/colors"
3
+ @use "formatic/tools/theme"
3
4
 
4
5
  .s-formatic
5
6
  input[type="email"],
@@ -43,3 +44,9 @@
43
44
 
44
45
  ::placeholder
45
46
  color: colors.$silver-gray
47
+
48
+ +theme.dark
49
+ .s-formatic
50
+ textarea
51
+ background-color: colors.$granite-gray
52
+ color: colors.$white
@@ -0,0 +1,3 @@
1
+ =dark
2
+ @media (prefers-color-scheme: dark)
3
+ @content
@@ -9,10 +9,6 @@ module Formatic
9
9
  isolate_namespace Formatic
10
10
 
11
11
  config.to_prepare do
12
- require_formatic_components
13
- end
14
-
15
- def self.require_formatic_components
16
12
  # Our Formatic components are subclasses of `ViewComponent::Base`.
17
13
  # When `ViewComponent::Base` is subclassed, two things happen:
18
14
  #
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Formatic
4
- VERSION = '0.1.0'
4
+ VERSION = '0.1.2'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: formatic
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - halo
@@ -124,7 +124,8 @@ files:
124
124
  - app/assets/stylesheets/formatic/package.json
125
125
  - app/assets/stylesheets/formatic/scopes/form.sass
126
126
  - app/assets/stylesheets/formatic/settings/_colors.sass
127
- - app/assets/stylesheets/formatic/tools/terminal.sass
127
+ - app/assets/stylesheets/formatic/tools/_terminal.sass
128
+ - app/assets/stylesheets/formatic/tools/_theme.sass
128
129
  - app/assets/stylesheets/formatic/utilities/container.sass
129
130
  - app/components/formatic/application_component.rb
130
131
  - app/components/formatic/base.rb