mirror of
https://github.com/rowtype-yoga/psfp.git
synced 2024-10-27 00:50:07 +03:00
Improve active element
This commit is contained in:
parent
f86fac1dca
commit
6000b7f382
2
blog/.vscode/settings.json
vendored
2
blog/.vscode/settings.json
vendored
@ -1,5 +1,5 @@
|
||||
{
|
||||
"workbench.preferredDarkColorTheme": "Base2Tone_HeathDark",
|
||||
"workbench.colorTheme": "Halcyon",
|
||||
"workbench.colorTheme": "Horizon Bright",
|
||||
"editor.formatOnSave": true
|
||||
}
|
@ -94,8 +94,9 @@ mkMdxProviderComponent compiler = do
|
||||
( { layout: M.layout true
|
||||
, css:
|
||||
E.css
|
||||
{ fontFamily: E.str "Cormorant Garamond"
|
||||
{ fontFamily: E.str "'Cormorant Garamond', Georgia, serif"
|
||||
, fontSize: E.str "min(calc(var(--s-1) + 2.4vw), var(--s1))"
|
||||
, fontWeight: E.str "400"
|
||||
, lineHeight: E.var "--line-height-small"
|
||||
, "-msHyphens": E.str "auto"
|
||||
, "-webkitHyphens": E.str "auto"
|
||||
|
@ -152,11 +152,11 @@ mkLayout fetchImpl = do
|
||||
, lineHeight: Emotion.str "min(calc(var(--s-1) + 2px + 3vw), var(--s3))"
|
||||
, marginTop: Emotion.str "min(calc(var(--s-1) + 1.5vw), var(--s2))"
|
||||
, marginRight: Emotion.var "--s-2"
|
||||
, "&::selection":
|
||||
, "&:::selection":
|
||||
Emotion.nested
|
||||
$ Emotion.css
|
||||
{ color: Emotion.str colour.highlightText
|
||||
, background: Emotion.str colour.highlight
|
||||
, background: Emotion.str "green" -- colour.highlight
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -1,8 +1,12 @@
|
||||
// Fonts
|
||||
import "@fontsource/cormorant-garamond/latin-ext-500.css"
|
||||
import "@fontsource/cormorant-garamond/latin-ext-500-italic.css"
|
||||
import "@fontsource/cormorant-garamond/latin-ext-600.css"
|
||||
import "@fontsource/cormorant-garamond/latin-ext-600-italic.css"
|
||||
import "@fontsource/cormorant-garamond/latin-ext-700.css"
|
||||
import "@fontsource/cormorant-garamond/latin-ext-700-italic.css"
|
||||
import "@fontsource/cormorant-sc/latin-ext-500.css"
|
||||
import "@fontsource/cormorant-garamond/400.css"
|
||||
import "@fontsource/cormorant-garamond/400-italic.css"
|
||||
import "@fontsource/cormorant-garamond/500.css"
|
||||
import "@fontsource/cormorant-garamond/500-italic.css"
|
||||
import "@fontsource/cormorant-garamond/600.css"
|
||||
import "@fontsource/cormorant-garamond/600-italic.css"
|
||||
import "@fontsource/cormorant-garamond/700.css"
|
||||
import "@fontsource/cormorant-garamond/700-italic.css"
|
||||
import "@fontsource/cormorant-sc/400.css"
|
||||
import "@fontsource/cormorant-sc/500.css"
|
||||
import "@fontsource/cormorant-sc"
|
@ -16,7 +16,7 @@ mkSmallCaps = do
|
||||
{ className: "small-caps"
|
||||
, css:
|
||||
E.css
|
||||
{ fontFamily: E.str "'Cormorant SC'"
|
||||
{ fontFamily: E.str "Cormorant SC"
|
||||
}
|
||||
}
|
||||
[ R.text $ text ]
|
||||
|
Loading…
Reference in New Issue
Block a user