Merge commit '8be91ee3d9
' as 'themes/tabi-lean'
This commit is contained in:
commit
2c6602e3b2
336 changed files with 25227 additions and 0 deletions
22
themes/tabi-lean/sass/skins/sakura.scss
Normal file
22
themes/tabi-lean/sass/skins/sakura.scss
Normal file
|
@ -0,0 +1,22 @@
|
|||
@mixin theme-variables($theme) {
|
||||
@if $theme =='light' {
|
||||
--primary-color: #D33C5C; // Contrast ratio: 4.61:1
|
||||
}
|
||||
@else if $theme == 'dark' {
|
||||
--primary-color: #fabed2; // Contrast ratio: 10.48:1
|
||||
}
|
||||
}
|
||||
|
||||
: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