mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-04 20:45:52 +01:00
Small tweaks in darkmode (#1976)
* The scss variable $popover-border-color is now also used throughout the internal styles * Derived css variable is exported only once * Scss definitions are now organized and structured with descriptive comments * Fix incorrect styling due to a too dark and at the same time very thick border in the CreateButton component * Darken $border-light a little, so that it is not brighter than the border in dark mode
This commit is contained in:
@@ -891,7 +891,7 @@ exports[`Storyshots Buttons/CreateButton Default 1`] = `
|
||||
className="indexstories__Spacing-bpoict-0 ieMGHp"
|
||||
>
|
||||
<div
|
||||
className="CreateButton__Wrapper-f29oo-0 iODeHj has-text-centered mt-5 p-4"
|
||||
className="CreateButton__Wrapper-f29oo-0 iVaJIs has-text-centered mt-5 p-4"
|
||||
>
|
||||
<button
|
||||
className="button is-primary"
|
||||
|
||||
@@ -27,7 +27,7 @@ import Button, { ButtonProps } from "./Button";
|
||||
import classNames from "classnames";
|
||||
|
||||
const Wrapper = styled.div`
|
||||
border: 2px solid var(--scm-border-color);
|
||||
border: var(--scm-border);
|
||||
`;
|
||||
|
||||
export default class CreateButton extends React.Component<ButtonProps> {
|
||||
|
||||
Reference in New Issue
Block a user