Skip to content

Commit 5452064

Browse files
committed
refactor: update styles to css variables
1 parent 658554d commit 5452064

1 file changed

Lines changed: 4 additions & 6 deletions

File tree

src/index.scss

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
1+
@use "@openedx/paragon/styles/css/core/custom-media-breakpoints" as paragonCustomMediaBreakpoints;
2+
13
$fa-font-path: "~font-awesome/fonts";
24
@import "~font-awesome/scss/font-awesome";
35

4-
@import "~@edx/brand/paragon/fonts";
5-
@import "~@edx/brand/paragon/variables";
6-
@import "~@openedx/paragon/scss/core/core";
7-
@import "~@edx/brand/paragon/overrides";
86
@import "~@edx/frontend-component-header/dist/index";
97
@import "~@edx/frontend-component-footer/dist/footer";
108

@@ -120,7 +118,7 @@ $fa-font-path: "~font-awesome/fonts";
120118
.dropdown-item:active,
121119
.dropdown-item:focus,
122120
.btn-tertiary:not(:disabled):not(.disabled).active {
123-
background-color: $light-300 !important;
121+
background-color: var(--pgn-color-light-300) !important;
124122
}
125123

126124

@@ -138,7 +136,7 @@ $fa-font-path: "~font-awesome/fonts";
138136
font-size: 14px !important;
139137
padding-top: 10px !important;
140138
padding-bottom: 10px !important;
141-
border: 1px solid $light-500 !important;
139+
border: 1px solid var(--pgn-color-light-500) !important;
142140
}
143141

144142
.dropdown-item {

0 commit comments

Comments
 (0)