basecoat 0.1.1 → 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: 8f01bc1f26666e2b22f7dce37ac14410959de6e6b59b8a6dcce926a810337c3c
4
- data.tar.gz: d6c89871d8c7786c7919c2f2cb3ce42535590db0ca058febfe6f8a709f12207f
3
+ metadata.gz: c1dcf92eb8d942f66523c91a21a820d5ff109cba67b38f98093eccdcac678c75
4
+ data.tar.gz: 1a0404ad13c2e6ccbf20a9bfc7374253135acf5dd92fe3cc5eee7106c1b2b6e4
5
5
  SHA512:
6
- metadata.gz: 143506fdec46f25c4ac200bd81c5c8aa74363ec4cd3bc99c63921613a830e0a8f971579bcc766d57ce42ce3d7818792830a881cf05a50dab70b6c8f13fbdfd05
7
- data.tar.gz: be5d2db1f6b559a1937e257e07cf8cb2ce98a138be26e99b145c7090fd476f363684ff19993288feae77858c2a79a86b51951c7ed217b596e36c5ac1ec0c3958
6
+ metadata.gz: ca937fa7dd72ca69780aa873be1eddb53e8ec6b38cf7295faba256b73c0349b212e5b27cb642b6cba2564d523c1f1fdeae117e9c0c5b356f6f737e53059ac03d
7
+ data.tar.gz: ebb20c9cd7bd6e839423e9b396e36a01ad5d5177422163666d964c01b9dec11889254cf66b5c0eec9f3b6b667970d9104d750a4bd7699a639c06708ff8db7011
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Basecoat
4
- VERSION = "0.1.1"
4
+ VERSION = "0.1.2"
5
5
  end
@@ -102,19 +102,17 @@ namespace :basecoat do
102
102
  if File.exist?(css_path)
103
103
  css_content = File.read(css_path)
104
104
 
105
- unless css_content.include?("view-transition")
106
- css_code = <<~CSS
107
- .field_with_errors label {
108
- color: var(--color-destructive);
109
- }
110
-
111
- .field_with_errors input {
112
- border-color: var(--color-destructive);
113
- }
114
- CSS
115
- File.open(css_path, "a") { |f| f.write(css_code) }
116
- puts " Added: View transition styles to app/assets/stylesheets/application.css"
117
- end
105
+ css_code = <<~CSS
106
+ .field_with_errors label {
107
+ color: var(--color-destructive);
108
+ }
109
+
110
+ .field_with_errors input {
111
+ border-color: var(--color-destructive);
112
+ }
113
+ CSS
114
+ File.open(css_path, "a") { |f| f.write(css_code) }
115
+ puts " Added: invalid input styles to app/assets/stylesheets/application.css"
118
116
  end
119
117
  end
120
118
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: basecoat
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Martijn Lafeber