I think you need to consider it another way. Think about the formula of the major scale:
T T S T T T S
(T = tone, S = semitone)
Major 3rd = 4 semitones (4 x S)
Minor 3rd = 3 semitones (3 x S)
From this we can see that major thirds can be built upon:
- Tonic (I)
- Subdominant (IV)
- Dominant (V)
Minor thirds occur on all the other degrees of the scale.
So lets take D to contiune with your example:
D, E, F#, G, A, B, C#
The 1st degree (D) will have a major third above it, F#, 4 semitones.
Now lets take a look at the F# scale:
F#, G#, A#, B, C#, D#, E#
The 1st degree (F#) has a major 3rd above it, A#.
Do you see the point here? Intervals are derived from scales, they dont occur in isolation. So the scale dictates which intervals will occur and where. It is all ruled by the formula of the scales - T T S T T T S.
SJ