Style.qml 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. pragma Singleton
  2. // Minimum for this is Qt 5.5
  3. import QtQuick 2.5
  4. QtObject {
  5. // Colors
  6. property color ncBlue: "#0082c9"
  7. property color ncBlueHover: "#009dd9"
  8. // Fonts
  9. // We are using pixel size because this is cross platform comparable, point size isn't
  10. property int topLinePixelSize: 12
  11. property int subLinePixelSize: 10
  12. // Dimensions and sizes
  13. property int trayWindowWidth: 400
  14. property int trayWindowHeight: 510
  15. property int trayWindowRadius: 10
  16. property int trayWindowBorderWidth: 1
  17. property int trayWindowHeaderHeight: 60
  18. property int currentAccountButtonWidth: 220
  19. property int currentAccountButtonRadius: 2
  20. property int currentAccountLabelWidth: 128
  21. property int accountAvatarSize: (trayWindowHeaderHeight - 16)
  22. property int accountAvatarStateIndicatorSize: 16
  23. property int accountDropDownCaretSize: 20
  24. property int accountDropDownCaretMargin: 8
  25. property int addAccountButtonHeight: 50
  26. property int headerButtonIconSize: (trayWindowHeaderHeight / 2.2)
  27. property int activityLabelBaseWidth: 240
  28. // Visual behaviour
  29. property bool hoverEffectsEnabled: true
  30. }