Windy.com - Dark Mode [Customizable]

Dark theme for Windy.com with customizable colors

  1. /* ==UserStyle==
  2. @name Windy.com - Dark Mode [Customizable]
  3. @namespace typpi.online
  4. @version 2.3
  5. @description Dark theme for Windy.com with customizable colors
  6. @author Nick2bad4u
  7. @license UnLicense
  8.  
  9. @homepageURL https://github.com/Nick2bad4u/UserStyles
  10. @supportURL https://github.com/Nick2bad4u/UserStyles/issues
  11. @preprocessor stylus
  12.  
  13. @var checkbox darken-map 'Darken Map' 1
  14. @var color darken-map-strength 'Darken Map Strength' #0000004D
  15.  
  16. @var color primary-red "Primary Red" #ff0000
  17. @var color light-red "Light Red" #ff4d4d
  18. @var color primary-orange "Primary Orange" #ffa500
  19. @var color light-orange "Light Orange" #ffcc80
  20. @var color primary-white "Primary White" #ffffff
  21. @var color primary-yellow "Primary Yellow" #ffff00
  22. @var color primary-black "Primary Black" #000000
  23. @var color error-red "Error Red" #ff0000
  24. @var color ok-green "OK Green" #00ff00
  25. @var color moderate-warning "Moderate Warning" #ffcc00
  26. @var color severe-warning "Severe Warning" #ff9900
  27. @var color extreme-warning "Extreme Warning" #ff3300
  28. @var color primary-gray "Primary Gray" #808080
  29. @var color dark-gray "Dark Gray" #666666
  30. @var color light-gray "Light Gray" #cccccc
  31. @var color lighter-gray "Lighter Gray" #e0e0e0
  32. @var color progress-line "Progress Line" #ADADAD
  33. ==/UserStyle== */
  34. @-moz-document domain("windy.com")
  35. {
  36. :root
  37. {
  38. --color-red: var(primary-red) !important;
  39. --color-red-light: var(light-red) !important;
  40. --color-orange: var(primary-orange) !important;
  41. --color-orange-light: var(light-orange) !important;
  42. --color-white: var(primary-white) !important;
  43. --color-yellow: var(primary-yellow) !important;
  44. --color-transparent: #404040c7;
  45. --color-transparent-dark: #d11010a2;
  46. --color-black: var(primary-black) !important;
  47. --color-error: var(error-red) !important;
  48. --color-ok: var(ok-green) !important;
  49. --color-warning-moderate: var(moderate-warning) !important;
  50. --color-warning-severe: var(severe-warning) !important;
  51. --color-warning-extreme: var(extreme-warning) !important;
  52. --color-gray: var(primary-gray) !important;
  53. --color-gray-dark: var(dark-gray) !important;
  54. --color-gray-light: var(light-gray) !important;
  55. --color-gray-light2: var(lighter-gray) !important;
  56. --color-text-primary: var(light-gray) !important;
  57. --color-text-secondary: var(primary-yellow) !important;
  58. --color-text-link: var(light-orange) !important;
  59. --color-header: var(light-orange) !important;
  60. --color-icons: var(light-orange) !important;
  61. --color-background-primary: var(primary-black) !important;
  62. --color-background-secondary: var(primary-gray) !important;
  63. --color-ui-primary: var(primary-red) !important;
  64. --color-ui-secondary: var(light-red) !important;
  65. --color-ui-background: var(dark-gray) !important;
  66. --color-border: var(primary-gray) !important;
  67. --color-border-selected: var(light-orange) !important;
  68. --darken-map-strength: var(darken-map-strength) !important;
  69. --progress-line: var(progress-line) !important;
  70. }
  71.  
  72. #plugin-detail,
  73. #device-tablet #plugin-multimodel.open,
  74. #device-desktop #plugin-multimodel.open,
  75. .detail .forecast-table .td-hour td,
  76. .detail .forecast-table td,
  77. .detail .legend span,
  78. .detail .legend .legend-both,
  79. .mm-fullscreen,
  80. #search-top-wrapper,
  81. .nearby-features.svelte-ckoxom .nearby-feature__text
  82. {
  83. filter: invert(1) hue-rotate(180deg) !important;
  84. }
  85.  
  86. .progress-bar .progress-line .avbl
  87. {
  88. background-color: progress-line
  89. }
  90.  
  91. .td-wind.height-wind.d-display-table td,
  92. .td-gust.height-gust.d-display-table td
  93. {
  94. color: #000000 !important;
  95. font-weight: 700;
  96. }
  97.  
  98. .detail .forecast-table .td-hour td,
  99. .detail .forecast-table td,
  100. .detail .legend span,
  101. .detail .legend .legend-both,
  102. .mm-fullscreen,
  103. .detail .sticky-title,
  104. #plugin-search .results-item,
  105. .nearby-features.svelte-ckoxom .nearby-feature__text
  106. {
  107. color: #ffffff9c !important;
  108. }
  109.  
  110. if ( darken-map)
  111. {
  112. .leaflet-container .leaflet-marker-pane,
  113. .leaflet-container .leaflet-overlay-pane,
  114. .leaflet-container .leaflet-shadow-pane,
  115. .leaflet-container .leaflet-tile,
  116. .leaflet-container .leaflet-tile-pane,
  117. .leaflet-container .leaflet-image-layer
  118. {
  119. background-color: darken-map-strength !important;
  120. }
  121. }
  122. }

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址