This repository has been archived by the owner on Jul 31, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
monorepo f-emoji-picker global styles updated
- Loading branch information
vikas-cldcvr
committed
Oct 8, 2023
1 parent
e411b95
commit 2fcc586
Showing
4 changed files
with
53 additions
and
47 deletions.
There are no files selected for viewing
30 changes: 30 additions & 0 deletions
30
packages/flow-core/src/components/f-emoji-picker/_f-emoji-picker-variables.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
$sizes: ( | ||
"medium": 36px, | ||
"small": 28px | ||
); | ||
|
||
$state-colors: ( | ||
"primary": var(--color-primary-default), | ||
"success": var(--color-success-default), | ||
"warning": var(--color-warning-default), | ||
"danger": var(--color-danger-default) | ||
); | ||
|
||
$variants: ( | ||
"curved": 4px, | ||
"round": 22px, | ||
"block": 0px | ||
); | ||
|
||
$categories: ( | ||
"fill": ( | ||
"background": var(--color-input-default), | ||
"hover": var(--color-input-default-hover), | ||
"border": 1px solid var(--color-input-default) | ||
), | ||
"outline": ( | ||
"background": transparent, | ||
"hover": var(--color-surface-default-hover), | ||
"border": 1px solid var(--color-border-default) | ||
) | ||
); |
18 changes: 18 additions & 0 deletions
18
packages/flow-core/src/components/f-emoji-picker/f-emoji-picker-global.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
@import "./../../mixins/scss/mixins"; | ||
@import "./f-emoji-picker-variables"; | ||
|
||
f-emoji-picker { | ||
display: flex; | ||
flex: 1 0 auto; | ||
&[disabled] { | ||
@include disabled(); | ||
} | ||
&[state="default"] { | ||
@include input-color("default"); | ||
} | ||
@each $state, $color in $state-colors { | ||
&[state="#{$state}"] { | ||
@include input-color($state); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters