

In most Tango UI components, there are multiple ways to define styles:
style.style={{}}.className to specify the class name and use it with a .css file to express the style.Samary:
sx="" is equivalent to className=""sx={{}} is equivalent to style={{}}"!important""!"Reason: the component manages built-in styles based on CSS Module, and the weight of className is lower than the built-in styles.
1. Tailwind CSS
<Button className="bg-blue-500 text-white px-4 py-2 rounded">
Submit
</Button>2. 'sx' prop
<Button sx={{ bg: "blue", c: "white", px: 4, py: 2, br: 6 }}>
Submit
</Button><Button sx="!bg-blue-500 !text-white !px-4 !py-2 !rounded">
Submit
</Button><Button sx="my-button-sx">Submit</Button>.my-button-sx {
background-color: blue !important;
color: white !important;
padding: 8px 16px !important;
border-radius: 6px !important;
}3. Inline style
<Button style={{ backgroundColor: "blue", color: "white", padding: "8px 16px", borderRadius: "6px" }}>
Submit
</Button>4. CSS class
<Button className="my-button">Submit</Button>.my-button {
background-color: blue;
color: white;
padding: 8px 16px;
border-radius: 6px;
}5. Components props
<Button type="primary" size="large">
Submit
</Button>