mirror of
https://github.com/StarCitizenTools/mediawiki-skins-Citizen.git
synced 2024-11-24 22:35:45 +00:00
refactor(tokens): ♻️ move link tokens to root
This commit is contained in:
parent
4af39af5a1
commit
3dbf41d3c9
|
@ -90,12 +90,6 @@ html {
|
|||
--line-height: 1.75;
|
||||
}
|
||||
|
||||
a {
|
||||
--color-link: ~'var( --color-progressive )';
|
||||
--color-link--hover: ~'var( --color-progressive--hover )';
|
||||
--color-link--active: ~'var( --color-progressive--active )';
|
||||
}
|
||||
|
||||
.theme-dark-old() {
|
||||
--color-syntax-red: @color-syntax-red-dark;
|
||||
--color-syntax-orange: @color-syntax-orange-dark;
|
||||
|
|
|
@ -34,6 +34,10 @@
|
|||
--background-color-icon: ~'rgba( 0, 0, 0, var( --opacity-icon-base ) )';
|
||||
--background-color-icon--hover: ~'rgba( 0, 0, 0, var( --opacity-icon-base--hover ) )';
|
||||
--background-color-icon--active: ~'rgba( 0, 0, 0, var( --opacity-icon-base--active ) )';
|
||||
/* Link color */
|
||||
--color-link: ~'var( --color-progressive )';
|
||||
--color-link--hover: ~'var( --color-progressive--hover )';
|
||||
--color-link--active: ~'var( --color-progressive--active )';
|
||||
/* Box shadow */
|
||||
--box-shadow-border: var( --border-color-base ) 0 0 0 1px;
|
||||
// Based on https://web.dev/building-a-color-scheme/#rad-shadow
|
||||
|
|
Loading…
Reference in a new issue