├── Mona-Sans.ttf ├── SourceCodePro-VariableFont_wght.ttf ├── SourceScheme.res ├── readme.md └── screenshot.png /Mona-Sans.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JWalkerMailly/Source-Github-Theme/aa78d1338cb2cb11e2faa0b27a64c6c840b04ec1/Mona-Sans.ttf -------------------------------------------------------------------------------- /SourceCodePro-VariableFont_wght.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JWalkerMailly/Source-Github-Theme/aa78d1338cb2cb11e2faa0b27a64c6c840b04ec1/SourceCodePro-VariableFont_wght.ttf -------------------------------------------------------------------------------- /SourceScheme.res: -------------------------------------------------------------------------------- 1 | /////////////////////////////////////////////////////////// 2 | // Tracker scheme resource file 3 | // 4 | // sections: 5 | // Colors - all the colors used by the scheme 6 | // BaseSettings - contains settings for app to use to draw controls 7 | // Fonts - list of all the fonts used by app 8 | // Borders - description of all the borders 9 | // 10 | /////////////////////////////////////////////////////////// 11 | Scheme 12 | { 13 | //////////////////////// Default Colors /////////////////////////// 14 | Colors 15 | { 16 | // base colors 17 | "White" "255 255 255 255" 18 | "Black" "0 0 0 255" 19 | 20 | "AchievementsLightGrey" "79 79 79 255" 21 | "AchievementsDarkGrey" "55 55 55 255" 22 | } 23 | 24 | ///////////////////// Github Theme Starts Here //////////////////////// 25 | BaseSettings 26 | { 27 | // Border colors. Make global. Nothing fancy. 28 | Border.Bright "48 54 61 255" 29 | Border.Dark "48 54 61 255" 30 | Border.Selection "48 54 61 255" 31 | Border.DarkSolid "48 54 61 255" 32 | Border.Subtle "48 54 61 255" 33 | 34 | // Buttons. 35 | Button.TextColor "196 204 212 255" 36 | Button.BgColor "33 38 45 255" 37 | Button.ArmedTextColor "196 204 212 255" 38 | Button.ArmedBgColor "33 38 45 255" 39 | Button.DepressedTextColor "196 204 212 255" 40 | Button.DepressedBgColor "33 38 45 255" 41 | Button.FocusBorderColor "54 59 66 255" 42 | 43 | // Checkboxes. 44 | CheckButton.TextColor "196 204 212 255" 45 | CheckButton.SelectedTextColor "201 209 217 255" 46 | CheckButton.BgColor "54 59 66 255" 47 | CheckButton.Border1 "133 133 133 255" 48 | CheckButton.Border2 "133 133 133 255" 49 | CheckButton.Check "White" 50 | CheckButton.DisabledFgColor "0 0 0 0" 51 | CheckButton.HighlightFgColor "White" 52 | CheckButton.ArmedBgColor "0 0 0 0" 53 | CheckButton.DepressedBgColor "0 0 0 0" 54 | CheckButton.DisabledBgColor "54 59 66 255" 55 | 56 | // Combobox button only. 57 | ComboBoxButton.ArrowColor "125 133 144 255" 58 | ComboBoxButton.ArmedArrowColor "125 133 144 255" 59 | ComboBoxButton.BgColor "0 0 0 0" 60 | ComboBoxButton.DisabledBgColor "0 0 0 0" 61 | 62 | // Labels for checkboxes, slider, radiobuttons, etc. 63 | Label.TextDullColor "196 204 212 255" 64 | Label.TextColor "196 204 212 255" 65 | Label.TextBrightColor "196 204 212 255" 66 | Label.SelectedTextColor "196 204 212 255" 67 | Label.BgColor "0 0 0 0" 68 | Label.DisabledFgColor1 "107 114 125 255" 69 | Label.DisabledFgColor2 "0 0 0 0" 70 | 71 | // Radio buttons use same styling as checkboxes. 72 | RadioButton.TextColor "196 204 212 255" 73 | RadioButton.SelectedTextColor "196 204 212 255" 74 | 75 | // Richtext entries use same styling as text entries. 76 | RichText.TextColor "White" 77 | RichText.BgColor "20 24 30 255" 78 | RichText.SelectedTextColor "White" 79 | RichText.SelectedBgColor "30 66 115 255" 80 | 81 | // Scroll bars. 82 | ScrollBar.Wide 10 83 | ScrollBarButton.FgColor "0 0 0 0" 84 | ScrollBarButton.BgColor "0 0 0 0" 85 | ScrollBarButton.ArmedFgColor "0 0 0 0" 86 | ScrollBarButton.ArmedBgColor "0 0 0 0" 87 | ScrollBarButton.DepressedFgColor "0 0 0 0" 88 | ScrollBarButton.DepressedBgColor "0 0 0 0" 89 | ScrollBarSlider.FgColor "82 84 86 255" 90 | ScrollBarSlider.BgColor "20 24 30 255" 91 | 92 | // Property sheet as seen in key binds. 93 | SectionedListPanel.HeaderTextColor "88 166 255 255" 94 | SectionedListPanel.HeaderBgColor "0 0 0 0" 95 | SectionedListPanel.DividerColor "0 0 0 0" 96 | SectionedListPanel.TextColor "196 204 212 255" 97 | SectionedListPanel.BrightTextColor "196 204 212 255" 98 | SectionedListPanel.BgColor "20 24 30 255" 99 | SectionedListPanel.SelectedTextColor "White" 100 | SectionedListPanel.SelectedBgColor "20 24 30 255" 101 | SectionedListPanel.OutOfFocusSelectedTextColor "White" 102 | SectionedListPanel.OutOfFocusSelectedBgColor "20 24 30 255" 103 | 104 | // Property sheet tabs. 105 | PropertySheet.TextColor "107 114 125 255" 106 | PropertySheet.SelectedTextColor "White" 107 | PropertySheet.SelectedBgColor "0 0 0 0" 108 | PropertySheet.TransitionEffectTime "0.15" 109 | PropertySheet.BgColor "0 0 0 0" 110 | 111 | // File browser list. 112 | ListPanel.TextColor "196 204 212 255" 113 | ListPanel.TextBgColor "0 0 0 0" 114 | ListPanel.BgColor "20 24 30 255" 115 | ListPanel.SelectedTextColor "White" 116 | ListPanel.SelectedBgColor "20 24 30 255" 117 | ListPanel.OutOfFocusSelectedTextColor "White" 118 | ListPanel.SelectedOutOfFocusBgColor "20 24 30 255" 119 | ListPanel.EmptyListInfoTextColor "107 114 125 255" 120 | 121 | // Slider styling. 122 | Slider.NobColor "White" 123 | Slider.TextColor "196 204 212 255" 124 | Slider.TrackColor "88 166 255 255" 125 | Slider.DisabledTextColor1 "107 114 125 255" 126 | Slider.DisabledTextColor2 "0 0 0 0" 127 | 128 | // Text inputs. 129 | TextEntry.TextColor "White" 130 | TextEntry.BgColor "20 24 30 255" 131 | TextEntry.CursorColor "229 236 242 255" 132 | TextEntry.DisabledTextColor "107 114 125 255" 133 | TextEntry.DisabledBgColor "20 24 30 255" 134 | TextEntry.SelectedTextColor "White" 135 | TextEntry.SelectedBgColor "30 66 115 255" 136 | TextEntry.OutOfFocusSelectedBgColor "30 66 115 255" 137 | TextEntry.FocusEdgeColor "0 0 0 0" 138 | 139 | // Console font colors. 140 | Console.TextColor "229 236 242 255" 141 | Console.DevTextColor "229 236 242 255" 142 | 143 | // Tooltips 144 | Tooltip.TextColor "196 204 212 255" 145 | Tooltip.BgColor "41 47 54 255" 146 | 147 | // Frame styling. 148 | Frame.TitleTextInsetX 16 149 | Frame.ClientInsetX 8 150 | Frame.ClientInsetY 6 151 | Frame.BgColor "29 33 39 255" 152 | Frame.OutOfFocusBgColor "20 24 30 255" 153 | Frame.FocusTransitionEffectTime "0.15" 154 | Frame.TransitionEffectTime "0.15" 155 | Frame.AutoSnapRange "0" 156 | 157 | // Close button. 158 | FrameTitleButton.FgColor "139 113 247 255" 159 | FrameTitleButton.BgColor "0 0 0 0" 160 | FrameTitleButton.DisabledFgColor "139 113 247 255" 161 | FrameTitleButton.DisabledBgColor "0 0 0 0" 162 | 163 | // Unused. 164 | FrameSystemButton.FgColor "0 0 0 0" 165 | FrameSystemButton.BgColor "0 0 0 0" 166 | FrameSystemButton.Icon "" 167 | FrameSystemButton.DisabledIcon "" 168 | 169 | // Frame title bar. 170 | FrameTitleBar.Font "UiBold" 171 | FrameTitleBar.TextColor "White" 172 | FrameTitleBar.BgColor "0 0 0 0" 173 | FrameTitleBar.DisabledTextColor "169 169 169 255" 174 | FrameTitleBar.DisabledBgColor "0 0 0 0" 175 | 176 | // Frame drip for resize. 177 | FrameGrip.Color1 "107 114 125 255" 178 | FrameGrip.Color2 "Black" 179 | 180 | // Progress bar. 181 | ProgressBar.FgColor "139 113 247 255" 182 | ProgressBar.BgColor "20 24 30 255" 183 | 184 | // Rare/unused components. 185 | TreeView.BgColor "20 24 30 255" 186 | ToggleButton.SelectedTextColor "White" 187 | WizardSubPanel.BgColor "0 0 0 0" 188 | GraphPanel.FgColor "White" 189 | GraphPanel.BgColor "0 0 0 0" 190 | 191 | // Dropdown menu. 192 | Menu.TextColor "107 114 125 255" 193 | Menu.BgColor "20 24 30 255" 194 | Menu.ArmedTextColor "225 232 238 255" 195 | Menu.ArmedBgColor "0 0 0 0" 196 | Menu.TextInset "6" 197 | 198 | // Generic panels. 199 | Panel.FgColor "White" 200 | Panel.BgColor "0 0 0 0" 201 | 202 | // Unused or don't care. 203 | MainMenu.TextColor "White" 204 | MainMenu.ArmedTextColor "White" 205 | MainMenu.DepressedTextColor "White" 206 | MainMenu.MenuItemHeight "30" 207 | MainMenu.Inset "32" 208 | MainMenu.Backdrop "0 0 0 0" 209 | NewGame.TextColor "White" 210 | NewGame.FillColor "0 0 0 0" 211 | NewGame.SelectionColor "0 0 0 0" 212 | NewGame.DisabledColor "125 133 144 255" 213 | "QuickListBGDeselected" "AchievementsDarkGrey" 214 | "QuickListBGSelected" "AchievementsLightGrey" 215 | } 216 | 217 | //////////////////////// BITMAP FONT FILES ///////////////////////////// 218 | // 219 | // Bitmap Fonts are ****VERY*** expensive static memory resources so they are purposely sparse 220 | BitmapFontFiles 221 | { 222 | // UI buttons, custom font, (256x64) 223 | "Buttons" "materials/vgui/fonts/buttons_32.vbf" 224 | } 225 | 226 | //////////////////////// FONTS ///////////////////////////// 227 | // 228 | // describes all the fonts 229 | Fonts 230 | { 231 | // fonts are used in order that they are listed 232 | // fonts listed later in the order will only be used if they fulfill a range not already filled 233 | // if a font fails to load then the subsequent fonts will replace 234 | // fonts are used in order that they are listed 235 | "DebugFixed" 236 | { 237 | "1" 238 | { 239 | "name" "Courier New" 240 | "tall" "10" 241 | "weight" "500" 242 | "antialias" "1" 243 | } 244 | } 245 | // fonts are used in order that they are listed 246 | "DebugFixedSmall" 247 | { 248 | "1" 249 | { 250 | "name" "Courier New" 251 | "tall" "7" 252 | "weight" "500" 253 | "antialias" "1" 254 | } 255 | } 256 | "DefaultFixedOutline" 257 | { 258 | "1" 259 | { 260 | "name" "Lucida Console" [$WINDOWS] 261 | "name" "Verdana" [!$WINDOWS] 262 | "tall" "14" [$LINUX] 263 | "tall" "10" 264 | "tall_lodef" "15" 265 | "tall_hidef" "20" 266 | "weight" "0" 267 | "outline" "1" 268 | } 269 | } 270 | "Default" 271 | { 272 | "1" 273 | { 274 | "name" "Mona-Sans Regular" [$WINDOWS] 275 | "name" "Mona-Sans Regular" [!$WINDOWS] 276 | "tall" "16" 277 | "weight" "500" 278 | "antialias" "1" 279 | } 280 | } 281 | "DefaultBold" 282 | { 283 | "1" 284 | { 285 | "name" "Mona-Sans" [$WINDOWS] 286 | "name" "Mona-Sans" [!$WINDOWS] 287 | "tall" "18" 288 | "weight" "500" 289 | "antialias" "1" 290 | } 291 | } 292 | "DefaultUnderline" 293 | { 294 | "1" 295 | { 296 | "name" "Mona-Sans Regular" [$WINDOWS] 297 | "name" "Mona-Sans Regular" [!$WINDOWS] 298 | "tall" "16" 299 | "weight" "500" 300 | "underline" "1" 301 | "antialias" "1" 302 | } 303 | } 304 | "DefaultSmall" 305 | { 306 | "1" 307 | { 308 | "name" "Mona-Sans Regular" [$WINDOWS] 309 | "name" "Mona-Sans Regular" [!$WINDOWS] 310 | "tall" "12" [$WINDOWS] 311 | "tall" "14" [$OSX] 312 | "tall" "16" [$LINUX] 313 | "weight" "300" 314 | "antialias" "1" 315 | } 316 | } 317 | "DefaultSmallDropShadow" 318 | { 319 | "1" 320 | { 321 | "name" "Mona-Sans Regular" [$WINDOWS] 322 | "name" "Mona-Sans Regular" [!$WINDOWS] 323 | "tall" "13" 324 | "weight" "300" 325 | "dropshadow" "1" 326 | "antialias" "1" 327 | } 328 | } 329 | "DefaultVerySmall" 330 | { 331 | "1" 332 | { 333 | "name" "Mona-Sans Regular" [$WINDOWS] 334 | "name" "Mona-Sans Regular" [!$WINDOWS] 335 | "tall" "12" 336 | "weight" "300" 337 | "antialias" "1" 338 | } 339 | } 340 | 341 | "DefaultLarge" 342 | { 343 | "1" 344 | { 345 | "name" "Mona-Sans Regular" [$WINDOWS] 346 | "name" "Mona-Sans Regular" [!$WINDOWS] 347 | "tall" "18" 348 | "weight" "300" 349 | "antialias" "1" 350 | } 351 | } 352 | "UiBold" 353 | { 354 | "1" [$WIN32] 355 | { 356 | "name" "Mona-Sans" [$WINDOWS] 357 | "name" "Mona-Sans" [!$WINDOWS] 358 | "tall" "18" 359 | "weight" "500" 360 | "antialias" "1" 361 | } 362 | "1" [$X360] 363 | { 364 | "name" "Mona-Sans" 365 | "tall" "24" 366 | "weight" "500" 367 | "outline" "1" 368 | "antialias" "1" 369 | } 370 | } 371 | "ChapterTitle" [$X360] 372 | { 373 | "1" 374 | { 375 | "name" "Mona-Sans" 376 | "tall" "20" 377 | "tall_hidef" "28" 378 | "weight" "500" 379 | "outline" "1" 380 | "antialias" "1" 381 | } 382 | } 383 | "ChapterTitleBlur" [$X360] 384 | { 385 | "1" 386 | { 387 | "name" "Mona-Sans" 388 | "tall" "20" 389 | "tall_hidef" "28" 390 | "weight" "500" 391 | "blur" "3" 392 | "blur_hidef" "5" 393 | "antialias" "1" 394 | } 395 | } 396 | "MenuLarge" 397 | { 398 | "1" [$LINUX] 399 | { 400 | "name" "Helvetica Bold" 401 | "tall" "20" 402 | "antialias" "1" 403 | } 404 | "1" [!$LINUX] 405 | { 406 | "name" "Verdana" 407 | "tall" "16" 408 | "weight" "600" 409 | "antialias" "1" 410 | } 411 | "1" [$X360] 412 | { 413 | "name" "Verdana" 414 | "tall" "14" 415 | "tall_hidef" "20" 416 | "weight" "1200" 417 | "antialias" "1" 418 | "outline" "1" 419 | } 420 | } 421 | "AchievementTitleFont" 422 | { 423 | "1" 424 | { 425 | "name" "Verdana" 426 | "tall" "20" 427 | "weight" "1200" 428 | "antialias" "1" 429 | "outline" "1" 430 | } 431 | } 432 | 433 | "AchievementTitleFontSmaller" 434 | { 435 | "1" 436 | { 437 | "name" "Verdana" 438 | "tall" "18" 439 | "weight" "1200" 440 | "antialias" "1" 441 | //"outline" "1" 442 | } 443 | } 444 | 445 | 446 | "AchievementDescriptionFont" 447 | { 448 | "1" 449 | { 450 | "name" "Verdana" 451 | "tall" "15" 452 | "weight" "1200" 453 | "antialias" "1" 454 | "outline" "1" 455 | "yres" "0 480" 456 | } 457 | "2" 458 | { 459 | "name" "Verdana" 460 | "tall" "20" 461 | "weight" "1200" 462 | "antialias" "1" 463 | "outline" "1" 464 | "yres" "481 10000" 465 | } 466 | } 467 | 468 | GameUIButtons 469 | { 470 | "1" [$X360] 471 | { 472 | "bitmap" "1" 473 | "name" "Buttons" 474 | "scalex" "0.63" 475 | "scaley" "0.63" 476 | "scalex_hidef" "1.0" 477 | "scaley_hidef" "1.0" 478 | "scalex_lodef" "0.75" 479 | "scaley_lodef" "0.75" 480 | } 481 | } 482 | "ConsoleText" 483 | { 484 | "1" 485 | { 486 | "name" "Source Code Pro" [$WINDOWS] 487 | "name" "Source Code Pro" [!$WINDOWS] 488 | "tall" "13" [$WINDOWS] 489 | "tall" "13" [!$WINDOWS] 490 | "weight" "500" 491 | "antialias" "1" 492 | } 493 | } 494 | 495 | // this is the symbol font 496 | "Marlett" 497 | { 498 | "1" 499 | { 500 | "name" "Marlett" 501 | "tall" "14" 502 | "weight" "0" 503 | "symbol" "1" 504 | } 505 | } 506 | 507 | "Trebuchet24" 508 | { 509 | "1" 510 | { 511 | "name" "Trebuchet MS" 512 | "tall" "24" 513 | "weight" "900" 514 | } 515 | } 516 | 517 | "Trebuchet20" 518 | { 519 | "1" 520 | { 521 | "name" "Trebuchet MS" 522 | "tall" "20" 523 | "weight" "900" 524 | } 525 | } 526 | 527 | "Trebuchet18" 528 | { 529 | "1" 530 | { 531 | "name" "Trebuchet MS" 532 | "tall" "18" 533 | "weight" "900" 534 | } 535 | } 536 | 537 | // HUD numbers 538 | // We use multiple fonts to 'pulse' them in the HUD, hence the need for many of near size 539 | "HUDNumber" 540 | { 541 | "1" 542 | { 543 | "name" "Trebuchet MS" 544 | "tall" "40" 545 | "weight" "900" 546 | } 547 | } 548 | "HUDNumber1" 549 | { 550 | "1" 551 | { 552 | "name" "Trebuchet MS" 553 | "tall" "41" 554 | "weight" "900" 555 | } 556 | } 557 | "HUDNumber2" 558 | { 559 | "1" 560 | { 561 | "name" "Trebuchet MS" 562 | "tall" "42" 563 | "weight" "900" 564 | } 565 | } 566 | "HUDNumber3" 567 | { 568 | "1" 569 | { 570 | "name" "Trebuchet MS" 571 | "tall" "43" 572 | "weight" "900" 573 | } 574 | } 575 | "HUDNumber4" 576 | { 577 | "1" 578 | { 579 | "name" "Trebuchet MS" 580 | "tall" "44" 581 | "weight" "900" 582 | } 583 | } 584 | "HUDNumber5" 585 | { 586 | "1" 587 | { 588 | "name" "Trebuchet MS" 589 | "tall" "45" 590 | "weight" "900" 591 | } 592 | } 593 | "DefaultFixed" 594 | { 595 | "1" 596 | { 597 | "name" "Lucida Console" [$WINDOWS] 598 | "name" "Lucida Console" [$X360] 599 | "name" "Verdana" [$LINUX] 600 | "tall" "11" [$LINUX] 601 | "tall" "10" 602 | "weight" "0" 603 | } 604 | // "1" 605 | // { 606 | // "name" "FixedSys" 607 | // "tall" "20" 608 | // "weight" "0" 609 | // } 610 | } 611 | 612 | "DefaultFixedDropShadow" 613 | { 614 | "1" 615 | { 616 | "name" "Lucida Console" [$WINDOWS] 617 | "name" "Lucida Console" [$X360] 618 | "name" "Lucida Console" [$OSX] 619 | "name" "Courier" [$LINUX] 620 | "tall" "14" [$LINUX] 621 | "tall" "10" 622 | "weight" "0" 623 | "dropshadow" "1" 624 | } 625 | // "1" 626 | // { 627 | // "name" "FixedSys" 628 | // "tall" "20" 629 | // "weight" "0" 630 | // } 631 | } 632 | 633 | "CloseCaption_Normal" 634 | { 635 | "1" 636 | { 637 | "name" "Tahoma" [!$POSIX] 638 | "name" "Verdana" [$POSIX] 639 | "tall" "16" 640 | "weight" "500" 641 | } 642 | } 643 | "CloseCaption_Italic" 644 | { 645 | "1" 646 | { 647 | "name" "Tahoma" 648 | "tall" "16" 649 | "weight" "500" 650 | "italic" "1" 651 | } 652 | } 653 | "CloseCaption_Bold" 654 | { 655 | "1" 656 | { 657 | "name" "Tahoma" [!$POSIX] 658 | "name" "Verdana Bold" [$POSIX] 659 | "tall" "16" 660 | "weight" "900" 661 | } 662 | } 663 | "CloseCaption_BoldItalic" 664 | { 665 | "1" 666 | { 667 | "name" "Tahoma" [!$POSIX] 668 | "name" "Verdana Bold Italic" [$POSIX] 669 | "tall" "16" 670 | "weight" "900" 671 | "italic" "1" 672 | } 673 | } 674 | 675 | TitleFont 676 | { 677 | "1" 678 | { 679 | "name" "HalfLife2" 680 | "tall" "72" 681 | "weight" "400" 682 | "antialias" "1" 683 | "custom" "1" 684 | } 685 | } 686 | 687 | TitleFont2 688 | { 689 | "1" 690 | { 691 | "name" "HalfLife2" 692 | "tall" "120" 693 | "weight" "400" 694 | "antialias" "1" 695 | "custom" "1" 696 | } 697 | } 698 | 699 | AppchooserGameTitleFont [$X360] 700 | { 701 | "1" 702 | { 703 | "name" "Trebuchet MS" 704 | "tall" "16" 705 | "tall_hidef" "24" 706 | "weight" "900" 707 | "antialias" "1" 708 | } 709 | } 710 | 711 | AppchooserGameTitleFontBlur [$X360] 712 | { 713 | "1" 714 | { 715 | "name" "Trebuchet MS" 716 | "tall" "16" 717 | "tall_hidef" "24" 718 | "weight" "900" 719 | "blur" "3" 720 | "blur_hidef" "5" 721 | "antialias" "1" 722 | } 723 | } 724 | 725 | StatsTitle [$WIN32] 726 | { 727 | "1" 728 | { 729 | "name" "Arial" [!$POSIX] 730 | "name" "Verdana Bold" [$POSIX] 731 | "weight" "2000" 732 | "tall" "20" 733 | "antialias" "1" 734 | } 735 | } 736 | 737 | StatsText [$WIN32] 738 | { 739 | "1" 740 | { 741 | "name" "Arial" [!$POSIX] 742 | "name" "Verdana Bold" [$POSIX] 743 | "weight" "2000" 744 | "tall" "18" 745 | "antialias" "1" 746 | } 747 | } 748 | 749 | AchievementItemTitle [$WIN32] 750 | { 751 | "1" 752 | { 753 | "name" "Arial" [!$POSIX] 754 | "name" "Verdana Bold" [$POSIX] 755 | "weight" "1500" 756 | "tall" "16" [!$POSIX] 757 | "tall" "18" [$POSIX] 758 | "antialias" "1" 759 | } 760 | } 761 | 762 | AchievementItemDate [$WIN32] 763 | { 764 | "1" 765 | { 766 | "name" "Arial" [!$POSIX] 767 | "name" "Verdana Bold" [$POSIX] 768 | "weight" "1500" 769 | "tall" "16" 770 | "antialias" "1" 771 | } 772 | } 773 | 774 | 775 | StatsPageText 776 | { 777 | "1" 778 | { 779 | "name" "Arial" [!$POSIX] 780 | "name" "Verdana Bold" [$POSIX] 781 | "weight" "1500" 782 | "tall" "14" [!$POSIX] 783 | "tall" "16" [$POSIX] 784 | "antialias" "1" 785 | } 786 | } 787 | 788 | AchievementItemTitleLarge [$WIN32] 789 | { 790 | "1" 791 | { 792 | "name" "Arial" [!$POSIX] 793 | "name" "Verdana Bold" [$POSIX] 794 | "weight" "1500" 795 | "tall" "18" [!$POSIX] 796 | "tall" "19" [$POSIX] 797 | "antialias" "1" 798 | } 799 | } 800 | 801 | AchievementItemDescription [$WIN32] 802 | { 803 | "1" 804 | { 805 | "name" "Arial" [!$POSIX] 806 | "name" "Verdana" [$POSIX] 807 | "weight" "1000" 808 | "tall" "14" [!$POSIX] 809 | "tall" "15" [$POSIX] 810 | "antialias" "1" 811 | } 812 | } 813 | 814 | 815 | "ServerBrowserTitle" 816 | { 817 | "1" 818 | { 819 | "name" "Tahoma" [!$POSIX] 820 | "name" "Verdana" [$POSIX] 821 | "tall" "35" 822 | "tall_lodef" "40" 823 | "weight" "500" 824 | "additive" "0" 825 | "antialias" "1" 826 | } 827 | } 828 | 829 | "ServerBrowserSmall" 830 | { 831 | "1" 832 | { 833 | "name" "Tahoma" 834 | "tall" "16" 835 | "weight" "0" 836 | "range" "0x0000 0x017F" // Basic Latin, Latin-1 Supplement, Latin Extended-A 837 | "yres" "480 599" 838 | } 839 | "2" 840 | { 841 | "name" "Tahoma" 842 | "tall" "16" 843 | "weight" "0" 844 | "range" "0x0000 0x017F" // Basic Latin, Latin-1 Supplement, Latin Extended-A 845 | "yres" "600 767" 846 | } 847 | "3" 848 | { 849 | "name" "Tahoma" 850 | "tall" "16" 851 | "weight" "0" 852 | "range" "0x0000 0x017F" // Basic Latin, Latin-1 Supplement, Latin Extended-A 853 | "yres" "768 1023" 854 | "antialias" "1" 855 | } 856 | "4" 857 | { 858 | "name" "Tahoma" 859 | "tall" "19" 860 | "weight" "0" 861 | "range" "0x0000 0x017F" // Basic Latin, Latin-1 Supplement, Latin Extended-A 862 | "yres" "1024 1199" 863 | "antialias" "1" 864 | } 865 | "5" 866 | { 867 | "name" "Tahoma" 868 | "tall" "19" 869 | "weight" "0" 870 | "range" "0x0000 0x017F" // Basic Latin, Latin-1 Supplement, Latin Extended-A 871 | "yres" "1200 6000" 872 | "antialias" "1" 873 | } 874 | } 875 | 876 | } 877 | 878 | // 879 | //////////////////// BORDERS ////////////////////////////// 880 | // 881 | // describes all the border types 882 | Borders 883 | { 884 | BaseBorder SubtleBorder 885 | ButtonBorder SubtleBorder 886 | ComboBoxBorder SubtleBorder 887 | MenuBorder SubtleBorder 888 | BrowserBorder SubtleBorder 889 | PropertySheetBorder RaisedBorder 890 | 891 | FrameBorder 892 | { 893 | Left 894 | { 895 | "1" 896 | { 897 | "color" "Border.DarkSolid" 898 | "offset" "0 0" 899 | } 900 | } 901 | 902 | Right 903 | { 904 | "1" 905 | { 906 | "color" "Border.DarkSolid" 907 | "offset" "0 0" 908 | } 909 | } 910 | 911 | Top 912 | { 913 | "1" 914 | { 915 | "color" "Border.DarkSolid" 916 | "offset" "0 0" 917 | } 918 | } 919 | 920 | Bottom 921 | { 922 | "1" 923 | { 924 | "color" "Border.DarkSolid" 925 | "offset" "0 0" 926 | } 927 | } 928 | } 929 | 930 | SubtleBorder 931 | { 932 | "inset" "0 0 0 0" 933 | Left 934 | { 935 | "1" 936 | { 937 | "color" "Border.Subtle" 938 | "offset" "0 0" 939 | } 940 | } 941 | 942 | Right 943 | { 944 | "1" 945 | { 946 | "color" "Border.Subtle" 947 | "offset" "0 0" 948 | } 949 | } 950 | 951 | Top 952 | { 953 | "1" 954 | { 955 | "color" "Border.Subtle" 956 | "offset" "0 0" 957 | } 958 | } 959 | 960 | Bottom 961 | { 962 | "1" 963 | { 964 | "color" "Border.Subtle" 965 | "offset" "0 0" 966 | } 967 | } 968 | } 969 | 970 | DepressedBorder 971 | { 972 | "inset" "0 0 0 0" 973 | Left 974 | { 975 | "1" 976 | { 977 | "color" "Border.DarkSolid" 978 | "offset" "0 0" 979 | } 980 | } 981 | 982 | Right 983 | { 984 | "1" 985 | { 986 | "color" "Border.DarkSolid" 987 | "offset" "0 0" 988 | } 989 | } 990 | 991 | Top 992 | { 993 | "1" 994 | { 995 | "color" "Border.DarkSolid" 996 | "offset" "0 0" 997 | } 998 | } 999 | 1000 | Bottom 1001 | { 1002 | "1" 1003 | { 1004 | "color" "Border.DarkSolid" 1005 | "offset" "0 0" 1006 | } 1007 | } 1008 | } 1009 | RaisedBorder 1010 | { 1011 | "inset" "0 0 0 0" 1012 | Left 1013 | { 1014 | "1" 1015 | { 1016 | "color" "Border.White" 1017 | "offset" "0 0" 1018 | } 1019 | } 1020 | 1021 | Right 1022 | { 1023 | "1" 1024 | { 1025 | "color" "Border.White" 1026 | "offset" "0 0" 1027 | } 1028 | } 1029 | 1030 | Top 1031 | { 1032 | "1" 1033 | { 1034 | "color" "Border.White" 1035 | "offset" "0 0" 1036 | } 1037 | } 1038 | 1039 | Bottom 1040 | { 1041 | "1" 1042 | { 1043 | "color" "Border.White" 1044 | "offset" "0 0" 1045 | } 1046 | } 1047 | } 1048 | 1049 | TitleButtonBorder 1050 | { 1051 | "backgroundtype" "0" 1052 | } 1053 | 1054 | TitleButtonDisabledBorder 1055 | { 1056 | "backgroundtype" "0" 1057 | } 1058 | 1059 | TitleButtonDepressedBorder 1060 | { 1061 | "backgroundtype" "0" 1062 | } 1063 | 1064 | ScrollBarButtonBorder 1065 | { 1066 | "inset" "0 0 0 0" 1067 | } 1068 | 1069 | ScrollBarButtonDepressedBorder 1070 | { 1071 | "inset" "0 0 0 0" 1072 | } 1073 | 1074 | ScrollBarSliderBorder 1075 | { 1076 | "inset" "0 0 0 0" 1077 | } 1078 | 1079 | TabBorder 1080 | { 1081 | "inset" "1 1 1 1" 1082 | 1083 | render 1084 | { 1085 | "0" "fill( x0, y0, x1, y1, Black )" 1086 | } 1087 | 1088 | render_bg 1089 | { 1090 | "0" "fill( x0, y0, x1, y1, Black )" 1091 | } 1092 | 1093 | } 1094 | 1095 | TabActiveBorder 1096 | { 1097 | "inset" "1 1 1 1" 1098 | Left 1099 | { 1100 | "1" 1101 | { 1102 | "color" "Border.Subtle" 1103 | "offset" "0 0" 1104 | } 1105 | } 1106 | 1107 | Top 1108 | { 1109 | "1" 1110 | { 1111 | "color" "Border.Subtle" 1112 | "offset" "0 0" 1113 | } 1114 | } 1115 | 1116 | Right 1117 | { 1118 | "1" 1119 | { 1120 | "color" "Border.Subtle" 1121 | "offset" "0 0" 1122 | } 1123 | } 1124 | 1125 | } 1126 | 1127 | 1128 | ToolTipBorder 1129 | { 1130 | "inset" "0 0 1 0" 1131 | Left 1132 | { 1133 | "1" 1134 | { 1135 | "color" "Border.DarkSolid" 1136 | "offset" "0 0" 1137 | } 1138 | } 1139 | 1140 | Right 1141 | { 1142 | "1" 1143 | { 1144 | "color" "Border.DarkSolid" 1145 | "offset" "0 0" 1146 | } 1147 | } 1148 | 1149 | Top 1150 | { 1151 | "1" 1152 | { 1153 | "color" "Border.DarkSolid" 1154 | "offset" "0 0" 1155 | } 1156 | } 1157 | 1158 | Bottom 1159 | { 1160 | "1" 1161 | { 1162 | "color" "Border.DarkSolid" 1163 | "offset" "0 0" 1164 | } 1165 | } 1166 | } 1167 | 1168 | // this is the border used for default buttons (the button that gets pressed when you hit enter) 1169 | ButtonKeyFocusBorder 1170 | { 1171 | "inset" "0 0 0 0" 1172 | Left 1173 | { 1174 | "1" 1175 | { 1176 | "color" "Border.Selection" 1177 | "offset" "0 0" 1178 | } 1179 | } 1180 | Top 1181 | { 1182 | "1" 1183 | { 1184 | "color" "Border.Selection" 1185 | "offset" "0 0" 1186 | } 1187 | } 1188 | Right 1189 | { 1190 | "1" 1191 | { 1192 | "color" "Border.Selection" 1193 | "offset" "0 0" 1194 | } 1195 | } 1196 | Bottom 1197 | { 1198 | "1" 1199 | { 1200 | "color" "Border.Selection" 1201 | "offset" "0 0" 1202 | } 1203 | } 1204 | } 1205 | 1206 | ButtonDepressedBorder 1207 | { 1208 | "inset" "0 0 0 0" 1209 | Left 1210 | { 1211 | "1" 1212 | { 1213 | "color" "Border.DarkSolid" 1214 | "offset" "0 1" 1215 | } 1216 | } 1217 | 1218 | Right 1219 | { 1220 | "1" 1221 | { 1222 | "color" "Border.DarkSolid" 1223 | "offset" "1 0" 1224 | } 1225 | } 1226 | 1227 | Top 1228 | { 1229 | "1" 1230 | { 1231 | "color" "Border.DarkSolid" 1232 | "offset" "0 0" 1233 | } 1234 | } 1235 | 1236 | Bottom 1237 | { 1238 | "1" 1239 | { 1240 | "color" "Border.DarkSolid" 1241 | "offset" "0 0" 1242 | } 1243 | } 1244 | } 1245 | } 1246 | 1247 | //////////////////////// CUSTOM FONT FILES ///////////////////////////// 1248 | // 1249 | // specifies all the custom (non-system) font files that need to be loaded to service the above described fonts 1250 | CustomFontFiles 1251 | { 1252 | "1" "resource/HALFLIFE2.ttf" 1253 | "2" "resource/HL2EP2.ttf" 1254 | "3" "resource/marlett.ttf" 1255 | "4" "resource/SourceCodePro-VariableFont_wght.ttf" 1256 | "4" "resource/Mona-Sans.ttf" 1257 | } 1258 | } 1259 | -------------------------------------------------------------------------------- /readme.md: -------------------------------------------------------------------------------- 1 | # Source - Github Theme 2 | 3 | ## Disclaimer 4 | For proper font rendering, you must install the following fonts on your computer (Mona-Sans.ttf and all other variants found in the TTF subdirectory):\ 5 | https://github.com/github/mona-sans/releases/tag/v1.0 6 | 7 | This does not change the appearance of GMod's main menus. For that, install this project before this one:\ 8 | https://github.com/JWalkerMailly/Gmod-Github-Theme 9 | 10 | For GMod's Derma components, see this project:\ 11 | https://github.com/JWalkerMailly/Derma-Github-Theme 12 | 13 | ## How to install 14 | 15 | - Navigate to the resource folder of your source game. For Gmod, this would be: 16 | ``` 17 | GarrysMod\garrysmod\resource 18 | ``` 19 | - Make a backup of your *SourceScheme.res* file. 20 | - Drop files in directory (SourceScheme.res and both fonts). 21 | - Enjoy. 22 | 23 | ## Screenshots 24 | 25 | ![Main](/screenshot.png?raw=true) -------------------------------------------------------------------------------- /screenshot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JWalkerMailly/Source-Github-Theme/aa78d1338cb2cb11e2faa0b27a64c6c840b04ec1/screenshot.png --------------------------------------------------------------------------------