In the Revit.ini file, settings in the [AppFrame] section correspond to some settings in the Options dialog.
Specifies how often the ribbon is refreshed, in milliseconds.
Type = integer
Default = 50 (milliseconds)
Corresponds to the Active theme setting on the User Interface tab of the Options dialog.
Type = integer
Valid values: 1 = light, 0 = dark
[AppFrame] RibbonRefreshInterval=100 Theme=1