Skip to content

Commit

Permalink
🪟 🔧 Increase color palette consistency: prohibit to use hex value for…
Browse files Browse the repository at this point in the history
… colors (#16662)
  • Loading branch information
dizel852 authored Sep 14, 2022
1 parent 835ff30 commit 144d1ec
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 2 deletions.
3 changes: 2 additions & 1 deletion airbyte-webapp/.stylelintrc
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
"scss/dollar-variable-empty-line-before": null,
"scss/dollar-variable-pattern": null,
"scss/percent-placeholder-pattern": null,
"value-keyword-case": null
"value-keyword-case": null,
"color-no-hex": true
},
"ignoreFiles": ["**/build/**", "**/dist/**"]
}
1 change: 1 addition & 0 deletions airbyte-webapp/public/index.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* stylelint-disable color-no-hex */
body, html {
margin: 0;
height: 100%;
Expand Down
3 changes: 2 additions & 1 deletion airbyte-webapp/src/components/base/Card/Card.module.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
@use "../../../scss/colors";
@use "../../../scss/variables" as vars;

.container {
width: auto;
Expand All @@ -18,7 +19,7 @@
.title {
padding: 25px 25px 22px;
color: colors.$dark-blue;
border-bottom: #e8e8ed 1px solid;
border-bottom: colors.$grey-100 vars.$border-thin solid;
font-weight: 600;
letter-spacing: 0.008em;
border-top-left-radius: 10px;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
}

.github {
/* stylelint-disable-next-line color-no-hex */
background: #333;
color: colors.$white;
border: none;
Expand Down
1 change: 1 addition & 0 deletions airbyte-webapp/src/scss/_colors.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* stylelint-disable color-no-hex */
$blue-50: #eae9ff;
$blue-100: #cbc8ff;
$blue-200: #a6a4ff;
Expand Down

0 comments on commit 144d1ec

Please sign in to comment.