PeriodPals / periodpals

3 stars 1 forks source link

feat: add icons for tampon, pad, pad and tampon, urgency levels and cotton products #224

Closed lazarinibruno closed 1 week ago

lazarinibruno commented 1 week ago

Add specific icons for PeriodPals

I designed some icons that are not available under the Material icon pack and that we need for the app.

Description

This PR introduces 7 new icons that we need in the CreateAlertScreen and EditAlertScreen:

They use the Material standard size for icons of 24dp $\times$ 24dp.

Example usage

Icon(
    painter = painterResource(R.drawable.tampon_and_pad),
    contentDescription = "Tampon and pad icon"
)

To change the color of the icon, add the tint parameter:

Icon(
    painter = painterResource(R.drawable.tampon_and_pad),
    contentDescription = "Tampon and pad icon",
    tint = Color.Red
)

Changes

None.

Files

Added

Modified

None.

Removed

None.

Dependencies Added

None.

Testing

Not applicable.

Screenshots

image

sonarcloud[bot] commented 1 week ago

Quality Gate Passed Quality Gate passed

Issues
9 New issues
0 Accepted issues

Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarQube Cloud

lazarinibruno commented 1 week ago
  • I tested my self if the colours could be change, and indeed it works (see picture below). How it should be implemented with colours :

Amazing stuff!!