diff --git a/product-preview-card-component/index.html b/product-preview-card-component/index.html index 029b44e..f999232 100644 --- a/product-preview-card-component/index.html +++ b/product-preview-card-component/index.html @@ -15,6 +15,14 @@ .attribution a { color: hsl(228, 45%, 44%); } + + + + + diff --git a/product-preview-card-component/src/main.ts b/product-preview-card-component/src/main.ts index e69de29..aa3357b 100644 --- a/product-preview-card-component/src/main.ts +++ b/product-preview-card-component/src/main.ts @@ -0,0 +1 @@ +import './style.css'; diff --git a/product-preview-card-component/src/style.css b/product-preview-card-component/src/style.css index b528b6c..134ee59 100644 --- a/product-preview-card-component/src/style.css +++ b/product-preview-card-component/src/style.css @@ -1,97 +1,24 @@ +/* ----------------------------------------------------------------------------------- &root ---- */ + +/* desktop width: 1440px */ + :root { - font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif; - line-height: 1.5; - font-weight: 400; + --c-dark-cyan: 158, 36%, 37%; + --c-cream: 30, 38%, 92%; - color-scheme: light dark; - color: rgba(255, 255, 255, 0.87); - background-color: #242424; + --c-dark-blue: 212, 21%, 14%; + --c-gray-blue: 228, 12%, 48%; - font-synthesis: none; - text-rendering: optimizeLegibility; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; - -webkit-text-size-adjust: 100%; -} + --t-family-body: 'Montserrat'; + --t-weight-body: 500; + --t-weight-body-bold: 700; -a { - font-weight: 500; - color: #646cff; - text-decoration: inherit; -} -a:hover { - color: #535bf2; + --t-family-display: 'Fraunces'; + --t-weight-display: 700; + + font-size: 14px; } body { - margin: 0; - display: flex; - place-items: center; - min-width: 320px; - min-height: 100vh; -} - -h1 { - font-size: 3.2em; - line-height: 1.1; -} - -#app { - 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.vanilla:hover { - filter: drop-shadow(0 0 2em #3178c6aa); -} - -.card { - padding: 2em; -} - -.read-the-docs { - color: #888; -} - -button { - border-radius: 8px; - border: 1px solid transparent; - padding: 0.6em 1.2em; - font-size: 1em; - font-weight: 500; - font-family: inherit; - background-color: #1a1a1a; - cursor: pointer; - transition: border-color 0.25s; -} -button:hover { - border-color: #646cff; -} -button:focus, -button:focus-visible { - outline: 4px auto -webkit-focus-ring-color; -} - -@media (prefers-color-scheme: light) { - :root { - color: #213547; - background-color: #ffffff; - } - a:hover { - color: #747bff; - } - button { - background-color: #f9f9f9; - } + font-size: 1rem; } diff --git a/product-preview-card-component/src/typescript.svg b/product-preview-card-component/src/typescript.svg deleted file mode 100644 index d91c910..0000000 --- a/product-preview-card-component/src/typescript.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file