5.1.2 • Published 2 months ago

@teft/theme v5.1.2

Weekly downloads
339
License
GPL-2.0-or-later
Repository
github
Last release
2 months ago

Theme

Theme your Teft design to better reflect your product’s brand.

Installation

Install the module

npm install @teft/theme

Variables

NameDefault valueExplanation
--teft-theme-site-width75remWidth of the site. Also used to define "wide" elements in the WordPress editor
--teft-theme-content-width36remWidth of the content, ex paragraphs, images...
--teft-theme-site-padding3remHow much padding there should be from the browser window to the site
--teft-theme-gap3remGlobal gap variable used in ex. defining the gap between columns
--teft-theme-block-margin5remMargin between blocks
--teft-theme-negative-block-margin-3remMove blocks closer to eachother. Ex two paragraph block don't want the full block margin (5rem - 3rem = 2rem)
--teft-theme-primary-color#1897ecPrimary color
--teft-theme-on-primary-color#fffColor used if primary color is the background color
--teft-theme-secondary-color#e9e9e9Secondary color
--teft-theme-on-secondary-color#000Color used if secondary color is the background color
--teft-theme-body-font-color#222Main body font color
--teft-theme-header-font-colorvar(--teft-theme-body-font-color)Main heading font color
--teft-theme-alert-color#c60f13Alert color
--teft-theme-on-alert-color#fffColor used if alert color is the background color
--teft-theme-success-color#5da423Success color
--teft-theme-on-success-color#fffColor used if success color is the background color
--teft-theme-warning-color#ffae00Warning color
--teft-theme-on-warning-color#fffColor used if warning color is the background color
--teft-theme-disabled-color#cccDisabled color
--teft-theme-on-disabled-color#fffColor used if disabled color is the background color
5.1.2

2 months ago

5.1.0

2 months ago

5.0.3

2 months ago

1.1.0

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

4 years ago

0.2.0-alpha.0

4 years ago

0.1.2

5 years ago

0.1.1

5 years ago

0.1.0

5 years ago

0.0.5

5 years ago

0.0.4

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago