Skip to content

Commit e05f0cc

Browse files
devvaannshabose
authored andcommitted
feat: add documentation for Color hints
1 parent ca5aa7b commit e05f0cc

File tree

3 files changed

+16
-1
lines changed

3 files changed

+16
-1
lines changed

docs/04-editing-colors.md

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,4 +68,19 @@ Clicking a color in the gutter moves the cursor to its position in the editor an
6868

6969
### Enabling/Disabling Color Preview
7070

71-
You can enable/disable the feature by updating the `colorPreview` property in the preferences file. [Click Here](./03-editing-text.md#editing-preferences) to read on how to edit the preferences.
71+
You can enable/disable the feature by updating the `colorPreview` property in the preferences file. [Click Here](./03-editing-text.md#editing-preferences) to read on how to edit the preferences.
72+
73+
---
74+
75+
## Color Hints
76+
After typing a color related property, **Phoenix Code** displays a list of color suggestions.
77+
![Color Hints](./images/editingColors/colorHints.png "Color Hints")
78+
79+
### Previous Color Suggestions
80+
**(Coming Soon...)**
81+
82+
If a file already contains colors (named colors, hex, or RGB values), **Phoenix Code** prioritizes those colors in the hint list. Colors are sorted in **descending order** based on their usage count in the file.
83+
84+
![Previously Used Colors](./images/editingColors/previously-used-colors.png "Previously Used Colors")
85+
86+
> This helps in reusing frequently used colors without manually searching for them.
49.2 KB
Loading
Loading

0 commit comments

Comments
 (0)