Skip to content

Commit

Permalink
Introduce dark mode support
Browse files Browse the repository at this point in the history
  • Loading branch information
adamkankovsky authored and KKoukiou committed Feb 21, 2024
1 parent bc0e606 commit 56f94e4
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* You should have received a copy of the GNU Lesser General Public License
* along with Cockpit; If not, see <http://www.gnu.org/licenses/>.
*/

import "cockpit-dark-theme";
import "../pkg/lib/patternfly/patternfly-5-cockpit.scss";

import React from "react";
Expand Down
6 changes: 6 additions & 0 deletions test/browser-layouts.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@
"theme": "light",
"shell_size": [1920, 1200]
},
{
"name": "dark",
"theme": "dark",
"shell_size": [1920, 1200],
"content_size": [1920, 1200]
},
{
"name": "rtl",
"theme": "light",
Expand Down

0 comments on commit 56f94e4

Please sign in to comment.