PrimaryButton.qml 660 B

1234567891011121314151617181920
  1. // Copyright (c) 2018 Ultimaker B.V.
  2. // Cura is released under the terms of the LGPLv3 or higher.
  3. import QtQuick 2.2
  4. import UM 1.4 as UM
  5. import Cura 1.1 as Cura
  6. Cura.ActionButton
  7. {
  8. shadowEnabled: true
  9. shadowColor: enabled ? UM.Theme.getColor("primary_button_shadow"): UM.Theme.getColor("action_button_disabled_shadow")
  10. color: UM.Theme.getColor("primary_button")
  11. textColor: UM.Theme.getColor("primary_button_text")
  12. outlineColor: "transparent"
  13. disabledColor: UM.Theme.getColor("action_button_disabled")
  14. textDisabledColor: UM.Theme.getColor("action_button_disabled_text")
  15. hoverColor: UM.Theme.getColor("primary_button_hover")
  16. }