-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit a4cd300
Showing
48 changed files
with
10,256 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# This file is for unifying the coding style for different editors and IDEs | ||
# editorconfig.org | ||
|
||
# WordPress Coding Standards | ||
# https://make.wordpress.org/core/handbook/coding-standards/ | ||
|
||
root = true | ||
|
||
[*] | ||
charset = utf-8 | ||
end_of_line = lf | ||
insert_final_newline = true | ||
trim_trailing_whitespace = true | ||
indent_style = tab | ||
|
||
[*.yml] | ||
indent_style = space | ||
indent_size = 2 | ||
|
||
[*.md] | ||
trim_trailing_whitespace = false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
{ | ||
"root": true, | ||
"ignorePatterns": [ | ||
"*.min.js" | ||
], | ||
"overrides": [ | ||
{ | ||
"files": [ | ||
"*.js" | ||
], | ||
"extends": [ | ||
"eslint:recommended", | ||
"prettier" | ||
], | ||
"env": { | ||
"browser": true | ||
}, | ||
"parserOptions": { | ||
"ecmaVersion": "latest" | ||
} | ||
}, | ||
{ | ||
"files": [ | ||
"*.php" | ||
], | ||
"parser": "@angular-eslint/template-parser", | ||
"plugins": [ | ||
"php-markup", | ||
"tailwindcss" | ||
], | ||
"extends": [ | ||
"plugin:tailwindcss/recommended" | ||
], | ||
"rules": { | ||
"tailwindcss/migration-from-tailwind-2": "off", | ||
"tailwindcss/no-custom-classname": [ | ||
"warn", | ||
{ | ||
"config": "./tailwind/tailwind.config.js", | ||
"whitelist": [ | ||
"(page|entry|comment)\\-([-a-z]*)", | ||
"vcard" | ||
] | ||
} | ||
] | ||
}, | ||
"settings": { | ||
"tailwindcss": { | ||
"config": "./tailwind/tailwind.config.js", | ||
"cssFiles": [ | ||
"./theme/**/*.css" | ||
] | ||
} | ||
} | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
/node_modules | ||
/vendor | ||
.DS_Store | ||
script.min.js | ||
style.css | ||
style-editor.css | ||
obsidianlab.zip |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# Ignore all files: | ||
*.* | ||
|
||
# Negate the above pattern for CSS files in the `tailwind` folder and for | ||
# all JavaScript files: | ||
!tailwind/**/*.css | ||
!*.js | ||
|
||
# Ignore minified JavaScript: | ||
*.min.js |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
obsidianlab | ||
=========== | ||
|
||
A custom theme based on \_tw | ||
|
||
## Installation | ||
|
||
1. Move this folder to `wp-content/themes` in your local development environment | ||
2. Run `npm install && npm run dev` in this folder | ||
3. Activate this theme in WordPress | ||
|
||
Looking for live reloading? Learn how to [add Browsersync to your project](https://underscoretw.com/docs/getting-started/#h-using-browsersync). | ||
|
||
## Development | ||
|
||
4. Run `npm run watch` | ||
5. Add [Tailwind utility classes](https://tailwindcss.com/docs/utility-first) with abandon | ||
|
||
See the complete [development documentation](https://underscoretw.com/docs/tailwind-plugins-npm-commands/) for more details. | ||
|
||
## Deployment | ||
|
||
6. Run `npm run bundle` | ||
7. Upload the resulting zip file to your site using the “Upload Theme” button on the “Add Themes” administration page | ||
|
||
Or [deploy with the tool of your choice](https://underscoretw.com/docs/deployment/#h-other-deployment-options)! | ||
# curapumps |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{ | ||
"require-dev": { | ||
"dealerdirect/phpcodesniffer-composer-installer": "^0.7.0", | ||
"phpcompatibility/phpcompatibility-wp": "2.1.3", | ||
"sirbrillig/phpcs-changed": "^2.5.1", | ||
"sirbrillig/phpcs-variable-analysis": "^2.7.0", | ||
"wp-cli/i18n-command": "^2.4.1", | ||
"wp-coding-standards/wpcs": "^2.1.1" | ||
}, | ||
"scripts": { | ||
"php:lint": "vendor/bin/phpcs -p -s", | ||
"php:lint:errors": "vendor/bin/phpcs -p -s --runtime-set ignore_warnings_on_exit 1", | ||
"php:lint:autofix": "vendor/bin/phpcbf", | ||
"php:lint:changed": "vendor/bin/phpcs-changed --git --git-unstaged", | ||
"make-pot": "wp i18n make-pot . theme/languages/obsidianlab.pot" | ||
}, | ||
"config": { | ||
"allow-plugins": { | ||
"dealerdirect/phpcodesniffer-composer-installer": true | ||
} | ||
} | ||
} |
Oops, something went wrong.