Sailfish OS
  • Info
  • User Experience
  • Cases
  • Community
  • Developers
  • Contact
  • Get Sailfish OS
Select Page
  • Info
  • User Experience
  • Cases
  • Community
  • Developers
  • Contact
  • Get Sailfish OS

API Documentation

Documentation for developing SailfishOS applications
  • API Documentation
  • Libsailfishapp
  • Sailfish Silica
    • Documentation
    • Icon Reference
  • Sailfish Components
    • Sailfish Accounts
    • Sailfish Bluetooth
    • Sailfish Contacts
    • Sailfish Crypto
    • Sailfish Gallery
    • Sailfish Media
    • Sailfish Pickers
    • Sailfish Secrets
    • Sailfish Share
    • Sailfish Telephony
    • Sailfish Webview
    • Amber Web Authorization
    • Amber MPRIS
  • Nemo QML Plugins
    • Configuration
    • Contacts
    • D-Bus
    • Keepalive
    • Notifications
    • Thumbnailer
  • Sailfish Middleware
    • MDM Framework
    • MDM Policy Framework
    • User Manager Daemon
  • API Documentation
  • Libsailfishapp
  • Sailfish Silica
    • Documentation
    • Icon Reference
  • Sailfish Components
    • Sailfish Accounts
    • Sailfish Bluetooth
    • Sailfish Contacts
    • Sailfish Crypto
    • Sailfish Gallery
    • Sailfish Media
    • Sailfish Pickers
    • Sailfish Secrets
    • Sailfish Share
    • Sailfish Telephony
    • Sailfish Webview
    • Amber Web Authorization
    • Amber MPRIS
  • Nemo QML Plugins
    • Configuration
    • Contacts
    • D-Bus
    • Keepalive
    • Notifications
    • Thumbnailer
  • Sailfish Middleware
    • MDM Framework
    • MDM Policy Framework
    • User Manager Daemon

Contents

  • Properties
  • Detailed Description

Palette QML Type

A color palette More...

Import Statement: import Sailfish.Silica 1.0
  • List of all members, including inherited members

Properties

  • colorScheme : enumeration
  • errorColor : color
  • highlightBackgroundColor : color
  • highlightColor : color
  • highlightDimmerColor : color
  • overlayBackgroundColor : color
  • primaryColor : color
  • secondaryColor : color
  • secondaryHighlightColor : color

Detailed Description

The Palette type provides values for standard colors.

A palette is normally used by addressing the palette property of a SilicaItem. The default colors follow the equivalent values from the Theme object but can be overridden, if either the colorScheme or highlightColor of a palette is overridden any derivative colors will also be overridden.

Property Documentation

colorScheme : enumeration

The palette color scheme. This is equivalent the the Theme colorScheme property.

Changing this will change the default values of all the color values.


errorColor : color

The palette secondary color. This is equivalent the the Theme errorColor property.


highlightBackgroundColor : color

The palette secondary color. This is equivalent the the Theme highlightBackgroundColor property.


highlightColor : color

The palette secondary color. This is equivalent the the Theme highlightColor property.

Changing this will also change the default values of the secondaryHighlightColor, highlightBackgroundColor, highlightDimmerColor, and backgroundGlowColor colors.


highlightDimmerColor : color

The palette secondary color. This is equivalent the the Theme highlightDimmerColor property.


overlayBackgroundColor : color

The palette secondary color. This is equivalent the the Theme overlayBackgroundColor property.


primaryColor : color

The palette primary color. This is equivalent the the Theme primaryColor property.


secondaryColor : color

The palette secondary color. This is equivalent the the Theme secondaryColor property.


secondaryHighlightColor : color

The palette secondary color. This is equivalent the the Theme secondaryHighlightColor property.


  • Legal
  • Contact Us
  • Jollyboys Ltd © 2024

  • Facebook
  • Twitter
  • Mastodon
  • YouTube
  • LinkedIn