sprintive / seeds
Kickoff distro for SME's, Curated by Sprintive
Installs: 12 171
Dependents: 1
Suggesters: 0
Security: 0
Stars: 2
Watchers: 2
Forks: 0
Type:drupal-profile
Requires
- php: >=8.3
- composer/composer: ^2
- cweagans/composer-patches: 1.7.3
- drupal/coder: *
- drupal/core: 11.2.2
- drupal/core-composer-scaffold: ^10.0
- drupal/seeds_administration: ^2.0
- drupal/seeds_development: ^1.0
- drupal/seeds_editor: ^1.1
- drupal/seeds_layouts: ^2.0
- drupal/seeds_media: ^1.0
- drupal/seeds_page: ^1.0
- drupal/seeds_performance: ^1.0
- drupal/seeds_pollination: ^1.0
- drupal/seeds_security: ^2.0
- drupal/seeds_seo: ^2.0
- drupal/seeds_toolbar: ^2.0
- drupal/seeds_ui: ^1.0
- drush/drush: ^13.3.3
Conflicts
- 13.0.x-dev / 13.0.x-dev
- 13.0.9
- 13.0.8
- 13.0.7
- 12.2.x-dev
- 12.2.18
- 12.2.16
- 12.2.15
- 12.2.13
- 11.5.4
- 11.2.14
- 11.2.12
- 11.2.9
- 11.1.2
- 11.1.1
- 11.1.0
- 11.0.0
- 9.1.0
- 9.1.0-beta1
- 9.1.0-alpha1
- 9.0.0
- 8.10.0-alpha2
- 8.10.0-alpha1
- 8.9.27
- 8.9.26
- 8.9.25
- 8.9.24
- 8.9.23
- 8.9.22
- 8.9.21
- 8.9.20
- 8.9.19
- 8.9.18
- 8.9.17
- 8.9.15
- 8.9.14
- 8.9.13
- 8.9.12
- 8.9.11
- 8.9.10
- 8.9.9
- 8.9.8
- 8.9.7
- 8.9.6
- 8.9.5
- 8.9.4
- 8.9.3
- 8.9.2
- 8.9.1
- 8.9.0
- 8.8.4
- 8.8.2
- 8.8.1
- 8.7.3
- 8.7.2
- 8.7.1
- 8.7.0
- 8.6.23
- 8.6.22
- 8.6.21
- 8.6.20
- 8.6.19
- 8.6.18
- 8.6.17
- 8.6.16
- 8.6.15
- 8.6.14
This package is auto-updated.
Last update: 2025-07-15 06:05:58 UTC
README
Seeds: Kickoff distribution for SMEs
Light distribution to kick off all projects regardless scale, you can use it to speed up your projects.
Pre-packaged Feature Modules
Seeds includes a curated set of modules organized into functional bundles to enhance site building, administration, performance, and content experience:
- Seeds Dashboard: A control panel to help site administrators manage key features easily.
- Seeds Security: Installs and configures essential security modules.
- Seeds SEO: Adds modules and settings to optimize your site's visibility in search engines.
- Seeds Performance: Integrates performance-related modules to boost speed and caching.
- Seeds Media: Improves media management and the file uploading experience.
- Seeds Editor: Pre-configured CKEditor setups tailored for various content needs.
- Seeds Administration: Installs tools for smoother site building and backend management.
- Seeds Helper: Adds handy tools and developer utilities to streamline your workflow.
- Seeds Layout: Enhances the Layout Builder with extended features and flexibility.
- Seeds Widgets: Provides ready-made content blocks for a richer content authoring experience.
- Seeds Pollination: Enriches the Drupal core with extended user and editorial capabilities.
- Seeds UI: Provides a modern, responsive, and customizable Drupal theme based on best practices. Seeds UI includes a flexible grid system, RFS-based typography, utility mixins, and a robust component library to accelerate front-end development and ensure a consistent user experience.
Seeds UI Developer Guide
Migration from Seeds Coat
Important: Seeds UI is replacing Seeds Coat in the Seeds distribution.
- Seeds UI is now the default theme in Seeds distro
- Seeds Coat has been removed from the distribution
- If you want to continue using Seeds Coat, you must download it separately
External Library Integration
Seeds UI automatically loads default styles from an external library:
"dependencies": { "seeds_ui": "git+ssh://git@github.com:sprintive/seeds_ui#1.x" }
This external package provides:
- Default styling system - Base styles and components
- Grid system - Bootstrap-compatible layout system
- Responsive mixins - Breakpoint and utility mixins
- Typography system - RFS responsive font sizing
When you run npm install
, this external library is automatically installed in node_modules/seeds_ui/
and provides the foundation styles that your subtheme extends.
Creating a Subtheme
Quick Setup with Automated Script
cd /path/to/drupal/themes/contrib/seeds_ui
bash scripts/create_subtheme.sh
Follow prompts for:
- Machine name:
my_custom_theme
- Display name:
My Custom Theme
- Destination:
/path/to/drupal/themes/custom
Script handles:
- ✅ File copying and renaming
- ✅ Configuration updates
- ✅ npm install and build
- ✅ Drush theme enable
Subtheme File Structure
After creation, your subtheme will have:
my_custom_theme/
├── scss/
│ ├── style.scss # Main SASS entry
│ ├── _base.scss # Variables and mixins
│ ├── _variables.scss # Custom variables
│ ├── _mixin.scss # Available mixins
│ ├── _elements.scss # Element styling
│ ├── _blocks.scss # Block styling
│ ├── _layout.scss # Layout styling
│ └── _overrides.scss # Override base theme
├── css/
│ └── style.css # Compiled CSS
├── js/
│ └── custom.js # Custom JavaScript
└── config/ # Theme configurations
Styling with SASS
SASS File Organization
Seeds UI imports default styles from the external library:
// Main SASS entry point imports external library @import "../node_modules/seeds_ui/scss/style.scss";
In your subtheme, organize SASS files as follows:
// scss/style.scss - Main entry point @use "base" as *; // Variables and mixins @use "elements"; // HTML elements @use "blocks"; // Drupal blocks @use "layout"; // Layout styling @use "overrides"; // Base theme overrides
Variables Configuration
Define custom variables in scss/_variables.scss
:
// Color palette $primary-color: #4f4f4d; $secondary-color: #007bff; $white: #fff; $black: #000; // Typography $font-family-base: 'Helvetica Neue', sans-serif; $font-size-base: 1rem; $line-height-base: 1.5; // Spacing $spacer: 1rem; $border-radius: 0.375rem; // Breakpoints $grid-breakpoint-xs: 0; $grid-breakpoint-sm: 576px; $grid-breakpoint-md: 768px; $grid-breakpoint-lg: 992px; $grid-breakpoint-xl: 1200px;
Build Commands
# Development with watching npm run watch # Production build npm run css # Individual steps npm run css-compile # SASS → CSS npm run css-prefix # Add vendor prefixes npm run css-rtl # Generate RTL versions npm run css-minify # Minify for production
Enabling RTL Styling
RTL (Right-to-Left) support is automatically handled by Seeds UI's build system.
Automatic RTL Generation
When you run npm run css
, the system:
- Compiles your SASS to standard CSS
- Processes with RTLCss to flip directional properties
- Generates RTL versions with
.rtl.css
suffix - Creates minified versions for production
RTL Output Files
dist/css/
├── style.css # LTR development
├── style.min.css # LTR production
├── style.rtl.css # RTL development
├── style.rtl.min.css # RTL production
RTL-Specific Styling
For manual RTL adjustments, use direction-specific properties:
.my-component { margin-left: 1rem; // Auto-flipped to margin-right in RTL // Manual RTL override [dir="rtl"] & { margin-left: 0; margin-right: 2rem; // Custom RTL spacing } }
Testing RTL
- Enable RTL language in Drupal (Arabic, Hebrew)
- RTL stylesheets auto-load based on language direction
- Test components in both LTR and RTL modes
- Adjust as needed using direction-specific selectors
Available SASS Mixins
Subtheme Mixins (scss/_mixin.scss
)
@include image-shadow()
- Adds shadow overlay to images@include equal-height()
- Creates equal height flex containers@include inline-form($gutter, $break)
- Inline form layouts@include form($gutter, $min-width)
- Multi-column forms@include fontawesome($content, $pseudo)
- FontAwesome icons@include responsive-image-blazy($lg, $md, $sm)
- Aspect ratio for responsive images%center
- Absolute center positioning%absolute-full
- Full absolute positioning%blazy-image
- Blazy image setup
Core Mixins (node_modules/seeds_ui/scss/mixins/
)
Responsive Breakpoints
@include media-breakpoint-min($breakpoint)
- Min-width media queries@include media-breakpoint-max($breakpoint)
- Max-width media queries@include media-breakpoint-between($lower, $upper)
- Between breakpoints@include media-breakpoint-only($breakpoint)
- Single breakpoint only
Available breakpoints: xs
(0px), sm
(576px), md
(768px), lg
(992px), xl
(1200px), xxl
(1400px)
Grid System
@include make-row($gutter)
- Custom grid rows@include make-col($size)
- Custom grid columns@include make-col-auto()
- Auto-width columns@include make-col-offset($size)
- Column offsets@include row-cols($count)
- Equal-width children
Layout & Styling
@include make-container($gutter)
- Custom containers@include border-radius($radius)
- Border radius@include border-top-radius($radius)
- Top border radius@include border-bottom-radius($radius)
- Bottom border radius@include img-fluid()
- Responsive images (max-width: 100%)@include reset-text()
- Reset text styling
Responsive Font Sizes (RFS)
Seeds UI uses RFS (Responsive Font Size) for fluid typography that scales with viewport size.
RFS Mixins
@include font-size($size)
- Responsive font sizing that scales down on smaller screens@include rfs($value, $property: font-size)
- Advanced RFS with custom property
Configuration Variables
$rfs-minimum-font-size
- Minimum font size (default: 1rem)$rfs-factor
- Scaling factor (default: 10)$rfs-breakpoint
- Breakpoint for scaling (default: 1200px)$rfs-two-dimensional
- Enable height-based scaling (default: false)
Disable bootstrap container in certian content types
Go to /admin/structure/types
, Click edit on a content type. You will be met with various settings. At the bottom, you will see Container settings
, Navigate there and enable Fluid container
to disable the bootstrap container.
Override blazy loader
Go to /admin/config/seeds_media
. You will see blazy settings. Check the Override blazy loader?
then set the background image and color to something you like, hit save and flush the cache, you should see the loader takes a different appearence.
Set default medias
We also provide a neat feature, you can set some default medias to not allow accidental edits by the client. Simply, go edit any media, you will see at the bottom a checkbox, Default media
, check it and save, now only users with Bypass Default Media Access
permission can edit the media.
Sponsored and developed by:
Sprintive is a web solution provider which transform ideas into realities, where humans are the center of everything, and Drupal is the heart of our actions, it has built and delivered Drupal projects focusing on a deep understanding of business goals and objective to help companies innovate and grow.