diff --git a/lib/ruby_ui/table/table_footer.rb b/lib/ruby_ui/table/table_footer.rb index 156d7683..24bf71ac 100644 --- a/lib/ruby_ui/table/table_footer.rb +++ b/lib/ruby_ui/table/table_footer.rb @@ -10,7 +10,7 @@ def view_template(&) def default_attrs { - class: "border-t bg-muted bg-opacity-50 font-medium[& amp;>tr]:last:border-b-0" + class: "border-t bg-muted/50 font-medium[& amp;>tr]:last:border-b-0" } end end diff --git a/lib/ruby_ui/table/table_row.rb b/lib/ruby_ui/table/table_row.rb index 4b451df7..d1eeb2b4 100644 --- a/lib/ruby_ui/table/table_row.rb +++ b/lib/ruby_ui/table/table_row.rb @@ -10,7 +10,7 @@ def view_template(&) def default_attrs { - class: "border-b transition-colors hover:bg-muted hover:bg-opacity-50 data-[state=selected]:bg-muted" + class: "border-b transition-colors hover:bg-muted/50 data-[state=selected]:bg-muted" } end end