text rules
This commit is contained in:
parent
27c450e1af
commit
dbcb92b28e
9 changed files with 172 additions and 0 deletions
|
|
@ -20,3 +20,4 @@
|
|||
// Style rules
|
||||
@import 'spacers/rules';
|
||||
@import 'typography/rules';
|
||||
@import 'text/rules';
|
||||
|
|
|
|||
12
src/scss/text/_font-style.scss
Normal file
12
src/scss/text/_font-style.scss
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
.italic {
|
||||
font-style: italic;
|
||||
}
|
||||
.not-italic {
|
||||
font-style: normal;
|
||||
}
|
||||
.\!italic {
|
||||
font-style: italic !important;
|
||||
}
|
||||
.\!not-italic {
|
||||
font-style: normal !important;
|
||||
}
|
||||
54
src/scss/text/_font-weight.scss
Normal file
54
src/scss/text/_font-weight.scss
Normal file
|
|
@ -0,0 +1,54 @@
|
|||
.font-thin {
|
||||
font-weight: 100;
|
||||
}
|
||||
.font-extralight {
|
||||
font-weight: 200;
|
||||
}
|
||||
.font-light {
|
||||
font-weight: 300;
|
||||
}
|
||||
.font-normal {
|
||||
font-weight: 400;
|
||||
}
|
||||
.font-medium {
|
||||
font-weight: 500;
|
||||
}
|
||||
.font-semibold {
|
||||
font-weight: 600;
|
||||
}
|
||||
.font-bold {
|
||||
font-weight: 700;
|
||||
}
|
||||
.font-extrabold {
|
||||
font-weight: 800;
|
||||
}
|
||||
.font-black {
|
||||
font-weight: 900;
|
||||
}
|
||||
.\!font-thin {
|
||||
font-weight: 100 !important;
|
||||
}
|
||||
.\!font-extralight {
|
||||
font-weight: 200 !important;
|
||||
}
|
||||
.\!font-light {
|
||||
font-weight: 300 !important;
|
||||
}
|
||||
.\!font-normal {
|
||||
font-weight: 400 !important;
|
||||
}
|
||||
.\!font-medium {
|
||||
font-weight: 500 !important;
|
||||
}
|
||||
.\!font-semibold {
|
||||
font-weight: 600 !important;
|
||||
}
|
||||
.\!font-bold {
|
||||
font-weight: 700 !important;
|
||||
}
|
||||
.\!font-extrabold {
|
||||
font-weight: 800 !important;
|
||||
}
|
||||
.\!font-black {
|
||||
font-weight: 900 !important;
|
||||
}
|
||||
7
src/scss/text/_rules.scss
Normal file
7
src/scss/text/_rules.scss
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
@import 'font-style';
|
||||
@import 'font-weight';
|
||||
@import 'text-align';
|
||||
@import 'text-decoration';
|
||||
@import 'text-transform';
|
||||
@import 'white-space';
|
||||
@import 'word-break';
|
||||
36
src/scss/text/_text-align.scss
Normal file
36
src/scss/text/_text-align.scss
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
.text-left {
|
||||
text-align: left;
|
||||
}
|
||||
.text-center {
|
||||
text-align: center;
|
||||
}
|
||||
.text-right {
|
||||
text-align: right;
|
||||
}
|
||||
.text-justify {
|
||||
text-align: justify;
|
||||
}
|
||||
.text-start {
|
||||
text-align: start;
|
||||
}
|
||||
.text-end {
|
||||
text-align: end !important;
|
||||
}
|
||||
.\!text-left {
|
||||
text-align: left !important;
|
||||
}
|
||||
.\!text-center {
|
||||
text-align: center !important;
|
||||
}
|
||||
.\!text-right {
|
||||
text-align: right !important;
|
||||
}
|
||||
.\!text-justify {
|
||||
text-align: justify !important;
|
||||
}
|
||||
.\!text-start {
|
||||
text-align: start !important;
|
||||
}
|
||||
.\!text-end {
|
||||
text-align: end !important;
|
||||
}
|
||||
24
src/scss/text/_text-decoration.scss
Normal file
24
src/scss/text/_text-decoration.scss
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
.underline {
|
||||
text-decoration-line: underline;
|
||||
}
|
||||
.overline {
|
||||
text-decoration-line: overline;
|
||||
}
|
||||
.line-through {
|
||||
text-decoration-line: line-through;
|
||||
}
|
||||
.no-underline {
|
||||
text-decoration-line: none;
|
||||
}
|
||||
.\!underline {
|
||||
text-decoration-line: underline !important;
|
||||
}
|
||||
.\!overline {
|
||||
text-decoration-line: overline !important;
|
||||
}
|
||||
.\!line-through {
|
||||
text-decoration-line: line-through !important;
|
||||
}
|
||||
.\!no-underline {
|
||||
text-decoration-line: none !important;
|
||||
}
|
||||
12
src/scss/text/_text-transform.scss
Normal file
12
src/scss/text/_text-transform.scss
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
.uppercase {
|
||||
text-transform: uppercase;
|
||||
}
|
||||
.lowercase {
|
||||
text-transform: lowercase;
|
||||
}
|
||||
.\!uppercase {
|
||||
text-transform: uppercase !important;
|
||||
}
|
||||
.\!lowercase {
|
||||
text-transform: lowercase !important;
|
||||
}
|
||||
12
src/scss/text/_white-space.scss
Normal file
12
src/scss/text/_white-space.scss
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
.whitespace-normal {
|
||||
white-space: normal;
|
||||
}
|
||||
.whitespace-nowrap {
|
||||
white-space: nowrap;
|
||||
}
|
||||
.\!whitespace-normal {
|
||||
white-space: normal !important;
|
||||
}
|
||||
.\!whitespace-nowrap {
|
||||
white-space: nowrap !important;
|
||||
}
|
||||
14
src/scss/text/_word-break.scss
Normal file
14
src/scss/text/_word-break.scss
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
.break-normal {
|
||||
overflow-wrap: normal;
|
||||
word-break: normal;
|
||||
}
|
||||
.break-words {
|
||||
overflow-wrap: break-word;
|
||||
}
|
||||
.\!break-normal {
|
||||
overflow-wrap: normal !important;
|
||||
word-break: normal !important;
|
||||
}
|
||||
.\!break-words {
|
||||
overflow-wrap: break-word !important;
|
||||
}
|
||||
Loading…
Reference in a new issue