Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Threema/ThreemaFramework/SharedUI/Colors/   (Social Medium ©)  Datei vom 26.9.2026 mit Größe 2 kB image not shown  

Quelle  Colors+Chat.swift   Sprache: JAVA

 

import Foundation
import UIKit

extension Colors {
    
    public class var backgroundChatLines: UIColor {
        switch theme {
        case .light:
            UIColor(resource: .gray500)
        case .dark:
            UIColor(resource: .gray450)
        }
    }
    
    public class func backgroundChatLines(colorTheme: Theme) -> UIColor {
        switch colorTheme {
        case .light:
            UIColor(resource: .gray500)
        case .dark:
            UIColor(resource: .gray450)
        }
    }
            
    public class var backgroundChatBar: UIColor {
        switch theme {
        case .light:
            UIColor(resource: .gray100)
        case .dark:
            UIColor(resource: .gray900)
        }
    }
    
    public class var chatBarInput: UIColor {
        switch theme {
        case .light:
            .white
        case .dark:
            UIColor(resource: .gray1000)
        }
    }
    
    public class var messageFailed: UIColor {
        .systemRed
    }
        
    public class var thumbnailProgressViewColor: UIColor {
        switch theme {
        case .light:
            UIColor(resource: .gray30)
        case .dark:
            UIColor(resource: .gray850)
        }
    }
    
    public class var chatReactionBubble: UIColor {
        switch theme {
        case .light:
            UIColor(resource: .gray300)
        case .dark:
            UIColor(resource: .gray800)
        }
    }
    
    public class var chatReactionBubbleSelected: UIColor {
        switch theme {
        case .light:
            UIColor(resource: .gray400)
        case .dark:
            UIColor(resource: .gray550)
        }
    }

    public class var chatReactionBubbleHighlighted: UIColor {
        switch theme {
        case .light:
            UIColor(resource: .gray350)
        case .dark:
            UIColor(resource: .gray500)
        }
    }
    
    public class var chatReactionBubbleTextColor: UIColor {
        switch theme {
        case .light:
            UIColor(resource: .gray750)
        case .dark:
            UIColor(resource: .gray400)
        }
    }
    
    public class var chatReactionBubbleBorder: UIColor {
        UIColor.systemBackground
    }
}

Messung
CHZG
801009190

¤ Dauer der Verarbeitung: 0.1 Sekunden  (vorverarbeitet am  2026-11-04) ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

PVS Prover

Isabelle Prover


Cephes Mathematical Library

Vienna Development Method

Haftungshinweis

Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.

Bemerkung:

Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.