diff options
Diffstat (limited to 'tpl/views/heading.pug')
| -rw-r--r-- | tpl/views/heading.pug | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/tpl/views/heading.pug b/tpl/views/heading.pug index bc16cee..35c4de4 100644 --- a/tpl/views/heading.pug +++ b/tpl/views/heading.pug | |||
| @@ -39,3 +39,47 @@ mixin view-heading | |||
| 39 | +div-heading('md', true)= 'MD display Heading' | 39 | +div-heading('md', true)= 'MD display Heading' |
| 40 | +div-heading('sm', true)= 'SM display Heading' | 40 | +div-heading('sm', true)= 'SM display Heading' |
| 41 | +div-heading('xs', true)= 'XS display Heading' | 41 | +div-heading('xs', true)= 'XS display Heading' |
| 42 | |||
| 43 | each theme in ['static-black', 'static-white'] | ||
| 44 | - | ||
| 45 | const bg = theme.startsWith('static-black') ? 500 : 1000; | ||
| 46 | |||
| 47 | .c-box(style=`background-color: var(--colors--blue-static--${bg});`) | ||
| 48 | h1.u-mt-0= 'H1 default' | ||
| 49 | h2= 'H2 default' | ||
| 50 | h3= 'H3 default' | ||
| 51 | h4= 'H4 default' | ||
| 52 | h5= 'H5 default' | ||
| 53 | h6= 'H6 default' | ||
| 54 | |||
| 55 | .c-box.s-headings(class=`s-headings--${theme}` style=`background-color: var(--colors--blue-static--${bg});`) | ||
| 56 | h1.u-mt-0= 'H1 styled' | ||
| 57 | h2= 'H2 styled' | ||
| 58 | h3= 'H3 styled' | ||
| 59 | h4= 'H4 styled' | ||
| 60 | h5= 'H5 styled' | ||
| 61 | h6= 'H6 styled' | ||
| 62 | |||
| 63 | .c-box.s-headings.s-headings--display(class=`s-headings--${theme}` style=`background-color: var(--colors--blue-static--${bg});`) | ||
| 64 | h1.u-mt-0= 'H1 display styled' | ||
| 65 | h2= 'H2 display styled' | ||
| 66 | h3= 'H3 display styled' | ||
| 67 | h4= 'H4 display styled' | ||
| 68 | h5= 'H5 display styled' | ||
| 69 | h6= 'H6 display styled' | ||
| 70 | |||
| 71 | .c-box(style=`background-color: var(--colors--blue-static--${bg});`) | ||
| 72 | +div-heading('xxl')(color=theme class='u-mt-0')= 'XXL Heading' | ||
| 73 | +div-heading('xl')(color=theme)= 'XL Heading' | ||
| 74 | +div-heading('lg')(color=theme)= 'LG Heading' | ||
| 75 | +div-heading('md')(color=theme)= 'MD Heading' | ||
| 76 | +div-heading('sm')(color=theme)= 'SM Heading' | ||
| 77 | +div-heading('xs')(color=theme)= 'XS Heading' | ||
| 78 | |||
| 79 | .c-box(style=`background-color: var(--colors--blue-static--${bg});`) | ||
| 80 | +div-heading('xxl', true)(color=theme class='u-mt-0')= 'XXL display Heading' | ||
| 81 | +div-heading('xl', true)(color=theme)= 'XL display Heading' | ||
| 82 | +div-heading('lg', true)(color=theme)= 'LG display Heading' | ||
| 83 | +div-heading('md', true)(color=theme)= 'MD display Heading' | ||
| 84 | +div-heading('sm', true)(color=theme)= 'SM display Heading' | ||
| 85 | +div-heading('xs', true)(color=theme)= 'XS display Heading' | ||
