1 <?xml version="1.0" encoding="utf-8"?>
2 <!-- This Source Code Form is subject to the terms of the Mozilla Public
3 - License, v. 2.0. If a copy of the MPL was not distributed with this
4 - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
6 <!-- Design system color attributes -->
9 <!-- Default Screen background, Frontlayer background, App Bar Top, App Bar Bottom, Frontlayer header -->
10 <attr name="layer1" format="reference" />
11 <!-- Card background, Menu background, Dialog, Banner -->
12 <attr name="layer2" format="reference" />
14 <attr name="layer3" format="reference" />
15 <attr name="layerSearch" format="reference" />
17 <attr name="layerNonOpaque" format="reference" />
18 <attr name="scrim" format="reference" />
21 <!-- Primary button, Snackbar, Floating action button, Chip selected -->
22 <attr name="actionPrimary" format="reference" />
26 <attr name="textPrimary" format="reference" />
27 <!-- Secondary text -->
28 <attr name="textSecondary" format="reference" />
29 <!-- Disabled text -->
30 <attr name="textDisabled" format="reference" />
32 <attr name="textCritical" format="reference"/>
33 <!-- Small heading, Text link -->
34 <attr name="textAccent" format="reference" />
35 <!-- Text Inverted/On Color -->
36 <attr name="textOnColorPrimary" format="reference" />
37 <!-- Action Primary text -->
38 <attr name="textActionPrimary" format="reference" />
41 <!-- Secondary icon -->
42 <attr name="iconSecondary" format="reference" />
44 <attr name="iconActive" format="reference" />
45 <!-- Icon inverted (on color) -->
46 <attr name="iconOnColor" format="reference" />
49 <!-- Default, Divider, Dotted -->
50 <attr name="borderPrimary" format="reference" />
51 <attr name="borderSecondary" format="reference" />
52 <!-- Toolbar divider -->
53 <attr name="borderToolbarDivider" format="reference"/>
55 <!-- Color palette attributes -->
56 <attr name="accent" format="reference" />
57 <attr name="accentBright" format="reference" />
58 <attr name="accentHighContrast" format="reference" />
59 <attr name="accentUsedOnDarkBackground" format="reference" />
60 <attr name="neutral" format="reference" />
61 <attr name="neutralFaded" format="reference" />
62 <attr name="preferenceSectionHeader" format="reference"/>
64 <!-- Color used in DefaultToolbarMenu for buttons placed at the end of menu items -->
65 <attr name="menuItemButtonTintColor" format="reference"/>
68 <attr name="homeBackground" format="reference"/>
69 <attr name="bottomBarBackground" format="reference"/>
70 <attr name="bottomBarBackgroundTop" format="reference"/>
71 <attr name="fenixLogo" format="reference" />
72 <attr name="fenixWordmarkText" format="reference" />
73 <attr name="fenixWordmarkLogo" format="reference" />
74 <attr name="toolbarStartGradient" format="reference"/>
75 <attr name="toolbarCenterGradient" format="reference"/>
76 <attr name="toolbarEndGradient" format="reference"/>
77 <attr name="fillLinkFromClipboard" format="reference"/>
78 <attr name="syncDisconnected" format="reference" />
79 <attr name="syncDisconnectedBackground" format="reference" />
80 <attr name="addOnPrivateBrowsingExteriorCircleBackground" format="reference"/>
81 <attr name="awesomeBarIndicatorColor" format="reference|color"/>
82 <attr name="awesomeBarIndicatorBookmarkColor" format="reference|color"/>
84 <declare-styleable name="TrackingProtectionCategory">
85 <attr name="categoryItemTitle" format="reference" />
86 <attr name="categoryItemDescription" format="reference" />
89 <declare-styleable name="SwitchWithDescription">
90 <attr name="switchTitle" format="reference" />
91 <attr name="switchDescriptionOn" format="reference" />
92 <attr name="switchDescriptionOff" format="reference" />
93 <attr name="switchIconOn" format="reference" />
94 <attr name="switchIconOff" format="reference" />
95 <attr name="switchShowIcon" format="boolean" />
98 <declare-styleable name="DeleteBrowsingDataItem">
99 <attr name="deleteBrowsingDataItemTitle" format="reference" />
100 <attr name="deleteBrowsingDataItemSubtitle" format="reference" />
101 <attr name="deleteBrowsingDataItemIcon" format="reference" />
104 <attr name="selectPromptHeaderTextColor" format="reference"/>
106 <declare-styleable name="TextPercentageSeekBarPreference">
107 <attr format="integer" name="min"/>
108 <attr name="android:max"/>
109 <attr name="android:layout"/>
110 <attr format="integer" name="seekBarIncrement"/>
111 <attr format="boolean" name="adjustable"/>
112 <attr format="boolean" name="showSeekBarValue"/>
113 <attr format="boolean" name="updatesContinuously"/>
116 <declare-styleable name="RadioButtonPreference">
117 <attr format="string|boolean|integer|reference|float" name="defaultValue"/>
118 <attr name="android:defaultValue"/>
121 <declare-styleable name="PreferenceBackedRadioButton">
122 <attr format="string" name="preferenceKey"/>
123 <attr format="boolean" name="preferenceKeyDefaultValue"/>