From 071be0eaa53d81b7f76ce05210e65535b6ec1891 Mon Sep 17 00:00:00 2001 From: Nate Kelley Date: Fri, 28 Feb 2025 13:13:59 -0700 Subject: [PATCH] tailwind update --- .../BusterListSelectedOptionPopupContainer.tsx | 1 - web/src/styles/styles.scss | 6 ------ web/src/styles/tailwind.css | 4 +++- 3 files changed, 3 insertions(+), 8 deletions(-) diff --git a/web/src/components/ui/list/BusterList/BusterListSelectedOptionPopup/BusterListSelectedOptionPopupContainer.tsx b/web/src/components/ui/list/BusterList/BusterListSelectedOptionPopup/BusterListSelectedOptionPopupContainer.tsx index 2f89d8048..3bbdd98a4 100644 --- a/web/src/components/ui/list/BusterList/BusterListSelectedOptionPopup/BusterListSelectedOptionPopupContainer.tsx +++ b/web/src/components/ui/list/BusterList/BusterListSelectedOptionPopup/BusterListSelectedOptionPopupContainer.tsx @@ -3,7 +3,6 @@ import { Text } from '@/components/ui'; import { useAntToken } from '@/styles/useAntToken'; import { createStyles } from 'antd-style'; import React from 'react'; -import { AnimatePresence, motion } from 'framer-motion'; import { PopupContainer, PopupSplitter } from '@/components/ui/popup/PopupContainer'; export const BusterListSelectedOptionPopupContainer: React.FC<{ diff --git a/web/src/styles/styles.scss b/web/src/styles/styles.scss index f0ca68fae..962054fb9 100644 --- a/web/src/styles/styles.scss +++ b/web/src/styles/styles.scss @@ -35,8 +35,6 @@ html, body { background-color: #f3f3f3; min-width: 800px; - - // background-color: #f8f8f8; // @media (prefers-color-scheme: dark) { // background-color: #000000; // color: #ffffff; @@ -50,7 +48,3 @@ body { p { @apply text-base leading-[1.2]; } - -* { - @apply text-base; -} diff --git a/web/src/styles/tailwind.css b/web/src/styles/tailwind.css index ccf25187b..c223fcf72 100644 --- a/web/src/styles/tailwind.css +++ b/web/src/styles/tailwind.css @@ -98,6 +98,8 @@ --color-text-tertiary: var(--color-gray-light); --color-text-danger: var(--color-danger-foreground); --color-text-primary: var(--color-primary); + + --spacing: 4px; } @import './tailwindAnimations.css'; @@ -107,6 +109,6 @@ @apply border-border outline-ring/50; } body { - @apply bg-background text-foreground; + @apply bg-background text-foreground text-base; } }