changed from hexo to custom react stuff #1
3 changed files with 1 additions and 2 deletions
|
@ -8,7 +8,6 @@ import theming from "../theming"
|
||||||
|
|
||||||
const StyledThemeButton = styled.div<{ language: string }>`
|
const StyledThemeButton = styled.div<{ language: string }>`
|
||||||
${theming.styles.navbarButtonStyle}
|
${theming.styles.navbarButtonStyle}
|
||||||
transition: transform 0.2s linear;
|
|
||||||
${(props) =>
|
${(props) =>
|
||||||
props.language == "en"
|
props.language == "en"
|
||||||
? ""
|
? ""
|
||||||
|
|
|
@ -9,7 +9,6 @@ import theming from "../theming"
|
||||||
|
|
||||||
const StyledThemeButton = styled.div`
|
const StyledThemeButton = styled.div`
|
||||||
${theming.styles.navbarButtonStyle}
|
${theming.styles.navbarButtonStyle}
|
||||||
transition: transform 0.2s linear;
|
|
||||||
${theme("mode", {
|
${theme("mode", {
|
||||||
light: "",
|
light: "",
|
||||||
dark: "transform: scaleX(-1);\
|
dark: "transform: scaleX(-1);\
|
||||||
|
|
|
@ -44,6 +44,7 @@ export default {
|
||||||
padding: 14px 16px;
|
padding: 14px 16px;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
margin: 0.1em;
|
margin: 0.1em;
|
||||||
|
transition: transform 0.1s linear;
|
||||||
color: ${theme("mode", {
|
color: ${theme("mode", {
|
||||||
light: "black",
|
light: "black",
|
||||||
dark: "#CFD0D0",
|
dark: "#CFD0D0",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue