mirror of
https://github.com/mperham/sidekiq.git
synced 2022-11-09 13:52:34 -05:00
Use media attribute for prefers-color-scheme (#4500)
This commit is contained in:
parent
9231ddbf7a
commit
64be95f4ae
2 changed files with 122 additions and 125 deletions
|
@ -1,5 +1,3 @@
|
|||
@media (prefers-color-scheme: dark) {
|
||||
|
||||
body {
|
||||
background-color: #000;
|
||||
color: #ccc;
|
||||
|
@ -122,4 +120,3 @@
|
|||
fill: #ccc;
|
||||
color: #ccc;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
<% end %>
|
||||
|
||||
<link href="<%= root_path %>stylesheets/application.css" media="screen" rel="stylesheet" type="text/css" />
|
||||
<link href="<%= root_path %>stylesheets/application-dark.css" media="screen" rel="stylesheet" type="text/css" />
|
||||
<link href="<%= root_path %>stylesheets/application-dark.css" media="screen and (prefers-color-scheme: dark)" rel="stylesheet" type="text/css" />
|
||||
<% if rtl? %>
|
||||
<link href="<%= root_path %>stylesheets/application-rtl.css" media="screen" rel="stylesheet" type="text/css" />
|
||||
<% end %>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue