Building 70 Projects ranging from beginner to advanced so anyone can β learn from, build upon, use as a reference, or even copy directly. Owned by my cybersecurity company π
Go aicertificationcloud-engineeringcybercybersecuritycybersecurity-analystcybersecurity-certificationcybersecurity-certificationscybersecurity-educationcybersecurity-jobscybersecurity-portfoliocybersecurity-projectscybersecurity-toolsgrchackinglearningpentestingproject-repositoryprojetcspython
// ===================
// Β© AngelaMos | 2025
// _tokens.scss
// ===================
// ============================================================================
// SPACING (8px base system)
// ============================================================================
$space-0: 0;
$space-px: 1px;
$space-0-5: 0.125rem;
$space-1: 0.25rem;
$space-1-5: 0.375rem;
$space-2: 0.5rem;
$space-2-5: 0.625rem;
$space-3: 0.75rem;
$space-3-5: 0.875rem;
$space-4: 1rem;
$space-5: 1.25rem;
$space-6: 1.5rem;
$space-7: 1.75rem;
$space-8: 2rem;
$space-9: 2.25rem;
$space-10: 2.5rem;
$space-11: 2.75rem;
$space-12: 3rem;
$space-14: 3.5rem;
$space-16: 4rem;
$space-20: 5rem;
$space-24: 6rem;
$space-28: 7rem;
$space-32: 8rem;
// ============================================================================
// TYPOGRAPHY SCALE
// ============================================================================
$font-size-3xs: 0.625rem;
$font-size-2xs: 0.6875rem;
$font-size-xs: 0.75rem;
$font-size-sm: 0.875rem;
$font-size-base: 1rem;
$font-size-lg: 1.125rem;
$font-size-xl: 1.25rem;
$font-size-2xl: 1.5rem;
$font-size-3xl: 1.875rem;
$font-size-4xl: 2.25rem;
$font-size-5xl: 3rem;
// ============================================================================
// FONT WEIGHTS
// ============================================================================
$font-weight-regular: 400;
$font-weight-medium: 500;
$font-weight-semibold: 600;
// ============================================================================
// LINE HEIGHTS
// ============================================================================
$line-height-none: 1;
$line-height-tight: 1.2;
$line-height-snug: 1.375;
$line-height-normal: 1.5;
$line-height-relaxed: 1.625;
// ============================================================================
// LETTER SPACING
// ============================================================================
$tracking-tighter: -0.05em;
$tracking-tight: -0.025em;
$tracking-normal: 0;
$tracking-wide: 0.025em;
$tracking-wider: 0.05em;
// ============================================================================
// COLORS
// ============================================================================
$white: hsl(0, 0%, 100%);
$black: hsl(0, 0%, 0%);
// Auth
$bg-page: hsl(0, 0%, 10.5%);
$bg-card: hsl(0, 0%, 6.2%);
// Home/landing
$bg-landing: hsl(0, 0%, 10.8%);
$bg-default: hsl(0, 0%, 7.1%);
$bg-alternative: hsl(0, 0%, 5.9%);
$bg-surface-75: hsl(0, 0%, 9%);
$bg-surface-100: hsl(0, 0%, 12.2%);
$bg-surface-200: hsl(0, 0%, 14.1%);
$bg-surface-300: hsl(0, 0%, 16.1%);
$bg-control: hsl(0, 0%, 10%);
$bg-selection: hsl(0, 0%, 19.2%);
$bg-overlay: hsl(0, 0%, 14.1%);
$bg-overlay-hover: hsl(0, 0%, 18%);
$border-muted: hsl(0, 0%, 11.1%);
$border-default: hsl(0, 0%, 18%);
$border-strong: hsl(0, 0%, 22.4%);
$border-stronger: hsl(0, 0%, 27.1%);
$border-control: hsl(0, 0%, 22.4%);
$text-default: hsl(0, 0%, 98%);
$text-light: hsl(0, 0%, 70.6%);
$text-lighter: hsl(0, 0%, 53.7%);
$text-muted: hsl(0, 0%, 30.2%);
$error-default: hsl(0, 72%, 51%);
$error-light: hsl(0, 72%, 65%);
// ============================================================================
// BORDER RADIUS
// ============================================================================
$radius-none: 0;
$radius-xs: 2px;
$radius-sm: 4px;
$radius-md: 6px;
$radius-lg: 8px;
$radius-xl: 12px;
$radius-full: 9999px;
// ============================================================================
// Z-INDEX SCALE
// ============================================================================
$z-hide: -1;
$z-base: 0;
$z-dropdown: 100;
$z-sticky: 200;
$z-fixed: 300;
$z-overlay: 400;
$z-modal: 500;
$z-popover: 600;
$z-tooltip: 700;
$z-toast: 800;
$z-max: 9999;
// ============================================================================
// TRANSITIONS
// ============================================================================
$duration-instant: 0ms;
$duration-fast: 100ms;
$duration-normal: 150ms;
$duration-slow: 200ms;
$ease-out: cubic-bezier(0, 0, 0.2, 1);
$ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
// ============================================================================
// BREAKPOINTS
// ============================================================================
$breakpoint-xs: 360px;
$breakpoint-sm: 480px;
$breakpoint-md: 768px;
$breakpoint-lg: 1024px;
$breakpoint-xl: 1280px;
$breakpoint-2xl: 1536px;
// ============================================================================
// CONTAINER WIDTHS
// ============================================================================
$container-xs: 20rem;
$container-sm: 24rem;
$container-md: 28rem;
$container-lg: 32rem;
$container-xl: 36rem;
$container-2xl: 42rem;
$container-full: 100%;
// ============================================================================
// ETHOS TOKENS β operator-grade dashboard surface.
// Per docs/design/ethos-reference.md (also mirrored in _ethos.scss).
// Used by /pages/dashboard/, /pages/globe/, /pages/panels/. NOT used by
// auth pages β those keep the template's SCSS variables above.
// ============================================================================
@import 'ethos';
:root {
// Background tiers
--bg: #0a0a0a; // very dark neutral, NOT pure black
--bg-panel: #0f0f0f; // panel surface, one tier lighter
--bg-row-hover: #141414; // table-row hover, subtle (no interactive theatre)
// Text tiers (3 + 1 muted/border)
--fg-1: #e8e4dc; // primary (warm near-white)
--fg-2: #b3aea4; // secondary (warm gray, labels/axes/headers)
--fg-3: #7a7368; // muted (warm gray, timestamps/footnotes)
--fg-4: #2e2e2e; // borders / lines (panel chrome)
// Rule weights β used for anchoring panel headers above panel borders.
// --rule-strong is intentionally brighter than --fg-4 so the hairline under
// a panel title reads as the start of a new section.
--rule-strong: #4a4a4a;
// Accents β ONE green, ONE amber. That is all.
--ok: #4ade80; // live / healthy / busy
--amber: #f59e0b; // stale / breached / anomaly. NEVER for decoration.
--amber-fg: #1a1a1a; // near-black text-on-amber pairing (alert banner only)
// Type β Inter for everything; Geist Mono for IDs / IPs / ports / coords only
--font-sans: "Inter Variable", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
--font-mono: "Geist Mono", ui-monospace, "SF Mono", "Cascadia Code", monospace;
// Density β asymmetric padding (more horizontal, less vertical)
--row-py: 3px;
--row-px: 12px;
--line-height-tight: 1.35;
--letter-spacing-label: 0.09em;
// Sizes β intentionally smaller than SaaS defaults for operator density
--type-body: 10px;
--type-label: 10px; // panel titles (UPPERCASE)
--type-col: 9.5px; // column headers (UPPERCASE, dim)
--type-meta: 10px; // source attribution / footnotes
--type-num-l: 18px; // KPI numbers
--type-num-xl: 22px; // hero KPI numbers (rare; only top-of-panel)
// Categorical accent colors β used ONLY on panel-header left edges
// Carries taxonomy (which event type), never decoration of data.
--accent-bgp: #ef4444; // red β hijacks
--accent-outage: #fb923c; // orange β outages
--accent-kev: #d946ef; // magenta β exploited CVEs
--accent-ransomware: #facc15; // yellow β victims
--accent-dshield: #38bdf8; // blue β mass scan
--accent-quake: #a78bfa; // purple β earthquakes
--accent-iss: #4ade80; // green β ISS / live
--accent-spacewx: #4ade80; // green β space weather
--accent-cve: #d946ef; // magenta β CVE velocity
--accent-wiki: #2dd4bf; // teal β news
--accent-btc: #f7931a; // bitcoin orange
--accent-eth: #8b9eff; // ethereum periwinkle
// Layout β fixed panel column width (spec Β§11.1)
--col-panel-width: 320px;
}