Skip to content

reference of $$cardColor in css #796

Answered by Xariwey
abhay187 asked this question in Help
Discussion options

You must be logged in to vote

I was going through the Container section in the docs and found the key $$cardColor in css props and couldn't find any reference for this in docs. An example is below:-

import { Container, Card, Row, Text } from "@nextui-org/react";

export default function App() {
  return (
    <Container>
      <Card css={{ $$cardColor: '$colors$primary' }}>
        <Card.Body>
          <Row justify="center" align="center">
            <Text h6 size={15} color="white" css={{ m: 0 }}>
              NextUI gives you the best developer experience with all the features
              you need to build beautiful and modern websites and
              applications.
            </Text>
          </Row>
      …

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@abhay187
Comment options

@Xariwey
Comment options

@abhay187
Comment options

Answer selected by abhay187
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants