From 4ef0734a34fda432838c91fbbd2ffb8466165bda Mon Sep 17 00:00:00 2001 From: yasmin p Date: Tue, 21 May 2024 11:56:21 -0400 Subject: [PATCH] update CSS --- .../templates/app-tw/js/app/globals.css | 15 +-------------- .../templates/app-tw/js/app/page.js | 6 +++--- .../templates/app-tw/js/tailwind.config.js | 5 ----- .../templates/app-tw/ts/app/globals.css | 15 +-------------- .../templates/app-tw/ts/app/page.tsx | 6 +++--- .../templates/app-tw/ts/tailwind.config.ts | 5 ----- .../templates/app/js/app/globals.css | 14 -------------- .../templates/app/js/app/page.module.css | 19 +++++++++++++++++++ .../templates/app/ts/app/globals.css | 14 -------------- .../templates/app/ts/app/page.module.css | 19 +++++++++++++++++++ .../templates/default-tw/js/pages/index.js | 6 +++--- .../default-tw/js/styles/globals.css | 15 +-------------- .../default-tw/js/tailwind.config.js | 5 ----- .../templates/default-tw/ts/pages/index.tsx | 6 +++--- .../default-tw/ts/styles/globals.css | 15 +-------------- .../default-tw/ts/tailwind.config.ts | 5 ----- .../default/js/styles/Home.module.css | 19 +++++++++++++++++++ .../templates/default/js/styles/globals.css | 14 -------------- .../default/ts/styles/Home.module.css | 19 +++++++++++++++++++ .../templates/default/ts/styles/globals.css | 14 -------------- 20 files changed, 92 insertions(+), 144 deletions(-) diff --git a/packages/create-next-app/templates/app-tw/js/app/globals.css b/packages/create-next-app/templates/app-tw/js/app/globals.css index 56a26f512cba4..ba5124dfa58cf 100644 --- a/packages/create-next-app/templates/app-tw/js/app/globals.css +++ b/packages/create-next-app/templates/app-tw/js/app/globals.css @@ -5,30 +5,17 @@ :root { --background: #ffffff; --foreground: #171717; - - --gray-rgb: 0, 0, 0; - --gray-alpha-200: rgba(var(--gray-rgb), 0.08); - --gray-alpha-100: rgba(var(--gray-rgb), 0.05); - - --button-primary-hover: #383838; - --button-secondary-hover: #f2f2f2; } @media (prefers-color-scheme: dark) { :root { --background: #0a0a0a; --foreground: #ededed; - - --gray-rgb: 255, 255, 255; - --gray-alpha-200: rgba(var(--gray-rgb), 0.145); - --gray-alpha-100: rgba(var(--gray-rgb), 0.06); - - --button-primary-hover: #ccc; - --button-secondary-hover: #1a1a1a; } } body { color: var(--foreground); background: var(--background); + font-synthesis: none; } diff --git a/packages/create-next-app/templates/app-tw/js/app/page.js b/packages/create-next-app/templates/app-tw/js/app/page.js index 5e485c044da2a..4bf92ed211e10 100644 --- a/packages/create-next-app/templates/app-tw/js/app/page.js +++ b/packages/create-next-app/templates/app-tw/js/app/page.js @@ -15,7 +15,7 @@ export default function Home() {
  1. Get started by editing{" "} - + app/page.js
  2. @@ -24,7 +24,7 @@ export default function Home() {
  3. Get started by editing{" "} - + app/page.tsx
  4. @@ -24,7 +24,7 @@ export default function Home() {