PHPackages                             trive/theme-frontend-strive - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. trive/theme-frontend-strive

ActiveMagento2-module

trive/theme-frontend-strive
===========================

PostCSS Magento 2 system

1.1.0(8y ago)201.1k7[3 issues](https://github.com/trive-digital/Strive/issues)MITCSS

Since Oct 25Pushed 8y ago4 watchersCompare

[ Source](https://github.com/trive-digital/Strive)[ Packagist](https://packagist.org/packages/trive/theme-frontend-strive)[ RSS](/packages/trive-theme-frontend-strive/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (1)Versions (12)Used By (0)

STRIVE
======

[](#strive)

PostCSS Magento 2 system.

Requirements
------------

[](#requirements)

1. [Magento 2 CE](https://magento.com/products/community-edition) installed
2. [NodeJS](http://nodejs.org/) (with npm package manager)
3. [GulpJS](https://github.com/gulpjs/gulp) `$ npm install -g gulp` (sudo may be needed for mac users)

Installation
------------

[](#installation)

1. Install via Composer: `composer require trive/theme-frontend-strive` or clone this repository under Magento /app/design/frontend/Trive/blank folder &amp; [StriveGulpTool](https://github.com/trive-digital/StriveGulpTool) inside Magento\_root/strive-gulp folder.
2. `bin/magento setup:upgrade`
3. `bin/magento setup:static-content:deploy`
4. Install node\_modules with `npm install` or `yarn` inside strive-gulp folder
5. Set up Gulp file paths inside gulpfile.

Features &amp; Usage
--------------------

[](#features--usage)

- Fast css compilation thanks to PostCSS
- PostCSS theme fallback / child theme support
- Small (as possible) set of PostCSS base styles and settings needed to get a working development system. Hey, it looks somehow like a Magento base theme, right? ;)
- [BrowserSync](https://www.browsersync.io/) - instant css injecting into browser &amp; weinre support
- Theme static content is watched &amp; transferred directly into pub/static via Gulp. No need to use Magento content deploy during development.
- Added gulp clean and deploy tasks. If there is a need, `gulp clean` will remove everything in `var/cache`, `var/generation`, `var/view_preprocessed` &amp; `pub/static` folder (Except .htaccess, magento blank &amp; magento luma theme) and `gulp deploy` will deploy Magento static content (short of `bin/magento setup:static-content:deploy`).
- PostCSS plugins used on Strive (check [npmjs](https://www.npmjs.com/) for usage):
- [postcss-import](https://www.npmjs.com/package/postcss-import) - PostCSS plugin to transform @import rules by inlining content.
- [postcss-simple-vars](https://www.npmjs.com/package/postcss-simple-vars) - PostCSS plugin for Sass-like variables
- [postcss-extend](https://www.npmjs.com/package/postcss-extend) - As close to cssnext @extend as possible for PostCSS
- [postcss-nested](https://www.npmjs.com/package/postcss-nested) - PostCSS plugin to unwrap nested rules like how Sass does it.
- [autoprefixer](https://www.npmjs.com/package/autoprefixer) - Parse CSS and add vendor prefixes to CSS rules using values from the Can I Use website
- [cssnano](https://www.npmjs.com/package/cssnano) - A modular minifier, built on top of the PostCSS ecosystem.
- [css-mqpacker](https://www.npmjs.com/package/css-mqpacker) - Pack same CSS media query rules into one media query rule.
- [postcss-mixins](https://www.npmjs.com/package/postcss-mixins) - PostCSS plugin for mixins
- [lost](https://www.npmjs.com/package/lost) - LostGrid is a powerful grid system built in PostCSS that works with any preprocessor and even vanilla CSS.
- [postcss-responsive-type](https://www.npmjs.com/package/postcss-responsive-type) - PostCSS plugin that adds responsive magic to font-size
- [postcss-custom-media](https://www.npmjs.com/package/postcss-custom-media) - PostCSS plugin to transform W3C CSS Custom Media Queries to more compatible CSS
- [postcss-color-function](https://www.npmjs.com/package/postcss-color-function) - PostCSS plugin to transform W3C CSS color function to more compatible CSS.

Gulp
----

[](#gulp)

### Creating a child theme

[](#creating-a-child-theme)

Gulpfile paths.cssSrc would be 'app/design/fronted/Trive/theme-name' and paths.cssDest: 'pub/static/frontend/Trive/theme-name/'. Child theme will need to have styles.css and settings.css inside the same folder structure like Strive (web/src/preCSS/), so it'll be needed to copy those two files from Trive/blank to child theme.

### Override css files

[](#override-css-files)

'postcss-import' looks for imported css files inside Trive/theme-name and if it can't find them here, it'll look into Trive/blank. To override existing blank theme css file, add css file with same name and path in child theme. postcss-import will take it instead of Trive/blank css.

File override example: Trive/blank/web/src/preCSS/theme/icons.css -&gt; Trive/theme-name/web/src/preCSS/theme/icons.css

### Gulp Tasks

[](#gulp-tasks)

- `gulp` - Default gulp task (runs 'css', 'static', 'watch' &amp; 'browser-sync' tasks). It watches css, html, images &amp; js files. Browser-sync injects css file into the browser. These files, if changed, are auto transferred from theme to pub/static folder, so deployment of Magento static content would not be needed. Gulp-watch package is added to gulpfile so newly added files are watched also. This means it's not needed to restart gulp task anymore.
- `gulp clean` - Removes everything in `var/cache`, `var/generation`, `var/view_preprocessed` &amp; `pub/static` folder (Except .htaccess, magento blank &amp; magento luma theme)
- `gulp deploy` - It's a short of `bin/magento setup:static-content:deploy`. There is no problem to use longer option either :)

#### Update

[](#update)

- `gulp upgrade` - Short of 'bin/magento setup:upgrade'
- `gulp deploy` - Excluded Magento/blank &amp; Mageto/luma by default. Faster deployment this way...

Demo
----

[](#demo)

Working demo of Strive can be checked here:

###  Health Score

35

—

LowBetter than 79% of packages

Maintenance17

Infrequent updates — may be unmaintained

Popularity25

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity70

Established project with proven stability

 Bus Factor1

Top contributor holds 75% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~38 days

Recently: every ~88 days

Total

11

Last Release

3095d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/1dad9ddc0122cb97e77adbb64d0540032329a4807eb3b59a417d04a64d1e30fd?d=identicon)[chombe](/maintainers/chombe)

![](https://www.gravatar.com/avatar/eec176f11a945fc2bcb9e288c3b48eecdbd549a31b9a835d95c89949e0afa78d?d=identicon)[bonus](/maintainers/bonus)

---

Top Contributors

[![Vedrana44](https://avatars.githubusercontent.com/u/14275446?v=4)](https://github.com/Vedrana44 "Vedrana44 (3 commits)")[![zeljkoprsa](https://avatars.githubusercontent.com/u/10166?v=4)](https://github.com/zeljkoprsa "zeljkoprsa (1 commits)")

### Embed Badge

![Health badge](/badges/trive-theme-frontend-strive/health.svg)

```
[![Health](https://phpackages.com/badges/trive-theme-frontend-strive/health.svg)](https://phpackages.com/packages/trive-theme-frontend-strive)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
