diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/_board.scss | 2 | ||||
| -rw-r--r-- | src/_core.scss | 6 | ||||
| -rw-r--r-- | src/_core.vars.scss | 376 | ||||
| -rw-r--r-- | src/_footer.scss | 2 | ||||
| -rw-r--r-- | src/_reaction.scss | 4 | ||||
| -rw-r--r-- | src/_sidebar.scss | 2 | ||||
| -rw-r--r-- | src/_thread.scss | 11 | 
7 files changed, 202 insertions, 201 deletions
| diff --git a/src/_board.scss b/src/_board.scss index eb221d2..994aba6 100644 --- a/src/_board.scss +++ b/src/_board.scss | |||
| @@ -67,7 +67,7 @@ | |||
| 67 | .messageGroupList { | 67 | .messageGroupList { | 
| 68 | a { | 68 | a { | 
| 69 | &:hover { | 69 | &:hover { | 
| 70 | text-decoration: underline; | 70 | text-decoration-line: underline; | 
| 71 | } | 71 | } | 
| 72 | } | 72 | } | 
| 73 | } | 73 | } | 
| diff --git a/src/_core.scss b/src/_core.scss index cfa1e00..c212ee0 100644 --- a/src/_core.scss +++ b/src/_core.scss | |||
| @@ -14,16 +14,14 @@ | |||
| 14 | 14 | ||
| 15 | @mixin styles--classic { | 15 | @mixin styles--classic { | 
| 16 | :root { | 16 | :root { | 
| 17 | @include props.materialize(map.get(vars.$themes, --light)); | ||
| 17 | @include props.materialize(map.get(vars.$themes, --classic)); | 18 | @include props.materialize(map.get(vars.$themes, --classic)); | 
| 18 | @include props.materialize(map.values(meta.module-variables('vars')), null); | ||
| 19 | @include props.materialize(map.values(meta.module-variables('vars')), 'classic'); | ||
| 20 | } | 19 | } | 
| 21 | } | 20 | } | 
| 22 | 21 | ||
| 23 | @mixin styles--dark { | 22 | @mixin styles--dark { | 
| 24 | :root { | 23 | :root { | 
| 24 | @include props.materialize(map.get(vars.$themes, --light)); | ||
| 25 | @include props.materialize(map.get(vars.$themes, --dark)); | 25 | @include props.materialize(map.get(vars.$themes, --dark)); | 
| 26 | @include props.materialize(map.values(meta.module-variables('vars')), null); | ||
| 27 | @include props.materialize(map.values(meta.module-variables('vars')), 'dark'); | ||
| 28 | } | 26 | } | 
| 29 | } | 27 | } | 
| diff --git a/src/_core.vars.scss b/src/_core.vars.scss index 43896f8..5bbe9fb 100644 --- a/src/_core.vars.scss +++ b/src/_core.vars.scss | |||
| @@ -80,21 +80,105 @@ $themes-spec: ( | |||
| 80 | ), | 80 | ), | 
| 81 | 81 | ||
| 82 | --semantic: ( | 82 | --semantic: ( | 
| 83 | --bg-l2: --base --50, | 83 | --bg-content: --base --50, | 
| 84 | --bg-l1: --base --75, | 84 | --bg-l1: --base --75, | 
| 85 | --bg-base: --base --100, | 85 | --bg-base: --base --100, | 
| 86 | --bg-sidebar: --base --75, | 86 | --bg-sidebar: --base --75, | 
| 87 | --bg-nav: --base --100, | ||
| 88 | --bg-footer-box: --base --100, | 87 | --bg-footer-box: --base --100, | 
| 89 | --bg-footer: --base --700, | 88 | --bg-footer: --base --700, | 
| 90 | 89 | ||
| 91 | --link: ( | 90 | --link: ( | 
| 92 | --fg: --red --1100, | 91 | --fg: --red --1000, | 
| 93 | --underline: --red --500, | 92 | --underline: --red --500, | 
| 94 | --fg-inv: --red --1100-text, | 93 | --fg-inv: --red --1000-text, | 
| 95 | --active: --red --1300, | 94 | --active: --red --1300, | 
| 96 | --active-inv: --red --1300-text, | 95 | --active-inv: --red --1300-text, | 
| 97 | ) | 96 | ), | 
| 97 | |||
| 98 | --wcfHeaderBackground: --base --700, | ||
| 99 | --wcfHeaderMenuBackground: --base --800, | ||
| 100 | --wcfHeaderMenuLinkBackground: --base --800, | ||
| 101 | --wcfHeaderMenuLinkBackgroundActive: --base --700, | ||
| 102 | --wcfHeaderMenuLink: --base --50, | ||
| 103 | --wcfHeaderMenuDropdownBackground: --base --800, | ||
| 104 | --wcfHeaderMenuDropdownBorder: --base --800, | ||
| 105 | --wcfHeaderMenuDropdownBackgroundActive: --base --700, | ||
| 106 | |||
| 107 | --wcfNavigationBackground: --base --100, | ||
| 108 | --wcfNavigationText: --base --500, | ||
| 109 | --wcfNavigationLink: --base --800, | ||
| 110 | --wcfNavigationLinkActive: --base --800, | ||
| 111 | |||
| 112 | --wcfHeaderSearchBoxBackground: --base --700, | ||
| 113 | --wcfHeaderSearchBoxBackgroundActive: --base --700, | ||
| 114 | |||
| 115 | --wcfContentBackground: rgb(242, 242, 242), | ||
| 116 | --wcfContentBorderInner: rgb(224, 224, 224), | ||
| 117 | --wcfContentBorder: rgb(224, 224, 224), | ||
| 118 | --wcfContentDimmedText: rgba(#000, .7), | ||
| 119 | --wcfContentDimmedLink: rgba(#000, .7), | ||
| 120 | --wcfContentHeadlineText: --base --900, | ||
| 121 | |||
| 122 | --wcfFooterBoxBackground: --base --100, | ||
| 123 | --wcfFooterBoxText: --base --800, | ||
| 124 | --wcfFooterBoxHeadlineText: --base --900, | ||
| 125 | --wcfFooterBoxHeadlineLink: --base --900, | ||
| 126 | --wcfFooterBoxHeadlineLinkActive: --base --900, | ||
| 127 | |||
| 128 | --wcfFooterBackground: --base --700, | ||
| 129 | --wcfFooterText: --base --100, | ||
| 130 | --wcfFooterLink: --base --75, | ||
| 131 | --wcfFooterLinkActive: --base --75, | ||
| 132 | |||
| 133 | --wcfFooterCopyrightBackground: --base --800, | ||
| 134 | --wcfFooterCopyrightText: --base --75, | ||
| 135 | --wcfFooterCopyrightLink: --base --50, | ||
| 136 | --wcfFooterCopyrightLinkActive: --base --50, | ||
| 137 | |||
| 138 | --wcfSidebarBackground: --wcfContentBackground, | ||
| 139 | --wcfSidebarBorder: transparent, | ||
| 140 | --wcfSidebarHeadlineText: --wcfContentHeadlineText, | ||
| 141 | --wcfSidebarText: --wcfContentText, | ||
| 142 | --wcfSidebarDimmedText: --wcfContentDimmedText, | ||
| 143 | |||
| 144 | --wcfButtonBackground: --base --100, | ||
| 145 | --wcfButtonText: --base --100-text, | ||
| 146 | --wcfButtonBackgroundActive: --base --700, | ||
| 147 | --wcfButtonTextActive: --base --700-text, | ||
| 148 | |||
| 149 | --wcfButtonPrimaryBackground: --red --900, | ||
| 150 | --wcfButtonPrimaryText: --red --900-text, | ||
| 151 | --wcfButtonPrimaryBackgroundActive: --red --1200, | ||
| 152 | --wcfButtonPrimaryTextActive: --red --1200-text, | ||
| 153 | |||
| 154 | --wcfInputBorderActive: --red --900, | ||
| 155 | |||
| 156 | --wcfBoxShadowCard: none, | ||
| 157 | |||
| 158 | --wcfContentContainerBackground: --bg-content, | ||
| 159 | --wcfContentContainerBorder: --wcfContentContainerBackground, | ||
| 160 | |||
| 161 | --wcfContentLink: --link --fg, | ||
| 162 | --wcfContentLinkActive: --link --active, | ||
| 163 | |||
| 164 | --wcfSidebarLink: --link --fg, | ||
| 165 | --wcfSidebarLinkActive: --link --active, | ||
| 166 | --wcfSidebarDimmedLink: --wcfSidebarDimmedText, | ||
| 167 | --wcfSidebarDimmedLinkActive: --wcfSidebarDimmedText, | ||
| 168 | |||
| 169 | --wcfFooterBoxLink: --link --fg, | ||
| 170 | --wcfFooterBoxLinkActive: --link --active, | ||
| 171 | |||
| 172 | --wcfTabularBoxHeadline: --link --fg, | ||
| 173 | --wcfTabularBoxHeadlineActive: --link --active, | ||
| 174 | |||
| 175 | --wcfStatusInfoBackground: --base --100, | ||
| 176 | --wcfStatusInfoBorder: --base --300, | ||
| 177 | --wcfStatusInfoText: --base --800, | ||
| 178 | |||
| 179 | --wcfStatusSuccessBackground: --green --100, | ||
| 180 | --wcfStatusSuccessBorder: --green --300, | ||
| 181 | --wcfStatusSuccessText: --green --1100, | ||
| 98 | ), | 182 | ), | 
| 99 | ), | 183 | ), | 
| 100 | 184 | ||
| @@ -158,7 +242,7 @@ $themes-spec: ( | |||
| 158 | ), | 242 | ), | 
| 159 | 243 | ||
| 160 | --semantic: ( | 244 | --semantic: ( | 
| 161 | --bg-l2: --base --100, | 245 | --bg-content: --base --100, | 
| 162 | --bg-l1: --base --300, | 246 | --bg-l1: --base --300, | 
| 163 | --bg-base: --base --75, | 247 | --bg-base: --base --75, | 
| 164 | --bg-sidebar: --base --100, | 248 | --bg-sidebar: --base --100, | 
| @@ -168,11 +252,37 @@ $themes-spec: ( | |||
| 168 | 252 | ||
| 169 | --link: ( | 253 | --link: ( | 
| 170 | --fg: --red --1200, | 254 | --fg: --red --1200, | 
| 171 | --underline: --red --600, | 255 | --underline: --red --700, | 
| 172 | --fg-inv: --red --1200-text, | 256 | --fg-inv: --red --1200-text, | 
| 173 | --active: --red --1300, | 257 | --active: --red --1300, | 
| 174 | --active-inv: --red --1300-text, | 258 | --active-inv: --red --1300-text, | 
| 175 | ) | 259 | ), | 
| 260 | |||
| 261 | --wcfContentBackground: --base --75, | ||
| 262 | --wcfContentBorderInner: --base --300, | ||
| 263 | --wcfContentBorder: --base --300, | ||
| 264 | --wcfContentHeadlineText: --base --900, | ||
| 265 | --wcfContentDimmedText: --base --700, | ||
| 266 | --wcfContentDimmedLink: --base --900, | ||
| 267 | --wcfContentText: --base --800, | ||
| 268 | |||
| 269 | --wcfSidebarBackground: --base --75, | ||
| 270 | |||
| 271 | --wcfTabularBoxBackgroundActive: --base --75, | ||
| 272 | |||
| 273 | --wcfButtonBackground: --base --50, | ||
| 274 | --wcfButtonText: --base --50-text, | ||
| 275 | --wcfButtonBackgroundActive: --base --700, | ||
| 276 | --wcfButtonTextActive: --base --700-text, | ||
| 277 | |||
| 278 | --wcfButtonPrimaryBackground: --red --1000, | ||
| 279 | --wcfButtonPrimaryText: --red --1000-text, | ||
| 280 | --wcfButtonPrimaryBackgroundActive: --red --1200, | ||
| 281 | --wcfButtonPrimaryTextActive: --red --1200-text, | ||
| 282 | |||
| 283 | --wcfStatusSuccessBackground: --green --1000, | ||
| 284 | --wcfStatusSuccessBorder: --green --1000, | ||
| 285 | --wcfStatusSuccessText: --green --100, | ||
| 176 | ), | 286 | ), | 
| 177 | ), | 287 | ), | 
| 178 | 288 | ||
| @@ -222,11 +332,68 @@ $themes-spec: ( | |||
| 222 | --semantic: ( | 332 | --semantic: ( | 
| 223 | --bg-base: --base --75, | 333 | --bg-base: --base --75, | 
| 224 | --bg-l1: --base --100, | 334 | --bg-l1: --base --100, | 
| 225 | --bg-l2: --base --200, | 335 | --bg-content: --base --200, | 
| 226 | --bg-sidebar: --base --100, | 336 | --bg-sidebar: --base --100, | 
| 227 | --bg-nav: --base --75, | 337 | --bg-nav: --base --75, | 
| 228 | --bg-footer-box: --base --75, | 338 | --bg-footer-box: --base --75, | 
| 229 | --bg-footer: --base --75, | 339 | --bg-footer: --base --75, | 
| 340 | |||
| 341 | --wcfHeaderBackground: --bg-base, | ||
| 342 | --wcfHeaderMenuBackground: --base --50, | ||
| 343 | --wcfHeaderMenuLinkBackground: --base --50, | ||
| 344 | --wcfHeaderMenuLinkBackgroundActive: --base --200, | ||
| 345 | --wcfHeaderMenuLink: --base --900, | ||
| 346 | --wcfHeaderMenuDropdownBackground: --base --50, | ||
| 347 | --wcfHeaderMenuDropdownBorder: --base --50, | ||
| 348 | --wcfHeaderMenuDropdownBackgroundActive: --base --200, | ||
| 349 | |||
| 350 | --wcfNavigationBackground: --bg-base, | ||
| 351 | --wcfNavigationText: --base --500, | ||
| 352 | --wcfNavigationLink: --base --800, | ||
| 353 | --wcfNavigationLinkActive: --base --800, | ||
| 354 | |||
| 355 | --wcfContentBackground: --base --100, | ||
| 356 | --wcfContentBorderInner: --base --300, | ||
| 357 | --wcfContentBorder: --wcfContentBorderInnerDark, | ||
| 358 | --wcfContentDimmedText: --base --600, | ||
| 359 | --wcfContentDimmedLink: --base --900, | ||
| 360 | --wcfContentText: --base --800, | ||
| 361 | |||
| 362 | --wcfFooterText: --base --500, | ||
| 363 | --wcfFooterLink: --base --700, | ||
| 364 | --wcfFooterLinkActive: --base --700, | ||
| 365 | |||
| 366 | --wcfFooterCopyrightBackground: --base --50, | ||
| 367 | --wcfFooterCopyrightText: --base --500, | ||
| 368 | --wcfFooterCopyrightLink: --base --700, | ||
| 369 | --wcfFooterCopyrightLinkActive: --base --700, | ||
| 370 | |||
| 371 | --wcfButtonBackground: --base --300, | ||
| 372 | --wcfButtonText: --base --300-text, | ||
| 373 | --wcfButtonBackgroundActive: --base --700, | ||
| 374 | --wcfButtonTextActive: --base --700-text, | ||
| 375 | |||
| 376 | --wcfButtonPrimaryBackground: --red --900, | ||
| 377 | --wcfButtonPrimaryText: --red --900-text, | ||
| 378 | --wcfButtonPrimaryBackgroundActive: --red --1200, | ||
| 379 | --wcfButtonPrimaryTextActive: --red --1200-text, | ||
| 380 | |||
| 381 | --wcfContentContainerBackground: --base --200, | ||
| 382 | --wcfContentContainerBorder: --wcfContentContainerBackgroundDark, | ||
| 383 | |||
| 384 | --wcfSidebarBackground: --wcfContentBackground, | ||
| 385 | --wcfSidebarBorder: transparent, | ||
| 386 | --wcfSidebarLink: --link --fg, | ||
| 387 | --wcfSidebarLinkActive: --link --active, | ||
| 388 | --wcfSidebarText: --wcfContentTextDark, | ||
| 389 | --wcfSidebarDimmedLink: --wcfSidebarDimmedText, | ||
| 390 | --wcfSidebarDimmedLinkActive: --wcfSidebarDimmedText, | ||
| 391 | |||
| 392 | --wcfTabularBoxBackgroundActive: --base --100, | ||
| 393 | |||
| 394 | --wcfStatusInfoBackground: --base --100, | ||
| 395 | --wcfStatusInfoBorder: --base --300, | ||
| 396 | --wcfStatusInfoText: --base --800, | ||
| 230 | ), | 397 | ), | 
| 231 | ) | 398 | ) | 
| 232 | ); | 399 | ); | 
| @@ -234,7 +401,7 @@ $themes-spec: ( | |||
| 234 | $themes: (); | 401 | $themes: (); | 
| 235 | 402 | ||
| 236 | @each $theme-name, $theme in $themes-spec { | 403 | @each $theme-name, $theme in $themes-spec { | 
| 237 | $compiled: props.def(--colors, (), 'color'); | 404 | $compiled: props.def('', (), 'color'); | 
| 238 | 405 | ||
| 239 | @each $palette-name, $palette in map.get($theme, --palettes) { | 406 | @each $palette-name, $palette in map.get($theme, --palettes) { | 
| 240 | $base-color: list.nth($palette, 1); | 407 | $base-color: list.nth($palette, 1); | 
| @@ -251,12 +418,22 @@ $themes: (); | |||
| 251 | @each $key, $r in $ref { | 418 | @each $key, $r in $ref { | 
| 252 | $re1: list.nth($r, 1); | 419 | $re1: list.nth($r, 1); | 
| 253 | $re2: functions.list-slice($r, 2); | 420 | $re2: functions.list-slice($r, 2); | 
| 254 | $res: map.merge($res, ($key: props.get($compiled, $re1, $re2...))); | 421 | |
| 422 | @if meta.type-of($re1) == 'color' { | ||
| 423 | $res: map.merge($res, ($key: $re1)); | ||
| 424 | } @else { | ||
| 425 | $res: map.merge($res, ($key: props.get($compiled, $re1, $re2...))); | ||
| 426 | } | ||
| 255 | } | 427 | } | 
| 256 | } @else { | 428 | } @else { | 
| 257 | $ref1: list.nth($ref, 1); | 429 | $ref1: list.nth($ref, 1); | 
| 258 | $ref2: functions.list-slice($ref, 2); | 430 | $ref2: functions.list-slice($ref, 2); | 
| 259 | $res: props.get($compiled, $ref1, $ref2...); | 431 | |
| 432 | @if meta.type-of($ref1) == 'color' { | ||
| 433 | $res: $ref1; | ||
| 434 | } @else { | ||
| 435 | $res: props.get($compiled, $ref1, $ref2...); | ||
| 436 | } | ||
| 260 | } | 437 | } | 
| 261 | 438 | ||
| 262 | $compiled: props.merge($compiled, ( $color: $res )); | 439 | $compiled: props.merge($compiled, ( $color: $res )); | 
| @@ -266,178 +443,3 @@ $themes: (); | |||
| 266 | } | 443 | } | 
| 267 | 444 | ||
| 268 | $theme: map.get($themes, --light); | 445 | $theme: map.get($themes, --light); | 
| 269 | |||
| 270 | // | ||
| 271 | |||
| 272 | $vlpnLink: props.def(--vlpnLink, props.get($theme, --link, --fg)); | ||
| 273 | $vlpnLinkUnderline: props.def(--vlpnLinkUnderline, props.get($theme, --link, --underline)); | ||
| 274 | $vlpnLinkFg: props.def(--vlpnLinkFg, props.get($theme, --link, --fg-inv)); | ||
| 275 | $vlpnLinkActive: props.def(--vlpnLinkActive, props.get($theme, --link, --active)); | ||
| 276 | $vlpnLinkActiveFg: props.def(--vlpnLinkActiveFg, props.get($theme, --link, --active-inv)); | ||
| 277 | |||
| 278 | $vlpnSmileySize: props.def(--vlpnSmileySize, 28px); | ||
| 279 | |||
| 280 | $wcfFontSizeHeadline: props.def(--wcfFontSizeHeadline, 16px); | ||
| 281 | |||
| 282 | $wcfHeaderBackground: props.def(--wcfHeaderBackground, props.get($theme, --base, --700)); | ||
| 283 | $wcfHeaderMenuBackground: props.def(--wcfHeaderMenuBackground, props.get($theme, --base, --800)); | ||
| 284 | $wcfHeaderMenuLinkBackground: props.def(--wcfHeaderMenuLinkBackground, props.get($theme, --base, --800)); | ||
| 285 | $wcfHeaderMenuLinkBackgroundActive: props.def(--wcfHeaderMenuLinkBackgroundActive, props.get($theme, --base, --700)); | ||
| 286 | $wcfHeaderMenuDropdownBackground: props.def(--wcfHeaderMenuDropdownBackground, props.get($theme, --base, --800)); | ||
| 287 | $wcfHeaderMenuDropdownBorder: props.def(--wcfHeaderMenuDropdownBorder, props.get($theme, --base, --800)); | ||
| 288 | $wcfHeaderMenuDropdownBackgroundActive: props.def(--wcfHeaderMenuDropdownBackgroundActive, props.get($theme, --base, --700)); | ||
| 289 | |||
| 290 | $wcfNavigationBackground: props.def(--wcfNavigationBackground, props.get($theme, --bg-nav)); | ||
| 291 | $wcfNavigationText: props.def(--wcfNavigationText, props.get($theme, --base, --500)); | ||
| 292 | $wcfNavigationLink: props.def(--wcfNavigationLink, props.get($theme, --base, --800)); | ||
| 293 | $wcfNavigationLinkActive: props.def(--wcfNavigationLinkActive, props.get($theme, --base, --800)); | ||
| 294 | |||
| 295 | $wcfContentBackground: props.def(--wcfContentBackground, rgb(242, 242, 242)); | ||
| 296 | $wcfContentBorder: props.def(--wcfContentBorder, var(--wcfContentBorderInner)); | ||
| 297 | $wcfContentDimmedText: props.def(--wcfContentDimmedText, rgba(#000, .7)); | ||
| 298 | $wcfContentDimmedLink: props.def(--wcfContentDimmedLink, rgba(#000, .7)); | ||
| 299 | $wcfContentHeadlineText: props.def(--wcfContentHeadlineText, props.get($theme, --base, --900)); | ||
| 300 | |||
| 301 | $wcfFooterBoxBackground: props.def(--wcfFooterBoxBackground, props.get($theme, --bg-footer-box)); | ||
| 302 | $wcfFooterBoxText: props.def(--wcfFooterBoxText, props.get($theme, --base, --800)); | ||
| 303 | $wcfFooterBoxHeadlineText: props.def(--wcfFooterBoxHeadlineText, props.get($theme, --base, --900)); | ||
| 304 | $wcfFooterBoxHeadlineLink: props.def(--wcfFooterBoxHeadlineLink, props.get($theme, --base, --900)); | ||
| 305 | $wcfFooterBoxHeadlineLinkActive: props.def(--wcfFooterBoxHeadlineLinkActive, props.get($theme, --base, --900)); | ||
| 306 | |||
| 307 | $wcfFooterBackground: props.def(--wcfFooterBackground, props.get($theme, --bg-footer)); | ||
| 308 | $wcfFooterText: props.def(--wcfFooterText, props.get($theme, --base, --100)); | ||
| 309 | $wcfFooterLink: props.def(--wcfFooterLink, props.get($theme, --base, --75)); | ||
| 310 | $wcfFooterLinkActive: props.def(--wcfFooterLinkActive, props.get($theme, --base, --75)); | ||
| 311 | |||
| 312 | $wcfFooterCopyrightBackground: props.def(--wcfFooterCopyrightBackground, props.get($theme, --base, --800)); | ||
| 313 | $wcfFooterCopyrightText: props.def(--wcfFooterCopyrightText, props.get($theme, --base, --75)); | ||
| 314 | $wcfFooterCopyrightLink: props.def(--wcfFooterCopyrightLink, props.get($theme, --base, --50)); | ||
| 315 | $wcfFooterCopyrightLinkActive: props.def(--wcfFooterCopyrightLinkActive, props.get($theme, --base, --50)); | ||
| 316 | |||
| 317 | $wcfSidebarBackground: props.def(--wcfSidebarBackground, $wcfContentBackground); | ||
| 318 | $wcfSidebarBorder: props.def(--wcfSidebarBorder, transparent); | ||
| 319 | $wcfSidebarHeadlineText: props.def(--wcfSidebarHeadlineText, props.get($wcfContentHeadlineText)); | ||
| 320 | $wcfSidebarDimmedText: props.def(--wcfSidebarDimmedText, props.get($wcfContentDimmedText)); | ||
| 321 | |||
| 322 | $wcfButtonBackground: props.def(--wcfButtonBackground, props.get($theme, --base, --100)); | ||
| 323 | $wcfButtonText: props.def(--wcfButtonText, props.get($theme, --base, --100-text)); | ||
| 324 | $wcfButtonBackgroundActive: props.def(--wcfButtonBackgroundActive, props.get($theme, --base, --700)); | ||
| 325 | $wcfButtonTextActive: props.def(--wcfButtonTextActive, props.get($theme, --base, --700-text)); | ||
| 326 | |||
| 327 | $wcfButtonPrimaryBackground: props.def(--wcfButtonPrimaryBackground, props.get($theme, --red, --900)); | ||
| 328 | $wcfButtonPrimaryText: props.def(--wcfButtonPrimaryText, props.get($theme, --red, --900-text)); | ||
| 329 | $wcfButtonPrimaryBackgroundActive: props.def(--wcfButtonPrimaryBackgroundActive, props.get($theme, --red, --1200)); | ||
| 330 | $wcfButtonPrimaryTextActive: props.def(--wcfButtonPrimaryTextActive, props.get($theme, --red, --1200-text)); | ||
| 331 | |||
| 332 | $wcfInputBorderActive: props.def(--wcfInputBorderActive, props.get($theme, --red, --900)); | ||
| 333 | |||
| 334 | $wcfBoxShadowCard: props.def(--wcfBoxShadowCard, none); | ||
| 335 | |||
| 336 | $wcfContentContainerBackground: props.def(--wcfContentContainerBackground, props.get($theme, --bg-l2)); | ||
| 337 | $wcfContentContainerBorder: props.def(--wcfContentContainerBorder, var(--wcfContentContainerBackground)); | ||
| 338 | |||
| 339 | $wcfContentLink: props.def(--wcfContentLink, props.get($vlpnLink)); | ||
| 340 | $wcfContentLinkActive: props.def(--wcfContentLinkActive, props.get($vlpnLinkActive)); | ||
| 341 | |||
| 342 | $wcfSidebarLink: props.def(--wcfSidebarLink, props.get($vlpnLink)); | ||
| 343 | $wcfSidebarLinkActive: props.def(--wcfSidebarLinkActive, props.get($vlpnLinkActive)); | ||
| 344 | $wcfSidebarDimmedLink: props.def(--wcfSidebarDimmedLink, props.get($wcfSidebarDimmedText)); | ||
| 345 | $wcfSidebarDimmedLinkActive: props.def(--wcfSidebarDimmedLink, props.get($wcfSidebarDimmedText)); | ||
| 346 | |||
| 347 | $wcfFooterBoxLink: props.def(--wcfFooterBoxLink, props.get($vlpnLink)); | ||
| 348 | $wcfFooterBoxLinkActive: props.def(--wcfFooterBoxLinkActive, props.get($vlpnLinkActive)); | ||
| 349 | |||
| 350 | $wcfTabularBoxHeadline: props.def(--wcfTabularBoxHeadline, props.get($vlpnLink)); | ||
| 351 | $wcfTabularBoxHeadlineActive: props.def(--wcfTabularBoxHeadlineActive, props.get($vlpnLinkActive)); | ||
| 352 | |||
| 353 | $wcfStatusInfoBackground: props.def(--wcfStatusInfoBackground, props.get($theme, --base, --100)); | ||
| 354 | $wcfStatusInfoBorder: props.def(--wcfStatusInfoBorder, props.get($theme, --base, --300)); | ||
| 355 | $wcfStatusInfoText: props.def(--wcfStatusInfoText, props.get($theme, --base, --800)); | ||
| 356 | |||
| 357 | $wcfStatusSuccessBackground: props.def(--wcfStatusSuccessBackground, props.get($theme, --green, --100)); | ||
| 358 | $wcfStatusSuccessBorder: props.def(--wcfStatusSuccessBorder, props.get($theme, --green, --300)); | ||
| 359 | $wcfStatusSuccessText: props.def(--wcfStatusSuccessText, props.get($theme, --green, --1100)); | ||
| 360 | |||
| 361 | // | ||
| 362 | |||
| 363 | $wcfContentBackgroundClassic: props.def(--wcfContentBackground, props.get($theme, --base, --75), 'classic'); | ||
| 364 | $wcfContentBorderInnerClassic: props.def(--wcfContentBorderInner, props.get($theme, --base, --300), 'classic'); | ||
| 365 | $wcfContentHeadlineTextClassic: props.def(--wcfContentHeadlineText, props.get($theme, --base, --900), 'classic'); | ||
| 366 | $wcfContentDimmedTextClassic: props.def(--wcfContentDimmedText, props.get($theme, --base, --700), 'classic'); | ||
| 367 | $wcfContentDimmedLinkClassic: props.def(--wcfContentDimmedLink, props.get($theme, --base, --900), 'classic'); | ||
| 368 | $wcfContentTextClassic: props.def(--wcfContentText, props.get($theme, --base, --800), 'classic'); | ||
| 369 | |||
| 370 | $wcfSidebarBackgroundClassic: props.def(--wcfSidebarBackground, props.get($theme, --base, --75), 'classic'); | ||
| 371 | |||
| 372 | $wcfTabularBoxBackgroundActiveClassic: props.def(--wcfTabularBoxBackgroundActive, props.get($theme, --base, --75), 'classic'); | ||
| 373 | |||
| 374 | $wcfButtonBackgroundClassic: props.def(--wcfButtonBackground, props.get($theme, --base, --50), 'classic'); | ||
| 375 | $wcfButtonTextClassic: props.def(--wcfButtonText, props.get($theme, --base, --50-text), 'classic'); | ||
| 376 | $wcfButtonBackgroundActiveClassic: props.def(--wcfButtonBackgroundActive, props.get($theme, --base, --700), 'classic'); | ||
| 377 | $wcfButtonTextActiveClassic: props.def(--wcfButtonTextActive, props.get($theme, --base, --700-text), 'classic'); | ||
| 378 | |||
| 379 | $wcfButtonPrimaryBackgroundClassic: props.def(--wcfButtonPrimaryBackground, props.get($theme, --red, --1000), 'classic'); | ||
| 380 | $wcfButtonPrimaryTextClassic: props.def(--wcfButtonPrimaryText, props.get($theme, --red, --1000-text), 'classic'); | ||
| 381 | $wcfButtonPrimaryBackgroundActiveClassic: props.def(--wcfButtonPrimaryBackgroundActive, props.get($theme, --red, --1200), 'classic'); | ||
| 382 | $wcfButtonPrimaryTextActiveClassic: props.def(--wcfButtonPrimaryTextActive, props.get($theme, --red, --1200-text), 'classic'); | ||
| 383 | |||
| 384 | $wcfStatusSuccessBackgroundClassic: props.def(--wcfStatusSuccessBackground, props.get($theme, --green, --1000), 'classic'); | ||
| 385 | $wcfStatusSuccessBorderClassic: props.def(--wcfStatusSuccessBorder, props.get($theme, --green, --1000), 'classic'); | ||
| 386 | $wcfStatusSuccessTextClassic: props.def(--wcfStatusSuccessText, props.get($theme, --green, --100), 'classic'); | ||
| 387 | |||
| 388 | // | ||
| 389 | |||
| 390 | $wcfHeaderBackgroundDark: props.def(--wcfHeaderBackground, props.get($theme, --bg-base), 'dark'); | ||
| 391 | $wcfHeaderMenuBackgroundDark: props.def(--wcfHeaderMenuBackground, props.get($theme, --base, --50), 'dark'); | ||
| 392 | $wcfHeaderMenuLinkBackgroundDark: props.def(--wcfHeaderMenuLinkBackground, props.get($theme, --base, --50), 'dark'); | ||
| 393 | $wcfHeaderMenuLinkBackgroundActiveDark: props.def(--wcfHeaderMenuLinkBackgroundActive, props.get($theme, --base, --200), 'dark'); | ||
| 394 | $wcfHeaderMenuDropdownBackgroundDark: props.def(--wcfHeaderMenuDropdownBackground, props.get($theme, --base, --50), 'dark'); | ||
| 395 | $wcfHeaderMenuDropdownBorderDark: props.def(--wcfHeaderMenuDropdownBorder, props.get($theme, --base, --50), 'dark'); | ||
| 396 | $wcfHeaderMenuDropdownBackgroundActiveDark: props.def(--wcfHeaderMenuDropdownBackgroundActive, props.get($theme, --base, --200), 'dark'); | ||
| 397 | |||
| 398 | $wcfNavigationBackgroundDark: props.def(--wcfNavigationBackground, props.get($theme, --bg-base), 'dark'); | ||
| 399 | $wcfNavigationTextDark: props.def(--wcfNavigationText, props.get($theme, --base, --500), 'dark'); | ||
| 400 | $wcfNavigationLinkDark: props.def(--wcfNavigationLink, props.get($theme, --base, --800), 'dark'); | ||
| 401 | $wcfNavigationLinkActiveDark: props.def(--wcfNavigationLinkActive, props.get($theme, --base, --800), 'dark'); | ||
| 402 | |||
| 403 | $wcfContentBackgroundDark: props.def(--wcfContentBackground, props.get($theme, --base, --100), 'dark'); | ||
| 404 | $wcfContentBorderInnerDark: props.def(--wcfContentBorderInner, props.get($theme, --base, --300), 'dark'); | ||
| 405 | $wcfContentBorderDark: props.def(--wcfContentBorder, props.get($wcfContentBorderInnerDark), 'dark'); | ||
| 406 | $wcfContentDimmedTextDark: props.def(--wcfContentDimmedText, props.get($theme, --base, --600), 'dark'); | ||
| 407 | $wcfContentDimmedLinkDark: props.def(--wcfContentDimmedLink, props.get($theme, --base, --900), 'dark'); | ||
| 408 | $wcfContentTextDark: props.def(--wcfContentText, props.get($theme, --base, --800), 'dark'); | ||
| 409 | |||
| 410 | $wcfFooterTextDark: props.def(--wcfFooterText, props.get($theme, --base, --500), 'dark'); | ||
| 411 | $wcfFooterLinkDark: props.def(--wcfFooterLink, props.get($theme, --base, --700), 'dark'); | ||
| 412 | $wcfFooterLinkActiveDark: props.def(--wcfFooterLinkActive, props.get($theme, --base, --700), 'dark'); | ||
| 413 | |||
| 414 | $wcfFooterCopyrightBackgroundDark: props.def(--wcfFooterCopyrightBackground, props.get($theme, --base, --50), 'dark'); | ||
| 415 | $wcfFooterCopyrightTextDark: props.def(--wcfFooterCopyrightText, props.get($theme, --base, --500), 'dark'); | ||
| 416 | $wcfFooterCopyrightLinkDark: props.def(--wcfFooterCopyrightLink, props.get($theme, --base, --700), 'dark'); | ||
| 417 | $wcfFooterCopyrightLinkActiveDark: props.def(--wcfFooterCopyrightLinkActive, props.get($theme, --base, --700), 'dark'); | ||
| 418 | |||
| 419 | $wcfButtonBackgroundDark: props.def(--wcfButtonBackground, props.get($theme, --base, --300), 'dark'); | ||
| 420 | $wcfButtonTextDark: props.def(--wcfButtonText, props.get($theme, --base, --300-text), 'dark'); | ||
| 421 | $wcfButtonBackgroundActiveDark: props.def(--wcfButtonBackgroundActive, props.get($theme, --base, --700), 'dark'); | ||
| 422 | $wcfButtonTextActiveDark: props.def(--wcfButtonTextActive, props.get($theme, --base, --700-text), 'dark'); | ||
| 423 | |||
| 424 | $wcfButtonPrimaryBackgroundDark: props.def(--wcfButtonPrimaryBackground, props.get($theme, --red, --900), 'dark'); | ||
| 425 | $wcfButtonPrimaryTextDark: props.def(--wcfButtonPrimaryText, props.get($theme, --red, --900-text), 'dark'); | ||
| 426 | $wcfButtonPrimaryBackgroundActiveDark: props.def(--wcfButtonPrimaryBackgroundActive, props.get($theme, --red, --1200), 'dark'); | ||
| 427 | $wcfButtonPrimaryTextActiveDark: props.def(--wcfButtonPrimaryTextActive, props.get($theme, --red, --1200-text), 'dark'); | ||
| 428 | |||
| 429 | $wcfContentContainerBackgroundDark: props.def(--wcfContentContainerBackground, props.get($theme, --base, --200), 'dark'); | ||
| 430 | $wcfContentContainerBorderDark: props.def(--wcfContentContainerBorder, props.get($wcfContentContainerBackgroundDark), 'dark'); | ||
| 431 | |||
| 432 | $wcfSidebarBackgroundDark: props.def(--wcfSidebarBackground, $wcfContentBackground, 'dark'); | ||
| 433 | $wcfSidebarBorderDark: props.def(--wcfSidebarBorder, transparent, 'dark'); | ||
| 434 | $wcfSidebarLinkDark: props.def(--wcfSidebarLink, props.get($vlpnLink), 'dark'); | ||
| 435 | $wcfSidebarLinkActiveDark: props.def(--wcfSidebarLinkActive, props.get($vlpnLinkActive), 'dark'); | ||
| 436 | $wcfSidebarDimmedLinkDark: props.def(--wcfSidebarDimmedLink, props.get($wcfSidebarDimmedText), 'dark'); | ||
| 437 | $wcfSidebarDimmedLinkActiveDark: props.def(--wcfSidebarDimmedLink, props.get($wcfSidebarDimmedText), 'dark'); | ||
| 438 | |||
| 439 | $wcfTabularBoxBackgroundActiveDark: props.def(--wcfTabularBoxBackgroundActive, props.get($theme, --base, --100), 'dark'); | ||
| 440 | |||
| 441 | $wcfStatusInfoBackgroundDark: props.def(--wcfStatusInfoBackground, props.get($theme, --base, --100), 'dark'); | ||
| 442 | $wcfStatusInfoBorderDark: props.def(--wcfStatusInfoBorder, props.get($theme, --base, --300), 'dark'); | ||
| 443 | $wcfStatusInfoTextDark: props.def(--wcfStatusInfoText, props.get($theme, --base, --800), 'dark'); | ||
| diff --git a/src/_footer.scss b/src/_footer.scss index 54a0500..77a3e7b 100644 --- a/src/_footer.scss +++ b/src/_footer.scss | |||
| @@ -2,7 +2,7 @@ | |||
| 2 | .boxesFooterBoxes { | 2 | .boxesFooterBoxes { | 
| 3 | a { | 3 | a { | 
| 4 | &:hover { | 4 | &:hover { | 
| 5 | text-decoration: underline; | 5 | text-decoration-line: underline; | 
| 6 | } | 6 | } | 
| 7 | } | 7 | } | 
| 8 | } | 8 | } | 
| diff --git a/src/_reaction.scss b/src/_reaction.scss index ecf88ad..56d719e 100644 --- a/src/_reaction.scss +++ b/src/_reaction.scss | |||
| @@ -5,8 +5,8 @@ | |||
| 5 | @mixin styles { | 5 | @mixin styles { | 
| 6 | .messageFooter { | 6 | .messageFooter { | 
| 7 | .reactionType { | 7 | .reactionType { | 
| 8 | inline-size: props.get(core.$vlpnSmileySize); | 8 | inline-size: 28px; | 
| 9 | block-size: props.get(core.$vlpnSmileySize); | 9 | block-size: 28px; | 
| 10 | } | 10 | } | 
| 11 | } | 11 | } | 
| 12 | 12 | ||
| diff --git a/src/_sidebar.scss b/src/_sidebar.scss index 8c74988..5ddb188 100644 --- a/src/_sidebar.scss +++ b/src/_sidebar.scss | |||
| @@ -28,7 +28,7 @@ | |||
| 28 | 28 | ||
| 29 | a { | 29 | a { | 
| 30 | &:hover { | 30 | &:hover { | 
| 31 | text-decoration: underline; | 31 | text-decoration-line: underline; | 
| 32 | } | 32 | } | 
| 33 | } | 33 | } | 
| 34 | } | 34 | } | 
| diff --git a/src/_thread.scss b/src/_thread.scss index c602a87..e4feb1c 100644 --- a/src/_thread.scss +++ b/src/_thread.scss | |||
| @@ -10,7 +10,7 @@ | |||
| 10 | 10 | ||
| 11 | .messageSidebar { | 11 | .messageSidebar { | 
| 12 | a:hover { | 12 | a:hover { | 
| 13 | text-decoration: underline; | 13 | text-decoration-line: underline; | 
| 14 | } | 14 | } | 
| 15 | 15 | ||
| 16 | .username { | 16 | .username { | 
| @@ -21,17 +21,18 @@ | |||
| 21 | .messageText, | 21 | .messageText, | 
| 22 | .messageSignature { | 22 | .messageSignature { | 
| 23 | a { | 23 | a { | 
| 24 | text-decoration: underline; | 24 | text-decoration-line: underline; | 
| 25 | text-decoration-color: props.get(core.$vlpnLinkUnderline); | 25 | text-decoration-thickness: 1px; | 
| 26 | text-decoration-color: props.get(core.$theme, --link, --underline); | ||
| 26 | } | 27 | } | 
| 27 | 28 | ||
| 28 | a:hover { | 29 | a:hover { | 
| 29 | text-decoration: underline; | 30 | text-decoration-line: underline; | 
| 30 | text-decoration-color: currentColor; | 31 | text-decoration-color: currentColor; | 
| 31 | } | 32 | } | 
| 32 | } | 33 | } | 
| 33 | 34 | ||
| 34 | .quoteBoxTitle a { | 35 | .quoteBoxTitle a { | 
| 35 | text-decoration: none; | 36 | text-decoration-line: none; | 
| 36 | } | 37 | } | 
| 37 | } | 38 | } | 
