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
import SwiftUI | |
import UIKit | |
struct ContentView: View { | |
@State private var offset: CGFloat = 0 | |
@State private var keyboardOpened: Bool = false | |
var body: some View { | |
VStack(spacing: 0) { | |
ScrollView { |
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
// | |
// ContentView.Swift | |
// KeyboardAttachedView | |
// | |
// Created by Gavin Nelson on 8/19/24. | |
// | |
import SwiftUI | |
import UIKit |
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
/* to be used with the default obsidian theme */ | |
/* to install, add color-tweaks-minimal-tabs.css to .obsidian/snippets/ and enable in the settings */ | |
.theme-light { | |
--color-base-05: #fafbfd; | |
--color-base-10: #f8f9fb; | |
--color-base-20: #f2f4f9; | |
--color-base-25: #dce0e8; | |
--color-base-30: #d8dce7; | |
--color-base-35: #cbd0dc; |