Browse Source

theme - avoid dark mode even the phone is in dark mode.

am
farhan 5 months ago
parent
commit
3263a1add8

+ 2
- 1
resources/views/digital-card.blade.php View File

@@ -1,8 +1,9 @@
1 1
 <!DOCTYPE html>
2
-<html lang="{{ str_replace('_', '-', app()->getLocale()) }}" class="light-mode">
2
+<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
3 3
     <head>
4 4
         <meta charset="utf-8">
5 5
         <meta name="viewport" content="width=device-width, initial-scale=1">
6
+        <meta name="color-scheme" content="light only">
6 7
 
7 8
         <title>{{config('app.name')}}</title>
8 9
 

+ 2
- 1
resources/views/rsvp-digital-card.blade.php View File

@@ -1,9 +1,10 @@
1 1
 <!DOCTYPE html>
2
-<html lang="en" class="light-mode">
2
+<html lang="en">
3 3
 <head>
4 4
     <meta charset="UTF-8">
5 5
     <meta name="viewport" content="width=device-width, initial-scale=1.0">
6 6
     <meta http-equiv="X-UA-Compatible" content="ie=edge">
7
+    <meta name="color-scheme" content="light only">
7 8
     <title>{{config('app.name')}}</title>
8 9
 
9 10
     <link rel="preconnect" href="https://fonts.bunny.net">

Loading…
Cancel
Save