Skip to content

Instantly share code, notes, and snippets.

@lmartim
Last active September 30, 2021 03:16
Show Gist options
  • Save lmartim/becf4a920089e8e6935ff9c5b314309d to your computer and use it in GitHub Desktop.
Save lmartim/becf4a920089e8e6935ff9c5b314309d to your computer and use it in GitHub Desktop.
Some styles
//.src/assets/styles/_flex.scss
.d {
&-iflex {
display: inline-flex !important;
}
&-flex {
display: flex !important;
}
}
.d-ai {
&-fstart {
align-items: flex-start !important;
}
&-center {
align-items: center !important;
}
&-fend {
align-items: flex-end !important;
}
&-baseline {
align-items: baseline !important;
}
}
.d-jc {
&-start {
justify-content: start !important;
}
&-f-start {
justify-content: flex-start !important;
}
&-center {
justify-content: center !important;
}
&-end {
justify-content: end !important;
}
&-f-end {
justify-content: flex-end !important;
}
&-left {
justify-content: left !important;
}
&-right {
justify-content: right !important;
}
}
.d-fd {
&-row {
flex-direction: row !important;
}
&-row-r {
flex-direction: row-reverse !important;
}
&-column {
flex-direction: column !important;
}
&-column-r {
flex-direction: column-reverse !important;
}
}
//.src/assets/styles/_fonts.scss
.f-fw {
&-light {
font-weight: $font-weight-light !important;
}
&-regular {
font-weight: $font-weight-regular !important;
}
&-medium {
font-weight: $font-weight-medium !important;
}
&-bold {
font-weight: $font-weight-bold !important;
}
&-extrabold {
font-weight: $font-weight-extrabold !important;
}
}
.f-fs {
&-xxxs {
font-size: $font-size-xxxs !important;
}
&-xxs {
font-size: $font-size-xxs !important;
}
&-xs {
font-size: $font-size-xs !important;
}
&-sm {
font-size: $font-size-sm !important;
}
&-md {
font-size: $font-size-md !important;
}
&-lg {
font-size: $font-size-lg !important;
}
&-xl {
font-size: $font-size-xl !important;
}
&-xxl {
font-size: $font-size-xxl !important;
}
}
//.src/assets/styles/styles.scss
@import "_fonts.scss";
@import "_flex.scss";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment