Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use panda for icons #2200

Draft
wants to merge 20 commits into
base: master
Choose a base branch
from
Draft

Use panda for icons #2200

wants to merge 20 commits into from

Conversation

Jonas-C
Copy link
Contributor

@Jonas-C Jonas-C commented Apr 12, 2024

Egentlig bare et eksempel på hvordan primitives kan brukes. Realistisk sett kommer vi ikke til å reeksportere IconProps, og heller ikke Spinner. Ville bare ikke innføre noe som var kjempebreaking.

@Jonas-C Jonas-C changed the base branch from master to panda April 12, 2024 07:41
import { defineTokens } from "@pandacss/dev";

export default defineTokens.spacing({
1: { value: "2px" },
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Her dobler du px fra tokenet. Hadde det vore enklere å ha samme token som pixelverdi?

import { defineConfig } from "@pandacss/dev";
import { preset } from "@ndla/primitives";

export default defineConfig({
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Må vi ha en sånn her config i hver pakke? burde vi hatt en base-config som kan gjenbrukes?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Det kan vi sikkert!

@Jonas-C Jonas-C force-pushed the panda branch 2 times, most recently from 936446b to f7d946a Compare April 25, 2024 19:51
@Jonas-C Jonas-C force-pushed the panda branch 2 times, most recently from 3fd2abe to 6aa5900 Compare May 14, 2024 12:16
@Jonas-C Jonas-C force-pushed the panda branch 7 times, most recently from 9ebb053 to 7ee6b80 Compare May 28, 2024 12:05
@Jonas-C Jonas-C force-pushed the panda branch 6 times, most recently from aaf8bfb to 4ca5f63 Compare May 30, 2024 10:05
Base automatically changed from panda to master May 30, 2024 10:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants