Skip to content

General - Create global code structure - for internal reference and external contributors #53

@BowTiedHeron

Description

@BowTiedHeron

We should maintain one single source of truth with respect to components / vanilla classes and inline styles structure.

Each page has a main css layout written in ~/styles/pageName.css.ts

Whenever a page includes a component, this component should always be written inside of the components folder and maintain a structure of;
~/components/ComponentName/
/ComponentName.css.ts
/ComponentName.tsx

This way we separate the concerns regarding global and local styles for pages and components.
Also - try to style as little as possible inside of the elements itself, this due to limitations from DegenUI / preference regarding Figma Designs

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions