/Figma-Timer

A fork from Leo's awesome Timer plugin for Figma. Trying to learn code and add some more UI to it.

Primary LanguageJavaScriptMIT LicenseMIT

Timer

Installation

https://www.figma.com/community/plugin/820311256083321341

Usage

Use text to create a timer on a Figma page.

There are two ways to start a timer:

  1. Type the time you want to count down in Timer: HH:MM:SS format (e.g. Timer: 5:00), then press 'Start'.
  2. Type the time you want to count down in HH:MM:SS format (e.g. 5:00). In this case you need to select the text layer before pressing 'Start'

Additionally, you can now start a couple of timers on a page (for whatever reason).

Development

  1. This plugin uses Typescript & Visual Studio Code (https://code.visualstudio.com/). To install typescript execute:
$ sudo npm install -g typescript
  1. Open the directory in Visual Studio Code and perform your changes in the code.ts file
  2. Run the "Terminal > Run Build Task..." menu item, then select "tsc: watch - tsconfig.json", to compile the JavaScript source.

Created by Viktoriia Leontieva, Bernd Plontsch, Leonard Thomas & Jannes Peters