Skip to content

feat: Badge component #937

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

Merged
merged 2 commits into from
Oct 1, 2024
Merged

feat: Badge component #937

merged 2 commits into from
Oct 1, 2024

Conversation

alexanbj
Copy link
Contributor

@alexanbj alexanbj commented Sep 30, 2024

Denne PRen legger til en ny komponent, <Badge />.

Figma-lenke.

Live preview eksempel

Det er mulig å justere både størrelse og farge, og den sizer også ikoner automatisk. Merk at denne komponenten aldri skal brukes som et interaktivt element, tenk på det mer som en merkelapp. Kan brukes på feks Cards, bilder eller andre steder.

Screenshot 2024-09-30 at 14 22 33

Den erstatter den gamle Chip komponenten fra v1:

Screenshot 2024-09-30 at 14 21 32

@alexanbj alexanbj requested a review from a team September 30, 2024 12:32
Copy link

changeset-bot bot commented Sep 30, 2024

🦋 Changeset detected

Latest commit: 2704026

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@obosbbl/grunnmuren-react Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link

netlify bot commented Sep 30, 2024

Deploy Preview for obos-grunnmuren ready!

Name Link
🔨 Latest commit 2704026
🔍 Latest deploy log https://app.netlify.com/sites/obos-grunnmuren/deploys/66fbb46d47e33c00089f7aa0
😎 Deploy Preview https://deploy-preview-937--obos-grunnmuren.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@aulonm
Copy link
Collaborator

aulonm commented Sep 30, 2024

Spørsmål angående fargene. Vi bruker en farge som ikke er en del av designet her nå, hva gjør vi da? Må bruke noe annet?

image

@alexanbj
Copy link
Contributor Author

Spørsmål angående fargene. Vi bruker en farge som ikke er en del av designet her nå, hva gjør vi da? Må bruke noe annet?

Kristian har notert ned at han tar en prat med AM når han er tilbake fra ferie.

@alexanbj alexanbj merged commit 860f58a into main Oct 1, 2024
4 of 5 checks passed
@alexanbj alexanbj deleted the badge branch October 1, 2024 08:37
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.

3 participants