Browse Source

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

am
farhan 4 months ago
parent
commit
3263a1add8

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

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

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

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

Loading…
Cancel
Save