qt-chat-app

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

TelegramStyle.qml (1337B)


      1 pragma Singleton
      2 import QtQuick
      3 
      4 QtObject {
      5     // Colors (Telegram-inspired)
      6     readonly property color primaryColor: "#0088cc"       // Telegram blue
      7     readonly property color accentColor: "#54a9eb"
      8     readonly property color backgroundColor: "#ffffff"
      9     readonly property color chatListBg: "#ffffff"
     10     readonly property color messageThreadBg: "#e6ebee"
     11     readonly property color outgoingBubble: "#dcf8c6"     // Light green
     12     readonly property color incomingBubble: "#ffffff"
     13     readonly property color textPrimary: "#000000"
     14     readonly property color textSecondary: "#888888"
     15     readonly property color divider: "#e0e0e0"
     16     readonly property color unreadBadge: "#0088cc"
     17     readonly property color onlineIndicator: "#4caf50"     // Green
     18 
     19     // Dimensions
     20     readonly property int avatarSize: 48
     21     readonly property int smallAvatarSize: 32
     22     readonly property int largeAvatarSize: 80
     23     readonly property int bubbleRadius: 8
     24     readonly property int standardMargin: 12
     25     readonly property int smallMargin: 6
     26     readonly property int topBarHeight: 56
     27     readonly property int inputBarHeight: 60
     28 
     29     // Typography
     30     readonly property int fontSizeLarge: 16
     31     readonly property int fontSizeNormal: 14
     32     readonly property int fontSizeSmall: 12
     33     readonly property string fontFamily: "Sans Serif"
     34 }