-
Notifications
You must be signed in to change notification settings - Fork 4
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
Support for complete token refurbishment #144
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,53 +12,11 @@ | |
line-height: var(--text-leading); | ||
color: var(--text-color); | ||
overflow-wrap: anywhere; | ||
background-color: var(--background-color); | ||
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. I changed from specifying variations by class to CSS Variables |
||
border: var(--border-width) solid var(--border-color); | ||
border-radius: var(--radius); | ||
} | ||
|
||
.box.backgroundColorPrimary { | ||
background-color: var(--color-background-primary); | ||
} | ||
|
||
.box.backgroundColorPrimaryDarken { | ||
background-color: var(--color-background-primary-darken); | ||
} | ||
|
||
.box.backgroundColorAccent { | ||
background-color: var(--color-background-accent); | ||
} | ||
|
||
.box.backgroundColorAccentDarken { | ||
background-color: var(--color-background-accent-darken); | ||
} | ||
|
||
.box.backgroundColorAlert { | ||
background-color: var(--color-background-alert); | ||
} | ||
|
||
.box.backgroundColorGray { | ||
background-color: var(--color-background-gray); | ||
} | ||
|
||
.box.backgroundColorWhite { | ||
background-color: var(--color-background-white); | ||
} | ||
|
||
.box.borderGray { | ||
border: 1px solid var(--color-border); | ||
} | ||
|
||
.box.borderGrayThick { | ||
border: 2px solid var(--color-border); | ||
} | ||
|
||
.box.borderPrimary { | ||
border: 1px solid var(--color-primary); | ||
} | ||
|
||
.box.borderPrimaryThick { | ||
border: 2px solid var(--color-primary); | ||
} | ||
|
||
.box.textBold { | ||
font-weight: bold; | ||
} | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -32,7 +32,7 @@ | |
} | ||
|
||
.button:focus-visible { | ||
outline: solid var(--color-accent) 2px; | ||
outline: solid var(--focus-ring, var(--color-border-blue-darken)) 2px; | ||
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. In the focus-ring, pink is only used when the component color is blue. While blue is the basic color, it is used exceptionally as another color. |
||
} | ||
|
||
.button.loading { | ||
|
@@ -83,72 +83,61 @@ | |
--text: var(--color-text-white); | ||
--text-hover: var(--color-text-white); | ||
--text-disabled: var(--color-text-disabled); | ||
--bg: var(--color-primary); | ||
--bg-hover: var(--color-primary-darken); | ||
--bg-disabled: var(--color-background-gray); | ||
--border-color: var(--color-primary); | ||
--border-color-hover: var(--color-primary-darken); | ||
--border-color-disabled: var(--color-background-gray); | ||
--bg: var(--color-background-blue-inverse); | ||
--bg-hover: var(--color-background-blue-inverse-darken); | ||
--bg-disabled: var(--color-background-black-darken); | ||
--border-color: var(--color-background-blue-inverse); | ||
--border-color-hover: var(--color-background-blue-inverse-darken); | ||
--border-color-disabled: var(--color-background-black-darken); | ||
--focus-ring: var(--color-border-pink-darken); | ||
} | ||
|
||
.secondary { | ||
--text: var(--color-text-main); | ||
--text-hover: var(--color-text-main); | ||
--text-disabled: var(--color-text-disabled); | ||
--bg: var(--color-background-white); | ||
--bg-hover: var(--color-background-gray); | ||
--bg-disabled: var(--color-background-gray); | ||
--border-color: var(--color-border); | ||
--border-color-hover: var(--color-border); | ||
--border-color-disabled: var(--color-background-gray); | ||
} | ||
|
||
.accent { | ||
--text: var(--color-text-white); | ||
--text-hover: var(--color-text-white); | ||
--text-disabled: var(--color-text-disabled); | ||
--bg: var(--color-accent); | ||
--bg-hover: var(--color-accent-darken); | ||
--bg-disabled: var(--color-background-gray); | ||
--border-color: var(--color-accent); | ||
--border-color-hover: var(--color-accent-darken); | ||
--border-color-disabled: var(--color-background-gray); | ||
--bg-hover: var(--color-background-black-darken); | ||
--bg-disabled: var(--color-background-black-darken); | ||
--border-color: var(--color-border-black); | ||
--border-color-hover: var(--color-border-black); | ||
--border-color-disabled: var(--color-background-black-darken); | ||
} | ||
|
||
.alert { | ||
--text: var(--color-text-white); | ||
--text-hover: var(--color-text-white); | ||
--text-disabled: var(--color-text-disabled); | ||
--bg: var(--color-alert); | ||
--bg-hover: var(--color-alert-darken); | ||
--bg-disabled: var(--color-background-gray); | ||
--border-color: var(--color-alert); | ||
--border-color-hover: var(--color-alert-darken); | ||
--border-color-disabled: var(--color-background-gray); | ||
--bg: var(--color-background-red-inverse); | ||
--bg-hover: var(--color-background-red-inverse-darken); | ||
--bg-disabled: var(--color-background-black-darken); | ||
--border-color: var(--color-background-red-inverse); | ||
--border-color-hover: var(--color-background-red-inverse-darken); | ||
--border-color-disabled: var(--color-background-black-darken); | ||
} | ||
|
||
.text { | ||
--text: var(--color-primary); | ||
--text-hover: var(--color-primary-darken); | ||
--text: var(--color-ubie-blue-600); | ||
--text-hover: var(--color-ubie-blue-700); | ||
--text-disabled: var(--color-text-disabled); | ||
--bg: transparent; | ||
--bg-hover: var(--color-background-primary); | ||
--bg-hover: var(--color-background-blue); | ||
--bg-disabled: transparent; | ||
--border-color: transparent; | ||
--border-color-hover: var(--color-background-primary); | ||
--border-color-disabled: var(--color-background-gray); | ||
--border-color-hover: var(--color-background-blue); | ||
--border-color-disabled: var(--color-background-black-darken); | ||
} | ||
|
||
.textAlert { | ||
--text: var(--color-alert); | ||
--text-hover: var(--color-alert-darken); | ||
--text: var(--color-text-red); | ||
--text-hover: var(--color-ubie-red-700); | ||
--text-disabled: var(--color-text-disabled); | ||
--bg: transparent; | ||
--bg-hover: var(--color-background-alert); | ||
--bg-hover: var(--color-background-red); | ||
--bg-disabled: transparent; | ||
--border-color: transparent; | ||
--border-color-hover: var(--color-background-alert); | ||
--border-color-disabled: var(--color-background-gray); | ||
--border-color-hover: var(--color-background-red); | ||
--border-color-disabled: var(--color-background-black-darken); | ||
} | ||
|
||
.authGoogle { | ||
|
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.
GitHub Actions fails to install this package. Even if it fails, the process can continue.
ref: npm/cli#4828