Skip to content

Table props are not overwriting the inherent table element styles #2189

@endigo9740

Description

@endigo9740

Current Behavior

image

As discussed on Discord:
https://discord.com/channels/1003691521280856084/1007673252992262215/1166585706676768810

Expected Behavior

The expectation is the .table class will apply some default classes to the HTML table element. Then local props like text should be able to override and take precedence for, say, the text prop value.

Steps To Reproduce

You have to be hyper-localized and even include !.

  • Using text only affects the headings
  • Using regionBody has no effect at all for text styles
  • The only working solution is regionCell="!text-2xl"

Link to Reproduction / Stackblitz

No response

More Information

This is notable because it may impact the Skeleton "next" concepts.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions