I also use Ruby theme and I shared my approach to add dark mode support to it here, by also asking a related issue: Comments and subscribe iframes with dark mode
Maybe it can help.
I also use Ruby theme and I shared my approach to add dark mode support to it here, by also asking a related issue: Comments and subscribe iframes with dark mode
Maybe it can help.