3.3.4 • Published 1 month ago

@moreonion/foundist v3.3.4

Weekly downloads
3
License
MIT
Repository
gitlab
Last release
1 month ago

Foundist

Foundation based default theme for Impact Stack landing pages.

Use

As assets

Compiled assets can be used directly.

As module

Foundist may also be used as module dependency for other themes.

If you need any Foundation utilities in your custom settings file (imported before Foundist) import them via @moreonion/foundation-base/scss/util; and set $base-font-size as well as $global-font-size: $base-font-size * 6.25%; before using any util functions (otherwise some calculations might not return the desired result)!

Development

The setup should give you a quite modern JS/SCSS-environment:

  • Vite (with SCSS, browserlist, PostCSS)
  • Linting (stylelint, eslint)
  • Prettifying (prettify)
  • Pre-commit hooks for .scss and .js files

The entrypoints are at:

  • src/scss/main.scss and
  • src/js/main.js

To run a development server and watch changes:

yarn dev

Other development commands:

yarn lint
yarn fix

To build the output files:

yarn build

To serve the contents of the dist/ folder (e.g. after a build)

yarn preview

HTML

The module provides some example HTML to make styling easier:

  • The files in the template folder represent the general page layout(s) that may be different for each derived theme.
  • The extension of template {% blocks %} make up the content for an individual page.
  • The include folder offers predefined elements that would be generated by a CMS, e.g. form elements and social proof widgets.
  • The path of the main css and js file can be configured in _globals.html (relative to the html folder).

Pre-commit hooks

The pre-commit hooks can be annoying. That is a good thing.

In case you still want to skip a check you can skip the validation via the -n git flag:

git commit -n

Editors

VS Code

There is a basic settings file provided. You might want to install the following VS Code plugins (or re-enable the build in formatters):

3.4.0-beta

1 month ago

3.3.4

2 months ago

3.3.0

3 months ago

3.3.3

3 months ago

3.3.2

3 months ago

3.3.0-beta

4 months ago

3.2.6

4 months ago

3.2.2

8 months ago

3.2.1

8 months ago

3.2.0

8 months ago

3.2.5

6 months ago

3.2.4

7 months ago

3.2.3

8 months ago

3.1.2

1 year ago

3.1.1

1 year ago

3.1.0

1 year ago

3.0.3

2 years ago

3.0.2

2 years ago

3.0.1

2 years ago

3.0.0

2 years ago

2.1.3

2 years ago

2.1.2

2 years ago

2.1.1

2 years ago

2.1.0

3 years ago

2.0.8

3 years ago

2.0.7

3 years ago

2.0.6

3 years ago

2.0.5

3 years ago

2.0.4

3 years ago

2.0.3

3 years ago

2.0.2

3 years ago

1.0.2

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

2.0.1

3 years ago

2.0.0

3 years ago

1.0.1

3 years ago

0.0.1-alpha.24

3 years ago

1.0.0

3 years ago

0.0.1-alpha.23

3 years ago

0.0.1-alpha.22

3 years ago

0.0.1-alpha.21

3 years ago

0.0.1-alpha.20

3 years ago

0.0.1-alpha.19

3 years ago

0.0.1-alpha.18

3 years ago

0.0.1-alpha.17

3 years ago

0.0.1-alpha.16

3 years ago

0.0.1-alpha.15

3 years ago

0.0.1-alpha.14

4 years ago

0.0.1-alpha.13

4 years ago

0.0.1-alpha.12

4 years ago

0.0.1-alpha.11

4 years ago

0.0.1-alpha.10

4 years ago

0.0.1-alpha.9

4 years ago

0.0.1-alpha.8

4 years ago

0.0.1-alpha.7

4 years ago

0.0.1-alpha.6

4 years ago

0.0.1-alpha.5

4 years ago

0.0.1-alpha.4

4 years ago

0.0.1-alpha.3

4 years ago

0.0.1-alpha.2

4 years ago

0.0.1-alpha.1

4 years ago

0.0.1-alpha

4 years ago