0.11.6 • Published 1 day ago

tecitheme v0.11.6

Weekly downloads
-
License
MIT
Repository
-
Last release
1 day ago

ThunderTheme

SvelteKit Design System for Thunderhead web properties.

NPM package available at: https://www.npmjs.com/package/tecitheme

See https://tecitheme.netlify.app/ for demo, documentation and component details.

How to update the NPM package

This theme system is released on NPM to make it easier to include in all Thunderhead web properties.

Authenticate to NPM

  1. npm login --auth-type=legacy
  2. Enter username and password for the NPM account.
  3. Enter email address
  4. Enter 2FA Code

Update the package version

  1. Edit package.json with the next version.
  2. Run npm install to update the package-lock.json file.
  3. Commit and push to origin.

Package the project and publish

  1. npm run package
  2. npm publish

Theme Components

The following components are available in the ThunderTheme Design System. Each component can have one or more of the three use cases listed below.

  • Page Section: This component can be used in the Front Matter of a markdown file for a particular page. This will result in that component being added into the page layout in the order that it appears in the page_sections array.
  • Content Component: This component can be used within the Markdown content like a 'shortcode'.
  • Layout Component: This component is not typically used directly, and is part of a page layout or as a child component in another component.

Accordion

Provides a list of prompts that can be expanded for more information.

  • Page Section
  • Content Component

Accordion Inputs

  • title - String - Text for the Accordion title
  • prompts - Array - Each expandable element
    • title - String - Text for element prompt.
    • content - String - HTML - Text shown when prompt is expanded.

Banner

Announcement Banner placed under the Header component in src/routes/+layout.svelte. Input values are set in the src/lib/site_config.json global config file.

  • Layout Component

Banner Inputs

  • showCTA - Boolean - Show CTA Button in Banner
  • shortText - String - Shorter version of Banner text for narrower screens.
  • longText - String - Longer version of Banner text for wider screens.
  • ctaText - String - CTA Button text
  • ctaLink - String - CTA Button URL
  • allowClose - Boolean - Add close/hide button to banner.

Button

Basic Button component can trigger actions with a button element or link to URLs as an a element. Must pass action = true and use an on:click function for use as a button.

  • Content Component
  • Layout Component

Button Inputs

  • action - Boolean - If true, will use the button element. Must also specify an on:click function for the button.
  • url - String - URL for a element href.
  • text - String - Text for the button.
  • color - String - Uses the getColorStyles function with the 'button' style option.
  • justify - String - left or right, defaults to center if not specified.

Card

  • Layout Component

Card Inputs

  • halfHeight - Boolean - If halfHeight is true, then card image aspect ratio is set to 'video' (16:9), else it is set to the default of 'square' (1:1).
  • image - String - Background image filename.
  • icon - String - Background image filename.
  • heading - String - Background image filename.
  • subheading - String - Background image filename.
  • subheadingColor - String - Background image filename.
  • cardActionStyle - String - Background image filename.
  • cardLinkColor - String - Background image filename.
  • cardLinkText - String - Background image filename.
  • cardURL - String - Background image filename.
  • links - Array - Background image filename.
    • url - Array - Background image filename.
    • text - Array - Background image filename.
    • color - Array - Background image filename.

ContentTwoColumns

  • Page Section

ContentTwoColumns Inputs

  • param - Type - Text

CountrySelector

  • Layout Component

CountrySelector Inputs

  • param - Type - Text

CTA

  • Page Section
  • Content Component
  • Layout Component

CTA Inputs

  • param - Type - Text

CTASplitImage

  • Page Section
  • Content Component
  • Layout Component

CTASplitImage Inputs

  • param - Type - Text

FeatureGrid

  • Page Section
  • Content Component
  • Layout Component

FeatureGrid Inputs

  • param - Type - Text

Figure

  • Page Section
  • Content Component
  • Layout Component

Figure Inputs

  • param - Type - Text

Footer

  • Layout Component

Footer Inputs

  • param - Type - Text

Header

  • Page Section
  • Content Component
  • Layout Component

Header Inputs

  • param - Type - Text

HeadingCentered

  • Page Section
  • Content Component
  • Layout Component

HeadingCentered Inputs

  • param - Type - Text

Hero

  • Page Section
  • Content Component
  • Layout Component

Hero Inputs

  • param - Type - Text

Icon

  • Page Section
  • Content Component
  • Layout Component

Icon Inputs

  • param - Type - Text

LogoCloud

  • Page Section
  • Content Component
  • Layout Component

LogoCloud Inputs

  • param - Type - Text

Math

  • Page Section
  • Content Component
  • Layout Component

Math Inputs

  • param - Type - Text

MediaFeature

  • Page Section
  • Content Component
  • Layout Component

MediaFeature Inputs

  • param - Type - Text

Modal

  • Page Section
  • Content Component
  • Layout Component

Modal Inputs

  • param - Type - Text

NewsGrid

  • Page Section
  • Content Component
  • Layout Component

NewsGrid Inputs

  • param - Type - Text

PricingTable

  • Page Section
  • Content Component
  • Layout Component

PricingTable Inputs

  • param - Type - Text

SidebarContent

  • Page Section
  • Content Component
  • Layout Component

SidebarContent Inputs

  • param - Type - Text

Stats

  • Page Section
  • Content Component
  • Layout Component

Stats Inputs

  • param - Type - Text

Testimonial

  • Page Section
  • Content Component
  • Layout Component

Testimonial Inputs

  • param - Type - Text

ThreeColumn

  • Page Section
  • Content Component
  • Layout Component

ThreeColumn Inputs

  • param - Type - Text

TrialForm

  • Page Section
  • Content Component
  • Layout Component

TrialForm Inputs

  • param - Type - Text

Video

  • Page Section
  • Content Component
  • Layout Component

Video Inputs

  • param - Type - Text

Wrap

  • Page Section
  • Content Component
  • Layout Component

Wrap Inputs

  • param - Type - Text
0.11.3

1 day ago

0.11.4

1 day ago

0.11.5

1 day ago

0.11.6

1 day ago

0.11.1

3 days ago

0.11.2

3 days ago

0.11.0

7 days ago

0.10.13

1 month ago

0.10.12

2 months ago

0.10.10

2 months ago

0.10.11

2 months ago

0.10.9

2 months ago

0.10.8

2 months ago

0.10.4

3 months ago

0.10.5

3 months ago

0.10.6

3 months ago

0.10.7

3 months ago

0.10.1

4 months ago

0.10.2

4 months ago

0.10.3

4 months ago

0.10.0

4 months ago

0.9.0

4 months ago

0.9.1

4 months ago

0.8.1

4 months ago

0.8.2

4 months ago

0.8.0

4 months ago

0.7.2

10 months ago

0.7.1

10 months ago

0.7.4

10 months ago

0.7.3

10 months ago

0.7.0

10 months ago

0.7.6

9 months ago

0.7.5

9 months ago

0.6.2

11 months ago

0.6.1

11 months ago

0.6.0

11 months ago

0.3.0

1 year ago

0.5.0

1 year ago

0.3.2

1 year ago

0.3.1

1 year ago

0.5.2

1 year ago

0.3.4

1 year ago

0.5.1

1 year ago

0.3.3

1 year ago

0.4.5

1 year ago

0.4.4

1 year ago

0.4.7

1 year ago

0.4.6

1 year ago

0.4.1

1 year ago

0.4.0

1 year ago

0.4.3

1 year ago

0.4.2

1 year ago

0.2.1

2 years ago

0.2.0

2 years ago

0.2.7

1 year ago

0.2.6

1 year ago

0.2.8

1 year ago

0.2.3

1 year ago

0.2.2

1 year ago

0.2.5

1 year ago

0.2.4

1 year ago

0.1.10

2 years ago

0.0.20

2 years ago

0.0.21

2 years ago

0.0.22

2 years ago

0.0.23

2 years ago

0.0.24

2 years ago

0.1.0

2 years ago

0.1.2

2 years ago

0.1.1

2 years ago

0.1.8

2 years ago

0.1.7

2 years ago

0.1.9

2 years ago

0.1.4

2 years ago

0.1.3

2 years ago

0.1.6

2 years ago

0.1.5

2 years ago

0.0.18

2 years ago

0.0.19

2 years ago

0.0.10

2 years ago

0.0.11

2 years ago

0.0.12

2 years ago

0.0.13

2 years ago

0.0.14

2 years ago

0.0.15

2 years ago

0.0.9

2 years ago

0.0.16

2 years ago

0.0.17

2 years ago

0.0.8

2 years ago

0.0.7

2 years ago

0.0.6

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago