yubioath-flutter/qml/CredentialCardIcon.qml
Dag Heyman 94edf799b6 New UI based on Quick Controls 2
- New design based on Material Style
- Light mode and Dark mode
- Add support for custom CCID readers
- New tray functionality
- Support for favorite credentials

Co-authored-by: Rikard <rikard@yubico.com>
2019-09-11 10:30:37 +02:00

22 lines
486 B
QML

import QtQuick 2.9
import QtQuick.Controls 2.2
import QtQuick.Controls.Material 2.2
Rectangle {
property string letter: "A"
property int size: 40
width: size
height: size
radius: width * 0.5
color: Material.primary
Label {
text: letter.toUpperCase()
font.bold: true
font.pixelSize: 24
anchors.horizontalCenter: parent.horizontalCenter
anchors.verticalCenter: parent.verticalCenter
color: yubicoWhite
}
}