s&
About
The Project
info
About s&box
map
Roadmap
monitoring
Metrics
Engine startup and usage numbers
Updates
newspaper
Latest News
published_with_changes
Changes
Release-by-release changelog
Games
Browse Games
Discover Games
gamejams
voting
Game Jam III
Ends
Fri 25 Sep
Theme
One More Round
Voting is open. Play the entries and pick the winner.
£
50,000
prizepool
View the jam
Workshop
Playable
sports_esports
Games
Standalone games and gamemodes
Assets
landscape
Maps
view_in_ar
Models
texture
Materials
apparel
Clothing
apps
Everything
Every asset type in one list
Forum
Learn
Documentation
rocket_launch
Getting Started
docs
Documentation
api
API Reference
Resources
school
Tutorials
manage_search
Code Search
Get s&box
Sign in with Steam
Api
Classes
ThemeDefinition
chevron_left
Classes
class
ThemeDefinition
Constructors
functions
ThemeDefinition
Properties
data_object
ActiveLineNumber
data_object
ActiveParameter
data_object
Background
data_object
Caret
data_object
Comment
data_object
CompletionHoverBackground
data_object
CompletionSelectedBackground
data_object
CompletionSelectedForeground
data_object
ControlFlow
data_object
CurrentLine
data_object
Error
data_object
Foreground
data_object
GutterBackground
data_object
Identifier
data_object
Keyword
data_object
LineNumber
data_object
Member
data_object
MutedForeground
data_object
Number
data_object
PopupBackground
data_object
PopupBorder
data_object
PopupDescription
data_object
PopupShadow
data_object
PopupTitle
data_object
Selection
data_object
SignatureForeground
data_object
StatusBackground
data_object
StatusErrorBackground
data_object
StatusForeground
data_object
String
data_object
SymbolIcon
data_object
Type
data_object
Warning
Methods
functions
<Clone>$
Static Properties
data_object
Default
ThemeDefinition
Immutable colors for a ScriptControl. Create a theme or copy one with a with expression, then assign it to ScriptControl.Theme. Unspecified colors use the default dark palette.
class
Sandbox.UI.ScriptControl
.
sealed
Sandbox.Engine
build
Constructors
1
ThemeDefinition
(
)
data_object
Properties
33
ActiveLineNumber
Color
The current line number.
ActiveParameter
Color
The active parameter in signature help.
Background
Color
Editor background.
Caret
Color
Text insertion caret.
Comment
Color
Comments.
CompletionHoverBackground
Color
Completion row background under the mouse.
CompletionSelectedBackground
Color
Selected completion row background.
CompletionSelectedForeground
Color
Selected completion row text.
ControlFlow
Color
Control-flow keywords.
CurrentLine
Color
Current line background.
Error
Color
Error squiggles.
Foreground
Color
Default code text and punctuation.
GutterBackground
Color
Line-number gutter background.
Identifier
Color
Identifiers without a more specific symbol kind.
Keyword
Color
Language keywords.
LineNumber
Color
Line numbers outside the current line.
Member
Color
Member names.
MutedForeground
Color
Completion footer and signature counter text.
Number
Color
Numeric literals.
PopupBackground
Color
Completion, hover and signature popup backgrounds.
PopupBorder
Color
Popup borders and separators.
PopupDescription
Color
Hover and completion descriptions.
PopupShadow
Color
Popup drop shadow, including its opacity.
PopupTitle
Color
Hover and completion detail titles.
Selection
Color
Text selection background.
SignatureForeground
Color
Signature text outside the active parameter.
StatusBackground
Color
Status bar background when there is no error.
StatusErrorBackground
Color
Status bar background when an error is shown.
StatusForeground
Color
Status bar text.
String
Color
String and character literals.
SymbolIcon
Color
Completion icons other than types and keywords.
Type
Color
Type names and type completion icons.
Warning
Color
Warning squiggles.
functions
Methods
1
<Clone>$
(
)
ThemeDefinition
data_object
Static Properties
1
Default
ThemeDefinition
The shared default dark palette.
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.