refactor(tokens): ♻️ move link tokens to root

This commit is contained in:
alistair3149 2024-08-17 16:56:32 -04:00
parent 4af39af5a1
commit 3dbf41d3c9
No known key found for this signature in database
2 changed files with 4 additions and 6 deletions

View file

@ -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;

View file

@ -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