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

Ønskeliste: Illustration card #2136

Merged
merged 3 commits into from
Jul 1, 2024
Merged

Conversation

tuva-odegard
Copy link
Contributor

Legger til IllustrationCard som et alternativ

relatert til #2117

Beskrivelse

IconCard støttet ikke en illustrasjon, så vi besluttet å lage et eget kort for dette.
Det ble også oppdaget at StipledCard støtter my av det de andre kortene støtter, og at vi kanskje burde ha dette som et valg på de andre kortene i stedet for.

Det ble diskutert å ha et "Card to rule them all", altså at kun ett kort kan ta inn img, icon, stipled:boolean osv, men vi konkludrte med at det er lettere å holde de separat.

Testing

De nye variantene heter <IllustrationCard> og illustrationcard condensed. Dokumentasjon kommer.

@tuva-odegard tuva-odegard requested a review from a team as a code owner June 30, 2024 11:03
Copy link

Azure Static Web Apps: Your stage site is ready! Visit it here: https://black-beach-0d62d0d03-2136.westeurope.2.azurestaticapps.net

fill="#7EB5D2"
/>
</g>
<defs>
Copy link
Contributor

Choose a reason for hiding this comment

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

Tror du kan fjerne denne og den ur eksemplet. Blir mindre komplisert og bølgeeksemplet hade en bug pga av samme kode.

Copy link
Contributor Author

@tuva-odegard tuva-odegard Jun 30, 2024

Choose a reason for hiding this comment

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

Skjønner ikke helt hva du mener? Fjerne <defs> og hva?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Blir seendes feil ut hvis jeg fjerner defs

Copy link
Contributor

Choose a reason for hiding this comment

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

OK da kan du la de ligge. Hvis du fjerner g også?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

ja

@tuva-odegard tuva-odegard force-pushed the develop-illustration-card branch from e9fb020 to 0960089 Compare June 30, 2024 13:59
Copy link

Azure Static Web Apps: Your stage site is ready! Visit it here: https://black-beach-0d62d0d03-2136.westeurope.2.azurestaticapps.net

@tuva-odegard tuva-odegard merged commit d1de633 into develop Jul 1, 2024
3 checks passed
@tuva-odegard tuva-odegard deleted the develop-illustration-card branch July 1, 2024 09:39
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.

2 participants