Skip to content

Commit 2b0b863

Browse files
eslint fix
Signed-off-by: Rajesh-Nagarajan-11 <rajeshnagarajan36@gmail.com>
1 parent 0ccf721 commit 2b0b863

2 files changed

Lines changed: 22 additions & 22 deletions

File tree

src/sections/Projects/Sistent/components/icons/code.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,8 @@ const IconsCode = () => {
8080
<div className="showcase">
8181
<div className="items">
8282
<SistentThemeProvider initialMode={isDark ? "dark" : "light"}>
83-
<DesignIcon
84-
width={40}
83+
<DesignIcon
84+
width={40}
8585
height={40}
8686
/>
8787
</SistentThemeProvider>

src/sections/Projects/Sistent/components/icons/guidance.js

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ const IconsGuidance = () => {
1818
<h2>Icons</h2>
1919
</a>
2020
<p>
21-
Icons are visual symbols used to represent ideas, objects, or actions.
22-
They communicate messages at a glance, afford interactivity, and draw
21+
Icons are visual symbols used to represent ideas, objects, or actions.
22+
They communicate messages at a glance, afford interactivity, and draw
2323
attention to important information.
2424
</p>
2525
<div className="filterBtns">
@@ -60,38 +60,38 @@ const IconsGuidance = () => {
6060
</a>
6161
<h3>Clarity and Recognition</h3>
6262
<p>
63-
Use icons that are universally recognized or easily understood within your
64-
target audience. Avoid using obscure or overly abstract symbols that may
63+
Use icons that are universally recognized or easily understood within your
64+
target audience. Avoid using obscure or overly abstract symbols that may
6565
confuse users.
6666
</p>
6767
<h3>Consistency</h3>
6868
<p>
69-
Maintain visual consistency across all icons in your interface. Icons should
70-
share similar visual weight, style, and proportions to create a cohesive
69+
Maintain visual consistency across all icons in your interface. Icons should
70+
share similar visual weight, style, and proportions to create a cohesive
7171
design system.
7272
</p>
7373
<h3>Size and Spacing</h3>
7474
<p>
75-
Ensure icons are sized appropriately for their context and maintain adequate
76-
spacing from surrounding elements. Icons should be large enough to be easily
75+
Ensure icons are sized appropriately for their context and maintain adequate
76+
spacing from surrounding elements. Icons should be large enough to be easily
7777
tapped or clicked, especially on touch devices (minimum 24x24px for touch targets).
7878
</p>
7979
<h3>Color and Contrast</h3>
8080
<p>
81-
Use colors that provide sufficient contrast with the background for accessibility.
82-
Consider how icons appear in both light and dark themes, and ensure they remain
81+
Use colors that provide sufficient contrast with the background for accessibility.
82+
Consider how icons appear in both light and dark themes, and ensure they remain
8383
visible and recognizable in all contexts.
8484
</p>
8585
<h3>Labels and Tooltips</h3>
8686
<p>
87-
When icons might be ambiguous, always provide text labels or tooltips. This is
88-
especially important for critical actions or less common functions. Labels help
87+
When icons might be ambiguous, always provide text labels or tooltips. This is
88+
especially important for critical actions or less common functions. Labels help
8989
users understand functionality without having to guess.
9090
</p>
9191
<h3>Accessibility</h3>
9292
<p>
93-
Ensure icons are accessible to all users, including those using screen readers.
94-
Provide appropriate aria-labels and alt text where needed. Never rely solely on
93+
Ensure icons are accessible to all users, including those using screen readers.
94+
Provide appropriate aria-labels and alt text where needed. Never rely solely on
9595
color to convey meaning.
9696
</p>
9797

@@ -100,20 +100,20 @@ const IconsGuidance = () => {
100100
</a>
101101
<h3>When to Use Icons</h3>
102102
<p>
103-
Icons work best when they enhance understanding rather than obscure it. Use icons
104-
when they add visual interest, save space, or make interfaces more scannable.
103+
Icons work best when they enhance understanding rather than obscure it. Use icons
104+
when they add visual interest, save space, or make interfaces more scannable.
105105
Avoid using icons just for decoration if they don't serve a functional purpose.
106106
</p>
107107
<h3>Icon Placement</h3>
108108
<p>
109-
Position icons where users expect to find them. Common placements include navigation
110-
menus, buttons, form fields, and action bars. Ensure icons are aligned properly with
109+
Position icons where users expect to find them. Common placements include navigation
110+
menus, buttons, form fields, and action bars. Ensure icons are aligned properly with
111111
accompanying text or other elements.
112112
</p>
113113
<h3>Combining Icons with Text</h3>
114114
<p>
115-
When combining icons with text, ensure proper spacing and alignment. Icons typically
116-
work well when placed to the left of text labels in left-to-right languages. For
115+
When combining icons with text, ensure proper spacing and alignment. Icons typically
116+
work well when placed to the left of text labels in left-to-right languages. For
117117
buttons, icons can appear on either side of the label depending on the action.
118118
</p>
119119
</div>

0 commit comments

Comments
 (0)