fix: hover has dark color
parent
e466472dc1
commit
11130cfe54
@ -1,64 +0,0 @@
|
|||||||
@use '../shared/colors' as colors;
|
|
||||||
|
|
||||||
.DayNumber {
|
|
||||||
&__Container {
|
|
||||||
width: 100%;
|
|
||||||
height: 100%;
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
justify-content: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
&__Svg {
|
|
||||||
width: 100%;
|
|
||||||
height: 100%;
|
|
||||||
}
|
|
||||||
|
|
||||||
&__Text {
|
|
||||||
fill: colors.$day-content-defaultmode-defaultstate-color;
|
|
||||||
font-weight: 700;
|
|
||||||
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
|
|
||||||
font-feature-settings: 'tnum' on, 'lnum' on;
|
|
||||||
|
|
||||||
// Greyed state
|
|
||||||
&--greyed {
|
|
||||||
fill: colors.$day-content-greyedmode-defaultstate-color;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Selected states
|
|
||||||
&--selected {
|
|
||||||
fill: colors.$day-content-defaultmode-selectedstate-midrange-color;
|
|
||||||
|
|
||||||
.DayNumber__Container--greyed & {
|
|
||||||
fill: colors.$day-content-greyedmode-selectedstate-midrange-color;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// Selecting states
|
|
||||||
&--selecting {
|
|
||||||
fill: colors.$day-content-defaultmode-selectingstate-midrange-color;
|
|
||||||
|
|
||||||
.DayNumber__Container--greyed & {
|
|
||||||
fill: colors.$day-content-greyedmode-selectingstate-midrange-color;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// Range start
|
|
||||||
&--rangeStart:not(&--rangeEnd) {
|
|
||||||
fill: colors.$day-content-defaultmode-selectedstate-rangestart-color;
|
|
||||||
|
|
||||||
.DayNumber__Container--greyed & {
|
|
||||||
fill: colors.$day-content-greyedmode-selectedstate-rangestart-color;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// Range end
|
|
||||||
&--rangeEnd:not(&--rangeStart) {
|
|
||||||
fill: colors.$day-content-defaultmode-selectedstate-rangeend-color;
|
|
||||||
|
|
||||||
.DayNumber__Container--greyed & {
|
|
||||||
fill: colors.$day-content-greyedmode-selectedstate-rangeend-color;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Loading…
Reference in New Issue