xref: /aosp_15_r20/external/accompanist/themeadapter-material/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="ThemeAdapterMaterialTheme">
21        <!-- Is Material theme -->
22        <attr name="isMaterialTheme" />
23        <!-- Color -->
24        <attr name="colorPrimary" />
25        <attr name="colorPrimaryVariant" />
26        <attr name="colorOnPrimary" />
27        <attr name="colorSecondary" />
28        <attr name="colorSecondaryVariant" />
29        <attr name="colorOnSecondary" />
30        <attr name="colorSurface" />
31        <attr name="colorOnSurface" />
32        <attr name="android:colorBackground" />
33        <attr name="colorOnBackground" />
34        <attr name="colorError" />
35        <attr name="colorOnError" />
36        <!-- Typography -->
37        <attr name="fontFamily" />
38        <attr name="android:fontFamily" />
39        <attr name="textAppearanceBody1" />
40        <attr name="textAppearanceBody2" />
41        <attr name="textAppearanceButton" />
42        <attr name="textAppearanceCaption" />
43        <attr name="textAppearanceHeadline1" />
44        <attr name="textAppearanceHeadline2" />
45        <attr name="textAppearanceHeadline3" />
46        <attr name="textAppearanceHeadline4" />
47        <attr name="textAppearanceHeadline5" />
48        <attr name="textAppearanceHeadline6" />
49        <attr name="textAppearanceOverline" />
50        <attr name="textAppearanceSubtitle1" />
51        <attr name="textAppearanceSubtitle2" />
52        <!-- Shape -->
53        <attr name="shapeAppearanceSmallComponent" />
54        <attr name="shapeAppearanceMediumComponent" />
55        <attr name="shapeAppearanceLargeComponent" />
56        <!-- Dark theme -->
57        <attr name="isLightTheme" />
58    </declare-styleable>
59
60</resources>
61