aboutsummaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/assets/stylesheets/things.css4
-rw-r--r--app/models/thing.rb2
2 files changed, 5 insertions, 1 deletions
diff --git a/app/assets/stylesheets/things.css b/app/assets/stylesheets/things.css
index af8487f..74cffe1 100644
--- a/app/assets/stylesheets/things.css
+++ b/app/assets/stylesheets/things.css
@@ -92,3 +92,7 @@ h5 a {
.dot_novel {
background-color: #60a5fa;
}
+
+.dot_letters {
+ background-color: #4bacc6;
+}
diff --git a/app/models/thing.rb b/app/models/thing.rb
index 1f1e4e4..1e1fb79 100644
--- a/app/models/thing.rb
+++ b/app/models/thing.rb
@@ -13,7 +13,7 @@ class Thing < ApplicationRecord
has_many :tags, through: :tag_references
enum :status, %i[read notread tobepublished], validate: true
- enum :kind, %i[other poetry theater essay shorts novel paper], validate: true
+ enum :kind, %i[other poetry theater essay shorts novel paper letters], validate: true
# Returns all things which match the given text for any of the string columns
# from the table.