All Projects → andrewMacmurray → elm-tachyons-boilerplate

andrewMacmurray / elm-tachyons-boilerplate

Licence: MIT license
Simple setup for Elm and Tachyons

Programming Languages

CSS
56736 projects
elm
856 projects
HTML
75241 projects
javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to elm-tachyons-boilerplate

Frontend Webpack Boilerplate
Simple starter webpack 5 project template supporting SASS/PostCSS, Babel ES7, browser syncing, code linting. Easy project setup having multiple features and developer friendly tools.
Stars: ✭ 242 (+1323.53%)
Mutual labels:  postcss
wp-modular-css
Plugin to generate a custom Tachyons build from a JSON configuration.
Stars: ✭ 15 (-11.76%)
Mutual labels:  tachyons
mobileweb
webpack 5 + postcss 8 构建移动端网站架子
Stars: ✭ 23 (+35.29%)
Mutual labels:  postcss
starter-kit
🏃 A simple and powerful Starter Kit made with Webpack, Gulp 4, Pug and SASS
Stars: ✭ 21 (+23.53%)
Mutual labels:  postcss
webpack-react-starter
Minimal starter for using React + PostCSS with Webpack.
Stars: ✭ 17 (+0%)
Mutual labels:  postcss
nextjs-landing-starter
Build your landing site based on Next.JS in minutes 🚀
Stars: ✭ 59 (+247.06%)
Mutual labels:  postcss
Prejss
Get the power of PostCSS with plugins in your JSS styles. 🎨 Just put CSS into JS and get it as JSS object.
Stars: ✭ 238 (+1300%)
Mutual labels:  postcss
stencil-boilerplate
A Stencil app boilerplate including routing, Redux etc.
Stars: ✭ 51 (+200%)
Mutual labels:  postcss
postcss-clearfix
PostCSS plugin that adds a 'fix' argument to the 'clear' property
Stars: ✭ 47 (+176.47%)
Mutual labels:  postcss
fylgja
The modular highly customisable CSS framework. Powered by CSS Components, Utilities and Props for building your Web UI.
Stars: ✭ 65 (+282.35%)
Mutual labels:  postcss
postcss-jsx
PostCSS syntax for parsing CSS in JS literals
Stars: ✭ 73 (+329.41%)
Mutual labels:  postcss
postcss-trash-killer
It is a postcss plugin which wil be remove all unused css
Stars: ✭ 20 (+17.65%)
Mutual labels:  postcss
tachyonstemplates
Templates and Themes Built with Tachyons
Stars: ✭ 23 (+35.29%)
Mutual labels:  tachyons
tailwind
Makes using TailwindCSS in NativeScript a whole lot easier!
Stars: ✭ 128 (+652.94%)
Mutual labels:  postcss
sublime-postcss-sorting
Sublime Text plugin to sort CSS rules content with specified order.
Stars: ✭ 19 (+11.76%)
Mutual labels:  postcss
Reset Css
An unmodified* copy of Eric Meyer's CSS reset. PostCSS, webpack, Sass, and Less friendly.
Stars: ✭ 244 (+1335.29%)
Mutual labels:  postcss
vite-postcss-preset-env
vite-cssnext.netlify.app/
Stars: ✭ 35 (+105.88%)
Mutual labels:  postcss
postcss-input-style
PostCSS plugin that adds new pseudo-elements for easily styling the inner elements of inputs
Stars: ✭ 16 (-5.88%)
Mutual labels:  postcss
browser-extension
Browser Extension Template with ESbuild builds, support for React, Preact, Typescript, Tailwind, Manifest V3/V2 support and multi browser build including Chrome, Firefox, Safari, Edge, Brave.
Stars: ✭ 535 (+3047.06%)
Mutual labels:  postcss
webpack-boilerplate
Webpack 4 boilerplate (babel, eslint, prettier, jest, sass, postcss, hmr, browsersync)
Stars: ✭ 33 (+94.12%)
Mutual labels:  postcss

Elm Tachyons Boilerplate

Simple setup for Elm and Tachyons

Why?

Elm and Tachyons are great for building UIs

Tachyons - "Create fast loading, highly readable, and 100% responsive interfaces with as little css as possible."

Elm - "A delightful language for reliable webapps."

Both also have low setup requirements to start developing with

for elm:

> elm reactor

and go visit localhost:8080

and for tachyons:

add this to your html file

<link rel="stylesheet" href="https://unpkg.com/[email protected]/css/tachyons.min.css"/>

These setups are great for playing around with ideas, but once you need more control you're left with a few caveats

  • elm reactor doesn't support adding ports (i.e. no external JavaScript)
  • adding a custom stylesheet means appending it at runtime inside the body
  • customising tachyons properties like colors and spacing means manually overriding classes

This boilerplate is a relatively minimal setup, designed to get you off to a quick start using both of them together but with finer control over customising each

How?

For Elm: elm live

A flexible dev server for Elm, Live reload included

elm live compiles elm code, watches for changes and serves the app from the public folder on localhost:8000

For Tachyons: postCSS

PostCSS - "A tool for transforming CSS with JavaScript"

Tachyons has some fantastic default styles, but sometimes you want to customise those defaults.

The boilerplate uses postCSS to bundle all the individual tachyons modules together in src/css/index.css and apply custom variables from the other files in src/css/. The boilerplate uses a fork of Tachyons called Tachyons Custom to give easy access to all the css variables (like colors, widths etc).

Get Started

Run css and elm in watch mode:

$ npm run dev

Build css and elm bundles once:

$ npm run build

In dev mode the browser will open if there are no compile errors, and show localhost:8000 with your app running

Testing

An elm test setup has been added to the tests directory, to run make sure you have elm-test cli installed

$ npm install -g elm-test

and run

$ elm test

Contributions / suggestions are welcome, please leave an issue

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].