Skip to content

Commit

Permalink
added colors to the assistant (#326)
Browse files Browse the repository at this point in the history
  • Loading branch information
techtrailhead authored Feb 1, 2022
1 parent 67511f0 commit 14cab00
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
6 changes: 6 additions & 0 deletions app/src/model/product.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,12 @@ const styles: Record<string, ProductStyle> = {
text: "text-ml-text",
iconBorder: "border-ml-accent",
},
assistant: {
bg: "bg-assistant-bg",
text: "text-assistant-text",
iconBorder: "border-assistant-accent",
},

};

// Listing these classes here means that PurgeCSS will not
Expand Down
8 changes: 8 additions & 0 deletions app/tailwind.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,14 @@ module.exports = {
bg: "#073042",
text: "#FFFFFF",
},

assistant: {
accent: "#9AA0A6",
bg: "#4285F4",
text: "#FFFFFF",


},
gblue: {
50: "#e8f0fe",
100: "#d2e3fc",
Expand Down

1 comment on commit 14cab00

@techtrailhead
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added colors and logo to Google Assistant product category

Please sign in to comment.