Skip to content

Commit 670f74c

Browse files
committed
🎨 allow tailwind dark mode to be applied
Signed-off-by: otengkwame <developerkwame@gmail.com>
1 parent 35370d1 commit 670f74c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

app/Views/welcome.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
11
<?php defined('COREPATH') or exit('No direct script access allowed'); ?>
22

33
<!DOCTYPE html>
4-
<html lang="en">
4+
<html lang="en" class="dark">
55

66
<head>
77
<meta charset="utf-8">
88
<title>Welcome to Webby</title>
99
<script src="<?= APP_BASE_URL . 'assets/tailwind.css?plugins=typography' ?>"></script>
1010
<script>
1111
tailwind.config = {
12+
// darkMode: 'class',
1213
theme: {
1314
extend: {
1415
colors: {

0 commit comments

Comments
 (0)