0.14.4 • Published 5 months ago

tanoshi v0.14.4

Weekly downloads
-
License
MIT
Repository
github
Last release
5 months ago

Tanoshi

Introduction

Tanoshi is a component library built the atomic way. Create beautiful pages easily with configurable typescript objects. You won't need to write CSS or HTML anymore.

Why using Tanoshi ?

  • Components are alreay styled, you only need to add you graphic chart
  • With its object-oriented components, we make sure you respect accessibility and web best practices
  • Use iconify for the largest icon library available
  • Compatible with SSR and SSG deploys, for the best user experience possible

Getting started

Requirements

This library was built to be used with sveltekit . Therefore, you need to have installed :

Installation

npm install --save-dev tanoshi

Configuration

Once it is installed, Tanoshi needs you to add your graphic chart for its components.

Create a app.css file in the /src/routes folder with the following css variables :

:root{
    --primary: rgb(217, 119, 52);
    --primary-dark: rgb(108, 68, 28);
    --secondary: rgb(107 114 128);
    --secondary-dark: rgb(75 85 99);
    --success: rgb(34 197 94);
    --success-dark: rgb(22 163 74);
    --warning: rgb(234 179 8);
    --warning-dark: rgb(202 138 4);
    --danger: rgb(239 68 68);
    --danger-dark: rgb(220 38 38);
    --info: rgb(103 232 249);
    --info-dark: rgb(34 211 238);
    --white: rgb(255 255 255);
    --white-dark: rgb(100 116 139);
    --black: rgb(60, 59, 59);
    --black-dark: rgb(4, 4, 4);
}

These are the mandatory CSS variables that will be used to style the components. To get the list of all the options available, check this page

Then import the CSS file in your +layout.page :

<script lang="ts">
    import './app.css';
</script>

Start to build components

Check the documentation to learn how to build components and add them to your pages.

0.14.0

5 months ago

0.14.1

5 months ago

0.14.2

5 months ago

0.14.3

5 months ago

0.14.4

5 months ago

0.13.0

7 months ago

0.13.1

7 months ago

0.13.2

7 months ago

0.13.3

7 months ago

0.13.4

7 months ago

0.13.5

7 months ago

0.12.10

7 months ago

0.12.11

7 months ago

0.4.9

11 months ago

0.4.8

11 months ago

0.12.7

7 months ago

0.12.8

7 months ago

0.12.9

7 months ago

0.11.1

8 months ago

0.12.1

8 months ago

0.12.2

8 months ago

0.12.3

7 months ago

0.12.4

7 months ago

0.12.5

7 months ago

0.12.6

7 months ago

0.4.5

11 months ago

0.6.2

9 months ago

0.4.7

11 months ago

0.4.6

11 months ago

0.5.0

10 months ago

0.7.0

8 months ago

0.6.1

9 months ago

0.3.0

1 year ago

0.4.4

12 months ago

0.4.1

12 months ago

0.3.2

1 year ago

0.4.0

1 year ago

0.3.1

1 year ago

0.4.3

12 months ago

0.4.2

12 months ago

0.1.1

2 years ago

0.1.0

2 years ago