Skip to content

Commit e31347d

Browse files
committed
added css for zoom and react js for additinal zoom and updated google icon docs
1 parent a8467a1 commit e31347d

10 files changed

Lines changed: 133 additions & 20 deletions
72.5 KB
Loading
158 KB
Loading
211 KB
Loading
432 KB
Loading
139 KB
Loading
291 KB
Loading

blog/google-icon-update/index.md

Lines changed: 51 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -35,20 +35,38 @@ meta:
3535

3636
import Tabs from '@theme/Tabs';
3737
import TabItem from '@theme/TabItem';
38+
import ZoomImage from '@site/src/components/ZoomImage';
3839

3940
<!-- truncate -->
4041

4142
---
4243

43-
Last week I clicked Google Meet when I meant to click Google Calendar. Again.
44+
Last week I clicked Google Meet when I meant to click Google Calendar.
4445

46+
Have you experienced the simillar issue? let's decode the new icon Changes from Google. Rather than judging the new icons and feeling hesistant to new changes, Let's look at the old icons and the problems. When you stare at a grid of identical shapes outlined in the exact same colors, your brain hits a speed bump.
47+
48+
:::info
49+
It's a phenomenon called cognitive friction. You have to stop searching for a recognizable silhouette and start reading the tiny text underneath.
50+
:::
51+
52+
<BrowserWindow url="https://github.com/recodehive/recode-website/issues" bodyStyle={{padding: 0}}>
53+
[![Github](./assets/05-google-new-logo.png)]()
54+
</BrowserWindow>
55+
56+
<span style={{color: 'red'}}>So From when the issue started happening?</span>
57+
This specific daily annoyance traces back to 2020, when Google retired G Suite and rolled out Google Workspace. They erased the unique shapes of their most popular apps and replaced them with uniform outlines.
58+
59+
So lets look at Gsuite Icons. 👇🏻
60+
<ZoomImage src={require('./assets/03-google-old-gsuite-logo.png').default} alt="Google old GSuite logo" />
61+
<span style={{color: 'red'}}> The problem</span>
4562
It has been happening for five years. The four icons sit in my browser tab bar looking almost identical: same four colors, same flat shapes, same overall vibe. My brain processes them as one visual blob rather than four separate apps. I once spent 30 seconds in a Google Meet waiting room before realizing I had joined my own meeting instead of opening my calendar to check the time.
4663

47-
<BrowserWindow url="https://github.com/recodehive/recode-website/issues" bodyStyle={{padding: 0}}>
48-
[![Github](./assets/01-New-Google-icon-Design.jpg)](https://github.com/recodehive/recode-website/issues)
64+
<span style={{color: 'green'}}> **The Solution**</span> If that sounds familiar, Google finally heard you. And me. And apparently everyone who has ever stared at a browser tab bar wondering which shade of blue-red-yellow-green meant Calendar versus Drive.
65+
<BrowserWindow url="https://github.com/recodehive/recode-website/issues" bodyStyle={{padding: 0}}>
66+
[![Github](./assets/01-New-Google-icon-Design.jpg)]()
4967
</BrowserWindow>
5068

51-
If that sounds familiar, Google finally heard you. And me. And apparently everyone who has ever stared at a browser tab bar wondering which shade of blue-red-yellow-green meant Calendar versus Drive.
69+
5270

5371
This week, Google started rolling out a complete redesign of its Workspace app icons across Gmail, Drive, Docs, Sheets, Slides, Calendar, Meet, Chat, Forms, Keep, Voice, and Tasks. The rollout is live right now in the web app launcher and Chrome's New Tab page. Here is what actually changed, why it took this long, and whether the new design actually solves the problem.
5472

@@ -57,15 +75,43 @@ This week, Google started rolling out a complete redesign of its Workspace app i
5775

5876
## The Problem That Started in 2020
5977

60-
To understand why this redesign matters, you have to go back to October 2020 when Google rebranded G Suite to Google Workspace.
6178
To understand why this redesign matters, you have to go back to October 2020 when Google rebranded G Suite to Google Workspace.
6279

6380
At the time, the rebrand looked clean on paper. Google unified its entire app suite under one design language: every icon would use all four company colors, blue, red, yellow, and green, in the same flat style. The thinking was brand consistency. The result was visual chaos.
6481

82+
83+
<div className="img-zoom">
84+
85+
[![Github](./assets/03-google-old-apps-logo.png)]()
86+
87+
</div>
88+
6589
Within hours of the 2020 announcement, the internet responded with a very specific complaint: all the icons now look the same. The new Gmail icon was the most mocked. The classic envelope with a red M that everyone recognized was replaced with a four-color M that looked like a child's art project. People struggled to tell Calendar from Drive, Drive from Docs, and Meet from everything else at a glance.
90+
<BrowserWindow url="https://github.com/recodehive/recode-website/issues" bodyStyle={{padding: 0}}>
91+
[![Github](./assets/04-google-old-outline-logo.png)]()
92+
</BrowserWindow>
6693

6794
The complaint was not just aesthetic. It was functional. When apps share the same four colors and similar shapes, your brain cannot build distinct visual shortcuts for each one. You have to read the icon rather than recognize it. That adds cognitive friction dozens of times a day. Multiply that across 3 billion Google Workspace users and the accumulated frustration becomes significant.
6895

96+
<ZoomImage src={require('./assets/06-googleworkspace-new-logo.png').default} alt="Google old GSuite logo" />
97+
98+
99+
<span style={{color: 'red'}}> **Thought process behind Google**</span>? In 2020
100+
millions of employees were suddenly forced out of physical offices and onto their laptops at kitchen tables. Google needed to convince these remote teams that separate productivity tools like Docs, Sheets, and Meet were actually one single, highly integrated cloud ecosystem.
101+
102+
---
103+
104+
## Why Google Is Doing This Now
105+
106+
Two reasons. One practical, one strategic.
107+
Two reasons. One practical, one strategic.
108+
109+
The practical reason is simple: they finally ran out of excuses not to fix it. The 2020 design was criticized immediately and consistently for five years. Every redesign rumor that surfaced got user hopes up. Fixing the icon confusion was low-hanging fruit with a clear user benefit and Google had no strong argument for keeping the broken version.
110+
111+
The strategic reason is more interesting. Look at which Google products got gradient icons first before this Workspace rollout: the Google G logo, Gemini, Google Photos, Google Maps. Every product associated with Google's AI push got gradients first. Applying the same design language to Workspace now visually ties the entire productivity suite to the AI narrative.
112+
113+
Google I/O 2026 is happening this week. The timing of this rollout is not accidental. Google is walking into its biggest annual developer event with a refreshed product suite that looks modern, AI-adjacent, and ready for the next phase of Workspace. The icon redesign is as much a marketing signal as a usability fix.
114+
69115
---
70116

71117
## What Changed in 2026
@@ -92,18 +138,7 @@ The icons are also physically larger in the launcher. Google removed the Workspa
92138

93139
---
94140

95-
## Why Google Is Doing This Now
96141

97-
Two reasons. One practical, one strategic.
98-
Two reasons. One practical, one strategic.
99-
100-
The practical reason is simple: they finally ran out of excuses not to fix it. The 2020 design was criticized immediately and consistently for five years. Every redesign rumor that surfaced got user hopes up. Fixing the icon confusion was low-hanging fruit with a clear user benefit and Google had no strong argument for keeping the broken version.
101-
102-
The strategic reason is more interesting. Look at which Google products got gradient icons first before this Workspace rollout: the Google G logo, Gemini, Google Photos, Google Maps. Every product associated with Google's AI push got gradients first. Applying the same design language to Workspace now visually ties the entire productivity suite to the AI narrative.
103-
104-
Google I/O 2026 is happening this week. The timing of this rollout is not accidental. Google is walking into its biggest annual developer event with a refreshed product suite that looks modern, AI-adjacent, and ready for the next phase of Workspace. The icon redesign is as much a marketing signal as a usability fix.
105-
106-
---
107142

108143
## What the Internet Actually Thinks
109144

docs/getting_started.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ the best practice, Use a short, descriptive name for example `blog/intro-to-doc
8383
## Step 6: Add your name to Author list : optional
8484
:::info
8585
If you are first time contributing to blog section, add yourself as author, this gives you good visibility on Google search and better career opportunities.
86+
We use [docusaurus](https://docusaurus.io/docs) for documentation.
8687
:::
8788
Open your code editor and head into sidebar and expand the `blog` folder
8889
and open the file `authors.yml`. Refer the below image and copy paste the code into the yml as shown.
@@ -155,9 +156,6 @@ touch blog/your-blog-title/index.md
155156
</Tabs>
156157
---
157158

158-
159-
160-
161159
## Step 9: Write the Frontmatter
162160

163161
Open `blog/your-blog-title/index.md` and add the following frontmatter at the very top of the file:
@@ -447,7 +445,7 @@ Use **PNG** for UI screenshots (crisp text) and **JPEG/WebP** for photos.
447445
### Naming Convention
448446

449447
Use lowercase, hyphen-separated, numbered filenames so they sort correctly and are SEO-friendly. **Never use random or auto-generated names.**
450-
448+
also never leave space on naming, it should be connected with hypen.
451449
```
452450
assets/
453451
├── cover.png

src/components/ZoomImage/index.jsx

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
import React, { useRef, useState, useEffect } from 'react';
2+
3+
export default function ZoomImage({ src, alt }) {
4+
const [scale, setScale] = useState(1);
5+
const [origin, setOrigin] = useState('center center');
6+
const containerRef = useRef(null);
7+
const scaleRef = useRef(1);
8+
9+
useEffect(() => {
10+
const el = containerRef.current;
11+
if (!el) return;
12+
13+
const handleWheel = (e) => {
14+
e.preventDefault();
15+
const rect = el.getBoundingClientRect();
16+
const x = ((e.clientX - rect.left) / rect.width) * 100;
17+
const y = ((e.clientY - rect.top) / rect.height) * 100;
18+
setOrigin(`${x}% ${y}%`);
19+
20+
const delta = e.deltaY > 0 ? -0.15 : 0.15;
21+
const newScale = Math.min(Math.max(scaleRef.current + delta, 1), 3);
22+
scaleRef.current = newScale;
23+
setScale(newScale);
24+
};
25+
26+
el.addEventListener('wheel', handleWheel, { passive: false });
27+
return () => el.removeEventListener('wheel', handleWheel);
28+
}, []);
29+
30+
const handleMouseLeave = () => {
31+
scaleRef.current = 1;
32+
setScale(1);
33+
setOrigin('center center');
34+
};
35+
36+
return (
37+
<div
38+
ref={containerRef}
39+
onMouseLeave={handleMouseLeave}
40+
style={{
41+
overflow: 'hidden',
42+
borderRadius: '8px',
43+
width: '100%',
44+
cursor: scale > 1 ? 'zoom-out' : 'zoom-in',
45+
}}
46+
>
47+
<img
48+
src={src}
49+
alt={alt || ''}
50+
style={{
51+
display: 'block',
52+
width: '100%',
53+
transform: `scale(${scale})`,
54+
transformOrigin: origin,
55+
transition: scale === 1 ? 'transform 0.35s ease' : 'transform 0.08s ease',
56+
}}
57+
/>
58+
</div>
59+
);
60+
}

src/css/custom.css

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2040,3 +2040,23 @@ html[data-theme="dark"] {
20402040
scrollbar-width: thin !important;
20412041
scrollbar-color: #334155 transparent !important;
20422042
}
2043+
2044+
/* ===== HOVER ZOOM FOR BLOG IMAGES ===== */
2045+
.img-zoom {
2046+
overflow: hidden;
2047+
display: inline-block;
2048+
width: 100%;
2049+
border-radius: 8px;
2050+
}
2051+
2052+
.img-zoom img {
2053+
transition: transform 0.35s ease, box-shadow 0.35s ease;
2054+
cursor: zoom-in;
2055+
display: block;
2056+
width: 100%;
2057+
}
2058+
2059+
.img-zoom img:hover {
2060+
transform: scale(1.08);
2061+
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
2062+
}

0 commit comments

Comments
 (0)