Skip to content

Commit

Permalink
change(utilities): values need important rule
Browse files Browse the repository at this point in the history
We need utilities to override default styles as such the values need to be important
  • Loading branch information
ichim-david committed May 30, 2022
1 parent 05c88b2 commit 96150d9
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions theme/themes/eea/globals/utilities.less
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
// Color utilities
.color-fg-primary { color: @primaryColor; }
.color-fg-secondary { color: @secondaryColor; }
.color-fg-tertiary { color: @tertiaryColor; }
.color-fg-white { color: @white; }
.color-fg-primary { color: @primaryColor !important; }
.color-fg-secondary { color: @secondaryColor !important; }
.color-fg-tertiary { color: @tertiaryColor !important; }
.color-fg-white { color: @white !important; }

.color-bg-primary { background-color: @primaryColor; }
.color-bg-secondary { background-color: @secondaryColor; }
.color-bg-tertiary { background-color: @tertiaryColor; }
.color-bg-grey { background-color: #F9F9F9; }
.color-bg-primary { background-color: @primaryColor !important; }
.color-bg-secondary { background-color: @secondaryColor !important; }
.color-bg-tertiary { background-color: @tertiaryColor !important; }
.color-bg-grey { background-color: #F9F9F9 !important; }

// Display utilities
.d-flex { display: flex !important; }
.flex-items-start { align-items: flex-start; }
.flex-items-end { align-items: flex-end; }
.flex-items-center { align-items: center; }
.flex-items-start { align-items: flex-start !important; }
.flex-items-end { align-items: flex-end !important; }
.flex-items-center { align-items: center !important; }

// Align text utilities
.text-left { text-align: left; }
.text-center { text-align: center;}
.text-right { text-align: right; }
.text-left { text-align: left !important; }
.text-center { text-align: center !important;}
.text-right { text-align: right !important; }

//Quotes utilities
.quoted::before {
Expand All @@ -28,4 +28,4 @@
.quoted::after {
content: "\ec52";
font-family: 'remixicon' !important;
}
}

0 comments on commit 96150d9

Please sign in to comment.