├── .gitignore
├── screenshot.png
├── library
├── missing.png
├── sass
│ ├── base
│ │ ├── elements
│ │ │ ├── _body.scss
│ │ │ ├── _tables.scss
│ │ │ ├── _hr.scss
│ │ │ ├── _lists.scss
│ │ │ ├── _media.scss
│ │ │ ├── _links.scss
│ │ │ ├── _buttons.scss
│ │ │ ├── _fields.scss
│ │ │ ├── _darkmode.scss
│ │ │ └── _icons.scss
│ │ ├── typography
│ │ │ ├── _typography.scss
│ │ │ ├── _headings.scss
│ │ │ └── _copy.scss
│ │ └── _base.scss
│ ├── admin.scss
│ ├── abstracts
│ │ ├── _abstracts.scss
│ │ ├── variables
│ │ │ ├── _columns.scss
│ │ │ ├── _structure.scss
│ │ │ ├── _typography.scss
│ │ │ └── _colors.scss
│ │ └── mixins
│ │ │ └── _mixins.scss
│ ├── generic
│ │ ├── _box-sizing.scss
│ │ └── _normalize.scss
│ ├── components
│ │ ├── media
│ │ │ ├── _media.scss
│ │ │ └── _captions.scss
│ │ ├── _components.scss
│ │ ├── widgets
│ │ │ └── _widgets.scss
│ │ ├── navigation
│ │ │ ├── _page-headers.scss
│ │ │ ├── _footer.scss
│ │ │ ├── _misc.scss
│ │ │ └── _header.scss
│ │ ├── comments
│ │ │ └── _comments.scss
│ │ └── content
│ │ │ ├── _snippets.scss
│ │ │ └── _posts-and-pages.scss
│ ├── plugins
│ │ ├── jetpack
│ │ │ └── _infinite-scroll.scss
│ │ └── woocommerce
│ │ │ └── _woocommerce.scss
│ ├── utilities
│ │ ├── _alignments.scss
│ │ └── _accessibility.scss
│ ├── editor.scss
│ ├── layouts
│ │ └── _layout.scss
│ └── style.scss
├── icons
│ ├── lifetheme-icons.ttf
│ ├── lifetheme-icons.woff
│ └── lifetheme-icons.woff2
├── fonts
│ └── inter
│ │ ├── Inter-roman.var.woff2
│ │ └── Inter-italic.var.woff2
└── js
│ ├── editor.js
│ ├── customizer.js
│ └── navigation.js
├── template-parts
├── thumbnail.php
├── card-landscape.php
├── content-none.php
├── content-page.php
├── card.php
├── content-attachment.php
└── content.php
├── attachment.php
├── searchform.php
├── front-page.php
├── style.css
├── 404.php
├── inc
├── wpcom.php
├── custom-header.php
├── jetpack.php
├── customizer.php
├── bookmarks-meta.php
├── template-functions.php
├── woocommerce.php
└── template-tags.php
├── page.php
├── search.php
├── theme.json
├── footer.php
├── index.php
├── archive-life_bookmark.php
├── single.php
├── comments.php
├── archive.php
├── header.php
├── phpcs.xml.dist
├── README.md
├── acf-export-2021-04-26.json
├── languages
└── lifetheme.pot
├── LICENSE
└── functions.php
/.gitignore:
--------------------------------------------------------------------------------
1 | .sass-cache/
2 | *.css.map
3 | css/
4 |
--------------------------------------------------------------------------------
/screenshot.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kangabell/lifetheme/HEAD/screenshot.png
--------------------------------------------------------------------------------
/library/missing.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kangabell/lifetheme/HEAD/library/missing.png
--------------------------------------------------------------------------------
/library/sass/base/elements/_body.scss:
--------------------------------------------------------------------------------
1 | body {
2 | background: var(--color__background-body);
3 | }
4 |
--------------------------------------------------------------------------------
/library/sass/base/elements/_tables.scss:
--------------------------------------------------------------------------------
1 | table {
2 | margin: 0 0 1.5em;
3 | width: 100%;
4 | }
5 |
--------------------------------------------------------------------------------
/library/icons/lifetheme-icons.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kangabell/lifetheme/HEAD/library/icons/lifetheme-icons.ttf
--------------------------------------------------------------------------------
/library/icons/lifetheme-icons.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kangabell/lifetheme/HEAD/library/icons/lifetheme-icons.woff
--------------------------------------------------------------------------------
/library/sass/admin.scss:
--------------------------------------------------------------------------------
1 | .column-img {
2 | width: 9rem;
3 |
4 | img {
5 | height: auto;
6 | width: 8rem;
7 | }
8 | }
--------------------------------------------------------------------------------
/library/icons/lifetheme-icons.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kangabell/lifetheme/HEAD/library/icons/lifetheme-icons.woff2
--------------------------------------------------------------------------------
/library/fonts/inter/Inter-roman.var.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kangabell/lifetheme/HEAD/library/fonts/inter/Inter-roman.var.woff2
--------------------------------------------------------------------------------
/library/fonts/inter/Inter-italic.var.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/kangabell/lifetheme/HEAD/library/fonts/inter/Inter-italic.var.woff2
--------------------------------------------------------------------------------
/library/sass/abstracts/_abstracts.scss:
--------------------------------------------------------------------------------
1 | @import "variables/colors";
2 | @import "variables/typography";
3 | @import "variables/structure";
4 | @import "variables/columns";
5 | @import "mixins/mixins";
6 |
--------------------------------------------------------------------------------
/library/sass/abstracts/variables/_columns.scss:
--------------------------------------------------------------------------------
1 | $columns: (
2 | 1: 100%,
3 | 2: 50%,
4 | 3: 33.33%,
5 | 4: 25%,
6 | 5: 20%,
7 | 6: 16.66%,
8 | 7: 14.28%,
9 | 8: 12.5%,
10 | 9: 11.11%
11 | );
12 |
13 | $columns__margin: 3.8%;
14 |
--------------------------------------------------------------------------------
/library/sass/base/elements/_hr.scss:
--------------------------------------------------------------------------------
1 | hr {
2 | background-color: var(--color__background-hr);
3 | border: 0;
4 | height: 1px;
5 | margin-bottom: 1.5em;
6 | }
7 |
8 | .wp-block-separator {
9 | border: none; // reset
10 | width: 100%; // fixes unexplained invisibility at mobile sizes
11 | }
--------------------------------------------------------------------------------
/library/sass/generic/_box-sizing.scss:
--------------------------------------------------------------------------------
1 | /* Inherit box-sizing to more easily change it's value on a component level.
2 | @link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
3 | *,
4 | *::before,
5 | *::after {
6 | box-sizing: inherit;
7 | }
8 |
9 | html {
10 | box-sizing: border-box;
11 | }
12 |
--------------------------------------------------------------------------------
/library/sass/components/media/_media.scss:
--------------------------------------------------------------------------------
1 | .wp-block-image {
2 | margin-top: 2rem;
3 | margin-bottom: 2rem;
4 |
5 | &.aligncenter {
6 | width: 100%;
7 | }
8 | }
9 |
10 | .page-content .wp-smiley,
11 | .entry-content .wp-smiley,
12 | .comment-content .wp-smiley {
13 | border: none;
14 | margin-bottom: 0;
15 | margin-top: 0;
16 | padding: 0;
17 | }
--------------------------------------------------------------------------------
/template-parts/thumbnail.php:
--------------------------------------------------------------------------------
1 |
2 |
7 |
8 |
11 |
--------------------------------------------------------------------------------
/library/sass/plugins/jetpack/_infinite-scroll.scss:
--------------------------------------------------------------------------------
1 | /* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
2 | .infinite-scroll .posts-navigation,
3 | .infinite-scroll.neverending .site-footer {
4 | display: none;
5 | }
6 |
7 | /* Re-display the Theme Footer when Infinite Scroll has reached its end. */
8 | .infinity-end.neverending .site-footer {
9 | display: block;
10 | }
11 |
--------------------------------------------------------------------------------
/library/sass/base/elements/_lists.scss:
--------------------------------------------------------------------------------
1 | ul,
2 | ol {
3 | margin: 0;
4 | padding-left: 1.125rem;
5 | }
6 |
7 | ul {
8 | list-style: square;
9 | }
10 |
11 | ol {
12 | list-style: decimal;
13 | }
14 |
15 | .entry-content li {
16 | margin-bottom: 1rem;
17 | }
18 |
19 | li > ul,
20 | li > ol {
21 | margin-bottom: 0;
22 | margin-left: 1.5em;
23 | }
24 |
25 | dt {
26 | font-weight: 700;
27 | }
28 |
29 | dd {
30 | margin: 0 1.5em 1.5em;
31 | }
32 |
--------------------------------------------------------------------------------
/library/sass/utilities/_alignments.scss:
--------------------------------------------------------------------------------
1 | .aligncenter {
2 | text-align: center;
3 | }
4 |
5 | @media screen and ($small-up) {
6 |
7 | .alignleft {
8 |
9 | /*rtl:ignore*/
10 | float: left;
11 |
12 | /*rtl:ignore*/
13 | margin-right: 1rem;
14 | margin-bottom: 1rem;
15 | }
16 |
17 | .alignright {
18 |
19 | /*rtl:ignore*/
20 | float: right;
21 |
22 | /*rtl:ignore*/
23 | margin-left: 1rem;
24 | margin-bottom: 1rem;
25 | }
26 | }
--------------------------------------------------------------------------------
/library/sass/base/typography/_typography.scss:
--------------------------------------------------------------------------------
1 | html {
2 | font-size: 112.5%; // bump average base size from 16 to 18px
3 | -webkit-font-smoothing: antialiased;
4 | -moz-osx-font-smoothing: grayscale;
5 | }
6 |
7 | body,
8 | button,
9 | input,
10 | select,
11 | optgroup,
12 | textarea {
13 | color: var(--color__text-main);
14 | font-family: var(--font__main);
15 | font-size: 1rem;
16 | line-height: $font__line-height-body;
17 | }
18 |
19 | @import "headings";
20 | @import "copy";
21 |
--------------------------------------------------------------------------------
/library/js/editor.js:
--------------------------------------------------------------------------------
1 | wp.domReady( () => {
2 |
3 | wp.blocks.registerBlockStyle( 'core/group', [
4 | {
5 | name: 'default',
6 | label: 'Default',
7 | isDefault: true,
8 | },
9 | {
10 | name: 'memo',
11 | label: 'Memo',
12 | }
13 | ]);
14 |
15 | wp.blocks.registerBlockStyle( 'core/heading', [
16 | {
17 | name: 'default',
18 | label: 'Default',
19 | isDefault: true,
20 | },
21 | {
22 | name: 'alt',
23 | label: 'Alternate',
24 | }
25 | ]);
26 | } );
--------------------------------------------------------------------------------
/library/sass/abstracts/variables/_structure.scss:
--------------------------------------------------------------------------------
1 | $size__site-main: 60rem;
2 | $size__site-narrow: 38rem;
3 | $size__site-wide: 72rem;
4 | $size__site-wider: 120rem;
5 |
6 | // breakpoints
7 | $small-down: 'max-width: 45.9rem';
8 | $small-up: 'min-width: 30rem';
9 | $medium-up: 'min-width: 46rem';
10 | $large-up: 'min-width: 64rem';
11 | $large-down: 'max-width: 87.9rem';
12 | $xlarge-up: 'min-width: 88rem';
13 | $xxlarge-up: 'min-width: 102rem';
14 |
15 | $radius: 0.75rem;
16 | $radius-sm: 0.25rem;
--------------------------------------------------------------------------------
/attachment.php:
--------------------------------------------------------------------------------
1 |
12 |
13 |
19 |
22 |
23 |
35 |
38 |
--------------------------------------------------------------------------------
/theme.json:
--------------------------------------------------------------------------------
1 | {
2 | "version": 2,
3 | "settings": {
4 | "color": {
5 | "defaultPalette": false,
6 | "palette": [
7 | {
8 | "name": "Black",
9 | "slug": "black",
10 | "color": "#0d0d0d"
11 | },
12 | {
13 | "name": "Grey",
14 | "slug": "grey",
15 | "color": "#aaaaaa"
16 | },
17 | {
18 | "name": "Light",
19 | "slug": "light",
20 | "color": "#f7f7f7"
21 | },
22 | {
23 | "name": "White",
24 | "slug": "white",
25 | "color": "#ffffff"
26 | },
27 | {
28 | "name": "Purple",
29 | "slug": "purple",
30 | "color": "#9E23A5"
31 | },
32 | {
33 | "name": "Red",
34 | "slug": "red",
35 | "color": "#C23F23"
36 | },
37 | {
38 | "name": "Gold",
39 | "slug": "gold",
40 | "color": "#E4B83E"
41 | },
42 | {
43 | "name": "Grass",
44 | "slug": "grass",
45 | "color": "#A0B438"
46 | },
47 | {
48 | "name": "Teal",
49 | "slug": "teal",
50 | "color": "#4DA698"
51 | }
52 | ]
53 | },
54 | "layout": {
55 | "contentSize": "60rem;",
56 | "wideSize": "72rem"
57 | },
58 | "spacing": {
59 | "padding": true
60 | }
61 | }
62 | }
--------------------------------------------------------------------------------
/footer.php:
--------------------------------------------------------------------------------
1 |
13 |
14 |
40 |
41 |
42 |
43 |
44 |