(styles: SystemStyleObject)
| 52 | } |
| 53 | |
| 54 | css(styles: SystemStyleObject): AtomicRule { |
| 55 | const { encoder, decoder } = this.getParamsOrThrow() |
| 56 | |
| 57 | encoder.processAtomic(styles) |
| 58 | decoder.collect(encoder) |
| 59 | |
| 60 | return { |
| 61 | styles, |
| 62 | getClassNames: () => Array.from(decoder.classNames.keys()), |
| 63 | toCss: this.toCss.bind(this), |
| 64 | } |
| 65 | } |
| 66 | |
| 67 | cva(recipeConfig: RecipeDefinition<any>): AtomicRecipeRule { |
| 68 | const { encoder, decoder } = this.getParamsOrThrow() |
nothing calls this directly
no test coverage detected