Initial commit
This commit is contained in:
125
theme/globals.css
Normal file
125
theme/globals.css
Normal file
@@ -0,0 +1,125 @@
|
||||
@import "tailwindcss";
|
||||
@import "./stylesheet.css";
|
||||
|
||||
/*
|
||||
* CSS Variables - Single Source of Truth
|
||||
* These variables are placeholders. Override them per project via design_tokens.json
|
||||
*/
|
||||
|
||||
:root {
|
||||
/* Colors - Placeholders */
|
||||
--color-primary: #000000;
|
||||
--color-secondary: #666666;
|
||||
--color-accent: #0066cc;
|
||||
--color-background: #ffffff;
|
||||
--color-foreground: #000000;
|
||||
--color-muted: #f5f5f5;
|
||||
--color-border: #e5e5e5;
|
||||
--color-error: #dc2626;
|
||||
--color-success: #16a34a;
|
||||
--color-warning: #ca8a04;
|
||||
|
||||
/* Typography - Placeholders */
|
||||
--font-sans: system-ui, -apple-system, sans-serif;
|
||||
--font-serif: Georgia, serif;
|
||||
--font-mono: ui-monospace, monospace;
|
||||
|
||||
--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-weight-normal: 400;
|
||||
--font-weight-medium: 500;
|
||||
--font-weight-semibold: 600;
|
||||
--font-weight-bold: 700;
|
||||
|
||||
--line-height-tight: 1.25;
|
||||
--line-height-normal: 1.5;
|
||||
--line-height-relaxed: 1.75;
|
||||
|
||||
/* Spacing - Placeholders */
|
||||
--spacing-xs: 0.25rem;
|
||||
--spacing-sm: 0.5rem;
|
||||
--spacing-md: 1rem;
|
||||
--spacing-lg: 1.5rem;
|
||||
--spacing-xl: 2rem;
|
||||
--spacing-2xl: 3rem;
|
||||
--spacing-3xl: 4rem;
|
||||
|
||||
/* Border Radius - Placeholders */
|
||||
--radius-none: 0;
|
||||
--radius-sm: 0.25rem;
|
||||
--radius-md: 0.5rem;
|
||||
--radius-lg: 1rem;
|
||||
--radius-full: 9999px;
|
||||
|
||||
/* Shadows - Placeholders */
|
||||
--shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
|
||||
--shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
|
||||
--shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
|
||||
--shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1);
|
||||
|
||||
/* Transitions - Placeholders */
|
||||
--duration-fast: 150ms;
|
||||
--duration-normal: 300ms;
|
||||
--duration-slow: 500ms;
|
||||
--easing-default: cubic-bezier(0.4, 0, 0.2, 1);
|
||||
|
||||
/* Z-Index Scale */
|
||||
--z-base: 0;
|
||||
--z-dropdown: 100;
|
||||
--z-sticky: 200;
|
||||
--z-fixed: 300;
|
||||
--z-modal: 400;
|
||||
--z-popover: 500;
|
||||
--z-tooltip: 600;
|
||||
}
|
||||
|
||||
/*
|
||||
* Base Resets
|
||||
*/
|
||||
|
||||
*,
|
||||
*::before,
|
||||
*::after {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
html {
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
text-rendering: optimizeLegibility;
|
||||
}
|
||||
|
||||
body {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
font-family: var(--font-sans);
|
||||
font-size: var(--font-size-base);
|
||||
line-height: var(--line-height-normal);
|
||||
color: var(--color-foreground);
|
||||
background-color: var(--color-background);
|
||||
}
|
||||
|
||||
img,
|
||||
video {
|
||||
max-width: 100%;
|
||||
height: auto;
|
||||
display: block;
|
||||
}
|
||||
|
||||
a {
|
||||
color: inherit;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
button {
|
||||
font: inherit;
|
||||
cursor: pointer;
|
||||
}
|
||||
53
theme/stylesheet.css
Normal file
53
theme/stylesheet.css
Normal file
@@ -0,0 +1,53 @@
|
||||
/*
|
||||
* Stylesheet
|
||||
*
|
||||
* Project-specific styles go here.
|
||||
* This file is imported by globals.css.
|
||||
*
|
||||
* Structure:
|
||||
* 1. Component Styles
|
||||
* 2. Layout Styles
|
||||
* 3. Page-specific Styles
|
||||
* 4. Utility Classes
|
||||
* 5. Animations
|
||||
*/
|
||||
|
||||
/* ==========================================================================
|
||||
1. Component Styles
|
||||
========================================================================== */
|
||||
|
||||
/* Components are added per project */
|
||||
|
||||
/* ==========================================================================
|
||||
2. Layout Styles
|
||||
========================================================================== */
|
||||
|
||||
/* Layout styles are added per project */
|
||||
|
||||
/* ==========================================================================
|
||||
3. Page-specific Styles
|
||||
========================================================================== */
|
||||
|
||||
/* Page styles are added per project */
|
||||
|
||||
/* ==========================================================================
|
||||
4. Utility Classes
|
||||
========================================================================== */
|
||||
|
||||
.visually-hidden {
|
||||
position: absolute;
|
||||
width: 1px;
|
||||
height: 1px;
|
||||
padding: 0;
|
||||
margin: -1px;
|
||||
overflow: hidden;
|
||||
clip: rect(0, 0, 0, 0);
|
||||
white-space: nowrap;
|
||||
border: 0;
|
||||
}
|
||||
|
||||
/* ==========================================================================
|
||||
5. Animations
|
||||
========================================================================== */
|
||||
|
||||
/* Animations are added per project */
|
||||
Reference in New Issue
Block a user