mirror of
https://github.com/prowler-cloud/prowler.git
synced 2025-12-19 05:17:47 +00:00
style(ui): Migrate from Work Sans to Inter font (#8914)
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { Fira_Code as FontMono, Work_Sans as FontSans } from "next/font/google";
|
||||
import { Fira_Code as FontMono, Inter as FontSans } from "next/font/google";
|
||||
|
||||
export const fontSans = FontSans({
|
||||
subsets: ["latin"],
|
||||
|
||||
@@ -1,241 +1,6 @@
|
||||
@import "tailwindcss";
|
||||
@config "../tailwind.config.js";
|
||||
|
||||
@theme {
|
||||
/* Font Families are injected by Next.js from config/fonts.ts */
|
||||
/* --font-sans: Work Sans (from Next.js) */
|
||||
/* --font-mono: Fira Code (from Next.js) */
|
||||
|
||||
/* Text Sizes with Line Heights - Exact from Figma Design System */
|
||||
--text-xs: 0.625rem; /* 10px */
|
||||
--text-xs--line-height: 1.6;
|
||||
--text-sm: 0.75rem; /* 12px */
|
||||
--text-sm--line-height: 1.667;
|
||||
--text-base: 0.875rem; /* 14px */
|
||||
--text-base--line-height: 1.714;
|
||||
--text-lg: 1rem; /* 16px */
|
||||
--text-lg--line-height: 1.75;
|
||||
--text-xl: 1.125rem; /* 18px */
|
||||
--text-xl--line-height: 1.556;
|
||||
--text-2xl: 1.25rem; /* 20px */
|
||||
--text-2xl--line-height: 1.6;
|
||||
--text-3xl: 1.5rem; /* 24px */
|
||||
--text-3xl--line-height: 1.5;
|
||||
--text-4xl: 1.875rem; /* 30px */
|
||||
--text-4xl--line-height: 1.333;
|
||||
--text-5xl: 2.25rem; /* 36px */
|
||||
--text-5xl--line-height: 1.333;
|
||||
--text-6xl: 3rem; /* 48px */
|
||||
--text-6xl--line-height: 1.25;
|
||||
--text-7xl: 3.75rem; /* 60px */
|
||||
--text-7xl--line-height: 1.2;
|
||||
--text-8xl: 4.5rem; /* 72px */
|
||||
--text-8xl--line-height: 1.333;
|
||||
--text-9xl: 6rem; /* 96px */
|
||||
--text-9xl--line-height: 1.333;
|
||||
|
||||
/* Font Weights - Complete Inter Scale */
|
||||
--font-weight-thin: 100;
|
||||
--font-weight-extralight: 200;
|
||||
--font-weight-light: 300;
|
||||
--font-weight-normal: 400;
|
||||
--font-weight-medium: 500;
|
||||
--font-weight-semibold: 600;
|
||||
--font-weight-bold: 700;
|
||||
--font-weight-extrabold: 800;
|
||||
--font-weight-black: 900;
|
||||
|
||||
/* Info & Primary Colors */
|
||||
--color-info: #2e51b2;
|
||||
--color-primary: #2e51b2;
|
||||
|
||||
/* Warning Colors */
|
||||
--color-warning: #fdd34f;
|
||||
--color-warning-emphasis: #ff7d19;
|
||||
|
||||
/* Danger & Destructive Colors */
|
||||
--color-danger: #ff3077;
|
||||
--color-danger-emphasis: #971348;
|
||||
--color-destructive: #db2b49;
|
||||
|
||||
/* Success Colors */
|
||||
--color-success: #86da26;
|
||||
--color-success-emphasis: #20b853;
|
||||
|
||||
/* Provider-specific Colors */
|
||||
--color-orange: #ff9800;
|
||||
--color-cyan: #06b6d4;
|
||||
--color-red: #ef4444;
|
||||
|
||||
/* Accent Colors */
|
||||
--color-magenta: #b51c80;
|
||||
--color-purple-dark: #5f1551;
|
||||
|
||||
/* Chart Card Colors - From Figma */
|
||||
--color-card-bg: #080f23;
|
||||
--color-card-border: #171d30;
|
||||
--color-text-accent: #fface2;
|
||||
--color-page-bg: #1a2034;
|
||||
|
||||
/* Alert Pill Colors */
|
||||
--color-alert-pill-bg: #432232;
|
||||
--color-alert-pill-text: #f54280;
|
||||
|
||||
/* ===========================
|
||||
Border Radius
|
||||
=========================== */
|
||||
|
||||
/* Widget Border Radius - From Figma */
|
||||
--radius-widget: 12px;
|
||||
|
||||
/* White & Black */
|
||||
--color-white: #ffffff;
|
||||
--color-black: #000000;
|
||||
|
||||
/* Slate Scale */
|
||||
--color-slate-50: #f8fafc;
|
||||
--color-slate-100: #f1f5f9;
|
||||
--color-slate-200: #e2e8f0;
|
||||
--color-slate-300: #cbd5e1;
|
||||
--color-slate-400: #94a3b8;
|
||||
--color-slate-500: #64748b;
|
||||
--color-slate-600: #475569;
|
||||
--color-slate-700: #334155;
|
||||
--color-slate-800: #1e293b;
|
||||
--color-slate-900: #0f172a;
|
||||
--color-slate-950: #020617;
|
||||
|
||||
/* Gray Scale */
|
||||
--color-gray-50: #f9fafb;
|
||||
--color-gray-100: #f3f4f6;
|
||||
--color-gray-200: #e5e7eb;
|
||||
--color-gray-300: #d1d5db;
|
||||
--color-gray-400: #9ca3af;
|
||||
--color-gray-500: #6b7280;
|
||||
--color-gray-600: #4b5563;
|
||||
--color-gray-700: #374151;
|
||||
--color-gray-800: #1f2937;
|
||||
--color-gray-900: #111827;
|
||||
--color-gray-950: #030712;
|
||||
|
||||
/* Zinc Scale */
|
||||
--color-zinc-50: #fafafa;
|
||||
--color-zinc-100: #f4f4f5;
|
||||
--color-zinc-200: #e4e4e7;
|
||||
--color-zinc-300: #d4d4d8;
|
||||
--color-zinc-400: #a1a1aa;
|
||||
--color-zinc-500: #71717a;
|
||||
--color-zinc-600: #52525b;
|
||||
--color-zinc-700: #3f3f46;
|
||||
--color-zinc-800: #27272a;
|
||||
--color-zinc-900: #18181b;
|
||||
--color-zinc-950: #09090b;
|
||||
|
||||
/* Stone Scale */
|
||||
--color-stone-50: #fafaf9;
|
||||
--color-stone-100: #f5f5f4;
|
||||
--color-stone-200: #e7e5e4;
|
||||
--color-stone-300: #d6d3d1;
|
||||
--color-stone-400: #a8a29e;
|
||||
--color-stone-500: #78716c;
|
||||
--color-stone-600: #57534e;
|
||||
--color-stone-700: #44403c;
|
||||
--color-stone-800: #292524;
|
||||
--color-stone-900: #1c1917;
|
||||
--color-stone-950: #0c0a09;
|
||||
|
||||
/* Red Scale */
|
||||
--color-red-50: #fef2f2;
|
||||
--color-red-100: #fee2e2;
|
||||
--color-red-200: #fecaca;
|
||||
--color-red-300: #fca5a5;
|
||||
--color-red-400: #f87171;
|
||||
--color-red-500: #ef4444;
|
||||
--color-red-600: #dc2626;
|
||||
--color-red-700: #b91c1c;
|
||||
--color-red-800: #991b1b;
|
||||
--color-red-900: #7f1d1d;
|
||||
--color-red-950: #450a0a;
|
||||
|
||||
/* Rose Scale */
|
||||
--color-rose-50: #fff1f2;
|
||||
--color-rose-100: #ffe4e6;
|
||||
--color-rose-200: #fecdd3;
|
||||
--color-rose-300: #fda4af;
|
||||
--color-rose-400: #fb7185;
|
||||
--color-rose-500: #f43f5e;
|
||||
--color-rose-600: #e11d48;
|
||||
--color-rose-700: #be123c;
|
||||
--color-rose-800: #9f1239;
|
||||
--color-rose-900: #881337;
|
||||
--color-rose-950: #4c0519;
|
||||
|
||||
/* Pink Scale */
|
||||
--color-pink-50: #fdf2f8;
|
||||
--color-pink-100: #fce7f3;
|
||||
--color-pink-200: #fbcfe8;
|
||||
--color-pink-300: #f9a8d4;
|
||||
--color-pink-400: #f472b6;
|
||||
--color-pink-500: #ec4899;
|
||||
--color-pink-600: #db2777;
|
||||
--color-pink-700: #be185d;
|
||||
--color-pink-800: #9d174d;
|
||||
--color-pink-900: #831843;
|
||||
--color-pink-950: #500724;
|
||||
|
||||
/* Fuchsia Scale */
|
||||
--color-fuchsia-50: #fdf4ff;
|
||||
--color-fuchsia-100: #fae8ff;
|
||||
--color-fuchsia-200: #f5d0fe;
|
||||
--color-fuchsia-300: #f0abfc;
|
||||
--color-fuchsia-400: #e879f9;
|
||||
--color-fuchsia-500: #d946ef;
|
||||
--color-fuchsia-600: #c026d3;
|
||||
--color-fuchsia-700: #a21caf;
|
||||
--color-fuchsia-800: #86198f;
|
||||
--color-fuchsia-900: #701a75;
|
||||
--color-fuchsia-950: #4a044e;
|
||||
|
||||
/* Purple Scale */
|
||||
--color-purple-50: #faf5ff;
|
||||
--color-purple-100: #f3e8ff;
|
||||
--color-purple-200: #e9d5ff;
|
||||
--color-purple-300: #d8b4fe;
|
||||
--color-purple-400: #c084fc;
|
||||
--color-purple-500: #a855f7;
|
||||
--color-purple-600: #9333ea;
|
||||
--color-purple-700: #7e22ce;
|
||||
--color-purple-800: #6b21a8;
|
||||
--color-purple-900: #581c87;
|
||||
--color-purple-950: #3b0764;
|
||||
|
||||
/* Violet Scale */
|
||||
--color-violet-50: #f5f3ff;
|
||||
--color-violet-100: #ede9fe;
|
||||
--color-violet-200: #ddd6fe;
|
||||
--color-violet-300: #c4b5fd;
|
||||
--color-violet-400: #a78bfa;
|
||||
--color-violet-500: #8b5cf6;
|
||||
--color-violet-600: #7c3aed;
|
||||
--color-violet-700: #6d28d9;
|
||||
--color-violet-800: #5b21b6;
|
||||
--color-violet-900: #4c1d95;
|
||||
--color-violet-950: #2e1065;
|
||||
|
||||
/* Indigo Scale */
|
||||
--color-indigo-50: #eef2ff;
|
||||
--color-indigo-100: #e0e7ff;
|
||||
--color-indigo-200: #c7d2fe;
|
||||
--color-indigo-300: #a5b4fc;
|
||||
--color-indigo-400: #818cf8;
|
||||
--color-indigo-500: #6366f1;
|
||||
--color-indigo-600: #4f46e5;
|
||||
--color-indigo-700: #4338ca;
|
||||
--color-indigo-800: #3730a3;
|
||||
--color-indigo-900: #312e81;
|
||||
--color-indigo-950: #1e1b4b;
|
||||
}
|
||||
|
||||
@layer base {
|
||||
:root {
|
||||
--chart-success: 146 80% 35%;
|
||||
|
||||
Reference in New Issue
Block a user