Skip to content

Commit

Permalink
make borders same as fill, like it is in normal modes
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasoppermann committed Dec 20, 2024
1 parent 5100c76 commit 233040d
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 33 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,32 +27,31 @@
muted: {
$value: '{base.color.blue.4}',
$type: 'color',
alpha: 0.15,
alpha: 0.2,
},
emphasis: {
$value: '{base.color.blue.5}',
$type: 'color',
},
},
danger: {
open: {
muted: {
$value: '{base.color.orange.4}',
$value: '{bgColore.success.muted}',
$type: 'color',
alpha: 0.1,
},
emphasis: {
$value: '{base.color.orange.5}',
$value: '{bgColore.success.emphasis}',
$type: 'color',
},
},
open: {
danger: {
muted: {
$value: '{base.color.blue.4}',
$value: '{base.color.orange.4}',
$type: 'color',
alpha: 0.2,
alpha: 0.1,
},
emphasis: {
$value: '{base.color.blue.5}',
$value: '{base.color.orange.5}',
$type: 'color',
},
},
Expand All @@ -69,36 +68,35 @@
},
},
borderColor: {
open: {
success: {
muted: {
$value: '{base.color.blue.4}',
$type: 'color',
alpha: 0.4,
},
emphasis: {
$value: '{base.color.blue.4}',
$value: '{base.color.blue.5}',
$type: 'color',
},
},
closed: {
open: {
muted: {
$value: '{borderColor.muted}',
$value: '{borderColor.success.muted}',
$type: 'color',
alpha: 0.4,
},
emphasis: {
$value: '{borderColor.emphasis}',
$value: '{borderColor.success.emphasis}',
$type: 'color',
},
},
success: {
closed: {
muted: {
$value: '{base.color.blue.4}',
$value: '{bgColor.neutral.muted}',
$type: 'color',
alpha: 0.4,
},
emphasis: {
$value: '{base.color.blue.5}',
$value: '{bgColor.neutral.emphasis}',
$type: 'color',
},
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,11 @@
},
open: {
muted: {
$value: '{base.color.blue.0}',
$value: '{bgColor.success.muted}',
$type: 'color',
},
emphasis: {
$value: '{base.color.blue.5}',
$value: '{bgColor.success.emphasis}',
$type: 'color',
},
},
Expand All @@ -75,44 +75,41 @@
},
},
borderColor: {
open: {
success: {
muted: {
$value: '{base.color.blue.3}',
$value: '{base.color.blue.0}',
$type: 'color',
alpha: 0.4,
},
emphasis: {
$value: '{base.color.blue.4}',
$value: '{base.color.blue.5}',
$type: 'color',
},
},
closed: {
open: {
muted: {
$value: '{borderColor.default}',
$value: '{borderColor.success.muted}',
$type: 'color',
alpha: 0.4,
},
emphasis: {
$value: '{borderColor.emphasis}',
$value: '{borderColor.success.emphasis}',
$type: 'color',
},
},
success: {
closed: {
muted: {
$value: '{base.color.blue.3}',
$value: '{borderColor.default}',
$type: 'color',
alpha: 0.4,
},
emphasis: {
$value: '{base.color.blue.5}',
$value: '{borderColor.emphasis}',
$type: 'color',
},
},
danger: {
muted: {
$value: '{base.color.orange.3}',
$value: '{base.color.orange.0}',
$type: 'color',
alpha: 0.4,
},
emphasis: {
$value: '{base.color.orange.5}',
Expand Down

0 comments on commit 233040d

Please sign in to comment.