Commit 0a8ed206 authored by Simon Knox's avatar Simon Knox

Merge branch '241728-update-orange-variables-in-gitlab-to-match-gitlab-ui' into 'master'

Update $orange- variables in GitLab to match GitLab UI

Closes #241728

See merge request gitlab-org/gitlab!40652
parents fcc2d214 6ff078cd
...@@ -48,7 +48,7 @@ $item-remove-button-space: 42px; ...@@ -48,7 +48,7 @@ $item-remove-button-space: 42px;
} }
.confidential-icon { .confidential-icon {
color: $orange-600; color: $orange-500;
} }
.item-title-wrapper { .item-title-wrapper {
......
...@@ -112,7 +112,7 @@ ...@@ -112,7 +112,7 @@
} }
@mixin btn-orange { @mixin btn-orange {
@include btn-color($orange-500, $orange-600, $orange-600, $orange-700, $orange-700, $orange-800, $white); @include btn-color($orange-500, $orange-600, $orange-500, $orange-600, $orange-600, $orange-800, $white);
} }
@mixin btn-red { @mixin btn-red {
...@@ -182,7 +182,7 @@ ...@@ -182,7 +182,7 @@
} }
&.btn-warning { &.btn-warning {
@include btn-outline($white, $orange-500, $orange-500, $orange-100, $orange-700, $orange-500, $orange-200, $orange-600, $orange-800); @include btn-outline($white, $orange-500, $orange-500, $orange-50, $orange-600, $orange-600, $orange-100, $orange-700, $orange-700);
} }
&.btn-primary, &.btn-primary,
...@@ -202,7 +202,7 @@ ...@@ -202,7 +202,7 @@
&.btn-close, &.btn-close,
&.btn-close-color { &.btn-close-color {
@include btn-outline($white, $orange-600, $orange-500, $orange-100, $orange-700, $orange-500, $orange-200, $orange-600, $orange-800); @include btn-outline($white, $orange-500, $orange-500, $orange-50, $orange-600, $orange-600, $orange-100, $orange-700, $orange-700);
} }
&.btn-spam { &.btn-spam {
......
...@@ -37,12 +37,12 @@ ...@@ -37,12 +37,12 @@
} }
.bs-callout-warning { .bs-callout-warning {
background-color: $orange-100; background-color: $orange-50;
border-color: $orange-200; border-color: $orange-200;
color: $orange-900; color: $gray-900;
a { a {
color: $orange-900; color: $blue-600;
} }
} }
......
...@@ -237,7 +237,7 @@ li.note { ...@@ -237,7 +237,7 @@ li.note {
} }
.warning_message { .warning_message {
@include message($orange-100, $orange-200, $orange-800); @include message($orange-50, $orange-200, $gray-900);
} }
.danger_message { .danger_message {
......
...@@ -300,7 +300,7 @@ span.idiff { ...@@ -300,7 +300,7 @@ span.idiff {
.renamed-file { .renamed-file {
a { a {
color: $orange-600; color: $orange-500;
} }
} }
......
...@@ -65,8 +65,8 @@ $notification-box-shadow-color: rgba(0, 0, 0, 0.25); ...@@ -65,8 +65,8 @@ $notification-box-shadow-color: rgba(0, 0, 0, 0.25);
} }
.flash-warning { .flash-warning {
background-color: $orange-100; background-color: $orange-50;
color: $orange-800; color: $gray-900;
cursor: default; cursor: default;
} }
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
border-radius: $border-radius-default; border-radius: $border-radius-default;
&.current-user { &.current-user {
background-color: $orange-100; background-color: $orange-50;
} }
} }
......
...@@ -462,7 +462,7 @@ ...@@ -462,7 +462,7 @@
} }
&.merge-requests-count { &.merge-requests-count {
background-color: $orange-600; background-color: $orange-500;
} }
&.todos-count { &.todos-count {
......
...@@ -34,17 +34,6 @@ ...@@ -34,17 +34,6 @@
} }
} }
&.warning-row {
background-color: $orange-100;
border-color: $orange-200;
color: $orange-700;
&:hover {
background: $orange-100;
}
}
&.smoke { background-color: $gray-light; } &.smoke { background-color: $gray-light; }
&:last-child { &:last-child {
......
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
border-style: solid; border-style: solid;
display: inline-flex; display: inline-flex;
@include spinner-size(16px, 2px); @include spinner-size(16px, 2px);
@include spinner-color($orange-600); @include spinner-color($orange-400);
&.spinner-md { &.spinner-md {
@include spinner-size(32px, 3px); @include spinner-size(32px, 3px);
......
...@@ -128,17 +128,17 @@ $blue-800: #064787 !default; ...@@ -128,17 +128,17 @@ $blue-800: #064787 !default;
$blue-900: #033464 !default; $blue-900: #033464 !default;
$blue-950: #002850 !default; $blue-950: #002850 !default;
$orange-50: #fffaf4 !default; $orange-50: #fdf1dd !default;
$orange-100: #fff1de !default; $orange-100: #f5d9a8 !default;
$orange-200: #fed69f !default; $orange-200: #e9be74 !default;
$orange-300: #fdbc60 !default; $orange-300: #d99530 !default;
$orange-400: #fca429 !default; $orange-400: #c17d10 !default;
$orange-500: #fc9403 !default; $orange-500: #ab6100 !default;
$orange-600: #de7e00 !default; $orange-600: #9e5400 !default;
$orange-700: #c26700 !default; $orange-700: #8f4700 !default;
$orange-800: #a35200 !default; $orange-800: #703800 !default;
$orange-900: #853c00 !default; $orange-900: #5c2900 !default;
$orange-950: #592800 !default; $orange-950: #421f00 !default;
$red-50: #fcf1ef !default; $red-50: #fcf1ef !default;
$red-100: #fdd4cd !default; $red-100: #fdd4cd !default;
......
...@@ -284,7 +284,7 @@ ...@@ -284,7 +284,7 @@
} }
.confidential-icon { .confidential-icon {
color: $orange-600; color: $orange-500;
cursor: help; cursor: help;
} }
......
...@@ -50,7 +50,7 @@ ...@@ -50,7 +50,7 @@
top: $header-height; top: $header-height;
border-radius: 2px 2px 0 0; border-radius: 2px 2px 0 0;
color: $orange-600; color: $orange-600;
background-color: $orange-100; background-color: $orange-50;
border: 1px solid $border-gray-normal; border: 1px solid $border-gray-normal;
padding: 3px 12px; padding: 3px 12px;
margin: auto; margin: auto;
......
...@@ -69,7 +69,7 @@ ...@@ -69,7 +69,7 @@
align-self: flex-start; align-self: flex-start;
font-weight: 500; font-weight: 500;
font-size: 20px; font-size: 20px;
color: $orange-900; color: $orange-500;
opacity: 1; opacity: 1;
margin: $gl-padding-8 14px 0 0; margin: $gl-padding-8 14px 0 0;
} }
...@@ -156,7 +156,7 @@ ...@@ -156,7 +156,7 @@
} }
.cluster-deployments-warning { .cluster-deployments-warning {
color: $orange-600; color: $orange-500;
} }
.badge.pods-badge { .badge.pods-badge {
......
...@@ -88,7 +88,7 @@ $space-between-cards: 8px; ...@@ -88,7 +88,7 @@ $space-between-cards: 8px;
} }
.devops-card-average { .devops-card-average {
border-top-color: $orange-400; border-top-color: $orange-200;
.board-card-score-big { .board-card-score-big {
background-color: $orange-50; background-color: $orange-50;
...@@ -247,7 +247,7 @@ $space-between-cards: 8px; ...@@ -247,7 +247,7 @@ $space-between-cards: 8px;
} }
.devops-average-score { .devops-average-score {
color: $orange-400; color: $orange-500;
} }
.devops-low-score { .devops-low-score {
......
.issuable-warning-icon { .issuable-warning-icon {
background-color: $orange-100; background-color: $orange-50;
border-radius: $border-radius-default; border-radius: $border-radius-default;
width: $issuable-warning-size; width: $issuable-warning-size;
height: $issuable-warning-size; height: $issuable-warning-size;
...@@ -979,7 +979,7 @@ ...@@ -979,7 +979,7 @@
} }
.suggestion-confidential { .suggestion-confidential {
color: $orange-600; color: $orange-500;
} }
.suggestion-state-open { .suggestion-state-open {
......
...@@ -97,7 +97,7 @@ ...@@ -97,7 +97,7 @@
.issuable-note-warning { .issuable-note-warning {
color: $orange-600; color: $orange-600;
background-color: $orange-100; background-color: $orange-50;
border-radius: $border-radius-default $border-radius-default 0 0; border-radius: $border-radius-default $border-radius-default 0 0;
border: 1px solid $border-gray-normal; border: 1px solid $border-gray-normal;
border-bottom: 0; border-bottom: 0;
......
...@@ -781,7 +781,7 @@ ...@@ -781,7 +781,7 @@
&.ci-status-icon-pending, &.ci-status-icon-pending,
&.ci-status-icon-waiting-for-resource, &.ci-status-icon-waiting-for-resource,
&.ci-status-icon-success-with-warnings { &.ci-status-icon-success-with-warnings {
@include mini-pipeline-graph-color($white, $orange-100, $orange-200, $orange-500, $orange-600, $orange-700); @include mini-pipeline-graph-color($white, $orange-50, $orange-100, $orange-500, $orange-600, $orange-700);
} }
&.ci-status-icon-preparing, &.ci-status-icon-preparing,
......
...@@ -124,8 +124,8 @@ ...@@ -124,8 +124,8 @@
.settings-message { .settings-message {
padding: 5px; padding: 5px;
line-height: 1.3; line-height: 1.3;
color: $orange-700; color: $gray-900;
background-color: $orange-100; background-color: $orange-50;
border: 1px solid $orange-200; border: 1px solid $orange-200;
border-radius: $border-radius-base; border-radius: $border-radius-base;
} }
...@@ -135,7 +135,7 @@ ...@@ -135,7 +135,7 @@
} }
.warning-title { .warning-title {
color: $orange-500; color: $gray-900;
} }
.danger-title { .danger-title {
......
...@@ -43,7 +43,7 @@ ...@@ -43,7 +43,7 @@
&.ci-waiting-for-resource, &.ci-waiting-for-resource,
&.ci-failed-with-warnings, &.ci-failed-with-warnings,
&.ci-success-with-warnings { &.ci-success-with-warnings {
@include status-color($orange-100, $orange-500, $orange-700); @include status-color($orange-50, $orange-500, $orange-700);
} }
&.ci-info, &.ci-info,
......
...@@ -173,7 +173,7 @@ ...@@ -173,7 +173,7 @@
.tree-truncated-warning { .tree-truncated-warning {
color: $orange-600; color: $orange-600;
background-color: $orange-100; background-color: $orange-50;
} }
.tree-time-ago { .tree-time-ago {
......
...@@ -24,8 +24,8 @@ ...@@ -24,8 +24,8 @@
.has-warning { .has-warning {
.description { .description {
color: $orange-700; color: $gray-900;
background-color: $orange-100; background-color: $orange-50;
} }
} }
...@@ -58,7 +58,7 @@ ...@@ -58,7 +58,7 @@
} }
&.has-warning { &.has-warning {
color: $orange-700; color: $orange-500;
} }
} }
......
...@@ -5,7 +5,7 @@ $draft-actions-left-margin: 40px + $gl-padding; ...@@ -5,7 +5,7 @@ $draft-actions-left-margin: 40px + $gl-padding;
background: $orange-50; background: $orange-50;
.referenced-commands.draft-note-commands { .referenced-commands.draft-note-commands {
background: $orange-100; background: $orange-50;
font-size: $label-font-size; font-size: $label-font-size;
margin: 0 0 $gl-padding $draft-actions-left-margin; margin: 0 0 $gl-padding $draft-actions-left-margin;
} }
...@@ -35,7 +35,7 @@ button[disabled] { ...@@ -35,7 +35,7 @@ button[disabled] {
} }
.draft-pending-label { .draft-pending-label {
background: $orange-600; background: $orange-500;
color: $white; color: $white;
vertical-align: text-top; vertical-align: text-top;
} }
...@@ -72,6 +72,6 @@ button[disabled] { ...@@ -72,6 +72,6 @@ button[disabled] {
.frame, .frame,
.diff-discussions { .diff-discussions {
.badge.is-draft { .badge.is-draft {
background-color: $orange-600; background-color: $orange-500;
} }
} }
...@@ -106,8 +106,8 @@ ...@@ -106,8 +106,8 @@
} }
&-needs-attention { &-needs-attention {
color: $orange-700; color: $gray-900;
background-color: $orange-100; background-color: $orange-50;
} }
&-on-track { &-on-track {
......
---
title: Update $orange variables to match GitLab UI and address contrast for accessibility
merge_request: 40652
author:
type: other
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment