Skip to content

Commit

Permalink
feat: new colors added to Avatar
Browse files Browse the repository at this point in the history
  • Loading branch information
yuriassuncx committed Aug 2, 2024
1 parent aca40be commit 7eb480e
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 50 deletions.
33 changes: 23 additions & 10 deletions components/ui/Avatar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,29 @@
*/

const colors: Record<string, string> = {
"Azul": "bg-[#87CEFA] ring-[#87CEFA]",
"Branco": "bg-[#FFFFFF] ring-[#FFFFFF]",
"Cinza": "bg-[#808080] ring-[#808080]",
"Natural Escura": "bg-[#A9A9A9] ring-[#A9A9A9]",
"Natural": "bg-[#A9A9A9] ring-[#A9A9A9]",
"Laranja": "bg-[#FFA500] ring-[#FFA500]",
"Marrom": "bg-[#A52A2A] ring-[#A52A2A]",
"Preto": "bg-black ring-black",
"Verde": "bg-[#90EE90] ring-[#90EE90]",
"Vermelha": "bg-[#FF0000] ring-[#FF0000]",
"Bege": "bg-[#ad7d67] ring-[#ad7d67]",
"Bronze": "bg[#b68968] ring-[#b68968]",
"Olinda": "bg-[#9e715b] ring-[#9e715b]",
"Sahara": "bg-[#845a4a] ring-[#845a4a]",
"Vermelho": "bg-[#ee1c25] ring-[#ee1c25]",
"Caqui": "bg-[#a68b76] ring-[#a68b76]",
"Marrom": "bg-[#563c3b] ring-[#563c3b]",
"Azul marinho": "bg-[#060a5a] ring-[#060a5a]",
"Azul%20marinho": "bg-[#060a5a] ring-[#060a5a]",
"Azul%20Marinho": "bg-[#060a5a] ring-[#060a5a]",
"Azul": "bg-[#040dfe] ring-[#040dfe]",
"Mel": "bg-[#c28568] ring-[#c28568]",
"Castanho": "bg-[#8d553e] ring-[#8d553e]",
"Vanilla": "bg-[#d6a898] ring-[#d6a898]",
"Capuccino": "bg-[#d09b89] ring-[#d09b89]",
"Canela": "bg-[#c27b65] ring-[#c27b65]",
"Caramelo": "bg-[#bb6b54] ring-[#bb6b54]",
"Chocolate": "bg-[#9a5746] ring-[#9a5746]",
"Café": "bg-[#7e5149] ring-[#7e5149]",
"Verde Limao": "bg-[#32cd32] ring-[#32cd32]",
"Rosa": "bg-[#e55298] ring-[#e55298]",
"Preto": "bg-[#000000] ring-[#000000]",
"Branco": "bg-[#ffffff] ring-[#ffffff]",

// Color variants - only applied when no color as content is passed
"active": "text-base-content border-black",
Expand Down
30 changes: 0 additions & 30 deletions loaders/Colors/colors.ts

This file was deleted.

18 changes: 8 additions & 10 deletions manifest.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,10 @@
import * as $$$$$$$$$$$0 from "./apps/decohub.ts";
import * as $$$$$$$$$$$1 from "./apps/site.ts";
import * as $$$0 from "./loaders/Blog/BlogPostPageImproved.ts";
import * as $$$1 from "./loaders/Colors/colors.ts";
import * as $$$2 from "./loaders/Layouts/ProductCard.tsx";
import * as $$$3 from "./loaders/List/Sections.tsx";
import * as $$$4 from "./loaders/Search/details.ts";
import * as $$$5 from "./loaders/Search/subcategories.ts";
import * as $$$1 from "./loaders/Layouts/ProductCard.tsx";
import * as $$$2 from "./loaders/List/Sections.tsx";
import * as $$$3 from "./loaders/Search/details.ts";
import * as $$$4 from "./loaders/Search/subcategories.ts";
import * as $$$$$$0 from "./sections/Animation/Animation.tsx";
import * as $$$$$$1 from "./sections/Blog/BlogPost.tsx";
import * as $$$$$$2 from "./sections/Blog/BlogPostsImproved.tsx";
Expand Down Expand Up @@ -86,11 +85,10 @@ import * as $$$$$$71 from "./sections/Theme/Theme.tsx";
const manifest = {
"loaders": {
"deco-sites/maconequiio/loaders/Blog/BlogPostPageImproved.ts": $$$0,
"deco-sites/maconequiio/loaders/Colors/colors.ts": $$$1,
"deco-sites/maconequiio/loaders/Layouts/ProductCard.tsx": $$$2,
"deco-sites/maconequiio/loaders/List/Sections.tsx": $$$3,
"deco-sites/maconequiio/loaders/Search/details.ts": $$$4,
"deco-sites/maconequiio/loaders/Search/subcategories.ts": $$$5,
"deco-sites/maconequiio/loaders/Layouts/ProductCard.tsx": $$$1,
"deco-sites/maconequiio/loaders/List/Sections.tsx": $$$2,
"deco-sites/maconequiio/loaders/Search/details.ts": $$$3,
"deco-sites/maconequiio/loaders/Search/subcategories.ts": $$$4,
},
"sections": {
"deco-sites/maconequiio/sections/Animation/Animation.tsx": $$$$$$0,
Expand Down

0 comments on commit 7eb480e

Please sign in to comment.