Skip to content

Commit 80faf4a

Browse files
committed
fix color names
1 parent 8a605bc commit 80faf4a

File tree

7 files changed

+778
-724
lines changed

7 files changed

+778
-724
lines changed

materialyoucolor/dynamiccolor/color_spec.py

Lines changed: 51 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -19,27 +19,27 @@ class ColorSpecDelegate(ABC):
1919

2020
# Main Palettes
2121
@abstractmethod
22-
def primary_palette_key_color(self) -> "DynamicColor":
22+
def primaryPaletteKeyColor(self) -> "DynamicColor":
2323
pass
2424

2525
@abstractmethod
26-
def secondary_palette_key_color(self) -> "DynamicColor":
26+
def secondaryPaletteKeyColor(self) -> "DynamicColor":
2727
pass
2828

2929
@abstractmethod
30-
def tertiary_palette_key_color(self) -> "DynamicColor":
30+
def tertiaryPaletteKeyColor(self) -> "DynamicColor":
3131
pass
3232

3333
@abstractmethod
34-
def neutral_palette_key_color(self) -> "DynamicColor":
34+
def neutralPaletteKeyColor(self) -> "DynamicColor":
3535
pass
3636

3737
@abstractmethod
38-
def neutral_variant_palette_key_color(self) -> "DynamicColor":
38+
def neutralVariantPaletteKeyColor(self) -> "DynamicColor":
3939
pass
4040

4141
@abstractmethod
42-
def error_palette_key_color(self) -> "DynamicColor":
42+
def errorPaletteKeyColor(self) -> "DynamicColor":
4343
pass
4444

4545
# Surfaces [S]
@@ -48,67 +48,67 @@ def background(self) -> "DynamicColor":
4848
pass
4949

5050
@abstractmethod
51-
def on_background(self) -> "DynamicColor":
51+
def onBackground(self) -> "DynamicColor":
5252
pass
5353

5454
@abstractmethod
5555
def surface(self) -> "DynamicColor":
5656
pass
5757

5858
@abstractmethod
59-
def surface_dim(self) -> "DynamicColor":
59+
def surfaceDim(self) -> "DynamicColor":
6060
pass
6161

6262
@abstractmethod
63-
def surface_bright(self) -> "DynamicColor":
63+
def surfaceBright(self) -> "DynamicColor":
6464
pass
6565

6666
@abstractmethod
67-
def surface_container_lowest(self) -> "DynamicColor":
67+
def surfaceContainerLowest(self) -> "DynamicColor":
6868
pass
6969

7070
@abstractmethod
71-
def surface_container_low(self) -> "DynamicColor":
71+
def surfaceContainerLow(self) -> "DynamicColor":
7272
pass
7373

7474
@abstractmethod
75-
def surface_container(self) -> "DynamicColor":
75+
def surfaceContainer(self) -> "DynamicColor":
7676
pass
7777

7878
@abstractmethod
79-
def surface_container_high(self) -> "DynamicColor":
79+
def surfaceContainerHigh(self) -> "DynamicColor":
8080
pass
8181

8282
@abstractmethod
83-
def surface_container_highest(self) -> "DynamicColor":
83+
def surfaceContainerHighest(self) -> "DynamicColor":
8484
pass
8585

8686
@abstractmethod
87-
def on_surface(self) -> "DynamicColor":
87+
def onSurface(self) -> "DynamicColor":
8888
pass
8989

9090
@abstractmethod
91-
def surface_variant(self) -> "DynamicColor":
91+
def surfaceVariant(self) -> "DynamicColor":
9292
pass
9393

9494
@abstractmethod
95-
def on_surface_variant(self) -> "DynamicColor":
95+
def onSurfaceVariant(self) -> "DynamicColor":
9696
pass
9797

9898
@abstractmethod
99-
def inverse_surface(self) -> "DynamicColor":
99+
def inverseSurface(self) -> "DynamicColor":
100100
pass
101101

102102
@abstractmethod
103-
def inverse_on_surface(self) -> "DynamicColor":
103+
def inverseOnSurface(self) -> "DynamicColor":
104104
pass
105105

106106
@abstractmethod
107107
def outline(self) -> "DynamicColor":
108108
pass
109109

110110
@abstractmethod
111-
def outline_variant(self) -> "DynamicColor":
111+
def outlineVariant(self) -> "DynamicColor":
112112
pass
113113

114114
@abstractmethod
@@ -120,7 +120,7 @@ def scrim(self) -> "DynamicColor":
120120
pass
121121

122122
@abstractmethod
123-
def surface_tint(self) -> "DynamicColor":
123+
def surfaceTint(self) -> "DynamicColor":
124124
pass
125125

126126
# Primaries [P]
@@ -129,23 +129,23 @@ def primary(self) -> "DynamicColor":
129129
pass
130130

131131
@abstractmethod
132-
def primary_dim(self) -> "DynamicColor | None":
132+
def primaryDim(self) -> "DynamicColor | None":
133133
pass
134134

135135
@abstractmethod
136-
def on_primary(self) -> "DynamicColor":
136+
def onPrimary(self) -> "DynamicColor":
137137
pass
138138

139139
@abstractmethod
140-
def primary_container(self) -> "DynamicColor":
140+
def primaryContainer(self) -> "DynamicColor":
141141
pass
142142

143143
@abstractmethod
144-
def on_primary_container(self) -> "DynamicColor":
144+
def onPrimaryContainer(self) -> "DynamicColor":
145145
pass
146146

147147
@abstractmethod
148-
def inverse_primary(self) -> "DynamicColor":
148+
def inversePrimary(self) -> "DynamicColor":
149149
pass
150150

151151
# Secondaries [Q]
@@ -154,19 +154,19 @@ def secondary(self) -> "DynamicColor":
154154
pass
155155

156156
@abstractmethod
157-
def secondary_dim(self) -> "DynamicColor | None":
157+
def secondaryDim(self) -> "DynamicColor | None":
158158
pass
159159

160160
@abstractmethod
161-
def on_secondary(self) -> "DynamicColor":
161+
def onSecondary(self) -> "DynamicColor":
162162
pass
163163

164164
@abstractmethod
165-
def secondary_container(self) -> "DynamicColor":
165+
def secondaryContainer(self) -> "DynamicColor":
166166
pass
167167

168168
@abstractmethod
169-
def on_secondary_container(self) -> "DynamicColor":
169+
def onSecondaryContainer(self) -> "DynamicColor":
170170
pass
171171

172172
# Tertiaries [T]
@@ -175,19 +175,19 @@ def tertiary(self) -> "DynamicColor":
175175
pass
176176

177177
@abstractmethod
178-
def tertiary_dim(self) -> "DynamicColor | None":
178+
def tertiaryDim(self) -> "DynamicColor | None":
179179
pass
180180

181181
@abstractmethod
182-
def on_tertiary(self) -> "DynamicColor":
182+
def onTertiary(self) -> "DynamicColor":
183183
pass
184184

185185
@abstractmethod
186-
def tertiary_container(self) -> "DynamicColor":
186+
def tertiaryContainer(self) -> "DynamicColor":
187187
pass
188188

189189
@abstractmethod
190-
def on_tertiary_container(self) -> "DynamicColor":
190+
def onTertiaryContainer(self) -> "DynamicColor":
191191
pass
192192

193193
# Errors [E]
@@ -196,75 +196,75 @@ def error(self) -> "DynamicColor":
196196
pass
197197

198198
@abstractmethod
199-
def error_dim(self) -> "DynamicColor | None":
199+
def errorDim(self) -> "DynamicColor | None":
200200
pass
201201

202202
@abstractmethod
203-
def on_error(self) -> "DynamicColor":
203+
def onError(self) -> "DynamicColor":
204204
pass
205205

206206
@abstractmethod
207-
def error_container(self) -> "DynamicColor":
207+
def errorContainer(self) -> "DynamicColor":
208208
pass
209209

210210
@abstractmethod
211-
def on_error_container(self) -> "DynamicColor":
211+
def onErrorContainer(self) -> "DynamicColor":
212212
pass
213213

214214
# Primary Fixed Colors [PF]
215215
@abstractmethod
216-
def primary_fixed(self) -> "DynamicColor":
216+
def primaryFixed(self) -> "DynamicColor":
217217
pass
218218

219219
@abstractmethod
220-
def primary_fixed_dim(self) -> "DynamicColor":
220+
def primaryFixedDim(self) -> "DynamicColor":
221221
pass
222222

223223
@abstractmethod
224-
def on_primary_fixed(self) -> "DynamicColor":
224+
def onPrimaryFixed(self) -> "DynamicColor":
225225
pass
226226

227227
@abstractmethod
228-
def on_primary_fixed_variant(self) -> "DynamicColor":
228+
def onPrimaryFixedVariant(self) -> "DynamicColor":
229229
pass
230230

231231
# Secondary Fixed Colors [QF]
232232
@abstractmethod
233-
def secondary_fixed(self) -> "DynamicColor":
233+
def secondaryFixed(self) -> "DynamicColor":
234234
pass
235235

236236
@abstractmethod
237-
def secondary_fixed_dim(self) -> "DynamicColor":
237+
def secondaryFixedDim(self) -> "DynamicColor":
238238
pass
239239

240240
@abstractmethod
241-
def on_secondary_fixed(self) -> "DynamicColor":
241+
def onSecondaryFixed(self) -> "DynamicColor":
242242
pass
243243

244244
@abstractmethod
245-
def on_secondary_fixed_variant(self) -> "DynamicColor":
245+
def onSecondaryFixedVariant(self) -> "DynamicColor":
246246
pass
247247

248248
# Tertiary Fixed Colors [TF]
249249
@abstractmethod
250-
def tertiary_fixed(self) -> "DynamicColor":
250+
def tertiaryFixed(self) -> "DynamicColor":
251251
pass
252252

253253
@abstractmethod
254-
def tertiary_fixed_dim(self) -> "DynamicColor":
254+
def tertiaryFixedDim(self) -> "DynamicColor":
255255
pass
256256

257257
@abstractmethod
258-
def on_tertiary_fixed(self) -> "DynamicColor":
258+
def onTertiaryFixed(self) -> "DynamicColor":
259259
pass
260260

261261
@abstractmethod
262-
def on_tertiary_fixed_variant(self) -> "DynamicColor":
262+
def onTertiaryFixedVariant(self) -> "DynamicColor":
263263
pass
264264

265265
# Other
266266
@abstractmethod
267-
def highest_surface(self, s: "DynamicScheme") -> "DynamicColor":
267+
def highestSurface(self, s: "DynamicScheme") -> "DynamicColor":
268268
pass
269269

270270

0 commit comments

Comments
 (0)