<commit_before>//
//  View+Button.swift
//  KeyboardKit
//
//  Created by <NAME> on 2020-06-24.
//  Copyright © 2021 <NAME>. All rights reserved.
//

import SwiftUI

public extension View {
    
    /**
     Apply a keyboard button appearance to the view.
     */
    func keyboardButtonStyle(
        for action: KeyboardAction,
        appearance: KeyboardAppearance) -> some View {
        self.background(appearance.buttonBackgroundColor(for: action))
            .foregroundColor(appearance.buttonForegroundColor(for: action))
            .cornerRadius(appearance.buttonCornerRadius(for: action))
            .shadow(color: appearance.buttonShadowColor(for: action), radius: 0, x: 0, y: 1)
            .shadow(color: appearance.buttonShadowColor(for: action), radius: 0, x: 0, y: 1)
            .font(appearance.buttonFont(for: action))
    }
    
}
<commit_msg>Remove duplicate shadows from button<commit_after>//
//  View+Button.swift
//  KeyboardKit
//
//  Created by <NAME> on 2020-06-24.
//  Copyright © 2021 <NAME>. All rights reserved.
//

import SwiftUI

public extension View {
    
    /**
     Apply a keyboard button appearance to the view.
     */
    func keyboardButtonStyle(
        for action: KeyboardAction,
        appearance: KeyboardAppearance) -> some View {
        self.background(appearance.buttonBackgroundColor(for: action))
            .foregroundColor(appearance.buttonForegroundColor(for: action))
            .cornerRadius(appearance.buttonCornerRadius(for: action))
            .shadow(color: appearance.buttonShadowColor(for: action), radius: 0, x: 0, y: 1)
            .font(appearance.buttonFont(for: action))
    }
    
}

{'fraction_non_alphanumeric': 0.1141826923076923, 'fraction_numerical': 0.019831730769230768, 'mean_word_length': 2.7, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4111771', 'n_tokens_mistral': 507, 'n_tokens_neox': 475, 'n_words': 121}