-
Notifications
You must be signed in to change notification settings - Fork 83
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
feat(ffe-icons): lagrer alle relevante varianter av symbols som svg #1737
Conversation
2f0fa29
to
8e52177
Compare
Azure Static Web Apps: Your stage site is ready! Visit it here: https://black-beach-0d62d0d03-1737.westeurope.2.azurestaticapps.net |
3 similar comments
Azure Static Web Apps: Your stage site is ready! Visit it here: https://black-beach-0d62d0d03-1737.westeurope.2.azurestaticapps.net |
Azure Static Web Apps: Your stage site is ready! Visit it here: https://black-beach-0d62d0d03-1737.westeurope.2.azurestaticapps.net |
Azure Static Web Apps: Your stage site is ready! Visit it here: https://black-beach-0d62d0d03-1737.westeurope.2.azurestaticapps.net |
d832935
to
8840a8d
Compare
Azure Static Web Apps: Your stage site is ready! Visit it here: https://black-beach-0d62d0d03-1737.westeurope.2.azurestaticapps.net |
1 similar comment
Azure Static Web Apps: Your stage site is ready! Visit it here: https://black-beach-0d62d0d03-1737.westeurope.2.azurestaticapps.net |
Azure Static Web Apps: Your stage site is ready! Visit it here: https://black-beach-0d62d0d03-1737.westeurope.2.azurestaticapps.net |
React komponenten gjenstår før vi har løst ikon problematikken.
|
12174e3
to
615e19f
Compare
Azure Static Web Apps: Your stage site is ready! Visit it here: https://black-beach-0d62d0d03-1737.westeurope.2.azurestaticapps.net |
7 similar comments
Azure Static Web Apps: Your stage site is ready! Visit it here: https://black-beach-0d62d0d03-1737.westeurope.2.azurestaticapps.net |
Azure Static Web Apps: Your stage site is ready! Visit it here: https://black-beach-0d62d0d03-1737.westeurope.2.azurestaticapps.net |
Azure Static Web Apps: Your stage site is ready! Visit it here: https://black-beach-0d62d0d03-1737.westeurope.2.azurestaticapps.net |
Azure Static Web Apps: Your stage site is ready! Visit it here: https://black-beach-0d62d0d03-1737.westeurope.2.azurestaticapps.net |
Azure Static Web Apps: Your stage site is ready! Visit it here: https://black-beach-0d62d0d03-1737.westeurope.2.azurestaticapps.net |
Azure Static Web Apps: Your stage site is ready! Visit it here: https://black-beach-0d62d0d03-1737.westeurope.2.azurestaticapps.net |
Azure Static Web Apps: Your stage site is ready! Visit it here: https://black-beach-0d62d0d03-1737.westeurope.2.azurestaticapps.net |
packages/ffe-icons/less/icons.less
Outdated
@@ -0,0 +1,23 @@ | |||
.ffe-icons { | |||
fill: var(--ffe-v-icons-default-color); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Kanske sätta
height: var(--ffe-icon-size);
width: var(--ffe-icon-size);
fill: var(--ffe-icon-override-color, var(--ffe-v-icons-default-color));
&--sm {
--ffe-v-icon-size: var(--ffe-v-icons-size-sm, 20px);
}
// ... och så vidare
}
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Då får man ett sätt att överstyra färgen som inte är att överskriva en variabel som heter "default" :)
Och att definiera width/height på den högsta selectorn och sedan sätta nya variabler gör det enklare att förstå att det är just .ffe-icons som ska ha reglerna. Tar man bort ffe-icons--sm så får den ju heller ingen width/height om de sitter på just den klassen
.
2119d98
to
4ad756b
Compare
Azure Static Web Apps: Your stage site is ready! Visit it here: https://black-beach-0d62d0d03-1737.westeurope.2.azurestaticapps.net |
2 similar comments
Azure Static Web Apps: Your stage site is ready! Visit it here: https://black-beach-0d62d0d03-1737.westeurope.2.azurestaticapps.net |
Azure Static Web Apps: Your stage site is ready! Visit it here: https://black-beach-0d62d0d03-1737.westeurope.2.azurestaticapps.net |
…l symbols i svg BREAKING CHANGE: sletter alle gamle svg'er
1865398
to
22bd2ae
Compare
Azure Static Web Apps: Your stage site is ready! Visit it here: https://black-beach-0d62d0d03-1737.westeurope.2.azurestaticapps.net |
WIP
Beskrivelse
Laget scripts for å hente alle og lagre alle relevante varianter av symbolene som svg i mapper.
Motivasjon og kontekst
For SVG implementasjon av material symbols
Testing