Skip to content

Commit 08f1592

Browse files
committed
📦 NEW: Replace Tailwind with Cherry Design System
1 parent 62aa359 commit 08f1592

26 files changed

+257
-188
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# Changelog
22

3+
**v0.2.9-24**
4+
- 📦 NEW: Replace Tailwind with [Cherry Design System](https://cherry.design).
5+
36
**v0.2.9-23**
47
- 🚀 RELEASE: Update dependencies.
58

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ https://www.wordpressify.co/
4949
|💽| MariaDB Database |
5050
|🔥| Hot Reload & CSS Injection|
5151
|🎨| PostCSS & Next Generation CSS|
52-
|💨| Tailwind CSS|
52+
|🍒| [Cherry Design System](https://cherry.design)|
5353
|| Babel 7 - ES6 JavaScript|
5454
|✂️| Source Maps|
5555
|🎒| Code Minification|
@@ -269,9 +269,9 @@ Tags: responsive, clean, minimal, modern, documentation
269269
*/
270270
```
271271

272-
**TAILWIND CSS**
272+
**CHERRY DESIGN SYSTEM**
273273

274-
[Tailwind CSS](https://tailwindcss.com/) is a utility-first CSS framework packed with classes like `flex`, `pt-4`, `text-center` and `rotate-90` that can be composed to build any design, directly in your markup. Tailwind comes pre-installed with WordPressify.
274+
[Cherry](https://cherry.design/) is a minimal CSS framework that helps you organize your work from design to implementation.
275275

276276
## Sass
277277
WordPressify is super flexible. You can install Sass and use it as the main CSS preprocessor:

gulpfile.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ PostCSS Plugins
3737
-------------------------------------------------------------------------------------------------- */
3838
const pluginsListDev = [
3939
partialimport,
40-
postCSSMixins,
4140
postcssPresetEnv({
4241
stage: 0,
4342
features: {
@@ -46,7 +45,7 @@ const pluginsListDev = [
4645
'custom-media': true,
4746
},
4847
}),
49-
tailwindcss,
48+
postCSSMixins,
5049
];
5150

5251
const pluginsListProd = [

installer/modules/run.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ module.exports = async () => {
3939
`${upstreamUrl}/LICENSE`,
4040
`${upstreamUrl}/README.md`,
4141
`${upstreamUrl}/gulpfile.js`,
42-
`${upstreamUrl}/tailwind.config.js`,
4342
`${upstreamUrl}/docker-compose.yml`,
4443
`${upstreamUrl}/Dockerfile.in`,
4544
`${upstreamUrl}/installer/package.json`,

installer/package.json

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "wordpressify",
3-
"version": "0.2.9-23",
3+
"version": "0.2.9-24",
44
"description": "A build system designed to automate your WordPress development workflow.",
55
"keywords": [
66
"babel",
@@ -43,8 +43,10 @@
4343
"dependencies": {
4444
"@babel/core": "^7.12.10",
4545
"@babel/preset-env": "^7.12.11",
46-
"beeper": "^2.0.0",
46+
"autoprefixer": "^10.2.1",
47+
"beeper": "^2.1.0",
4748
"browser-sync": "^2.26.13",
49+
"cherry-postcss": "^0.0.1-7",
4850
"cssnano": "^4.1.10",
4951
"del": "^6.0.0",
5052
"dotenv": "^8.2.0",
@@ -59,11 +61,10 @@
5961
"gulp-uglify": "^3.0.2",
6062
"gulp-vinyl-zip": "^2.2.1",
6163
"jquery": "^3.5.1",
62-
"postcss": "^8.2.1",
64+
"postcss": "^8.2.4",
6365
"postcss-easy-import": "^3.0.0",
6466
"postcss-mixins": "^7.0.2",
6567
"postcss-preset-env": "^6.7.0",
66-
"stylelint": "^13.8.0",
67-
"tailwindcss": "^2.0.2"
68+
"stylelint": "^13.8.0"
6869
}
6970
}

package-lock.json

Lines changed: 61 additions & 23 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "wordpressify",
3-
"version": "0.2.9-23",
3+
"version": "0.2.9-24",
44
"description": "A build system designed to automate your WordPress development workflow.",
55
"keywords": [
66
"babel",
@@ -34,7 +34,7 @@
3434
"commander": "^6.2.1",
3535
"download": "^8.0.0",
3636
"execa": "^5.0.0",
37-
"ora": "^5.1.0",
37+
"ora": "^5.2.0",
3838
"prompts": "^2.4.0"
3939
}
4040
}

src/assets/css/style.css

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,7 @@ Description: WordPressify default theme.
88
Version: 1.0
99
Tags: responsive, clean, minimal, modern, wordpressify
1010
*/
11-
@import url('https://fonts.googleapis.com/css?family=Roboto:300,400,500,700&display=swap');
1211

13-
@import 'tailwindcss/base';
14-
@import 'tailwindcss/components';
15-
@import 'tailwindcss/utilities';
12+
@import "cherry-postcss/src/cherry.css";
1613

17-
@import './wordpressify';
14+
@import "./wordpressify";

src/assets/css/variables.css

Lines changed: 0 additions & 15 deletions
This file was deleted.

src/assets/css/wordpressify.css

Lines changed: 75 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,89 @@
1-
@import './variables';
1+
.header {
2+
border-bottom: solid 1px var(--color-gray-light);
3+
display: flex;
4+
padding-top: 30px;
5+
padding-bottom: 30px;
26

3-
.widget-title {
4-
@apply font-bold py-2 rounded;
7+
& img {
8+
display: flex;
9+
}
510
}
611

7-
#searchsubmit,
8-
.post-edit-link,
9-
.button {
10-
@apply appearance-none inline-block bg-transparent border-2 rounded-lg py-2 px-5 text-blue-600 font-medium outline-none cursor-pointer transition-all hover:border-gray-300 hover:text-red-500;
12+
.main-content {
13+
@media (--screen-lg) {
14+
border-right: solid 1px var(--color-gray-light);
15+
}
1116
}
1217

13-
.button {
14-
@apply mb-5;
18+
.site-content,
19+
.page {
20+
padding: 20px 0;
1521
}
1622

23+
.page {
24+
& .item:not(:last-of-type) {
25+
padding-bottom: 20px;
26+
}
27+
}
1728

18-
.post-edit-link {
19-
@apply fixed bottom-4 right-4;
29+
.excerpt {
30+
padding-top: 20px;
31+
}
32+
33+
ul {
34+
@mixin reset-list;
2035
}
2136

37+
p a,
2238
a {
23-
@apply text-blue-600 transition-all hover:text-red-500;
39+
color: var(--color-secondary);
40+
41+
@media (hover: hover) {
42+
&:hover {
43+
color: var(--color-secondary-dark);
44+
}
45+
}
46+
}
47+
48+
p:empty {
49+
display: none;
50+
}
51+
52+
.widget-title {
53+
font-size: var(--size-lead-mobile);
54+
line-height: var(--lineheight-lead-mobile);
55+
font-weight: 700;
56+
57+
@media (--screen-lg) {
58+
font-size: var(--size-lead-desktop);
59+
line-height: var(--lineheight-lead-desktop);
60+
}
61+
}
62+
63+
.widget-item {
64+
margin: 20px 0;
65+
66+
&:first-of-type {
67+
margin-top: 10px;
68+
69+
@media (--screen-lg) {
70+
margin: 30px 0;
71+
}
72+
}
73+
74+
@media (--screen-lg) {
75+
margin: 30px 0;
76+
}
77+
}
78+
79+
.post-edit-link {
80+
position: fixed;
81+
bottom: 20px;
82+
right: 20px;
2483
}
2584

26-
.page-title,
27-
.single-title {
28-
@apply text-5xl pb-5 font-bold;
85+
.footer {
86+
border-top: solid 1px var(--color-gray-light);
87+
padding-top: 10px;
88+
padding-bottom: 10px;
2989
}

0 commit comments

Comments
 (0)