Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,13 @@ Next, `cd` to the theme folder and run the following:
```bash
% composer install
% npm install
% npm run pronto-install
% npm run build
```

This will install the dependencies and compile the assets. The primary dependency is [Millyard](https://github.com/imarc/millyard), which provides most ofthis theme's core functionality.
This will install the dependencies, bring Pronto's components into the theme, and compile the assets.

The primary PHP dependency is [Millyard](https://github.com/imarc/millyard), which provides most of this theme's core functionality.

Finally, you'll want to activate the theme in the WordPress admin.

Expand Down
58 changes: 30 additions & 28 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{
"scripts": {
"dev": "vite",
"build": "vite build"
"build": "vite build",
"pronto-install": "npx @imarc/pronto@latest --non-interactive y ./resources y n y ./resources/images"
},
"devDependencies": {
"dotenv": "^16.4.7",
Expand All @@ -11,7 +12,7 @@
"vite-plugin-restart": "^0.4.2"
},
"dependencies": {
"@imarc/pronto": "^2.0.0-rc.12",
"@imarc/pronto": "^2.0.3",
"@vitejs/plugin-vue": "^5.2.3",
"vue": "^3.5.13"
},
Expand Down
2 changes: 2 additions & 0 deletions resources/js/components/PTabs.vue
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
<div class="tabs__tablist" role="tablist" aria-label="Sample Tabs">
<button class="tabs__prev button -circle" @click="prev">
<span class="srOnly">previous</span>
<svg class="button__icon"><use href="/main-icons-sprite.svg#chevron-left" /></svg>
</button>
<button
class="tabs__button"
Expand All @@ -61,6 +62,7 @@
></button>
<button class="tabs__next button -circle" @click="next">
<span class="srOnly">next</span>
<svg class="button__icon"><use href="/main-icons-sprite.svg#chevron-right" /></svg>
</button>
</div>

Expand Down
4 changes: 4 additions & 0 deletions resources/js/index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
import { createApp, defineAsyncComponent } from 'vue'
import directionals from './directives/vDirectionals.js'
import scrolllock from './directives/vScrolllock.js'

/**
* Vite heavily recommends importing your CSS from your JS.
*/
import '../styles/index.scss'

createApp({
Expand Down
Empty file added resources/styles/atoms/.gitkeep
Empty file.
14 changes: 0 additions & 14 deletions resources/styles/atoms/breadcrumbs/breadcrumbs.html

This file was deleted.

39 changes: 0 additions & 39 deletions resources/styles/atoms/breadcrumbs/index.scss

This file was deleted.

18 changes: 0 additions & 18 deletions resources/styles/atoms/button/button--icon.html

This file was deleted.

38 changes: 0 additions & 38 deletions resources/styles/atoms/button/button--messaging.html

This file was deleted.

39 changes: 0 additions & 39 deletions resources/styles/atoms/button/button-on-primary.html

This file was deleted.

41 changes: 0 additions & 41 deletions resources/styles/atoms/button/button.html

This file was deleted.

Loading
Loading