Skip to content

Adding styles to project #668

@ryanvequity

Description

@ryanvequity

Hey - just adding coss to a project. Running pnpm dlx shadcn@latest add @coss/colors-neutral provides some of the core items. I noticed however, that it doesn't add add of the --font* variables and it's also different than a couple references I came across in the repo:

https://github.com/cosscom/coss/blob/eca5fddc1055305f5f35df400ecde3aa6ebdf708/apps/ui/content/docs/(root)/styling.mdx#L47

  • Has the sidebar variables

https://github.com/cosscom/coss/blob/eca5fddc1055305f5f35df400ecde3aa6ebdf708/packages/ui/src/styles/globals.css

  • Has the font variables. font-heading is referenced in some of the components (e.g. Dialog) but there's no mention of defining that anywhere.

It feels like both of those variables should be part of the default set up but they're not provided when setting up the project.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions