mirror of
https://github.com/amnezia-vpn/DefaultVPN.git
synced 2026-05-17 00:26:23 +03:00
* feat: iap for apple now use storekit2 * fix: fixed error 101 on connection event * feat: enhance StoreKit2Helper to handle entitlements and improve restore service from App Store functionality * chore: add isInAppPurchase and isTestPurchase in primary config * refactor: use end_date from primary config for renew ui * fix: hide renew button for free * fix: hide renew button for appstore purchases * feat: add new premium info page * feat: add new free info page * chore: minor fixes * refactor: move plan and benefits into separate models * fix: fixed expired status when configs without an end date * feat: add trial api support * chore: add api message parsing for 422 error * feat: move privacy policy and term of use to gateway * feat: add iap support for new premium info page * chore: minor fixes * chore: minor fix * chore: minor fixes * feat: additional parsing for storekit subscription plans * chore: minor codestyle fixes * chore: simplify benefits * chore: hide extend buttons on external premium * feat: add trial error processing * fix: remove wrong check from tiral handler * chore: cleanup --------- Co-authored-by: spectrum <yyy@amnezia.org>
40 lines
2.0 KiB
QML
40 lines
2.0 KiB
QML
pragma Singleton
|
|
|
|
import QtQuick
|
|
|
|
QtObject {
|
|
property QtObject color: QtObject {
|
|
readonly property color transparent: 'transparent'
|
|
readonly property color paleGray: '#D7D8DB'
|
|
readonly property color lightGray: '#C1C2C5'
|
|
readonly property color mutedGray: '#878B91'
|
|
readonly property color charcoalGray: '#494B50'
|
|
readonly property color slateGray: '#2C2D30'
|
|
readonly property color onyxBlack: '#1C1D21'
|
|
readonly property color midnightBlack: '#0E0E11'
|
|
readonly property color goldenApricot: goldenApricotString
|
|
readonly property color benefitsPanelBackground: '#1C1C1E'
|
|
readonly property color softViolet: '#A87BE2'
|
|
readonly property color burntOrange: '#A85809'
|
|
readonly property color mutedBrown: '#84603D'
|
|
readonly property color richBrown: '#633303'
|
|
readonly property color deepBrown: '#402102'
|
|
readonly property color vibrantRed: '#EB5757'
|
|
readonly property color darkCharcoal: '#261E1A'
|
|
readonly property color pearlGray: '#EAEAEC'
|
|
|
|
readonly property color sheerWhite: Qt.rgba(1, 1, 1, 0.12)
|
|
readonly property color translucentWhite: Qt.rgba(1, 1, 1, 0.08)
|
|
readonly property color barelyTranslucentWhite: Qt.rgba(1, 1, 1, 0.05)
|
|
readonly property color translucentMidnightBlack: Qt.rgba(14/255, 14/255, 17/255, 0.8)
|
|
readonly property color softGoldenApricot: Qt.rgba(251/255, 178/255, 106/255, 0.3)
|
|
readonly property color mistyGray: Qt.rgba(215/255, 216/255, 219/255, 0.8)
|
|
readonly property color cloudyGray: Qt.rgba(215/255, 216/255, 219/255, 0.65)
|
|
readonly property color translucentRichBrown: Qt.rgba(99/255, 51/255, 3/255, 0.26)
|
|
readonly property color translucentSlateGray: Qt.rgba(85/255, 86/255, 92/255, 0.13)
|
|
readonly property color translucentOnyxBlack: Qt.rgba(28/255, 29/255, 33/255, 0.13)
|
|
|
|
readonly property string goldenApricotString: '#FBB26A'
|
|
}
|
|
}
|