Fluid
1.3.0
Material Design for QtQuick and Qml
Loading...
Searching...
No Matches
colordark.cpp
Go to the documentation of this file.
1
// SPDX-FileCopyrightText: 2026 Pier Luigi Fiorini <pierluigi.fiorini@gmail.com>
2
// SPDX-License-Identifier: MPL-2.0
3
4
#include "
colordark.h
"
5
#include "
palette.h
"
6
7
namespace
Fluid
{
8
9
// Mappings from ColorDarkTokens.kt, VERSION: v0_210, in the pinned AndroidX directory:
10
// https://android.googlesource.com/platform/frameworks/support/+/5ba2cdd61be7b6945db999b238d14f3c626136fb/compose/material3/material3/src/commonMain/kotlin/androidx/compose/material3/tokens/
11
#define FLUID_COLOR_TOKEN(name, paletteName) \
12
QColor ColorDarkTokens::name() const \
13
{ \
14
return PaletteTokens().paletteName(); \
15
}
16
17
FLUID_COLOR_TOKEN
(background, neutral6)
18
FLUID_COLOR_TOKEN
(error, error80)
19
FLUID_COLOR_TOKEN
(errorContainer, error30)
20
FLUID_COLOR_TOKEN
(inverseOnSurface, neutral20)
21
FLUID_COLOR_TOKEN
(inversePrimary, primary40)
22
FLUID_COLOR_TOKEN
(inverseSurface, neutral90)
23
FLUID_COLOR_TOKEN
(onBackground, neutral90)
24
FLUID_COLOR_TOKEN
(onError, error20)
25
FLUID_COLOR_TOKEN
(onErrorContainer, error90)
26
FLUID_COLOR_TOKEN
(onPrimary, primary20)
27
FLUID_COLOR_TOKEN
(onPrimaryContainer, primary90)
28
FLUID_COLOR_TOKEN
(onPrimaryFixed, primary10)
29
FLUID_COLOR_TOKEN
(onPrimaryFixedVariant, primary30)
30
FLUID_COLOR_TOKEN
(onSecondary, secondary20)
31
FLUID_COLOR_TOKEN
(onSecondaryContainer, secondary90)
32
FLUID_COLOR_TOKEN
(onSecondaryFixed, secondary10)
33
FLUID_COLOR_TOKEN
(onSecondaryFixedVariant, secondary30)
34
FLUID_COLOR_TOKEN
(onSurface, neutral90)
35
FLUID_COLOR_TOKEN
(onSurfaceVariant, neutralVariant80)
36
FLUID_COLOR_TOKEN
(onTertiary, tertiary20)
37
FLUID_COLOR_TOKEN
(onTertiaryContainer, tertiary90)
38
FLUID_COLOR_TOKEN
(onTertiaryFixed, tertiary10)
39
FLUID_COLOR_TOKEN
(onTertiaryFixedVariant, tertiary30)
40
FLUID_COLOR_TOKEN
(outline, neutralVariant60)
41
FLUID_COLOR_TOKEN
(outlineVariant, neutralVariant30)
42
FLUID_COLOR_TOKEN
(primary, primary80)
43
FLUID_COLOR_TOKEN
(primaryContainer, primary30)
44
FLUID_COLOR_TOKEN
(primaryFixed, primary90)
45
FLUID_COLOR_TOKEN
(primaryFixedDim, primary80)
46
FLUID_COLOR_TOKEN
(scrim, neutral0)
47
FLUID_COLOR_TOKEN
(secondary, secondary80)
48
FLUID_COLOR_TOKEN
(secondaryContainer, secondary30)
49
FLUID_COLOR_TOKEN
(secondaryFixed, secondary90)
50
FLUID_COLOR_TOKEN
(secondaryFixedDim, secondary80)
51
FLUID_COLOR_TOKEN
(surface, neutral6)
52
FLUID_COLOR_TOKEN
(surfaceBright, neutral24)
53
FLUID_COLOR_TOKEN
(surfaceContainer, neutral12)
54
FLUID_COLOR_TOKEN
(surfaceContainerHigh, neutral17)
55
FLUID_COLOR_TOKEN
(surfaceContainerHighest, neutral22)
56
FLUID_COLOR_TOKEN
(surfaceContainerLow, neutral10)
57
FLUID_COLOR_TOKEN
(surfaceContainerLowest, neutral4)
58
FLUID_COLOR_TOKEN
(surfaceDim, neutral6)
59
FLUID_COLOR_TOKEN
(surfaceTint, primary80)
60
FLUID_COLOR_TOKEN
(surfaceVariant, neutralVariant30)
61
FLUID_COLOR_TOKEN
(tertiary, tertiary80)
62
FLUID_COLOR_TOKEN
(tertiaryContainer, tertiary30)
63
FLUID_COLOR_TOKEN
(tertiaryFixed, tertiary90)
64
FLUID_COLOR_TOKEN
(tertiaryFixedDim, tertiary80)
65
66
#undef FLUID_COLOR_TOKEN
67
68
}
// namespace Fluid
FLUID_COLOR_TOKEN
#define FLUID_COLOR_TOKEN(name, paletteName)
Definition
colordark.cpp:11
colordark.h
Fluid
Definition
tooltipattached.cpp:15
palette.h
src
controls
cpp
tokens
colordark.cpp
Generated by
1.9.8