You've already forked wp-bootstrap
Initial theme scaffolding (v0.0.1)
- Bootstrap 5 CSS/JS integration via Yarn (served locally) - Dart Sass build pipeline with PostCSS, Autoprefixer, cssnano - Twig 3.0 via Composer with PSR-4 autoloading - FSE block theme templates (index, home, single, page, archive, search, 404) - Template parts (header, footer) and block patterns - theme.json with Bootstrap 5-aligned design tokens - Gitea CI/CD workflow for automated release packages - WordPress i18n support (en_US base, de_CH translation) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
42
src/scss/_variables.scss
Normal file
42
src/scss/_variables.scss
Normal file
@@ -0,0 +1,42 @@
|
||||
// Bootstrap variable overrides
|
||||
// These MUST be defined BEFORE importing Bootstrap's variables
|
||||
|
||||
// Colors - matching theme.json palette
|
||||
$white: #FFFFFF;
|
||||
$gray-100: #f8f9fa;
|
||||
$gray-200: #e9ecef;
|
||||
$gray-300: #dee2e6;
|
||||
$gray-400: #ced4da;
|
||||
$gray-500: #adb5bd;
|
||||
$gray-600: #6c757d;
|
||||
$gray-700: #495057;
|
||||
$gray-800: #343a40;
|
||||
$gray-900: #212529;
|
||||
$black: #000000;
|
||||
|
||||
$primary: #0d6efd;
|
||||
$secondary: #6c757d;
|
||||
$success: #198754;
|
||||
$danger: #dc3545;
|
||||
$warning: #ffc107;
|
||||
$info: #0dcaf0;
|
||||
$light: $gray-100;
|
||||
$dark: $gray-800;
|
||||
|
||||
// Layout
|
||||
$container-max-widths: (
|
||||
sm: 540px,
|
||||
md: 720px,
|
||||
lg: 960px,
|
||||
xl: 1140px,
|
||||
xxl: 1320px
|
||||
);
|
||||
|
||||
// Typography - using system fonts (matching theme.json)
|
||||
$font-family-sans-serif: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
|
||||
|
||||
// Enable dark mode
|
||||
$enable-dark-mode: true;
|
||||
|
||||
// Enable reduced motion
|
||||
$enable-reduced-motion: true;
|
||||
Reference in New Issue
Block a user