This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@media (prefers-color-scheme: dark) { | |
body { | |
background-color: #000; | |
color: white; | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0, shrink-to-fit=no"> | |
<title>Dark Mode Test</title> | |
<meta name="color-scheme" content="light dark"> | |
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css"> | |
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.12.0/css/all.css"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SignInWithAppleButton( | |
// Request User FullName and Email | |
onRequest: { request in | |
// You can change them if needed. | |
request.requestedScopes = [.fullName, .email] | |
}, | |
// Once user complete, get result | |
onCompletion: { result in | |
// Switch result | |
switch result { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// ViewController.swift | |
// ARMotion | |
// | |
// Created on 9/2/20. | |
// | |
// Give Credit to Sarang Borude @sarangborude | |
import UIKit | |
import SceneKit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// ARCView.swift | |
// ARMotion | |
// | |
// Created on 9/2/20. | |
// | |
import SwiftUI | |
import Lottie |
NewerOlder