-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: neutral theme -- option to override DSFR (#281)
Co-authored-by: Erica Delagnier <[email protected]>
- Loading branch information
1 parent
feb01b5
commit 727f1ff
Showing
2 changed files
with
47 additions
and
1 deletion.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
:root { | ||
--background-default-green-non-france: rgb(217, 238, 225); | ||
--main-green-non-france: rgb(4, 170, 109); | ||
--lighter-green-non-france: rgb(76, 167, 114); | ||
|
||
} | ||
|
||
.nonGovernementalWebsite { | ||
/* most crucial change, remove use of the Marianne protected font */ | ||
font-family: Helvetica, Arial, sans-serif; | ||
|
||
/* optionnal change to ensure a distinct identity */ | ||
.fr-nav__btn[aria-current], .fr-nav__link[aria-current] { | ||
color: var(--text-action-high-grey); | ||
font-weight: bold; | ||
} | ||
|
||
.fr-nav__link[aria-current]::before { | ||
background-color: var( --main-green-non-france); | ||
} | ||
|
||
.fr-footer { | ||
box-shadow: var(--main-green-non-france) 0px -2px 0px 0px, rgb(229, 229, 229) 0px -1px 0px 0px inset; | ||
} | ||
|
||
.fr-callout { | ||
box-shadow: var(--background-default-green-non-france) 4px 0px 0px 0px inset | ||
} | ||
|
||
.fr-btn { | ||
background-color: var(--main-green-non-france); | ||
&:hover { | ||
background-color: var(--lighter-green-non-france); | ||
} | ||
} | ||
|
||
.fr-nav__btn[aria-expanded=true] { | ||
--hover:var(--main-green-non-france); | ||
--active:var(--lighter-green-non-france); | ||
background-color:var(--background-default-green-non-france); | ||
color:var(--text-action-high-grey); | ||
font-weight: bold; | ||
} | ||
} | ||
|