-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix sass deprecations #562
base: melsumner/failing-scenarios
Are you sure you want to change the base?
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
@import 'variables/variables'; | ||
@use 'variables/_variables' as *; | ||
|
||
@import 'components/components'; | ||
@import 'object-patterns/object-patterns'; | ||
@import 'pages/pages'; | ||
@import 'typography/typography'; | ||
@import 'utilities/utilities'; | ||
@use 'components/components'; | ||
@use 'object-patterns/object-patterns'; | ||
@use 'pages/pages'; | ||
@use 'typography/typography'; | ||
@use 'utilities/utilities'; | ||
|
||
html { | ||
font-size: 100%; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. [suggestion] not related to this PR, but I would suggest to move the global declarations in a dedicated file (eg. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Thank you for the suggestion! I've captured it in a separate issue: #563 |
||
|
@@ -34,9 +34,6 @@ ul { | |
background-color: $theme-color__offWhite; | ||
z-index: 1; | ||
|
||
.application__header { | ||
} | ||
|
||
.application__main-content { | ||
min-width: $min-width__main-content; | ||
} | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
@use '../variables/_variables' as *; | ||
|
||
|
||
.c-button { | ||
display: flex; | ||
font-size: 1em; | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
@import 'button'; | ||
@import 'image'; | ||
@import 'menu-link-item'; | ||
@import 'radio-track'; | ||
@import 'violations-grid-item'; | ||
@use 'button'; | ||
@use 'image'; | ||
@use 'menu-link-item'; | ||
@use 'radio-track'; | ||
@use 'violations-grid-item'; |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
@use '../variables/_variables' as *; | ||
|
||
.c-menu-link-item { | ||
height: 3.25em; | ||
position: relative; | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
@use '../variables/_variables' as *; | ||
|
||
.c-violations-grid-item { | ||
box-shadow: $box-shadow__card; | ||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
@use '../variables/_variables' as *; | ||
|
||
.o-content-box { | ||
box-sizing: border-box; | ||
padding: $padding__content-box; | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
@import 'violations'; | ||
@use 'violations'; |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
@use '../variables/_variables' as *; | ||
|
||
h1, | ||
h2, | ||
h3, | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[question] I don't think the underscore is needed anymore (to have Sass ignore certain files). Is it some form of convention used locally? (I see the other files are "imported/used" without the underscore.