Skip to content
Snippets Groups Projects
Select Git revision
  • 1bbf21c0bb934f78cf68c01e65a4b781179b5659
  • test default protected
  • master protected
  • niki-stuff2
  • feat/niki-stuff
  • feat/custom-css
  • feat/redesign-improvements-10
  • feat/redesign-improvements-8
  • feat/redesign-fixes-3
  • feat/pirstan-changes
  • feat/separate-import-thread
  • feat/dary-improvements
  • features/add-pdf-page
  • features/add-typed-table
  • features/fix-broken-calendar-categories
  • features/add-embed-to-articles
  • features/create-mastodon-feed-block
  • features/add-custom-numbering-for-candidates
  • features/add-timeline
  • features/create-wordcloud-from-article-page
  • features/create-collapsible-extra-legal-info
21 results

Makefile

Blame
  • README.md 3.82 KiB

    Pirati UI kit

    This repository holds UI styleguide for Czech Pirate Party websites. It's intention is to made a core framework to be used across all sites and build all UI using it. This will ensure better consistency a easier updates.

    It is built upon:

    • Patternlab is a tool for developing design systems
    • Tailwind CSS is a brilliant utility-first CSS framework built on top of PostCSS

    Getting Started

    These instructions are for getting the project running off a local development environment:

    • Install any system requirements on your dev environment
    • Use NPM to install project dependencies and build the project

    System Requirements

    Install and Run

    It's JavaScript all the way down so once you have the the system requirements you can run the following commands:

    npm i
    npm run develop

    The npm command will install project dependencies and the npm run develop command builds the project, sets up a local server for the Patternlab UI and watches relevant template files to rebuild on any changes.

    Build

    The build command compiles the styleguide CSS and the Patternlab output but it doesn't create a server for the styleguide website. To build, run:

    npm run build

    Releasing

    First build for production as described previously:

    npm run build

    Now, make new version using semver principle: