Skip to content

Commit

Permalink
fix: Fixed Paragon scss var reference for CI (edx#78)
Browse files Browse the repository at this point in the history
  • Loading branch information
rijuma authored and brian-smith-tcril committed Jan 6, 2025
1 parent 375847b commit 2f0d421
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 9 deletions.
10 changes: 5 additions & 5 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
},
"dependencies-note": "Most deps are peer deps because they're specified by frontend-app-learning.",
"dependencies": {
"@edx/brand": "npm:@edx/[email protected].0",
"@edx/brand": "npm:@openedx/[email protected].3",
"@optimizely/react-sdk": "^2.9.2",
"react-markdown": "^8.0.5",
"uuid": "9.0.0"
Expand Down
8 changes: 5 additions & 3 deletions src/components/MessageForm/MessageForm.scss
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
@use '../../utils/variables' as var;

.message-form {
padding: 0.75rem 1.5rem;

.send-message-input {
.pgn__form-control-floating-label {
color: $gray-300;
color: var.$gray-300;
}

input {
border-radius: 1rem;
border: 1px solid $gray-200;
border: 1px solid var.$gray-200;
}
}

Expand All @@ -17,6 +19,6 @@
}

button {
color: $gray-400;
color: var.$gray-400;
}
}
5 changes: 5 additions & 0 deletions src/utils/_variables.scss
Original file line number Diff line number Diff line change
@@ -1,2 +1,7 @@
$dark-green: #0e3639;
$accent-yellow: #f0cc00;

// Paragon variables: https://github.com/edx/brand-edx.org/blob/master/paragon/_variables.scss
$gray-200: #cccccc !default;
$gray-300: #adadad !default;
$gray-400: #8f8f8f !default;

0 comments on commit 2f0d421

Please sign in to comment.