fix css var

This commit is contained in:
Timi
2026-06-26 18:00:15 +08:00
parent 0457ffc432
commit 0f8b23be91
22 changed files with 84 additions and 532 deletions
+26 -5
View File
@@ -30,9 +30,30 @@
-fx-font-smoothing-type: gray;
}
.root {
-timi-fx-color: #177CB0;
-timi-fx-icon-color: #333;
-timi-fx-border-color: #B5B5B5;
-timi-fx-white-color: #FFF;
-timi-fx-red-color: #F30;
-timi-fx-brown-color: #A67D7B;
-timi-fx-black-color: #000;
-timi-fx-orange-color: #F60;
-timi-fx-yellow-color: #FF0;
-timi-fx-green-color: #393;
-timi-fx-dark-green-color: #373;
-timi-fx-gray-color: #666;
-timi-fx-blue-color: #008DCB;
-timi-fx-light-blue-color: #DDEAF0;
-timi-fx-gray-white-color: #F4F4F4;
-timi-fx-light-gray-color: #B5B5B5;
-timi-fx-dark-gray-color: #333;
-timi-fx-pink-color: #FF7A9B;
-timi-fx-transparent: transparent;
-timi-fx-focused-default-color: #177CB0;
-timi-fx-focused-light-color: #55B0DF;
-timi-fx-focused-dark-color: #0B6C9E;
-timi-fx-icon-disabled-color: #939393;
-timi-fx-color: -timi-fx-focused-default-color;
-timi-fx-icon-color: -timi-fx-dark-gray-color;
-timi-fx-border-color: -timi-fx-light-gray-color;
-timi-fx-popup-shadow: dropshadow(three-pass-box, rgba(0, 0, 0, .3), 5, 0, 0, 1);
-timi-fx-opacity-hover: .7;
-timi-fx-selected-color: #7CC4FF;
@@ -45,7 +66,7 @@
-fx-faint-focus-color: transparent;
-fx-shadow-highlight-color: transparent;
-fx-cell-focus-inner-border: transparent;
-fx-control-inner-background: #FFF;
-fx-control-inner-background: -timi-fx-white-color;
}
/* --------------------------- 聚焦边距 --------------------------- */
.text-area:focused,
@@ -64,5 +85,5 @@
/* --------------------------- 只读 --------------------------- */
.text-area:readonly,
.text-field:readonly {
-fx-text-fill: #666;
-fx-text-fill: -timi-fx-gray-color;
}