/ app / assets / style.qss
style.qss
  1  /* 	
  2  	SuperFormat is a program that converts files into various formats
  3  	Copyright (C) 2025 daroi
  4  
  5      This program is free software: you can redistribute it and/or modify
  6      it under the terms of the GNU General Public License as published by
  7      the Free Software Foundation, either version 3 of the License, or
  8      (at your option) any later version.
  9  
 10      This program is distributed in the hope that it will be useful,
 11      but WITHOUT ANY WARRANTY; without even the implied warranty of
 12      MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 13      GNU General Public License for more details.
 14  
 15      You should have received a copy of the GNU General Public License
 16      along with this program.  If not, see <https://www.gnu.org/licenses/>. 
 17  
 18  */
 19  
 20  /* === PALLETE ===
 21     Main background: #121212 (dark)
 22     Cards background: #1E1E2F
 23     Neon borders: #9b59b6 (purple)
 24     Main text: #e0e0e0
 25     Secundary text: #aaaaaa
 26     Acents hover: #8e44ad
 27     Active button: #6c3483
 28  */
 29  
 30  /* Main Window */
 31  QMainWindow {
 32      background-color: #121212;
 33  }
 34  
 35  /* Main labels */
 36  QLabel {
 37      color: #e0e0e0;
 38      font-size: 15px;
 39      color: #c77dff; 
 40      font-weight: bold;
 41  }
 42  
 43  
 44  /* Text input */
 45  QLineEdit, QTextEdit {
 46      background-color: #1E1E2F;
 47      color: #e0e0e0;
 48      border: 1px solid #9b59b6;
 49      border-radius: 6px;
 50      padding: 6px;
 51      selection-background-color: #9b59b6;
 52  }
 53  
 54  /* Buttons */
 55  QPushButton {
 56      background-color: #9b59b6;
 57      color: #ffffff;
 58      padding: 8px 14px;
 59      border: none;
 60      border-radius: 8px;
 61      font-weight: bold;
 62  }
 63  
 64  QPushButton:hover {
 65      background-color: #8e44ad;
 66  }
 67  
 68  QPushButton:pressed {
 69      background-color: #6c3483;
 70  }
 71  
 72  
 73  #NeonLabel {
 74      font-size: 35px;  /* This change the neon label size */
 75      font-weight: bold;
 76      color: #c77dff;
 77  }
 78  
 79  /* Personalized cards */
 80  #CardWidget {
 81      background-color: #1E1E2F;
 82      border: 2px solid #9b59b6;
 83      border-radius: 12px;
 84      padding: 10px;
 85  }
 86  
 87  #CardWidget:hover {
 88      background-color: #2b2b3d;
 89      border: 2px solid #c77dff;  /* lighter neon tone */
 90  }
 91  
 92  #CardWidget QLabel {
 93      color: #e0e0e0;
 94      font-size: 13px;
 95  }
 96  
 97  /* Scrollbar */
 98  QScrollBar:vertical, QScrollBar:horizontal {
 99      background: #1E1E2F;
100      width: 10px;
101      height: 10px;
102  }
103  
104  QScrollBar::handle {
105      background: #9b59b6;
106      border-radius: 5px;
107  }
108  
109  QScrollBar::handle:hover {
110      background: #8e44ad;
111  }
112  
113  /* Combobox */
114  QComboBox {
115      background-color: #1E1E2F;
116      border: 1px solid #9b59b6;
117      border-radius: 6px;
118      padding: 5px;
119      color: #e0e0e0;
120  }
121  
122  QComboBox QAbstractItemView {
123      background-color: #1E1E2F;
124      selection-background-color: #8e44ad;
125      color: #e0e0e0;
126  }
127  
128  /* Tables */
129  QTableWidget {
130      background-color: #1E1E2F;
131      color: #e0e0e0;
132      gridline-color: #9b59b6;
133      border: 1px solid #9b59b6;
134  }
135  
136  QHeaderView::section {
137      background-color: #9b59b6;
138      color: white;
139      font-weight: bold;
140      border: none;
141      padding: 5px;
142  }
143  
144  /* Separators */
145  QFrame[frameShape="4"] {  /* QFrame.HLine */
146      background-color: #9b59b6;
147      height: 2px;
148  }
149  
150  QFrame[frameShape="5"] {  /* QFrame.VLine */
151      background-color: #9b59b6;
152      width: 2px;
153  }
154