diff --git a/.firebase/hosting.ZGlzdA.cache b/.firebase/hosting.ZGlzdA.cache new file mode 100644 index 0000000..df213ff --- /dev/null +++ b/.firebase/hosting.ZGlzdA.cache @@ -0,0 +1,14 @@ +apple-touch-icon.png,1692741950000,6c2775039868c0880a0f0f7ea2f96d638fce974684a1c871f821cdd565655fe0 +android-chrome-192x192.png,1692741950000,e3d1ebe94804b1d898f9d6d7ca08ae5095e0720cf213a5cfddc002402bc13f5a +chimptok_logo.svg,1692732849649,17d904d3b736e4d6f423d970c90e5535a8a6cf253b587e6bd73cb520f9f0575f +chimptok_mascot.svg,1692733500711,91da2ce855be4a8acb1bc8e05fc6ce401971b0a6ad9358dc54fdc2889d861e12 +favicon-16x16.png,1692741950000,5f7894deb6e0beaa92c0a72cd9351c8258157a15614b6442cb23666b4be26f8a +index.html,1692740441726,1df80141dbc3d223f495301a0a2378e6dedc635978415f9022d388f92a3c475b +favicon.ico,1692741950000,1738e0fef0ffc314183ba39e111394b9a13a5f4d645a8a4b31e58b52ee9a9023 +assets/chimptok_logo-4e703299.svg,1692740441727,17d904d3b736e4d6f423d970c90e5535a8a6cf253b587e6bd73cb520f9f0575f +assets/chimptok_mascot-35a368d2.svg,1692740441726,91da2ce855be4a8acb1bc8e05fc6ce401971b0a6ad9358dc54fdc2889d861e12 +android-chrome-512x512.png,1692741950000,e7254a1cc92b8b39c470a6446b7512341d14fe08ce18e776cdad2a77f5900a04 +favicon-32x32.png,1692741950000,e3ca2bd8203682486b70449fffb2c906dfa1dba97d82d6019536b06b7b152b4e +site.webmanifest,1692741950000,378695d4af8bdaf357a5e2404faa02cc43fde62b92e2cb35f19e143dea1a1816 +icon.png,1692741950000,e3d1ebe94804b1d898f9d6d7ca08ae5095e0720cf213a5cfddc002402bc13f5a +assets/index-8cbd223c.js,1692740441727,1e5dd08ecfc7e5247532eff59c0bb8c1b25c303d4e711fdc1ed6d273f26a7984 diff --git a/index.html b/index.html index a138254..77a1e93 100644 --- a/index.html +++ b/index.html @@ -14,7 +14,7 @@ diff --git a/src/@types/styles.d.ts b/src/@types/styles.d.ts index 6910caa..c70e093 100644 --- a/src/@types/styles.d.ts +++ b/src/@types/styles.d.ts @@ -3,6 +3,7 @@ import { defaultTheme } from '../styles/themes/default' type ThemeType = typeof defaultTheme +// intelisense will be able to show my theme types from this file. declare module 'styled-components' { export interface DefaultTheme extends ThemeType {} } diff --git a/src/App.css b/src/App.css index b9d355d..8b13789 100644 --- a/src/App.css +++ b/src/App.css @@ -1,42 +1 @@ -#root { - max-width: 1280px; - margin: 0 auto; - padding: 2rem; - text-align: center; -} -.logo { - height: 6em; - padding: 1.5em; - will-change: filter; - transition: filter 300ms; -} -.logo:hover { - filter: drop-shadow(0 0 2em #646cffaa); -} -.logo.react:hover { - filter: drop-shadow(0 0 2em #61dafbaa); -} - -@keyframes logo-spin { - from { - transform: rotate(0deg); - } - to { - transform: rotate(360deg); - } -} - -@media (prefers-reduced-motion: no-preference) { - a:nth-of-type(2) .logo { - animation: logo-spin infinite 20s linear; - } -} - -.card { - padding: 2em; -} - -.read-the-docs { - color: #888; -} diff --git a/src/App.tsx b/src/App.tsx index 99c2dc4..4cf07b8 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -14,8 +14,9 @@ export function App() { - ) } + +// switch default with light using state change (button) diff --git a/src/components/Button.styles.ts b/src/components/Button.styles.ts index c991879..5960f91 100644 --- a/src/components/Button.styles.ts +++ b/src/components/Button.styles.ts @@ -20,7 +20,7 @@ export const ButtonContainer = styled.button` border: 0; margin: 8px; - background-color: ${(props) => props.theme['green-500']}; + background-color: ${(props) => props.theme.white}; color: ${(props) => props.theme.white}; /* ${(props) => css` diff --git a/src/components/Header/index.tsx b/src/components/Header/index.tsx index 47f8bc1..322f17f 100644 --- a/src/components/Header/index.tsx +++ b/src/components/Header/index.tsx @@ -5,7 +5,11 @@ import { NavLink } from 'react-router-dom' export function Header() { return ( - Beautiful Red Apple + Coolest Chimp logo smiling to you