Skip to content

Commit d49db11

Browse files
authored
Merge pull request #3822 from runningonsideprojects/style-guide-doc-add
Adding additional documentation to the new Styling Guide Readme
2 parents 166e3b2 + 03fd0be commit d49db11

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

contributor_docs/styling.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,11 @@
33
Currently in progress.
44

55
---
6+
Additional Resources:
67
- [Zeplin File with Official Colors](google.com/url?q=https://github.com/processing/p5.js-web-editor/wiki/Color-Combinations-for-Accessibility&sa=D&source=docs&ust=1769528946688435&usg=AOvVaw2626esAvAi1JMEjarRcDcT)
78
- [Accessible Links Color Combinations](https://scene.zeplin.io/project/55f746c54a02e1e50e0632c3)
9+
10+
Tips when making styling contributions:
11+
- Define color specifications and other design tokens as CSS custom properties (e.g. `--var(primary-color)`) instead of hard coded values like HEX, RGB ..etc.
12+
- Ensure your changes only affect what you intend. For example, review what uses a variable before modifying it to avoid unintended changes.
13+
- Before creating a new CSS, check for utility classes and variables that provide styling you need.

0 commit comments

Comments
 (0)