Skip to content

Commit 6b9cb6f

Browse files
authored
Optimize Pico CSS color profiles and update MAINTAINERS.md (BlackPythonDevs#473)
* Optimize Pico CSS colors by removing unused color profiles * Apply formatting fixes to MAINTAINERS.md
1 parent 0f7f526 commit 6b9cb6f

File tree

2 files changed

+57
-3184
lines changed

2 files changed

+57
-3184
lines changed

MAINTAINERS.md

+24
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ First off, thank you for considering contributing to Black Python Devs website.
1212
- [How to Contribute](#how-to-contribute)
1313
- [Accessibility](#accessibility)
1414
- [Translations](#translations)
15+
- [Styling](#styling)
1516

1617
# Before You Get Started
1718

@@ -123,3 +124,26 @@ The language code being used should be in the format [<ISO 639-1>](https://en.wi
123124
Our maintainers will review your pull request and merge it if everything is in order. We appreciate your contribution to making Black Python Devs accessible to more people around the world!
124125

125126
[1]: https://microsoftedge.microsoft.com/addons/detail/accessibility-insights-fo/ghbhpcookfemncgoinjblecnilppimih
127+
128+
# Styling
129+
130+
Black Python Devs website uses [Pico CSS](https://picocss.com/) for styling. To maintain optimal performance:
131+
132+
1. **Optimize Color Profiles**:
133+
134+
- Regularly review `pico.colors.min.css`
135+
- Remove unused color profiles to reduce file size
136+
- The color profiles file should be similar in size to `pico.min.css`
137+
138+
2. **Testing After Changes**:
139+
140+
- Thoroughly test the website after removing unused colors
141+
- Ensure all necessary styles are still applied correctly
142+
143+
3. **Performance Monitoring**:
144+
145+
- Monitor website load time after CSS optimizations
146+
- Report significant changes in performance to the team
147+
148+
4. **Framework Updates**:
149+
- When updating Pico CSS, re-evaluate and optimize color profiles

0 commit comments

Comments
 (0)