xref: /aosp_15_r20/external/accompanist/themeadapter-material3/src/main/res/values/theme_attrs.xml (revision fa44fe6ae8e729aa3cfe5c03eedbbf98fb44e2c6)
1<?xml version="1.0" encoding="utf-8"?>
2<!--
3  ~ Copyright 2022 The Android Open Source Project
4  ~
5  ~ Licensed under the Apache License, Version 2.0 (the "License");
6  ~ you may not use this file except in compliance with the License.
7  ~ You may obtain a copy of the License at
8  ~
9  ~     http://www.apache.org/licenses/LICENSE-2.0
10  ~
11  ~ Unless required by applicable law or agreed to in writing, software
12  ~ distributed under the License is distributed on an "AS IS" BASIS,
13  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  ~ See the License for the specific language governing permissions and
15  ~ limitations under the License.
16  -->
17
18<resources>
19
20    <declare-styleable name="ThemeAdapterMaterial3Theme">
21        <!-- Is Material 3 theme -->
22        <attr name="isMaterial3Theme" />
23        <!-- Color -->
24        <attr name="colorPrimary" />
25        <attr name="colorOnPrimary" />
26        <attr name="colorPrimaryInverse" />
27        <attr name="colorPrimaryContainer" />
28        <attr name="colorOnPrimaryContainer" />
29        <attr name="colorSecondary" />
30        <attr name="colorOnSecondary" />
31        <attr name="colorSecondaryContainer" />
32        <attr name="colorOnSecondaryContainer" />
33        <attr name="colorTertiary" />
34        <attr name="colorOnTertiary" />
35        <attr name="colorTertiaryContainer" />
36        <attr name="colorOnTertiaryContainer" />
37        <attr name="android:colorBackground" />
38        <attr name="colorOnBackground"/>
39        <attr name="colorSurface" />
40        <attr name="colorOnSurface" />
41        <attr name="colorSurfaceVariant" />
42        <attr name="colorOnSurfaceVariant" />
43        <attr name="elevationOverlayColor" />
44        <attr name="colorSurfaceInverse" />
45        <attr name="colorOnSurfaceInverse" />
46        <attr name="colorOutline" />
47        <attr name="colorOutlineVariant" />
48        <attr name="colorError" />
49        <attr name="colorOnError" />
50        <attr name="colorErrorContainer" />
51        <attr name="colorOnErrorContainer" />
52        <attr name="scrimBackground" />
53        <!-- Typography -->
54        <attr name="fontFamily" />
55        <attr name="android:fontFamily" />
56        <attr name="textAppearanceDisplayLarge" />
57        <attr name="textAppearanceDisplayMedium" />
58        <attr name="textAppearanceDisplaySmall" />
59        <attr name="textAppearanceHeadlineLarge" />
60        <attr name="textAppearanceHeadlineMedium" />
61        <attr name="textAppearanceHeadlineSmall" />
62        <attr name="textAppearanceTitleLarge" />
63        <attr name="textAppearanceTitleMedium" />
64        <attr name="textAppearanceTitleSmall" />
65        <attr name="textAppearanceBodyLarge" />
66        <attr name="textAppearanceBodyMedium" />
67        <attr name="textAppearanceBodySmall" />
68        <attr name="textAppearanceLabelLarge" />
69        <attr name="textAppearanceLabelMedium" />
70        <attr name="textAppearanceLabelSmall" />
71        <!-- Shape -->
72        <attr name="shapeAppearanceCornerExtraSmall" />
73        <attr name="shapeAppearanceCornerSmall" />
74        <attr name="shapeAppearanceCornerMedium" />
75        <attr name="shapeAppearanceCornerLarge" />
76        <attr name="shapeAppearanceCornerExtraLarge" />
77        <!-- Dark theme -->
78        <attr name="isLightTheme" />
79    </declare-styleable>
80
81</resources>
82