Extremely opinionated front-end framework
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src
styleguide
.babelrc
.editorconfig
.eslintignore
.eslintrc
.gitignore
.prettierignore
.prettierrc
.stylelintignore
.stylelintrc
.travis.yml
License.md
Readme.md
package-lock.json
package.json
styleguide.config.js
webpack.config.js

Readme.md

Tâmia

Build Status

Tâmia is a tiny but extremely opinionated framework for frontend developers (hmm… just for me now). It consists of:

  1. CSS bootstrap.
  2. Component library.

Based on

Why another framework

Bootstrap, Inuit.css and HTML5 Boilerplate are awesome. I found a lot of inspiration there. But they just don’t suit my needs and a way of working. I also use it to try new technologies and ways of making sites.

Tâmia is a new cool name for what I use every day in my own and freelance projects. It has evolved from a folder on my disk with a few CSS and JS files that I copypasted to every new project in 2000s.

Browser support

I love new technologies so I spend as little time as possible on old browsers. The minimum supported browser is IE11.

Workflow

For styles I use Emotion.

I usually use Gatsby as a static site generator.

And then I use shipit to deploy a site to a server using rsync.

CSS bootstrap

It has base and typography CSS rules and Normalize.css).

Component library

Form controls, basic text styles, etc.

Tools

There are a few other things made specifically for Tâmia:

Documentation

Documentation is here.

Getting started

  1. Install Tâmia and peer dependencies:
npm install tamia emotion emotion-theming react-emotion
  1. Create a theme at src/theme.js:
import merge from 'lodash/merge';
import defaultTheme from 'tamia/lib/theme';

const theme = merge(defaultTheme, {
  colors: {
    primary: 'salmon'
  }
});

export default theme;
  1. Add global styles:
import injectStyles from 'tamia/lib/styles';
import theme from './theme';
injectStyles(theme);

The Name

Tâmia is a chipmunk in Portuguese. It refers to Squirrelstrap, my love of small cheeky creatures and “Chip ’n Dale Rescue Rangers” (which is exactly framework’s aim).


License

The MIT License, see the included License.md file.