tabi: add posixlycorrect skin
This commit is contained in:
parent
7f2b8f802c
commit
44f9f5641a
1 changed files with 25 additions and 0 deletions
25
themes/tabi-lean/sass/skins/posixlycorrect.scss
Normal file
25
themes/tabi-lean/sass/skins/posixlycorrect.scss
Normal file
|
@ -0,0 +1,25 @@
|
|||
// force dark theme
|
||||
@mixin theme-variables($theme) {
|
||||
@if $theme =='light' {
|
||||
--primary-color: #FC9300;
|
||||
--background-color: #131a21;
|
||||
}
|
||||
@else if $theme == 'dark' {
|
||||
--primary-color: #FC9300;
|
||||
--background-color: #131a21;
|
||||
}
|
||||
}
|
||||
|
||||
: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');
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue