Three Strings and a Grey Button
Google publishes rules for its sign-in button down to the words on it and the grey behind the logo. They read like pedantry until you notice they are checked, and that the easiest way to break them is a tidy refactor nobody would think twice about.
Most of a sign-in integration is invisible: a redirect, a callback, a token exchanged and checked. The one piece a person actually sees is the button, and it turns out to be the piece with the strictest specification. Google says what the button may say, what colour it may be, and what may sit around the logo, and it says so precisely enough that "close" is a different answer from "correct".
Three strings, and no fourth
The text on a Google sign-in button comes from a short list. Sign in with Google. Sign up with Google. Continue with Google. That is the set. Not "Log in with Google", not "Use your Google account", not "Google" on its own next to the logo.
This product uses the first two: the sign-in screen says Sign in with Google and the registration screen says Sign up with Google. Under each sits a smaller line saying which accounts it accepts — Google or Google Workspace account — because a person deciding which button to press is usually asking whether their work account counts.
Why the words are written out by hand
Here is where the specification meets ordinary engineering habit. Every provider on the sign-in screen has the same shape — Sign in with Google, Sign in with Microsoft, and so on — and the obvious move is to store the verb once and the provider name once and join them. One template, every button, no repetition.
That is exactly the move this code refuses. Each provider carries its sign-in label and its sign-up label spelled out in full. A composed string is correct on the day it is written and one refactor away from leaving the permitted set: somebody changes the shared verb to Continue, or to Log in, for good reasons on some other button, and Google's button follows it out of compliance without anybody touching Google.
Duplication is usually the thing to remove. Here it is the thing that keeps the button inside the rules.
There is a companion field with the opposite purpose: a bare name, Google, with no verb at all. Messages that mention the provider — your Google account email must be verified — use the name, never the label with words cut off it. That field exists because cutting words off the label is what broke the wording the last time the buttons changed from Continue with to Sign in with: a message built by trimming the old prefix kept trimming it from a string that no longer started with it.
Three backgrounds, and the grey one
The colour rules are just as narrow. The standard multicolour G may sit on one of three backgrounds: white, a specific near-black, or a specific neutral grey. Text is a specific dark grey. And there is no border.
What is not on that list is the thing a designer reaches for first: a button in your own brand colour with the Google logo on it. A coloured background under the standard logo is explicitly outside the guidelines. It looks more integrated and it is the one variation the specification names as wrong.
This product uses the neutral grey. The border detail is worth a sentence because it shows the guidelines and the layout pulling against each other: every other provider button on the screen has a border, which adds a pixel to its height. Removing Google's border outright would make it a pixel shorter than its neighbours. So the border is kept and painted the same grey as the background — invisible, as the rule requires, and the row of buttons still lines up.
Our palette stops at their logo
This site holds itself to a strict palette: the navy and orange of its own logo, slate neutrals, and status colours used only for a state. A build check fails on any colour outside that set in a public page.
Google's blue, red, yellow and green are outside it, and the check lets them through on purpose. A third-party mark keeps its own colours, and the sign-in buttons are listed as a place where marks are drawn whole. Recolouring another company's logo to match your brand is the same mistake as a coloured background under it, just made by a stricter designer.
The colours themselves live with the provider, not in a stylesheet: each provider entry carries its background, text and border, and the button is painted from them. Adding a provider means adding one entry with its own colours, and the button, the redirect and the callback follow from it.
Why any of this is checked
A product that asks Google for access beyond basic sign-in goes through Google's app verification, and the sign-in screen is part of what is looked at. A button that drifted out of the permitted strings or onto a coloured background is the kind of finding that delays it for a reason unrelated to anything the product does with data.
Which is the real argument for writing the strings out. The rules are small, they are easy to break by accident, and the place they get broken is not where anybody is looking.
What is in place
What the Google button is allowed to be
Permitted wording only
The sign-in screen says Sign in with Google and the registration screen says Sign up with Google, both from the published set.
Labels written out in full
Each provider stores its sign-in and sign-up labels as complete strings, so a change to one button's verb cannot carry another provider out of its rules.
A separate bare name for messages
Messages that mention the provider use its name, never a label with words trimmed off it.
The neutral grey variant
The standard logo sits on the permitted neutral background with the permitted text colour.
No visible border, same height
The border is painted the background colour, so the button follows the no-border rule and still lines up with its neighbours.
Which accounts it accepts, said underneath
A line under the button names Google and Google Workspace accounts, so a work-account holder knows it applies to them.
Third-party marks kept whole
The site's palette check exempts provider marks and the sign-in buttons, so Google's colours are never recoloured to match ours.
Colours owned by the provider entry
Background, text and border live with the provider definition and paint the button, rather than sitting in a stylesheet to drift.
One entry adds a provider
A new provider is one definition plus its credentials; its button, redirect and callback follow from it.
The second and third items are one decision seen from both sides: the label is never assembled, and the name is never cut out of the label. Either shortcut is how a sign-in button quietly leaves the wording Google permits.
Three positions held on purpose
- Repetition over composition for button text. Every provider label is written out even though they share a shape, because a shared template is exactly what carries a compliant string out of compliance during a change made for some other button.
- Their mark, their colours. The product's palette is strict and it stops at a third-party logo; a Google button recoloured to match our navy would be both off-brand for Google and outside its guidelines.
- The neutral variant, not the dark one. The grey button reads as a deliberate choice beside the other providers on a light screen, without competing with the product's own primary action.
Four questions about a Google sign-in button
What does the button say?
A good answer sounds like
One of Google's permitted strings.
What ours actually is
Sign in with Google on the sign-in screen and Sign up with Google on registration.
Can the wording change by accident?
A good answer sounds like
Not easily.
What ours actually is
Each label is written out in full, so a change to another provider's verb cannot reach it.
Is it in your brand colour?
A good answer sounds like
No — that is outside the guidelines.
What ours actually is
It uses Google's neutral grey with the standard logo and no visible border.
Does it work for Google Workspace accounts?
A good answer sounds like
Yes, and it should say so.
What ours actually is
The line under the button names both Google and Google Workspace accounts.
Our take
A sign-in button is the least technical part of a sign-in integration and the most specified. The rules are narrow enough to look fussy and specific enough to be checked, and the way they get broken is almost never a decision about the Google button: it is a tidy refactor of some shared string, or a designer making every button match the brand. The defence is unglamorous. Write the three words out in full for every provider, keep the logo on the background Google chose for it, and let your own palette stop at the edge of somebody else's mark.
See the sign-in screen for yourself
Every sign-in option, from Google and Microsoft to a passkey or an emailed link, sits on one screen built from one list of providers.
Open the sign-in screenFrequently asked questions
Why does the Google button look different from the other sign-in buttons?
Google publishes rules for its button: a short list of permitted wording, three permitted background colours, and no border. Ours uses Google's neutral grey with the standard logo, which is why it does not match the other providers or the product's own navy.
Can I sign in with a Google Workspace account?
Yes. The button accepts both personal Google accounts and Google Workspace accounts, and the line underneath it says so. The address still has to belong to an existing user in your workspace.
Why say "Sign up with Google" on one screen and "Sign in with Google" on the other?
Both are wording Google permits, and each matches what the screen does: the registration screen starts a new workspace, the sign-in screen opens an existing account.
Does choosing the Google button change what the product can access?
No. Signing in with Google asks only for your identity — your name, your email address and whether Google has verified it. Access to Calendar, Gmail or Drive is a separate permission, asked for only when an administrator connects that integration.