Skip to content

Commit

Permalink
first commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Nashmod committed Mar 20, 2023
0 parents commit a4cd300
Show file tree
Hide file tree
Showing 48 changed files with 10,256 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .editorconfig
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
57 changes: 57 additions & 0 deletions .eslintrc
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"
]
}
}
}
]
}
7 changes: 7 additions & 0 deletions .gitignore
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
10 changes: 10 additions & 0 deletions .prettierignore
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
339 changes: 339 additions & 0 deletions LICENSE

Large diffs are not rendered by default.

27 changes: 27 additions & 0 deletions README.md
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
22 changes: 22 additions & 0 deletions composer.json
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
}
}
}
Loading

0 comments on commit a4cd300

Please sign in to comment.