tabi: add sysret skin
This commit is contained in:
parent
50d499a8fc
commit
ecaa029d16
1 changed files with 40 additions and 0 deletions
40
themes/tabi-lean/sass/skins/sysret.scss
Normal file
40
themes/tabi-lean/sass/skins/sysret.scss
Normal file
|
@ -0,0 +1,40 @@
|
|||
/* general */
|
||||
|
||||
|
||||
/* theme */
|
||||
@mixin theme-variables($theme) {
|
||||
@if $theme =='light' {
|
||||
--primary-color: #F5F5F5;
|
||||
--background-color: #0D0D0D;
|
||||
}
|
||||
@else if $theme == 'dark' {
|
||||
--primary-color: #F5F5F5;
|
||||
--background-color: #0D0D0D;
|
||||
}
|
||||
}
|
||||
|
||||
:root {
|
||||
@include theme-variables('light');
|
||||
}
|
||||
|
||||
[data-theme='dark'] {
|
||||
@include theme-variables('dark');
|
||||
}
|
||||
|
||||
@media (prefers-color-scheme: dark) {
|
||||
:root:not([data-theme='light']) {
|
||||
@include theme-variables('dark');
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/* header */
|
||||
.home-title {
|
||||
background-color: var(--primary-color);
|
||||
color: var(--background-color);
|
||||
padding: 0.12rem;
|
||||
}
|
||||
|
||||
.nav-links {
|
||||
text-decoration: underline;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue